Pechkin icon indicating copy to clipboard operation
Pechkin copied to clipboard

Table of Contents (ToC) feature working?

Open mattki opened this issue 11 years ago • 1 comments

Does anyone know if the table of contents feature of wkhtmltopdf works with Pechkin wrapper? It's likely that I just don't know what I'm doing.

I tried to enable a table of contents first by setting objConf.SetTocXsl(xsl);

Where xsl refers to the default xsl file dumped from the command line version of wkhtmltopdf.exe.

This didn't change the output at all, so I tried objConf.SetCreateToc(true); in combination with the above. This creates a single page PDF instead of my usual 100 page PDF and is just the default empty ToC page. As SetCreateToc is deprecated that is not surprising.

mattki avatar Apr 30 '13 00:04 mattki

@mattki, I'm getting started with this Pechkin wrapper, did you solve your 'problem'? Because I don't know how I'll get this to work..

vhogendoorn avatar Dec 18 '13 15:12 vhogendoorn