We are using Aspose.Words.for.Java version 14.7.0. We are finding some generated tab stops in the output Word document footers that were not present in the original rtf.
This is a sample of the code used:
String fileToConvert = input RTF file (i.e. “input/DOC101.rtf”)
String convertedDocPath = output file name (i.e. “output/DOC101.xml”)
Document asposeDocument = new Document(new FileInputStream(fileToConvert));
asposeDocument.save(convertedDocPath, SaveFormat.FLAT_OPC);
Attached are two sample input rtf files. DOC101.rtf has no tab stops defined in the footer. After saving as FLAT_OPC there are numerous tab stops in the footers. See footers with text “~E0007V” and “D0008V” for example.
DOC200.rtf has one tab stop defined. After conversion there are no extra tab stops introduced in the output.
Can you please advise if there is some setting we need during conversion to avoid the extra tab stops in docs where none are originally set? Or is this a bug in Aspose code?
Hi Linda,