PDFUnsupportedVersionException
がthrowされます。CSVDoc
、 CSVCela
又は、IOIntegration
を使用して下さい。public class PDFBuilder extends AbstractBuilder
PDFファイルは、Storage-Service と IOWebDOC が連携して作成します。
その為、このクラスの各メソッド(一部除く)の実行時は Storage-Service との
通信が発生します。
PDFファイルの作成は Storage-Service で実行されるため、レイアウトファイルや
データファイルは、Storage-Service に保存されている必要があります。
また、実行後に作成される PDFファイルやログファイルなどは、
Storage-Service に作られます。
COMPRESSION_DEFAULT, COMPRESSION_NONE, COMPRESSION_SIZE, COMPRESSION_SPEED
コンストラクタと説明 |
---|
PDFBuilder()
非推奨です。
中間ファイルから PDFファイルを作成するためのオブジェクトを
構築します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
defineInformation(PDFDocumentInformation inf)
非推奨です。
作成するPDFファイルに対して文書情報を設定します。
|
void |
defineSecurity(String password,
PDFSecurity security)
非推奨です。
作成するPDFファイルに対するセキュリティ情報を設定します。
|
PDFDocumentInformation |
getInformation()
非推奨です。
PDF文書情報の取得。
|
PDFSecurity |
getSecurity()
非推奨です。
セキュリティ情報の取得。
|
PDFWriter |
open(File pdf)
非推奨です。
|
PDFWriter |
open(String path)
非推奨です。
PDFファイルを開きます。
|
String |
securityPassword()
非推奨です。
文書を閲覧するためのパスワードを取得します。
|
defineLogFile, defineLogPath, getCompression, getLogFile, setCompression
public PDFBuilder() throws PDFIllegalLicenseException, PDFUnsupportedVersionException
PDFIllegalLicenseException
- ライセンス違反の場合スローされますPDFUnsupportedVersionException
- サポートバージョンエラーpublic PDFWriter open(String path) throws PDFException
path
- 作成するPDFファイルのパスPDFException
- PDFファイル作成エラーPDFWriter.add(File)
,
PDFWriter.close()
public PDFWriter open(File pdf) throws PDFException
PDFException
public void defineSecurity(String password, PDFSecurity security)
password
- パスワードsecurity
- 文書セキュリティ情報public String securityPassword()
このメソッドは、defineSecurity メソッドで設定している 場合のみ、パスワードを返します。
defineSecurity(String, PDFSecurity)
public PDFSecurity getSecurity()
public void defineInformation(PDFDocumentInformation inf)
inf
- 文書情報オブジェクトpublic PDFDocumentInformation getInformation()
IM-PDFDesigner for Accel Platform API Specifications