6 #ifndef PDFTK_PTLCONTENT_H_ 
    7 #define PDFTK_PTLCONTENT_H_ 
    9 #include "PtlParamString.h" 
   16 class PtlParamWriteString;
 
   17 class PtlParamDrawImage;
 
   18 class PtlParamDrawShape;
 
   19 class PtlParamDrawForm;
 
   20 class PtlParamDrawLayer;
 
   24 class PtlEditElements;
 
   25 class PtlParamExtractText;
 
   44         ALIGN_BOTTOM_LEFT   = 7,    
 
   46         ALIGN_BOTTOM_RIGHT  = 9     
 
   53         GET_TEXT        = 0x00000001,   
 
   54         GET_IMAGE       = 0x00000002,   
 
   55         GET_PATH        = 0x00000004,   
 
   56         GET_SHADING     = 0x00000008,   
 
   63     int getHandle() 
const;
 
  302 #endif // PDFTK_PTLCONTENT_H_ 
  
文字の描画に使うパラメータクラスです。
Definition: PtlParamWriteString.h:21
PDFのページオブジェクトを表現したクラスです。
Definition: PtlPage.h:30
PtlContent & operator=(const PtlContent &obj)
コピーオペレータ
void writeString(const PtlRect &rectMM, ALIGN align, float angle, const PtlParamString &str, const PtlParamWriteString ¶mWriteString)
文字列を回転出力。
void drawFitForm(const PtlRect &rectMM, ALIGN align, const PtlParamDrawForm ¶mDrawForm)
フォームを描画。
void drawImage(const PtlRect &rectMM, ALIGN align, const PtlParamDrawImage ¶mDrawImage)
画像を描画。
void drawCircle(const PtlRect &rectMM, const PtlParamDrawShape ¶mDrawShape)
円形を描画。
void writeString(const PtlRect &rectMM, ALIGN align, const PtlParamString &str, const PtlParamWriteString ¶mWriteString)
文字列を出力。
PtlParamString extractText(const PtlParamExtractText &ptlParamExtractText)
テキストを抽出。
GET_ELEMENT
エレメント取得タイプ。
Definition: PtlContent.h:52
文字列を扱うクラスです。
Definition: PtlParamString.h:27
座標(x、y)を表現したクラスです。  座標の単位はmmで原点(0,0)は左下となりますので注意してください。
Definition: PtlPoint.h:19
フォームの描画に使うパラメータクラスです。
Definition: PtlParamDrawForm.h:20
void drawRoundRect(const PtlRect &rectMM, float widthRoundMM, float heightRoundMM, const PtlParamDrawShape ¶mDrawShape)
丸角矩形を描画。
void drawCircle(const PtlPoint ¢erMM, float radiusMM, const PtlParamDrawShape ¶mDrawShape)
円を描画。
void drawRect(const PtlRect &rectMM, const PtlParamDrawShape ¶mDrawShape)
矩形を描画。
void drawLayer(const PtlRect &rectMM, ALIGN align, const PtlParamDrawLayer ¶mDrawLayer)
レイヤーを描画。
void drawLine(const PtlPoint &fromMM, const PtlPoint &toMM, const PtlParamDrawShape ¶mDrawShape)
線を描画。
PtlContent(const PtlContent &obj)
コピーコンストラクタ
void drawForm(const PtlRect &rectMM, ALIGN align, const PtlPage &page)
フォームを描画。
PtlEditElements & getEditElements(int flag)
EditElementコンテナを取得。
レイヤーの描画に使うパラメータクラスです。
Definition: PtlParamDrawLayer.h:21
EditElementのコンテナを表現するクラスです。
Definition: PtlEditElements.h:18
テキスト抽出処理のパラメータを表現したクラスです。
Definition: PtlParamExtractText.h:20
ALIGN
配置
Definition: PtlContent.h:37
画像の描画に使うパラメータクラスです。
Definition: PtlParamDrawImage.h:21
void drawForm(const PtlRect &rectMM, ALIGN align, const PtlParamDrawForm ¶mDrawForm)
フォームを描画。
ページのキャンバスを表現するクラスです。
Definition: PtlContent.h:32
PDFの矩形座標を表現したクラスです。  矩形は左下(left,bottom)、右上(right,top)で表現されます。  座標の単位はmmで原点(0,0)は左下となりますので注意してください。
Definition: PtlRect.h:20
線の描画に使うパラメータクラスです。
Definition: PtlParamDrawShape.h:20
void drawFitImage(const PtlRect &rectMM, ALIGN align, const PtlParamDrawImage ¶mDrawImage)
画像を描画。
void writeStringV(const PtlRect &rectMM, ALIGN align, const PtlParamString &str, const PtlParamWriteString ¶mWriteString)
縦書きの文字列を出力。