Hi
file1.zip (102.9 KB)
file2.zip (142.5 KB)
Word files and error image in addition. Tables is mixed
Thanks
Hi
file1.zip (102.9 KB)
file2.zip (142.5 KB)
Word files and error image in addition. Tables is mixed
Thanks
Thank you for your inquiry. We have investigated the conversion using your shared documents and found the output is same expected as per input documents using Aspose.Words for .NET 17.12 Documents.zip (325.8 KB).
Thank you for your feedback. Please check your sample input DOCX documents shared with us already have the logo overlapping in File1.docx and in File2.docx have fix width for cell (containing text “ETKİNLİĞİN”).
We suggest you to please again zip and upload the input DOCX files those are proper as you shared in error.png file. As soon as we receive the new input DOCX files we will start investigation and will share the further information. Thank you for your cooperation.
Hi
There is a misunderstanding.I did not test new. “Documents.zip” documents shared with us already have error. error.png (103.7 KB) was obtained from the “Documents.zip” file.
Thank you for writing back.
Please elaborate more in detail so we can give you exact required information. Thank you for your cooperation.
However as we shared previously your provided file1.docx and file2.docx already have itself template formatting issues and outputs are also same as input documents with same formatting issues.
Hi
“file1.docx and file2.docx already have itself template formatting issues”. What are these problems? How can i solve it. There is no problem when I save as pdf from Microsoft Word.file1.zip (641.4 KB)
file2.zip (601.2 KB)
I will be glad if you help me
Thanks
Thank you for writing back. Please have a look at these images DOCX Files Issues.zip (193.6 KB). DOCX files you shared with us have Logo overlapping the cell in Fie 1 and File 2 DOCX have label/heading fix width, so same is generating in the output PDF files. Please adjust the logo alignment and label widths in DOCX files and that will also reflect in PDF files generated by Aspose.Words. Thank you for your cooperation.
H
We are using the word 2016 and 2013. Please have a look at these images word 2016.zip (152.7 KB) Same for version 2013. We need to make a setting or update ? Because the images ( “DOCX Files Issues.zip”) you send are different.
Thank you for sharing the details.
Yes in MS Word 2013 template looks proper.
Yes you need to specify the LoadOptions.MswVersion as default value is Word2007. Please have a look at this sample code.
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_LoadingAndSaving();
LoadOptions loadoptions = new LoadOptions();
loadoptions.LoadFormat = LoadFormat.Docx;
loadoptions.MswVersion = Settings.MsWordVersion.Word2013;
Document doc = new Document(dataDir + "file1.docx", loadoptions);
PdfSaveOptions pdfSaveOptions = new PdfSaveOptions();
pdfSaveOptions.SaveFormat = SaveFormat.Pdf;
doc.Save(dataDir + "file1_docx_out.pdf", pdfSaveOptions);