Creating bookmarks makes PDF unreadable

Hi! We are creating bookmarks using Pdf.Kit.PdfContentEditor and CreateBookmarkOfPage. The document and bookmark becomes unreadable after doing this. The documents are originally converted from Norwegian Microsoft Word 2003 using ASPOSE. I sent you the files and code we used. Is there a workaround here? We also tried different response encoding and culture settings with the same result.

Thank you!

Hello Oddhenning,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for considering Aspose.


We have received the resource files and our concerned development department is looking into this issue. As soon as we come up with any solution, we would be pleased to inform you.

We apologies for any inconvenience that may have occurred.

Hi Oddhenning,

We are sorry that PdfContentEditor could not handle two different operations such as removing and creating bookmarks in one instance of the class. As a workaround, after removing bookmarks of a Pdf file(or stream), you need instantiate another object of PdfContentEditor to create bookmarks.

Thanks,

codewarior:

Nayyer Shahbaz
Support Developer
Aspose Changsha Team
[About Us](http://www.aspose.com/http://www.aspose.com/Wiki/default.aspx/Aspose.Corporate/AboutChangsha.html)
[Contact Us](http://www.aspose.com/http://www.aspose.com/Wiki/default.aspx/Aspose.Corporate/AboutChangsha.html)

Hi Nayyer,

Your signature was manually injected each time, which is not the best practice. Please consult Salman regarding how to do that properly.

Nayyer was already instructed by me about how to properly create signature by editing his profile. I think, he did not get it properly. I will again talk to him once he gets online.

Hello All,

My apologies for not updating my profile instantly. Actually I planned it for tonight session. I here by would like to bring into your notice that I have updated my profile to contain signatures information.