Antenna House PDF Tool API (C++) 8.0
PdfTk::PtlFontInfo クラス

#include <PtlFontInfo.h>

公開型

enum  FONT_TYPE {
  FONT_TRUETYPE = 1 , FONT_TYPE1 = 2 , FONT_MMType1 = 3 , FONT_TYPE3 = 4 ,
  FONT_CID_TRUETYPE = 5 , FONT_CID_TYPE1 = 6 , FONT_UNKNOWN = 100
}
enum  ENCODING_TYPE { ENCODING_NAME = 1 , ENCODING_CUSTOM = 2 , ENCODING_BUILTIN = 3 , ENCODING_UNKNOWN = 100 }

公開メンバ関数

int getHandle () const
 PtlFontInfo ()
 コンストラクタ
 PtlFontInfo (const PtlFontInfo &obj)
 コピーコンストラクタ
 ~PtlFontInfo ()
 デストラクタ
PtlFontInfooperator= (const PtlFontInfo &obj)
 コピーオペレータ
const PtlParamStringgetFontName ()
 フォント名を取得。
FONT_TYPE getFontType () const
 フォントタイプを取得。
ENCODING_TYPE getEncodingType () const
 エンコーディングタイプを取得。
const PtlParamStringgetEncodingName ()
 エンコーディング名を取得。
bool isEmbedded () const
 フォント埋め込みされているかどうかを取得。

詳解

フォントの情報を表現したクラスです。

PtlFontInfo.h17 行目に定義があります。

列挙型メンバ詳解

◆ ENCODING_TYPE

エンコーディングタイプ

列挙値
ENCODING_NAME 

エンコーディング名あり

ENCODING_CUSTOM 

カスタム

ENCODING_BUILTIN 

ビルトイン

ENCODING_UNKNOWN 

未知のエンコーディング

PtlFontInfo.h36 行目に定義があります。

◆ FONT_TYPE

フォントタイプ

列挙値
FONT_TRUETYPE 

TrueType

FONT_TYPE1 

Type1

FONT_MMType1 

MMType1

FONT_TYPE3 

Type3

FONT_CID_TRUETYPE 

TrueType(CID)

FONT_CID_TYPE1 

Type1(CID)

FONT_UNKNOWN 

未知のフォント

PtlFontInfo.h23 行目に定義があります。

構築子と解体子

◆ PtlFontInfo() [1/2]

PdfTk::PtlFontInfo::PtlFontInfo ( )

コンストラクタ

例外
PtlException

◆ PtlFontInfo() [2/2]

PdfTk::PtlFontInfo::PtlFontInfo ( const PtlFontInfo & obj)

コピーコンストラクタ

引数
objコピー元オブジェクト。
例外
PtlException

関数詳解

◆ getEncodingName()

const PtlParamString & PdfTk::PtlFontInfo::getEncodingName ( )

エンコーディング名を取得。

戻り値
エンコーディング名
例外
PtlException

◆ getEncodingType()

ENCODING_TYPE PdfTk::PtlFontInfo::getEncodingType ( ) const

エンコーディングタイプを取得。

戻り値
エンコーディングタイプ
例外
PtlException

◆ getFontName()

const PtlParamString & PdfTk::PtlFontInfo::getFontName ( )

フォント名を取得。

戻り値
フォント名
例外
PtlException

◆ getFontType()

FONT_TYPE PdfTk::PtlFontInfo::getFontType ( ) const

フォントタイプを取得。

戻り値
フォントタイプを名
例外
PtlException

◆ isEmbedded()

bool PdfTk::PtlFontInfo::isEmbedded ( ) const

フォント埋め込みされているかどうかを取得。

戻り値
true: フォント埋め込みされている、false: フォント埋め込みされていない。
例外
PtlException

◆ operator=()

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

コピーオペレータ

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