6#ifndef PDFTK_PTL_CONTENT_H_
7#define PDFTK_PTL_CONTENT_H_
9#include "PtlParamString.h"
10#include "PtlExtractTextResults.h"
68 int getHandle()
const;
bool drawForm(PtlAnnot &annot, bool embedFont)
フォームXObjectを描画。
void drawCircle(const PtlPoint ¢erMM, float radiusMM, const PtlParamDrawShape ¶mDrawShape)
円を描画。
void drawForm(const PtlRect &rectMM, ALIGN align, const PtlParamDrawForm ¶mDrawForm)
フォームXObjectを描画。
void drawPolyline(const PtlPoints &pointsMM, const PtlParamDrawShape ¶mDrawShape)
折れ線を描画。
void drawRect(const PtlRect &rectMM, const PtlParamDrawShape ¶mDrawShape)
矩形を描画。
const PtlParamString & extractText(const PtlParamExtractText &ptlParamExtractText)
テキストを抽出。
void drawRoundRect(const PtlRect &rectMM, float widthRoundMM, float heightRoundMM, const PtlParamDrawShape ¶mDrawShape)
丸角矩形を描画。
void drawLine(const PtlPoint &fromMM, const PtlPoint &toMM, const PtlParamDrawShape ¶mDrawShape)
線を描画。
void drawPolygon(const PtlPoints &pointsMM, const PtlParamDrawShape ¶mDrawShape)
多角形を描画。
bool drawForm(PtlAnnot &annot)
フォームXObjectを描画。
void drawCircle(const PtlRect &rectMM, const PtlParamDrawShape ¶mDrawShape)
円形を描画。
void drawFitImage(const PtlRect &rectMM, ALIGN align, const PtlParamDrawImage ¶mDrawImage)
画像を描画。
void writeString(const PtlRect &rectMM, ALIGN align, const PtlParamString &str, const PtlParamWriteString ¶mWriteString)
文字列を出力。
PtlContent(const PtlContent &obj)
コピーコンストラクタ
void writeString(const PtlRect &rectMM, ALIGN align, float angle, const PtlParamString &str, const PtlParamWriteString ¶mWriteString)
文字列を回転出力。
void drawForm(const PtlRect &rectMM, ALIGN align, const PtlPage &page)
フォームXObjectを描画。
void drawLayer(const PtlRect &rectMM, ALIGN align, const PtlParamDrawLayer ¶mDrawLayer)
レイヤーを描画。
PtlEditElements & getEditElements()
EditElementコンテナを取得。
void drawFitForm(const PtlRect &rectMM, ALIGN align, const PtlParamDrawForm ¶mDrawForm)
フォームXObjectを描画。
void writeStringV(const PtlRect &rectMM, ALIGN align, const PtlParamString &str, const PtlParamWriteString ¶mWriteString)
縦書きの文字列を出力。
PtlEditElements & getEditElements(int flag)
EditElementコンテナを取得。
PtlExtractTextResults extractTexts(const PtlParamExtractText &ptlParamExtractText)
テキストを矩形ごとに抽出。
PtlContent & operator=(const PtlContent &obj)
コピーオペレータ
void drawImage(const PtlRect &rectMM, ALIGN align, const PtlParamDrawImage ¶mDrawImage)
画像を描画。
PtlTextBox & drawTextBox(const PtlRect &rectMM, ALIGN align, float width, float height)
テキストボックスを描画。