6 #ifndef PDFTK_PTLPAGE_H_
7 #define PDFTK_PTLPAGE_H_
11 #include "PtlSearchTextResults.h"
17 class PtlParamImagePage;
18 class PtlParamSetMask;
19 class PtlParamSearchTextAndHighlight;
20 class PtlParamSearchTextAndSetMask;
21 class PtlParamSearchText;
34 int getHandle()
const;
451 #endif // PDFTK_PTLPAGE_H_
マスク処理(墨消し)のパラメータを表現したクラスです。
Definition: PtlParamSetMask.h:21
bool hasArtBox() const
PDFのページに/ArtBoxエントリーがあるかどうかを取得。
void setCropBox(const PtlRect &rectMM)
CropBoxを設定。
PtlRect getArtBox()
ArtBoxを取得。
PtlPage(const PtlPage &obj)
コピーコンストラクタ alias copy
PtlRect getMediaBox()
MediaBoxを取得。
bool hasThumbnail() const
サムネイル画像を持っているかどうかを取得。
bool hasAnnots() const
注釈があるかどうかを取得。
ページに描画される内容(コンテント)を表現するクラスです。 コンテントには画像エレメント,テキストエレメントなどが含まれそれらが描画されることになります。
Definition: PtlContent.h:34
void setArtBox(const PtlRect &rectMM)
ArtBoxを設定。
void setRotate(int value)
回転角度を設定。
画像のページ作成に使うパラメータクラスです。
Definition: PtlParamImagePage.h:22
PrlPtlPDFDocument/PtlPageのsearchText関数で取得されるテキスト検索結果のコンテナを表現するクラスです。
Definition: PtlSearchTextResults.h:51
PtlPage(const PtlParamImagePage ¶mImagePage)
コンストラクタ
void setTrimBox(const PtlRect &rectMM)
TrimBoxを設定。
void setBleedBox(const PtlRect &rectMM)
BleedBoxを設定。
PtlRect getViewBox()
ViewBoxを取得。
PtlPage & operator=(const PtlPage &obj)
コピーオペレータ alias copy
void removeThumbnail()
サムネイル画像を削除。
void setMediaBox(const PtlRect &rectMM)
MediaBoxを設定。
bool hasBleedBox() const
PDFのページに/BleedBoxエントリーがあるかどうかを取得。
void setContent(PtlContent &content)
ページコンテントを設定。
int getRotateNative()
PDFのページに設定してある/Rotateの値を取得。
PtlSearchTextResults searchText(const PtlParamSearchText ¶mSearchText)
テキスト検索。
void setRotateNative(int value)
PDFのページの/Rotateに値を設定。
PtlRect getTrimBox()
TrimBoxを取得。
PtlRect getBleedBox()
BleedBoxを取得。
サイズ(幅、高さ)を表現したクラスです。 サイズの単位はmmでとなりますので注意してください。
Definition: PtlSize.h:19
void removeArtBox()
ArtBoxを削除。
コンテント内のテキストを検索する為のパラメータを表現したクラスです。 すべてのテキスト検索のパラメータを表現したクラスのベースクラスです。
Definition: PtlParamSearchText.h:21
void setViewBox(const PtlRect &rectMM)
ViewBoxを設定。
bool hasTrimBox() const
PDFのページに/TrimBoxエントリーがあるかどうかを取得。
void setMask(const PtlParamSetMask ¶mSetMask)
マスク処理(墨消し)。
注釈のコンテナを表現するクラスです。
Definition: PtlAnnots.h:20
bool hasCropBox() const
PDFのページに/CropBoxエントリーがあるかどうかを取得。
void zoom(float ratio)
ページの拡大縮小。
PDFの矩形座標を表現したクラスです。 矩形は左下(left,bottom)、右上(right,top)で表現されます。 座標の単位はmmで原点(0,0)は左下となりますので注意してください。
Definition: PtlRect.h:20
int searchTextAndDoProcess(const PtlParamSearchText ¶mSearchText)
テキスト検索して後処理。
PtlSize getSize()
ページサイズを取得。
void removeBleedBox()
BleedBoxを削除。
PtlContent & getContent()
ページコンテントを取得。
PDFのページオブジェクトを表現したクラスです。
Definition: PtlPage.h:30
PtlAnnots & getAnnots()
注釈コンテナを取得。
void removeTrimBox()
TrimBoxを削除。
PtlRect getCropBox()
CropBoxを取得。