We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Word to PDf - Bookmarks

Hi

I am converting a word doc to pdf and am attempting to create bookmarks for each section of my pdf.

i use below to loop through heading sections...

pdf.IsBookmarked = True

Dim sec As Aspose.Pdf.Section

For Each sec In pdf.Sections

Dim para As Aspose.Pdf.Paragraph

For Each para In sec.Paragraphs

If TypeOf para Is Heading Then

para.IsInList = True

End If

Next

Next

But, how do i add the heading section in word (using documentbuilder??) ?

Is it simply based on a heading style ?

Many Thanks

mark

Hello Mark,

Please visit the following link for required information. Making Changes after a Conversion from Word to PDF

Regarding your query on DocumentBuilder, I am moving this thread to Aspose.Words forum where I believe our team of experts taking care of that product would be in better position to answer this query.

We apologize for your inconvenience.

Hi

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

Thanks for your inquiry. Yes, it is simply based on heading styles. Please see the following links for more information:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/aspose.words.paragraphformat.styleidentifier.html

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/aspose.words.saving.pdfsaveoptions.headingsoutlinelevels.html

Please let me know if you need more information, I will be glad to help you.

Best regards,