I have a docx document with tables.
In word tables are set to not break accross pages. I shows OK in MS Word.
When I convert to PDF using Aspose.Total the table is broken across pages.
More info:
When I convert online in this URL Convert Files Online - Word, PDF, HTML, JPG And Many More
it converts correctly without table break.
When I convert online in this URL Convert any file, save as PDF, Word, HTML, CSV, JPG, HTML, ODS, BMP, PNG, SVG, TIFF, XPS and more. Immediate download, 100% Free Online
it breaks the table across pages
@GoncaloDuarte Could you please attach the problematic input and output documents here for testing? We will check the issue and provide you more information.
@alexey.noskov
Attached Word Document and both PDF generated by each of those links that I said before.
In my application it breaks the table across pages and thats wrong.testebreak.docx (25.9 KB)
testebreak_good.pdf (14.4 KB)
testebreak_wrong.pdf (71.3 KB)
@GoncaloDuarte Thank you for additional information. As I can see simple conversion using Aspose.Words produces correct result:
Document doc = new Document(@"C:\Temp\in.docx");
doc.Save(@"C:\Temp\out.pdf");
Both Words
and Total
uses Aspose.Words for conversion, However Total
app uses older version of Aspose.Words 21.6, when Words
app uses 22.6 version. This causes the differences. I would suggest you to use Words
apps for processing Word documents.
Thank you very much for your quick answer.
I’m using Aspose v20.10.
I’ll have to renew my subscription to be able to use newer version.
I tested with Aspose.Words.dll version 22.7 and it works.
1 Like