<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>spitfire_tree</author_name>
  <author_url>https://blog.hatena.ne.jp/spitfire_tree/</author_url>
  <blog_title>happy lie, happy life</blog_title>
  <blog_url>https://spitfire-tree.hatenadiary.org/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>今回は PDF のメタ情報や、ページのアウトラインを設定します。 パスワードの設定 PDF にパスワードを設定し、情報の公開を制限します。パスワードはオーナーおよびユーザ向けの2種類が設定可能で、オーナーのパスワードは必須になります。オーナーとユーザの違いは、パーミッション（後述）の変更ができるかどうかです。 pdf = HPDFDoc.new # オーナー、ユーザのパスワードを設定 pdf.set_password(&quot;owner&quot;, &quot;user&quot;) パーミッションの変更 上で書いたパーミッションを変更します。この場合のパーミッションは、ファイルシステム的なそれではなく PDF に独自に付与さ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fspitfire-tree.hatenadiary.org%2Fentry%2F20090806%2F1249542970&quot; title=&quot;Haru free PDF library でメタ情報やアウトラインを操作 - happy lie, happy life&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/s/spitfire_tree/20090806/20090806161633.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-08-06 16:16:10</published>
  <title>Haru free PDF library でメタ情報やアウトラインを操作</title>
  <type>rich</type>
  <url>https://spitfire-tree.hatenadiary.org/entry/20090806/1249542970</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
