Does anyone know if it is possible to just insert a specific character which will cause a page break? Currently, I have got an input field which implements a rich text format editor for the user to type in the content that would be then used as a mail merge field.
The user however would like the option to be able to specifically specify as to when they would like a page break within the content that they have input into that field.
I’ve tried inserting the control characters for pagebreak directly in the field that the user is typing into but it appears to be reading it as a text instead. Just wondering if there is any other way to go about this without having to process the user’s input to search/identify that particular pagebreak character and then manually force a page break when writing it into the document.
However, now I am plagued with a new issue. It seems whenever there is data with the same mergefield name, the program ends up getting confused and ends up referring back to the previous field.
To ensure a timely and accurate response, please ZIP and attach the following resources here for testing:
Your input Word document
XML file containing the data
Aspose.Words generated output DOCX file showing the undesired behavior.
Your expected Word document showing the correct output. Please create this document by using MS Word.
Please create a standalone simple Java application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.
As soon as you get these pieces of information ready, we will start further investigation into your above issue and provide you more information. Thanks for your cooperation.
For some reason unknown, I am unable to upload the zip file, no error prompted and the uploaded file does not show up. Anyway, I uploaded it to google drive and you can get it from:
You have shared the .jar files; but we need source code. Please also provide standalone simple Java application (source code without compilation errors) that helps us to reproduce your problem on our end. Thanks for your cooperation.