PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: Exclude a couple of H1 and H2 Tags, but not all of them
   PostPosted: 20 Dec 2011, 08:24 
Hi,

I am currently evaluating PD4ML, using it in Coldfusion.
I am very pleased so far.

When I generate a TOC with the <pd4ml:toc> tag,
I have a title and a subtitle above the tag. Both are headings.
Code looks like this:

<h1 style="pd4ml-bookmark-visibility: hidden;">[!TITLE!]</h1>
<h2 style="pd4ml-bookmark-visibility: hidden;">[!SUBTITLE!]</h2>
<pd4ml:toc>

As you see I was trying to hide these 2 titles from the TOC, with what I thought was the correct command: pd4ml-bookmark-visibility: hidden

Unfortunately they still show up. What am I doing wrong?

Cheers,

Mattijs


  Subject: Re: Exclude a couple of H1 and H2 Tags, but not all of them
   PostPosted: 08 Feb 2012, 20:17 
PD4ML can generate TOC and bookmarks (outlines) from H1-H6 structure.

Bookmark structure usually appears in a side frame of Acroread viewer; TOC is inserted as a substitution of <pd4ml:toc> tag into the document body.

pd4ml-bookmark-visibility property impacts generation of bookmarks only.

Currently we work on the documentation update, the work is not done yet. But you may take a look to the relevant sections - hopefully it helps:

TOC: http://pd4ml.com/cookbook/pd4ml_table_of_contents.htm
Bookmarks: http://pd4ml.com/cookbook/pdf_bookmarks.htm



[Reply]     [ 2 posts ] 

cron
Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share