HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › Creating an index at the end of the pdf file › Re: Re: Creating an index at the end of the pdf file
Hi
I spent some time looking closer into it, and a some questions arose.
Most are about the jsp tag lib, considering I’m not used to jsp tags. Are they some rules defining whether the tags should be closed immediately or include the whole document ? Is the order of declaration a matter ? Should parameters always be included in quotes ?
Currently I’ve :
<pd4ml:transform screenWidth="400" debug="true" ><br />
<pd4ml:permissions password="empty" rights="2068" strongEncryption="true"><br />
<pd4ml:page.break ifSpaceBelowLessThan="500"><br />
<pd4ml:clean_xhtml/><br />
(html doc)<br />
</pd4ml:page.break><br />
</pd4ml:permissions><br />
</pd4ml:transform><br />
=> I’ve tried many other combinations, to no success.
In this context, only clean_xhtml works… The permissions defined in jsp never worked (I had to do it through Java), neither did the page break feature (for which I found no Java correspondence).
A more important question is about hyphenation : it’s working but without an hyphen (-) character.
I currently use CSS :
<br />
p{<br />
text-align: justify;<br />
word-wrap:break-word;<br />
}
however the breaks occur without hyphen character. Is there a way to define one ?
I tried to put some h3 with visibility:hidden, in order for the Table Of Content to include link to these items without actually showing it. It doesn’t work.
However, this is a need for our current usage of a so called index : we have some h3 which are hidden but should be part of the table of content, in order to allow links to the position. Is there a way to do it through the table of content ?
If the index spoken above was to be created, could it link to keywords which aren’t actually displayed ? Or could it be done through other tricks ?
I’ll look deeper into PD4ML later, so I could come back with more questions…
thanks again !
joseph