jp.co.antenna.pdfdrv
クラス PtlParamDriverSettings

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

public class PtlParamDriverSettings
extends java.lang.Object

PDF Driver の出力設定ファイルに対する操作を行うクラスです。 PtlDrvConvert で使用する事も可能です。


フィールドの概要
static java.lang.String NULL_VALUE
           
 
コンストラクタの概要
PtlParamDriverSettings()
           
PtlParamDriverSettings(PtlParamDriverSettings obj)
           
 
メソッドの概要
 int clearDriverSetting()
          PDF Driver へ渡した出力設定の内容をクリアする
 PtlParamCommonSettings getCommon()
          「一般」の設定内容を取得する
 PtlParamCompressSettings getCompress()
          「圧縮」の設定内容を取得する
 int getDetailErrorCode()
          詳細エラーコードを取得する
 PtlParamFontSettings getFont()
          「フォント」の設定内容を取得する
 PtlParamInformationSettings getInformation()
          「情報」の設定内容を取得する
 PtlParamOpenModeSettings getOpenMode()
          「開き方」の設定内容を取得する
 PtlParamPDFVersionSettings getPDFVersion()
          「PDFバージョン」の設定内容を取得する
 PtlParamSecuritySettings getSecurity()
          「セキュリティ」の設定内容を取得する
 java.lang.String GetSelectedPrinter()
          選択中のプリンタ名を取得する。
 java.lang.String getSettingName()
           
 PtlParamWaterMarkSettings getWaterMark()
          「透かし」の設定内容を取得する
 int load(java.lang.String settingFilePath)
          指定した出力設定ファイルをロードする
 void ReleasePrinter()
          選択したプリンタを解放する。
 int save()
          出力設定ファイルを保存する
 int saveAs(java.lang.String settingFilePath)
          出力設定ファイルを別名で保存する
 int SelectPrinter(java.lang.String PrinterName)
          プリンタを選択する。
 void setCommon(PtlParamCommonSettings common)
          「一般」の設定内容を指定する
 void setCompress(PtlParamCompressSettings compress)
          「圧縮」の設定内容を指定する
 void setFont(PtlParamFontSettings font)
          「フォント」の設定内容を指定する
 void setInformation(PtlParamInformationSettings information)
          「情報」の設定内容を指定する
 void setOpenMode(PtlParamOpenModeSettings openmode)
          「開き方」の設定内容を指定する
 void setPDFVersion(PtlParamPDFVersionSettings pdfversion)
          「PDFバージョン」の設定内容を指定する
 void setSecurity(PtlParamSecuritySettings security)
          「セキュリティ」の設定内容を指定する
 void setSettingName(java.lang.String SettingName)
           
 void setWaterMark(PtlParamWaterMarkSettings watermark)
          「透かし」の設定内容を指定する
 void terminate()
           
 int toDriver()
          出力設定の内容を PDF Driver へ渡す
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

NULL_VALUE

public static final java.lang.String NULL_VALUE
関連項目:
定数フィールド値
コンストラクタの詳細

PtlParamDriverSettings

public PtlParamDriverSettings()
                       throws PtlDrvException
例外:
PtlDrvException

PtlParamDriverSettings

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

terminate

public void terminate()

load

public int load(java.lang.String settingFilePath)
         throws PtlDrvException
指定した出力設定ファイルをロードする

戻り値:
エラーコード。
例外:
PtlDrvException

save

public int save()
         throws PtlDrvException
出力設定ファイルを保存する

戻り値:
エラーコード。
例外:
PtlDrvException

saveAs

public int saveAs(java.lang.String settingFilePath)
           throws PtlDrvException
出力設定ファイルを別名で保存する

戻り値:
エラーコード。
例外:
PtlDrvException

toDriver

public int toDriver()
             throws PtlDrvException
出力設定の内容を PDF Driver へ渡す

戻り値:
エラーコード。
例外:
PtlDrvException

clearDriverSetting

public int clearDriverSetting()
                       throws PtlDrvException
PDF Driver へ渡した出力設定の内容をクリアする

戻り値:
エラーコード。
例外:
PtlDrvException

getDetailErrorCode

public int getDetailErrorCode()
                       throws PtlDrvException
詳細エラーコードを取得する

戻り値:
詳細エラーコード。
例外:
PtlDrvException

setCommon

public void setCommon(PtlParamCommonSettings common)
               throws PtlDrvException
「一般」の設定内容を指定する

