Hi
When converting Word to PDF using Aspose word I’m getting an inconsistent output around tables. I recently updated to 11.9 that fixed a bug where the tables would continue off the page but now I’m getting issues where the table layout and format are not the same causing the pages to be out of alignment.
I have attached the word and pdf versions that shows on page 88 of both documents the table format is different, the pdf table is not using all the space, this causes the table to spread across more pages than the original word document making it difficult for users that have the 2 different file formats open.
Can you please help?
Thanks
Craig
Hi Craig,
Hi Tahir
We are running on Windows 2008 R2 on the .Net 4.0 framework.
Here is the code we use to convert to PDF.
doc.Save(Path.Combine(OutputFolder, objectBase.ExpectedFileName(PublishOutputMapping.FindPdfDocExtension())),
new PdfSaveOptions { SaveFormat = SaveFormat.Pdf, UseAntiAliasing = false, EmbedFullFonts = false, HeadingsOutlineLevels = 3, EmbedStandardWindowsFonts = false });
Thanks
Craig
Hi Craig,
Hi Tahir
I’m using the latest version (11.9.0).
What we have found is that when we convert to PDF when the word file is on a local drive it converts fine however once the word file is on a NAS that’s when we get this issue.
Could this be a permission issue to the .dot file?
Thanks
Craig
Hi Craig,
Hi Tahir
I just realized that I was testing with the file I uploaded which is a docx file that converted from a docm as it wasn’t allowed to be uploaded. The NAS had the copy of the docm and my local copy was the docx.
Here is the link to the docm file. I’ve tried to convert that to PDF and get the issue in the attached PDF.
http://training.gov.au/TrainingComponentFiles/PSP12/PSP12_Header_R1.0.docm
Thanks
Craig
Thanks you very much Tahir.
Do you have a time frame for when this fix will be available?
Thanks
Craig
Hi Craig,
Hi Craig,
The issues you have found earlier (filed as WORDSNET-7379) have been fixed in this Aspose.Words for .NET 22.2 update also available on NuGet.