jp.co.antenna.pdfdrv
クラス PtlParamFontSettings

java.lang.Object
  上位を拡張 jp.co.antenna.pdfdrv.PtlParamFontSettings

public class PtlParamFontSettings
extends java.lang.Object

出力設定ファイルの「フォント」に対する操作を行うクラスです。 PtlParamDriverSettings で使用します。


フィールドの概要
static int EMBED_ALL_FONT
          保存方法:使用されているすべてのフォントを埋め込む。
static int EMBED_SELECT_FONT
          保存方法:選択して埋め込む。
static int PDF_CREATE_CANCEL
          埋め込みができなかったフォントがあった場合の処理:PDF作成をキャンセルする。
static int PDF_CREATE_EXECUTE
          埋め込みができなかったフォントがあった場合の処理:そのフォントは埋め込まずに作成する。
 
コンストラクタの概要
PtlParamFontSettings()
           
PtlParamFontSettings(PtlParamFontSettings obj)
           
 
メソッドの概要
 void addEmbedFontName(java.lang.String name)
          埋め込みフォントの指定。
 void clearEmbedFont()
          埋め込みフォントのクリア。
 int getCantEmbedFontStyle()
          埋め込みができなかったフォントがあった場合の処理の取得。
 boolean getEmbedBase14()
          欧文基本14フォントの埋め込み処理の取得。
 int getEmbedFontCount()
          設定されている埋め込みフォント数の取得。
 java.lang.String getEmbedFontName(int count)
          設定されている埋め込みフォントの取得。
 int getEmbedFontStyle()
          フォント埋め込み方法の取得。
 void setCantEmbedFontStyle(int style)
          埋め込みができなかったフォントがあった場合の処理の指定。
 void setEmbedBase14(boolean embed)
          欧文基本14フォントの埋め込み処理の指定。
 void setEmbedFontStyle(int style)
          フォント埋め込み方法の指定。
 void terminate()
           
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

EMBED_ALL_FONT

public static final int EMBED_ALL_FONT
保存方法:使用されているすべてのフォントを埋め込む。

関連項目:
定数フィールド値

EMBED_SELECT_FONT

public static final int EMBED_SELECT_FONT
保存方法:選択して埋め込む。

関連項目:
定数フィールド値

PDF_CREATE_CANCEL

public static final int PDF_CREATE_CANCEL
埋め込みができなかったフォントがあった場合の処理:PDF作成をキャンセルする。

関連項目:
定数フィールド値

PDF_CREATE_EXECUTE

public static final int PDF_CREATE_EXECUTE
埋め込みができなかったフォントがあった場合の処理:そのフォントは埋め込まずに作成する。

関連項目:
定数フィールド値
コンストラクタの詳細

PtlParamFontSettings

public PtlParamFontSettings()
                     throws PtlDrvException
例外:
PtlDrvException

PtlParamFontSettings

public PtlParamFontSettings(PtlParamFontSettings obj)
                     throws PtlDrvException
例外:
PtlDrvException
メソッドの詳細

terminate

public void terminate()

getCantEmbedFontStyle

public int getCantEmbedFontStyle()
                          throws PtlDrvException
埋め込みができなかったフォントがあった場合の処理の取得。

戻り値:
埋め込みができなかったフォントがあった場合の処理。
例外:
PtlDrvException

setCantEmbedFontStyle

public void setCantEmbedFontStyle(int style)
                           throws PtlDrvException
埋め込みができなかったフォントがあった場合の処理の指定。

パラメータ:
style - 埋め込みができなかったフォントがあった場合の処理。
例外:
PtlDrvException

getEmbedFontStyle

public int getEmbedFontStyle()
                      throws PtlDrvException
フォント埋め込み方法の取得。

戻り値:
フォント埋め込み方法。
例外:
PtlDrvException

setEmbedFontStyle

public void setEmbedFontStyle(int style)
                       throws PtlDrvException
フォント埋め込み方法の指定。

パラメータ:
style - フォント埋め込み方法。
例外:
PtlDrvException

getEmbedBase14

public boolean getEmbedBase14()
                       throws PtlDrvException
欧文基本14フォントの埋め込み処理の取得。

戻り値:
欧文基本14フォントの埋め込み処理。
例外:
PtlDrvException

setEmbedBase14

public void setEmbedBase14(boolean embed)
                    throws PtlDrvException
欧文基本14フォントの埋め込み処理の指定。

パラメータ:
embed - true:欧文基本14フォントも埋め込む、false:欧文基本14フォントを埋め込まない。
例外:
PtlDrvException

getEmbedFontCount

public int getEmbedFontCount()
                      throws PtlDrvException
設定されている埋め込みフォント数の取得。

戻り値:
フォント数。
例外:
PtlDrvException

getEmbedFontName

public java.lang.String getEmbedFontName(int count)
                                  throws PtlDrvException
設定されている埋め込みフォントの取得。

パラメータ:
count - 取得番号。
戻り値:
フォント名。
例外:
PtlDrvException

addEmbedFontName

public void addEmbedFontName(java.lang.String name)
                      throws PtlDrvException
埋め込みフォントの指定。

パラメータ:
name - フォント名。
例外:
PtlDrvException

clearEmbedFont

public void clearEmbedFont()
                    throws PtlDrvException
埋め込みフォントのクリア。

例外:
PtlDrvException