パラメータ:
common - 「一般」の設定内容。
例外:
PtlDrvException

getCommon

public PtlParamCommonSettings getCommon()
                                 throws PtlDrvException
「一般」の設定内容を取得する

戻り値:
「一般」の設定内容。
例外:
PtlDrvException

setPDFVersion

public void setPDFVersion(PtlParamPDFVersionSettings pdfversion)
                   throws PtlDrvException
「PDFバージョン」の設定内容を指定する

パラメータ:
pdfversion - 「PDFバージョン」の設定内容。
例外:
PtlDrvException

getPDFVersion

public PtlParamPDFVersionSettings getPDFVersion()
                                         throws PtlDrvException
「PDFバージョン」の設定内容を取得する

戻り値:
「PDFバージョン」の設定内容。
例外:
PtlDrvException

setSecurity

public void setSecurity(PtlParamSecuritySettings security)
                 throws PtlDrvException
「セキュリティ」の設定内容を指定する

パラメータ:
security - 「セキュリティ」の設定内容。
例外:
PtlDrvException

getSecurity

public PtlParamSecuritySettings getSecurity()
                                     throws PtlDrvException
「セキュリティ」の設定内容を取得する

戻り値:
「セキュリティ」の設定内容。
例外:
PtlDrvException

setCompress

public void setCompress(PtlParamCompressSettings compress)
                 throws PtlDrvException
「圧縮」の設定内容を指定する

パラメータ:
compress - 「圧縮」の設定内容。
例外:
PtlDrvException

getCompress

public PtlParamCompressSettings getCompress()
                                     throws PtlDrvException
「圧縮」の設定内容を取得する

戻り値:
「圧縮」の設定内容。
例外:
PtlDrvException

setFont

public void setFont(PtlParamFontSettings font)
             throws PtlDrvException
「フォント」の設定内容を指定する

パラメータ:
font - 「フォント」の設定内容。
例外:
PtlDrvException

getFont

public PtlParamFontSettings getFont()
                             throws PtlDrvException
「フォント」の設定内容を取得する

戻り値:
「フォント」の設定内容。
例外:
PtlDrvException

setWaterMark

public void setWaterMark(PtlParamWaterMarkSettings watermark)
                  throws PtlDrvException
「透かし」の設定内容を指定する

パラメータ:
watermark - 「透かし」の設定内容。
例外:
PtlDrvException

getWaterMark

public PtlParamWaterMarkSettings getWaterMark()
                                       throws PtlDrvException
「透かし」の設定内容を取得する

戻り値:
「透かし」の設定内容。
例外:
PtlDrvException

setOpenMode

public void setOpenMode(PtlParamOpenModeSettings openmode)
                 throws PtlDrvException
「開き方」の設定内容を指定する

パラメータ:
openmode - 「開き方」の設定内容。
例外:
PtlDrvException

getOpenMode

public PtlParamOpenModeSettings getOpenMode()
                                     throws PtlDrvException
「開き方」の設定内容を取得する

戻り値:
「開き方」の設定内容。
例外:
PtlDrvException

setInformation

public void setInformation(PtlParamInformationSettings information)
                    throws PtlDrvException
「情報」の設定内容を指定する

パラメータ:
information - 「情報」の設定内容。
例外:
PtlDrvException

getInformation

public PtlParamInformationSettings getInformation()
                                           throws PtlDrvException
「情報」の設定内容を取得する

戻り値:
「情報」の設定内容。
例外:
PtlDrvException

SelectPrinter

public int SelectPrinter(java.lang.String PrinterName)
                  throws PtlDrvException
プリンタを選択する。

パラメータ:
PrinterName - 使用するプリンタ名。空文字列で自動選択。
戻り値:
エラーコード。0=成功。その他失敗。
例外:
PtlDrvException

ReleasePrinter

public void ReleasePrinter()
                    throws PtlDrvException
選択したプリンタを解放する。

例外:
PtlDrvException

GetSelectedPrinter

public java.lang.String GetSelectedPrinter()
                                    throws PtlDrvException
選択中のプリンタ名を取得する。

戻り値:
選択中のプリンタ名。未選択時は空文字列。
例外:
PtlDrvException

setSettingName

public void setSettingName(java.lang.String SettingName)
                    throws PtlDrvException
例外:
PtlDrvException

getSettingName

public java.lang.String getSettingName()
                                throws PtlDrvException
例外:
PtlDrvException