Pechkin
Pechkin copied to clipboard
Table of Contents (ToC) feature working?
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, 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..