Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use toc parameter #61

Closed
amenophis opened this issue Jul 19, 2013 · 2 comments
Closed

Use toc parameter #61

amenophis opened this issue Jul 19, 2013 · 2 comments

Comments

@amenophis
Copy link

I try to use the toc parameter without success.
The generated command contains --toc instead of toc.

Do you think it can be done easily ?

Thanks

@pilot
Copy link
Contributor

pilot commented Jul 20, 2013

how you define it?

$snappy = new Pdf('/usr/local/bin/wkhtmltopdf');
$snappy->setOption('toc', true);

also be sure that toc options truly works if trying to generate pdf in console

@karthikrajender
Copy link

Could any one specify the values to be passed for TOC options

        'toc-depth'                    => null,
        'toc-font-name'                => null,
        'toc-l1-font-size'             => null,
        'toc-header-text'              => null,
        'toc-header-font-name'         => null,
        'toc-header-font-size'         => null,
        'toc-level-indentation'        => null,
        'disable-toc-links'            => null,
        'toc-text-size-shrink'         => null,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants