Antenna House PDF Tool API (C++) 8.0
|
#include <PtlAnnotFreeText.h>
公開メンバ関数 | |
PtlAnnotFreeText () | |
コンストラクタ | |
PtlAnnotFreeText (const PtlAnnotFreeText &obj) | |
コピーコンストラクタ alias copy | |
~PtlAnnotFreeText () | |
デストラクタ | |
PtlAnnotFreeText & | operator= (const PtlAnnotFreeText &obj) |
コピーオペレータ alias copy | |
void | setTextBoxRect (const PtlRect &rectMM) |
テキストボックスの矩形座標を設定。 | |
void | setTextBox (const PtlTextBoxAnnot &textBox) |
テキストボックスを設定。 | |
bool | hasCallout () const |
コールアウトを持っているかどうかを取得。 | |
PtlPoints & | getCalloutPoints () |
コールアウトの頂点POINTのコンテナを取得。 | |
LINE_ENDING_STYLE | getLineEndingStyle () |
線端スタイルを取得。 | |
void | setLineEndingStyle (LINE_ENDING_STYLE style) |
線端スタイルを設定。 | |
基底クラス 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のフリーテキスト注釈を表現したクラスです。
PtlAnnotFreeText.h の 20 行目に定義があります。
線端のスタイル
PtlAnnotFreeText.h の 93 行目に定義があります。
PdfTk::PtlAnnotFreeText::PtlAnnotFreeText | ( | ) |
コンストラクタ
PtlException |
PdfTk::PtlAnnotFreeText::PtlAnnotFreeText | ( | const PtlAnnotFreeText & | obj | ) |
PtlPoints & PdfTk::PtlAnnotFreeText::getCalloutPoints | ( | ) |
コールアウトの頂点POINTのコンテナを取得。
折れ曲がり線は開始点/折れ曲がり点/終了点の3座標
直線は開始点/終了点の2座標
終了点がテキストボックスに接する点です。
PtlException |
LINE_ENDING_STYLE PdfTk::PtlAnnotFreeText::getLineEndingStyle | ( | ) |
bool PdfTk::PtlAnnotFreeText::hasCallout | ( | ) | const |
PtlAnnotFreeText & PdfTk::PtlAnnotFreeText::operator= | ( | const PtlAnnotFreeText & | obj | ) |
void PdfTk::PtlAnnotFreeText::setLineEndingStyle | ( | LINE_ENDING_STYLE | style | ) |
void PdfTk::PtlAnnotFreeText::setTextBox | ( | const PtlTextBoxAnnot & | textBox | ) |
void PdfTk::PtlAnnotFreeText::setTextBoxRect | ( | const PtlRect & | rectMM | ) |
テキストボックスの矩形座標を設定。
座標の単位はmmで原点(0,0)は左下となりますので注意してください。
※ 注意事項
PtlAnnotFreeTextはsetTextBoxRectでテキストボックスの矩形を設定したら自動的に注釈の矩形座標は設定されますので
基底クラスPtlAnnotのsetRect関数で矩形座標を設定しないでください。
rectMM | 矩形座標 |
PtlException |