|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.co.intra_mart.product.pdfmaker.AbstractBuilder
jp.co.intra_mart.product.pdfmaker.PDFBuilder
public class PDFBuilder
このクラスは、IOWebDOC の複数のIOD中間ファイルを結合し、 1つの PDF ファイルを作成するための機能を提供します。
PDFファイルは、Storage-Service と IOWebDOC が連携して作成します。
その為、このクラスの各メソッド(一部除く)の実行時は Storage-Service との
通信が発生します。
PDFファイルの作成は Storage-Service で実行されるため、レイアウトファイルや
データファイルは、Storage-Service に保存されている必要があります。
また、実行後に作成される PDFファイルやログファイルなどは、
Storage-Service に作られます。
フィールドの概要 |
---|
インタフェース jp.co.intra_mart.product.pdfmaker.CompressedPDF から継承されたフィールド |
---|
COMPRESSION_DEFAULT, COMPRESSION_NONE, COMPRESSION_SIZE, COMPRESSION_SPEED |
コンストラクタの概要 | |
---|---|
PDFBuilder()
中間ファイルから PDFファイルを作成するためのオブジェクトを 構築します。 |
メソッドの概要 | |
---|---|
void |
defineInformation(PDFDocumentInformation inf)
作成するPDFファイルに対して文書情報を設定します。 |
void |
defineSecurity(java.lang.String password,
PDFSecurity security)
作成するPDFファイルに対するセキュリティ情報を設定します。 |
PDFDocumentInformation |
getInformation()
PDF文書情報の取得。 |
PDFSecurity |
getSecurity()
セキュリティ情報の取得。 |
PDFWriter |
open(java.io.File pdf)
PDFファイルを開きます。 |
PDFWriter |
open(java.lang.String path)
PDFファイルを開きます。 |
java.lang.String |
securityPassword()
文書を閲覧するためのパスワードを取得します。 |
クラス jp.co.intra_mart.product.pdfmaker.AbstractBuilder から継承されたメソッド |
---|
defineLogFile, defineLogPath, getCompression, getLogFile, setCompression |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public PDFBuilder() throws PDFIllegalLicenseException
PDFIllegalLicenseException
- ライセンス違反の場合スローされますメソッドの詳細 |
---|
public PDFWriter open(java.lang.String path) throws PDFException
path
- 作成するPDFファイルのパス
PDFException
- PDFファイル作成エラーPDFWriter.add(File)
,
PDFWriter.close()
public PDFWriter open(java.io.File pdf) throws PDFException
pdf
- 作成するPDFファイル
PDFException
- PDFファイル作成エラーPDFWriter.add(File)
,
PDFWriter.close()
public void defineSecurity(java.lang.String password, PDFSecurity security)
password
- パスワードsecurity
- 文書セキュリティ情報public java.lang.String securityPassword()
このメソッドは、defineSecurity メソッドで設定している 場合のみ、パスワードを返します。
defineSecurity(String, PDFSecurity)
public PDFSecurity getSecurity()
public void defineInformation(PDFDocumentInformation inf)
inf
- 文書情報オブジェクトpublic PDFDocumentInformation getInformation()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |