PDFTool  7.0
Public Types | Public Member Functions | List of all members
PdfTk::PtlDocProperty Class Reference

PDFの文書プロパティを表現したクラスです。 PtlDocPropertyはPtlPDFDocumentから取得して使用します。 More...

#include <PtlDocProperty.h>

Public Types

enum  PDF_VERSION {
  PDFV_UNSUPPORTED = 0, PDFV1_0 = 100, PDFV1_1 = 101, PDFV1_2 = 102,
  PDFV1_3 = 103, PDFV1_4 = 104, PDFV1_5 = 105, PDFV1_6 = 106,
  PDFV1_7 = 107, PDFV2_0 = 200
}
 PDFのバージョン More...
 
enum  DIRECTION { DIRECTION_L2R = 1, DIRECTION_R2L = 2 }
 読み上げオプション More...
 

Public Member Functions

int getHandle () const
 
 PtlDocProperty ()
 コンストラクタ More...
 
 PtlDocProperty (const PtlDocProperty &obj)
 コピーコンストラクタ alias copy More...
 
 ‾PtlDocProperty ()
 デストラクタ
 
PtlDocPropertyoperator= (const PtlDocProperty &obj)
 コピーオペレータ alias copy More...
 
PDF_VERSION getVersion () const
 PDFのバージョンを取得。 More...
 
PtlDocInfogetDocInfo () const
 文書情報を取得。 More...
 
PtlCustomPropertiesgetCustomProperties () const
 カスタムプロパティを取得。 More...
 
PtlOpenModegetOpenMode () const
 開き方を取得。 More...
 
DIRECTION getDirection () const
 読み上げオプションを取得。 More...
 
void setDirection (DIRECTION direction)
 読み上げオプションを設定。 More...
 
bool isLinearized () const
 線形化しているかどうかを取得。 More...
 
PtlFontInfosgetFontInfos () const
 フォント情報のコンテナを取得。 More...
 

Detailed Description

PDFの文書プロパティを表現したクラスです。 PtlDocPropertyはPtlPDFDocumentから取得して使用します。

Member Enumeration Documentation

◆ DIRECTION

読み上げオプション

Enumerator
DIRECTION_L2R 

左から右

DIRECTION_R2L 

右から左(中国語、日本語、韓国語のような縦書きも含む)

◆ PDF_VERSION

PDFのバージョン

Enumerator
PDFV_UNSUPPORTED 

未サポートのバージョン

PDFV1_0 

PDF-1.0.

PDFV1_1 

PDF-1.1.

PDFV1_2 

PDF-1.2.

PDFV1_3 

PDF-1.3.

PDFV1_4 

PDF-1.4.

PDFV1_5 

PDF-1.5.

PDFV1_6 

PDF-1.6.

PDFV1_7 

PDF-1.7.

PDFV2_0 

PDF-2.0.

Constructor & Destructor Documentation

◆ PtlDocProperty() [1/2]

PdfTk::PtlDocProperty::PtlDocProperty ( )

コンストラクタ

Exceptions
PtlException

◆ PtlDocProperty() [2/2]

PdfTk::PtlDocProperty::PtlDocProperty ( const PtlDocProperty obj)

コピーコンストラクタ alias copy

Parameters
objコピー元オブジェクト。
Exceptions
PtlException

Member Function Documentation

◆ getCustomProperties()

PtlCustomProperties& PdfTk::PtlDocProperty::getCustomProperties ( ) const

カスタムプロパティを取得。

Returns
カスタムプロパティ情報。
Exceptions
PtlException

◆ getDirection()

DIRECTION PdfTk::PtlDocProperty::getDirection ( ) const

読み上げオプションを取得。

Returns
方向。
Exceptions
PtlException

◆ getDocInfo()

PtlDocInfo& PdfTk::PtlDocProperty::getDocInfo ( ) const

文書情報を取得。

Returns
文書情報。
Exceptions
PtlException

◆ getFontInfos()

PtlFontInfos& PdfTk::PtlDocProperty::getFontInfos ( ) const

フォント情報のコンテナを取得。

Returns
PtlFontInfos。
Exceptions
PtlException

◆ getOpenMode()

PtlOpenMode& PdfTk::PtlDocProperty::getOpenMode ( ) const

開き方を取得。

Returns
開き方
Exceptions
PtlException

◆ getVersion()

PDF_VERSION PdfTk::PtlDocProperty::getVersion ( ) const

PDFのバージョンを取得。

Returns
PDFのバージョン。
Exceptions
PtlException

◆ isLinearized()

bool PdfTk::PtlDocProperty::isLinearized ( ) const

線形化しているかどうかを取得。

Returns
true: 線形化している、false: 線形化していない。
Exceptions
PtlException

◆ operator=()

PtlDocProperty& PdfTk::PtlDocProperty::operator= ( const PtlDocProperty obj)

コピーオペレータ alias copy

Parameters
objコピー元オブジェクト。

◆ setDirection()

void PdfTk::PtlDocProperty::setDirection ( DIRECTION  direction)

読み上げオプションを設定。

Parameters
direction方向。
Exceptions
PtlException