保存しおり情報
しおりの情報を外部ファイルに保存する
しおりの情報をテキストデータにして出力できます。
テキストデータの形式は、CSV形式、XML形式、JSON形式の3種類です。いずれもエンコーディングはUTF-8です。CSV形式は、オプションで、項目名出力の有無とBOMのありなしを指定できます。出力したテキストデータファイルを「外部しおりファイル」と呼びます。
外部しおりファイルは次の手順で出力できます。

右側の
をクリックし、出力形式をクリックすることでも出力できます。
図のようなしおりを作成して、CSVファイルを出力します。CSVファイル内の各フィールドのデータは表のようになります。(作成する条件により実際とは異なる場合があります。)

しおりの表示される階層構造と順番は、データ内の「ID」と「親ID」、CSV のデータの並び順によって表現されています。CSVファイルをご利用の際は、実際にサンプルのしおりを作成して、内容を確認することをお勧めします。
しおり情報ファイルCSV形式
CSV形式の出力例
| id,parent_id,text,destination-page-number,destination-type,destination-x1,destination-y1,destination-x2,destination-y2,destination-scaling,action-type,expand,external-destination,font-color,font-style,font-weight,font-size,relative-path,new-window |
| 1,0,"しおり1",1,none,,,,,,goto,1,,#000000,normal,bold,0,0 |
| 2,0,"しおり2",2,xyz,0.00,19.84,,,0.00,goto,1,,#FF0000,normal,bold,0,0 |
| 3,2,"しおり3",2,xyz,0.00,81.34,,,-1.00,goto,1,,#000000,italic,normal,0,0 |
| 4,3,"しおり4",4,xyz,0.00,130.96,,,-1.00,gotor,1,Out.pdf,#000000,normal,normal,0,0 |
| 5,0,"しおり5",3,fith,,14.55,,,,goto,1,,#0000FF,normal,bold,0,0 |
| フィールドの項目 プロパティ項目名 | しおり1 | しおり2 | しおり3 | しおり4 | しおり5 |
|---|---|---|---|---|---|
| id -- | 1 | 2 | 3 | 4 | 5 |
| parent_id 親ID | 0 | 0 | 2 | 3 | 0 |
| text テキスト | しおり1 | しおり2 | しおり3 | しおり4 | しおり5 |
| destination-page-number ページ番号 | 1 | 2 | 2 | 4 | 3 |
| destination-type 表示方法 | none | xyz | xyz | fit | fith |
| destination-x1 X座標(mm) | 0 | 0 | |||
| destination-y1 Y座標(mm) | 19.84 | 81.34 | 14.55 | ||
| destination-x2 右下X座標(mm) | |||||
| destination-y2 右下Y軸座標(mm) | |||||
| destination-scaling 表示倍率(%) | 100 | 0 | |||
| action-type リンクアクション | goto | goto | goto | gotor | goto |
| expand 子しおりのリストを開く閉 | 1 | 1 | 1 | 1 | 1 |
| external-destination 外部ファイル名 | Out.pdf | ||||
| font-color フォント色 | #000000 | #FF0000 | #000000 | #000000 | #0000FF |
| font-style 斜体 | normal | normal | italic | normal | normal |
| font-weight 太字 | bold | bold | normal | normal | bold |
| relative-path 相対パス | 0 | 0 | 0 | 0 | 0 |
| new-window 外部PDFファイルを新規ウインドウで開く | 0 | 0 | 0 | 0 | 0 |
しおり情報ファイルXML形式