com.spire.pdf.conversion
Class PdfStandardsConverter

java.lang.Object
  extended by com.spire.pdf.conversion.PdfStandardsConverter

public class PdfStandardsConverter
extends java.lang.Object

The pdf standard conveter.


Constructor Summary
PdfStandardsConverter(java.io.InputStream stream)
          Construct a new converter.
PdfStandardsConverter(java.io.InputStream stream, java.lang.String password)
          Construct a new converter.
PdfStandardsConverter(java.lang.String filePath)
          Construct a new converter.
PdfStandardsConverter(java.lang.String filePath, java.lang.String password)
          Construct a new converter.
 
Method Summary
 void toPdfA1A(java.io.OutputStream stream)
          Convert to pdf/a1b standard document.
 void toPdfA1A(java.lang.String filePath)
          Convert to pdf/a1a standard document.
 void toPdfA1B(java.io.OutputStream stream)
          Convert to pdf/a1b standard document.
 void toPdfA1B(java.lang.String filePath)
          Convert to pdf/a1b standard document.
 void toPdfA2A(java.io.OutputStream stream)
          Convert to pdf/a2a standard document.
 void toPdfA2A(java.lang.String filePath)
          Convert to pdf/a2a standard document.
 void toPdfA2B(java.io.OutputStream stream)
          Convert to pdf/a2b standard document.
 void toPdfA2B(java.lang.String filePath)
          Convert to pdf/a2b standard document.
 void toPdfA3A(java.io.OutputStream stream)
          Convert to pdf/a3a standard document.
 void toPdfA3A(java.lang.String filePath)
          Convert to pdf/a2a standard document.
 void toPdfA3B(java.io.OutputStream stream)
          Convert to pdf/a3b standard document.
 void toPdfA3B(java.lang.String filePath)
          Convert to pdf/a3b standard document.
 

Constructor Detail

PdfStandardsConverter

public PdfStandardsConverter(java.io.InputStream stream)
Construct a new converter.

Parameters:
stream - The pdf file stream.

PdfStandardsConverter

public PdfStandardsConverter(java.io.InputStream stream,
                             java.lang.String password)
Construct a new converter. Note :(The PDF/A specification does allowed to contain effects of encryption and password protection) (So the encryption effect of the PDF/A document will be invalid)

Parameters:
stream - The pdf file stream.
password - The password (user or owner) of the encrypted document.

PdfStandardsConverter

public PdfStandardsConverter(java.lang.String filePath)
Construct a new converter.

Parameters:
filePath - The pdf file path.

PdfStandardsConverter

public PdfStandardsConverter(java.lang.String filePath,
                             java.lang.String password)
Construct a new converter. Note :(The PDF/A specification does not allowed to contain effects of encryption and password protection) (So the encryption effect of the PDF/A document will be invalid)

Parameters:
filePath - The pdf file path.
password - The password (user or owner) of the encrypted document.
Method Detail

toPdfA1B

public void toPdfA1B(java.lang.String filePath)
Convert to pdf/a1b standard document.

Parameters:
filePath - The out file path.

toPdfA1B

public void toPdfA1B(java.io.OutputStream stream)
Convert to pdf/a1b standard document.

Parameters:
stream - The out stream.

toPdfA1A

public void toPdfA1A(java.lang.String filePath)
Convert to pdf/a1a standard document.

Parameters:
filePath - The out file path.

toPdfA1A

public void toPdfA1A(java.io.OutputStream stream)
Convert to pdf/a1b standard document.

Parameters:
stream - The out stream.

toPdfA2B

public void toPdfA2B(java.lang.String filePath)
Convert to pdf/a2b standard document.

Parameters:
filePath - The out file path.

toPdfA2B

public void toPdfA2B(java.io.OutputStream stream)
Convert to pdf/a2b standard document.

Parameters:
stream - The out stream.

toPdfA2A

public void toPdfA2A(java.lang.String filePath)
Convert to pdf/a2a standard document.

Parameters:
filePath - The out file path.

toPdfA2A

public void toPdfA2A(java.io.OutputStream stream)
Convert to pdf/a2a standard document.

Parameters:
stream - The out stream.

toPdfA3B

public void toPdfA3B(java.lang.String filePath)
Convert to pdf/a3b standard document.

Parameters:
filePath - The out file path.

toPdfA3B

public void toPdfA3B(java.io.OutputStream stream)
Convert to pdf/a3b standard document.

Parameters:
stream - The out stream.

toPdfA3A

public void toPdfA3A(java.lang.String filePath)
Convert to pdf/a2a standard document.

Parameters:
filePath - The out file path.

toPdfA3A

public void toPdfA3A(java.io.OutputStream stream)
Convert to pdf/a3a standard document.

Parameters:
stream - The out stream.