I want to add some text (e.g. This is Computer Generated Bill) ONLY on LAST PAGE of Advanced PDF template in Netsuite; where content of page ends . Problem is as number of pages change, text occur on all pages or change its position. Unable to fix this issue.
If you are editing the xml of the freemarker template you can add a custom block of code as the last thing on the page. If you need to make it prominent you can center it and add a bunch of padding above it.
Related
I'm having an issue with the Rich Text Editor displaying in a custom Power Apps form I created thru/for SharePoint Online. Below are the details
Problem
Somewhat randomly, The Rich Text Editor control loads incorrectly. It appears that the Height is displaying incorrectly, regardless of the FormMode (New, Edit, or View). The user is unable to view/edit any text to the control.
Example:
Expected Behavior
FormMode.New
FormMode.Edit & FormMode.View
Workaround
The only workaround we have at the moment is to refresh (F5) the webpage, but this doesn't always fix the issue. Some users refresh 20 - 30 times before the form is fully visible.
Steps to Reproduce
The issue is random, so it's difficult to reproduce when you want it to happen. Below are steps to create the form in SharePoint & Power Apps.
In SharePoint Online, create a list with a column for Enhanced rich text (Rich text with pictures, tables, and hyperlinks)
List Settings Form Settings: Enable the custom form in PowerApps option
List Settings Form Settings: Select the **Modify form in PowerApps link.
If the default control is not a Rich Text Editor, you may need to modify it.
Width = 1124
Height = 158
Save & Publish the PowerApps form.
Select +New in the SharePoint list to display the custom form.
Results
See the problem section above. Keep in mind, this is random.
What I've Tried
I found a post in the Power Apps Community for Rich Text Editor Not displaying text input section. Unfortunately, I haven't been able to get this to work. Also, the post suggests it would be fixed toon and that was back in 2018, so I wouldn't expect to still see the issue.
I noticed the rich text box had a larger height value than it's parent, but adjusting that didn't fix the issue.
Any assistance would be much appreciated.
Thanks in advance!
I am using asciidoctor-fopub to generate a pdf from an asciidoc.
The page number is added in the middle of the page footer. I would like to move it to the far right. I am convinced that this is doable. But I can't find any example of how to customize the page footer properly.
Since you already have asciidoc files it might be easier to use asciidoctor-pdf directly. With asciidoctor-pdf it is possible to design your own footer with themes. How to apply themes is described here.
When I click inspect element in Chrome, I would like to see what file is being displayed. I can't find any place in the elements tab that shows what file is being displayed. Any ideas?
I don't know that there would be a way to label the elements that are being displayed there as being from any one file; they may be rendered dynamically by code in many external files.
I just received a new slide to work with; it was created with powerpoint, so, I naturally converted it to impress. The master page was converted alright, background is correct, items positioned in the right places but now I need to adapt the current slide layouts to work with the master template. The default positioning for the layouts are not compatible with the master page. The title, per example, gets misplaced above the logo.
So, here is my question: how do I change the default layouts for my presentation? I want to change the default position for the text components in a way that it is reusable.
https://ask.libreoffice.org/en/question/29811/is-libreoffice-compatible-with-microsoft-office-2007-and-2010-word-excel-powerpoint-publisher/
recommends upload to Google docs for conversion.
I have a Sharepoint list, where one of the columns is plain text - Description. When you edit a list item, Description field is normally a TextArea. I have it programmed that this TextArea is extended with JavaScript to accept rich text (html really), so I have my custom rich text field. The problem is that when I input the rich data everything looks fine but when I save the edited item and then display it, the text is displayed as plain text, not html, so instead of a bold text I get "< b >text< /b >". And I would like it to be displayed as html. What can I do with it?
Edit: I don't want to use the built-in editor, because I need some different behavious.
The code that reads in the text input from the form and saves it to the list will be doing a HTMLEncode operation that replaces
< with <
> with >
and so on (look at the source of the page after a save)
This occurs 'server side' so you won't be able to change this using JavaScript.
You've got two options I think
As F5 mentioned you can create a custom field type with your own behaviour for rendering and update. This is the 'correct' way to do this.
You could change your funky javascript to work on a rich text field, hack into the rendering of the built in RTE and replace it with your own.
Of cource as soon as you are taking input from a user and then rendering it back to your web page you open yourself up to all sorts of nasties such as Cross Site Scripting if you are not filtering out potential bad stuff (the very reason why the HtmlEncode is used) - less of a problem in a typical SharePoint site on an Intranet than a public facing site.
SharePoint supports rich text columns using its own in-built editor. You just have to change the column settings so it allows rich text.
If you are using a JavaScript editor because of browser compatability with the built-in rich text editor then SharePoint will always strip the html from whatever is entered as it expects the input to be plain text.
Re your comments
If you want the field to display in rich text it needs to be a rich text field, by setting it to plain text you are always going to lose your custom formatting.
You need to look into custom field types
So where exactly are the data being displayed incorrectly: on the List Display Form or on a Page Layout? If it's on the Page Layout the fix is easy: create a custom Field Control which will retrieve the value of the field (like SPContext.Current.ListItem["YourField"]) and decode the contents to get HTML instead of encoded HTML entities.