|
Antenna House PDF Tool API (C++) 8.0
|
#include <PtlAnnotFileAttachment.h>


公開メンバ関数 | |
| PtlAnnotFileAttachment () | |
| コンストラクタ | |
| PtlAnnotFileAttachment (const PtlAnnotFileAttachment &obj) | |
| コピーコンストラクタ alias copy | |
| ~PtlAnnotFileAttachment () | |
| デストラクタ | |
| PtlAnnotFileAttachment & | operator= (const PtlAnnotFileAttachment &obj) |
| コピーオペレータ alias copy | |
| ICON_TYPE | getIconType () const |
| アイコンタイプを取得。 | |
| void | setIconType (ICON_TYPE type) |
| アイコンタイプを設定。 | |
| const PtlParamString & | getIconName () |
| アイコン名を取得。 | |
| void | setIconName (const PtlParamString &name) |
| アイコン名を設定。 | |
| void | setPage (const PtlPage &page) |
| カスタムアイコンに使用するPDF文書ページを設定。 | |
| const PtlParamString & | getFileName () |
| 添付ファイル名を取得。 | |
| void | setFileName (const PtlParamString &filename) |
| 添付ファイル名を設定。 | |
| void | readFile (PtlParamStream &inParam) |
| 添付するファイルの読み込み。 | |
| void | writeFile (PtlParamStream &outParam) |
| 添付ファイルの書き出し。 | |
| 基底クラス PdfTk::PtlAnnotMarkup に属する継承公開メンバ関数 | |
| PtlAnnotMarkup (ANNOT_TYPE type) | |
| コンストラクタ | |
| PtlAnnotMarkup (const PtlAnnotMarkup &obj) | |
| コピーコンストラクタ alias copy | |
| virtual | ~PtlAnnotMarkup () |
| デストラクタ | |
| PtlAnnotMarkup & | operator= (const PtlAnnotMarkup &obj) |
| コピーオペレータ alias copy | |
| const PtlParamString & | getMarkUpTitle () |
| ポップアップウィンドウのタイトル文字列を取得。 | |
| void | setMarkUpTitle (const PtlParamString &title) |
| ポップアップウィンドウのタイトル文字列を設定。 | |
| const PtlParamString & | getMarkUpSubj () |
| サブジェクトの短い説明を取得。 | |
| void | setMarkUpSubj (const PtlParamString &subj) |
| サブジェクトの短い説明を設定。 | |
| PtlDate | getMarkUpDate () const |
| 注釈生成日時を取得。 | |
| void | setMarkUpDate (const PtlDate &date) |
| 注釈生成日時を設定。 | |
| float | getMarkUpCA () const |
| 不透明度を取得。 | |
| void | setMarkUpCA (float ca) |
| 不透明度を設定。 | |
| bool | hasAnnotPopup () const |
| ポップアップ注釈を持つか否かを取得。 | |
| PtlAnnotPopup & | getAnnotPopup () |
| ポップアップ注釈を取得。 | |
| void | setAnnotPopUp (PtlAnnotPopup &popup) |
| ポップアップ注釈を設定。 | |
| 基底クラス PdfTk::PtlAnnot に属する継承公開メンバ関数 | |
| int | getHandle () const |
| PtlAnnot (ANNOT_TYPE type) | |
| コンストラクタ | |
| PtlAnnot (const PtlAnnot &obj) | |
| コピーコンストラクタ alias copy | |
| virtual | ~PtlAnnot () |
| デストラクタ | |
| PtlAnnot & | operator= (const PtlAnnot &obj) |
| コピーオペレータ alias copy | |
| ANNOT_TYPE | getType () const |
| 注釈タイプを取得。 | |
| bool | isMarkup () const |
| マークアップ注釈か否かを取得。 | |
| PtlRect | getRect () |
| 矩形座標を取得。 | |
| void | setRect (const PtlRect &rectMM) |
| 矩形座標を設定。 | |
| const PtlParamString & | getTextContents () |
| 内容を取得。 | |
| void | setTextContents (const PtlParamString &contents) |
| 内容を設定。 | |
| PtlDate | getDate () |
| 日時を取得。 | |
| void | setDate (const PtlDate &date) |
| 日時を設定。 | |
| int | getAnnotFlags () |
| 注釈フラグを取得。 | |
| void | setAnnotFlags (int flag) |
| 注釈フラグを設定。 | |
| const PtlColor & | getColor () |
| 色を取得。 | |
| void | setColor (const PtlColorDeviceRGB &color) |
| 色を設定。 | |
| const PtlColor & | getInteriorColor () |
| 内部色を取得。 | |
| void | setInteriorColor (const PtlColor &color) |
| 内部色を設定。 | |
| BORDER_STYLE | getBorderStyle () |
| 境界線スタイルを取得。 | |
| void | setBorderStyle (BORDER_STYLE style) |
| 境界線スタイルを設定。 | |
| BORDER_LINE_WIDTH | getBorderWidth () |
| 境界線幅をBORDER_LINE_WIDTHで取得。 | |
| void | setBorderWidth (BORDER_LINE_WIDTH width) |
| 境界線幅をBORDER_LINE_WIDTHで設定。 | |
| float | getBorderWidthNative () |
| 注釈に設定してある境界線幅を直接取得。 | |
| void | setBorderWidthNative (float width) |
| 注釈の境界線幅を数値で直接設定。 | |
| const PtlParamString & | getAnnotationName () |
| 注釈名を取得。 | |
PDFのファイル添付注釈を表現したクラスです。
PtlAnnotFileAttachment.h の 20 行目に定義があります。
アイコンのタイプ
| 列挙値 | |
|---|---|
| ICON_GRAPH | グラフ |
| ICON_PAPERCLIP | ペーパークリップ |
| ICON_PUSHPIN | プッシュピン |
| ICON_TAG | タグ |
| ICON_CUSTOM | カスタムアイコン |
| ICON_UNKNOWN | 未知のアイコン |
PtlAnnotFileAttachment.h の 26 行目に定義があります。
| PdfTk::PtlAnnotFileAttachment::PtlAnnotFileAttachment | ( | ) |
コンストラクタ
| PtlException |
| PdfTk::PtlAnnotFileAttachment::PtlAnnotFileAttachment | ( | const PtlAnnotFileAttachment & | obj | ) |
| const PtlParamString & PdfTk::PtlAnnotFileAttachment::getFileName | ( | ) |
| const PtlParamString & PdfTk::PtlAnnotFileAttachment::getIconName | ( | ) |
| 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 | ) |