it would be nice to be able to generate a PDF TOC (or other set of PDF bookmars) in the output (the kind of TOC that a pdf viewer typically renders in a sidebar beside the actual page content, and which simplifies the on-screen navigation of large PDFs).
As far as I can tell, flyingsaucer supports this by non-standard <bookmark> tags in the html <head>, but CHtmlToPdfFlyingSaucerTransformer in YaHP, which is the transformer used by play--pdf, cleans the html with a Tidy that removes those elements.
Can play--pdf overrride the transformer to fix this? Or is there some other way that I have overlooked?
it would be nice to be able to generate a PDF TOC (or other set of PDF bookmars) in the output (the kind of TOC that a pdf viewer typically renders in a sidebar beside the actual page content, and which simplifies the on-screen navigation of large PDFs).
As far as I can tell, flyingsaucer supports this by non-standard <bookmark> tags in the html <head>, but CHtmlToPdfFlyingSaucerTransformer in YaHP, which is the transformer used by play--pdf, cleans the html with a Tidy that removes those elements.
Can play--pdf overrride the transformer to fix this? Or is there some other way that I have overlooked?