LoginSignup
0

More than 5 years have passed since last update.

wkhtmltopdfで自動でしおりを追加されない方法

Last updated at Posted at 2016-03-30

自分用備忘録。

ちなみにwkhtmltopdfの導入・使用法についてはこちらの記事を参考にしました。

wkhtmltopdfを使用してPDFを作成すると、デフォルトの設定では見出しタグ(h1,h2...)ごとに自動でしおりが作成されてしまう。

自動でしおりを作成しないしないようにするにはno-outlineオプションを使用する。

$pdf->setOption('no-outline', true);

英語力が足りなくて、オプション一覧から見つけるのに結構時間を使ってしまった…

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0