|
PDFTool
6.0
|
PDFのファイル添付注釈を表現したクラスです。 More...
#include <PtlAnnotFileAttachment.h>


Public Member Functions | |
| PtlAnnotFileAttachment () | |
| コンストラクタ More... | |
| PtlAnnotFileAttachment (const PtlAnnotFileAttachment &obj) | |
| コピーコンストラクタ alias copy More... | |
| ‾PtlAnnotFileAttachment () | |
| デストラクタ | |
| PtlAnnotFileAttachment & | operator= (const PtlAnnotFileAttachment &obj) |
| コピーオペレータ alias copy More... | |
| ICON_TYPE | getIconType () const |
| アイコンタイプを取得。 More... | |
| void | setIconType (ICON_TYPE type) |
| アイコンタイプを設定。 More... | |
| PtlParamString | getIconName () const |
| アイコン名を取得。 More... | |
| void | setIconName (const PtlParamString &name) |
| アイコン名を設定。 More... | |
| void | setPage (const PtlPage &page) |
| カスタムアイコンに使用するPDF文書ページを設定。 More... | |
| PtlParamString | getFileName () const |
| 添付ファイル名を取得。 More... | |
| void | setFileName (const PtlParamString &filename) |
| 添付ファイル名を設定。 More... | |
| void | readFile (PtlParamStream &inParam) |
| 添付するファイルの読み込み。 More... | |
| void | writeFile (PtlParamStream &outParam) |
| 添付ファイルの書き出し。 More... | |
Public Member Functions inherited from PdfTk::PtlAnnotMarkup | |
| PtlAnnotMarkup (ANNOT_TYPE type) | |
| コンストラクタ More... | |
| PtlAnnotMarkup (const PtlAnnotMarkup &obj) | |
| コピーコンストラクタ alias copy More... | |
| virtual | ‾PtlAnnotMarkup () |
| デストラクタ | |
| PtlAnnotMarkup & | operator= (const PtlAnnotMarkup &obj) |
| コピーオペレータ alias copy More... | |
| PtlParamString | getMarkUpTitle () const |
| ポップアップウィンドウのタイトル文字列を取得。 More... | |
| void | setMarkUpTitle (const PtlParamString &title) |
| ポップアップウィンドウのタイトル文字列を設定。 More... | |
| PtlParamString | getMarkUpSubj () const |
| サブジェクトの短い説明を取得。 More... | |
| void | setMarkUpSubj (const PtlParamString &subj) |
| サブジェクトの短い説明を設定。 More... | |
| PtlDate | getMarkUpDate () const |
| 注釈生成日時を取得。 More... | |
| void | setMarkUpDate (const PtlDate &date) |
| 注釈生成日時を設定。 More... | |
| float | getMarkUpCA () const |
| 不透明度を取得。 More... | |
| void | setMarkUpCA (float ca) |
| 不透明度を設定。 More... | |
| bool | hasAnnotPopup () const |
| ポップアップ注釈を持つか否かを取得。 More... | |
| PtlAnnotPopup & | getAnnotPopup () |
| ポップアップ注釈を取得。 More... | |
| void | setAnnotPopUp (PtlAnnotPopup &popup) |
| ポップアップ注釈を設定。 More... | |
Public Member Functions inherited from PdfTk::PtlAnnot | |
| int | getHandle () const |
| PtlAnnot (ANNOT_TYPE type) | |
| コンストラクタ More... | |
| PtlAnnot (const PtlAnnot &obj) | |
| コピーコンストラクタ alias copy More... | |
| virtual | ‾PtlAnnot () |
| デストラクタ | |
| PtlAnnot & | operator= (const PtlAnnot &obj) |
| コピーオペレータ alias copy More... | |
| ANNOT_TYPE | getType () const |
| 注釈タイプを取得。 More... | |
| bool | isMarkup () const |
| マークアップ注釈か否かを取得。 More... | |
| PtlRect | getRect () |
| 矩形座標を取得。 More... | |
| void | setRect (const PtlRect &rectMM) |
| 矩形座標を設定。 More... | |
| PtlParamString | getTextContents () |
| 内容を取得。 More... | |
| void | setTextContents (const PtlParamString &contents) |
| 内容を設定。 More... | |
| PtlDate | getDate () |
| 日時を取得。 More... | |
| void | setDate (const PtlDate &date) |
| 日時を設定。 More... | |
| int | getAnnotFlags () |
| 注釈フラグを取得。 More... | |
| void | setAnnotFlags (int flag) |
| 注釈フラグを設定。 More... | |
| const PtlColor & | getColor () |
| 色を取得。 More... | |
| void | setColor (const PtlColorDeviceRGB &color) |
| 色を設定。 More... | |
| const PtlColor & | getInteriorColor () |
| 内部色を取得。 More... | |
| void | setInteriorColor (const PtlColorDeviceRGB &color) |
| 内部色を設定。 More... | |
| BORDER_STYLE | getBorderStyle () |
| 境界線スタイルを取得。 More... | |
| void | setBorderStyle (BORDER_STYLE style) |
| 境界線スタイルを設定。 More... | |
| BORDER_LINE_WIDTH | getBorderWidth () |
| 境界線幅をBORDER_LINE_WIDTHで取得。 More... | |
| void | setBorderWidth (BORDER_LINE_WIDTH width) |
| 境界線幅をBORDER_LINE_WIDTHで設定。 More... | |
| float | getBorderWidthNative () |
| 注釈に設定してある境界線幅を直接取得。 More... | |
| void | setBorderWidthNative (float width) |
| 注釈の境界線幅を数値で直接設定。 More... | |
PDFのファイル添付注釈を表現したクラスです。
| PdfTk::PtlAnnotFileAttachment::PtlAnnotFileAttachment | ( | ) |
コンストラクタ
| PtlException |
| PdfTk::PtlAnnotFileAttachment::PtlAnnotFileAttachment | ( | const PtlAnnotFileAttachment & | obj | ) |
| PtlParamString PdfTk::PtlAnnotFileAttachment::getFileName | ( | ) | const |
| PtlParamString PdfTk::PtlAnnotFileAttachment::getIconName | ( | ) | const |
| ICON_TYPE PdfTk::PtlAnnotFileAttachment::getIconType | ( | ) | const |
| PtlAnnotFileAttachment& PdfTk::PtlAnnotFileAttachment::operator= | ( | const PtlAnnotFileAttachment & | obj | ) |
コピーオペレータ alias copy
| obj | コピー元オブジェクト。 |
| void PdfTk::PtlAnnotFileAttachment::readFile | ( | PtlParamStream & | inParam | ) |
| void PdfTk::PtlAnnotFileAttachment::setFileName | ( | const PtlParamString & | filename | ) |
添付ファイル名を設定。
Adobe製品では拡張子付きのファイル名を設定しておかないと添付ファイルを取り出せないようです。
| filename | 添付ファイル名 注意:filenameにはファイル名のみを指定し、パスを含めないでください。 |
| PtlException |
| void PdfTk::PtlAnnotFileAttachment::setIconName | ( | const PtlParamString & | name | ) |
アイコン名を設定。
アイコンタイプとしてICON_CUSTOMを設定した場合にのみ有効となります。
ICON_CUSTOM以外のアイコンタイプでアイコン名を設定すると動作は不定です。
| name | アイコン名。 |
| PtlException |
| void PdfTk::PtlAnnotFileAttachment::setIconType | ( | ICON_TYPE | type | ) |
| void PdfTk::PtlAnnotFileAttachment::setPage | ( | const PtlPage & | page | ) |
| void PdfTk::PtlAnnotFileAttachment::writeFile | ( | PtlParamStream & | outParam | ) |
1.8.18