Convert word to Pdf- space removed around bookmarks

Hi

We use Aspose total to convert Word-files to pdf and to join multiple Pdf-files into one.

When I tried to upgrade to latest version we experienced some problems.

It seems like Aspose remove a space before and after each bookmark in our word-files.

Since we uses a lot of bookmarks this is a big problem for us.

I attach a word-file and the converted pdf.

The text with yellow background in the word document is losing the whitespace.

How do we solve this problem?

best regards

Sven Hasselblad
Swedish Forrest Agancy

Hello Sven,

Thanks for using our products.

Can you please share that either you are using the Legacy/Conventional method (using Aspose.Words and Aspose.Pdf to convert the Word document into PDF format) or using the new Direct-to-PDF save method of Aspose.Words to accomplish your requirements ?

As per my observations, when I have tried converting the word document into PDF format using Direct-to-PDF save method with Aspose.Words 9.1.0, I am unable to notice any problem. The resultant PDF that I have generated is in attachment. Please take a look.

For more information on Direct-to-PDF save method of Aspose.Words, please visit How-to: Convert a Document to PDF

We apologize for your inconvenience.

Hi

We are using the conventional method. This code has been in production for about 2 years.

I will take a look at changing to direct-to-pdf and report back how it goes.

Best regards

Sven Hasselblad