Hello Aspose Team,
Need your quick help to resolve an issue that I am facing while working on the licensed copy of Aspose Words and PDF.
The issue is demonstrated as shown in the PDFIssue.jpg (attached herewith) file where the formatting of “Compliance Statement” is badly formatted.
I am using the below given code to insert 2 rtf files viz. One.rtf (that displays the html table) and Two.rtf (that displays Compliance statement). After generating both word and pdf files the pdf files reflect this issue.
This issue only occurs with these 2 particular rtf files but the html dom of both these seems to be correct.
Can you please help us know if this is an Aspose API insertDocument bug or an issue with rtf generation etc… ??
Code snippet which I am using is as below…
com.aspose.words.DocumentBuilder tempDocBuilder = new com.aspose.words.DocumentBuilder(templateDoc);
To fix this issue I just added below code after the above snippet and it worked perfectly fine but then it inserts 2 empty lines in between the 2 rtf’s
Your quick reply and help much appreciated. thanks in advance !
Hello Aspose Team,
- Please attach your input rtf files which you are using at your end.
- Please create a standalone Java application (source code without compilation errors) that helps us reproduce your problem on our end.
- Please attach the output Pdf file that shows the undesired behavior.
Unfortunately, it is difficult to say what the problem is without the Document(s) and simplified application. We need your Document(s) and simple project to reproduce the problem. As soon as you get these pieces of information to us we'll start our investigation into your issue.
Hello Tahir - Thanks for the quick response ! For now we have temporarily resolved this issue by fixing cell format in the word template.
So for now we can mark this issue as closed. Thank you once again !