Hi,
I am attaching the docx source file and the generated pdf file. If you look i source document on pages 1 and 2 the last item in the table is different than the one in Pdf generated. Pdf is moving tabular contents from page next page to previous page. The code we are using is below. What are the settings needed to add keep the tabular structure consistent between docx and pdf.
Document doc = new Document(inputStream);
FontSettings fontSettings = new FontSettings();
fontSettings.setFontsFolder(AppConstants.RESOURCES_ROOT, false);
doc.setFontSettings(fontSettings);
com.aspose.words.PdfSaveOptions options = new com.aspose.words.PdfSaveOptions();
options.setUpdateSdtContent(true);
options.setCustomPropertiesExport(PdfCustomPropertiesExport.STANDARD);
options.setExportDocumentStructure(true);
options.setSaveFormat(SaveFormat.PDF);
doc.save(outStream, options);