We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

PDF links in document after conversion from Word

Thread ID:

Created:

Updated:

Platform:

Replies:

128552 Jan 28,2017 04:04 AM Jan 30,2017 08:34 AM WPF 1
loading
Tags: DocIO
Tom De Vree
Asked On January 28, 2017 04:04 AM

Hi,

I am attempting to create a PDF document with a flow layout, and link (bookmarks) inside the document, so you can navigate inside the document.
The problem is that in the PDF documents the links are visible (the cursor changes when I hover over it) but it does not work. When I inspect the link with Acrobat Professional, there does not seems to be a target for the link.

Currently I am first creating a Word document, and then converting it to a PDF, as suggested by the documentation for a flow layout( https://help.syncfusion.com/file-formats/pdf/working-with-flow-layout)

When I open the Word document, the links are there and they are working. If I convert the pdf then with the Word program (OpenOffice in my case), the links in the PDF document work correctly.

Any suggestions on how to make the links in the PDF work after the conversion ?

I create the links in the Word document with:

var entry = bookmarks.First();
paragraph.AppendCrossReference(ReferenceType.Bookmark, ReferenceKind.ContentText, entry, true, false, false, string.Empty);

The conversion:
var converter = new DocToPDFConverter();            
PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument);

Vijay Ramachandran [Syncfusion]
Replied On January 30, 2017 08:34 AM

Hi Tom,

Thank you for using Syncfusion products.

We can reproduce the mentioned cross reference field navigation issue in Word to PDF conversion with the given details. Currently we are working on this issue and this fix be will include in our upcoming 2017 Volume 1 release which is expected to be available on February 2017.

As a workaround, kindly enable DocToPDFConverter.Settings.EnableFastRendering property, then convert a Word document as PDF. We have prepared sample for the same, please find the sample from following link and let us know if it helps.
http://www.syncfusion.com/downloads/support/directtrac/128552/ze/CrossRefFieldWordToPDF-1841787640.zip

Let us know if you have any concern.

Regards,
Vijay R


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;