Hello,
I am using aspose-words-17.10.
I have some revisions in my input .doc file.
I want to convert this file into a .pdf file with only the revision bar.
Here the code :
Document asposeDoc = new Document(docFile);
if (asposeDoc.hasRevisions())
{
try
{
RevisionOptions lRevisionOptions = asposeDoc.getLayoutOptions().getRevisionOptions();
lRevisionOptions.setShowRevisionMarks( false );
lRevisionOptions.setShowRevisionBars( true );
lRevisionOptions.setRevisionBarsColor(1);
} catch (Exception ex) {
logger.log(Level.SEVERE,“Exception Revisions”,ex);
} finally
The problems are
1- In the chapters 1.1 and 1.2 of the input .doc file, there are 2 arrows.
These 2 arrows are transformed in a bracket ( in the pdf result file
2- at the end of the pdf result file, a text with a lot of brackets is added. This part of text is not present in the .doc input file.
You will find the input .doc file and the pdf in the attached .zip
TEST_CG_LA_7K0.zip (427.9 KB)
Can you please fix these problems ?
Thanks,
Regards,
Simon GRIMAL