Hi,
I am attaching an word doc that works fine when the generated file format is word type; but does not work well interms of formatting when generated file is PDF. Just to give you a little detail, word paragraphs have images/graphs on the right hand side in most cases. The attachment also has pdf and word shortcut included.
No Issue: Generated word file works just fine.
Issue: Generated pdf formatted output file does not work properly. Images/graphs (on the right) overlaps the text content to their left and make some text invisible. In some cases, Images are misplaced. Also, shortcuts are missing.
I am including the source WORD file and the generated PDF file. Please take a look.
Here is sample of my code:
DocumentBuilder builder = new DocumentBuilder(new Document());
Document subDoc = new Document(sourceDocumentFullPath);
subDoc.Sections[0].PageSetup.SectionStart = SectionStart.Continuous;
builder.Document.AppendDocument(subDoc, ImportFormatMode.KeepSourceFormatting);
Thanks.
–Shopon