Package net.sf.jasperreports.pdf.classic
Class ClassicPdfWriter
- java.lang.Object
-
- net.sf.jasperreports.pdf.classic.ClassicPdfWriter
-
- All Implemented Interfaces:
PdfDocumentWriter
public class ClassicPdfWriter extends Object implements PdfDocumentWriter
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description ClassicPdfWriter(ClassicPdfProducer pdfProducer, com.lowagie.text.pdf.PdfWriter pdfWriter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addJavaScript(String pdfJavaScript)
void
createXmpMetadata(String title, String subject, String keywords)
com.lowagie.text.pdf.PdfWriter
getPdfWriter()
void
setDisplayMetadataTitle()
void
setEncryption(String userPassword, String ownerPassword, int permissions, boolean is128BitKey)
void
setFullCompression()
void
setIccProfilePath(String iccProfilePath, InputStream iccIs)
void
setLanguage(String language)
void
setMinimalPdfVersion(PdfVersionEnum minimalVersion)
void
setNoSpaceCharRatio()
void
setPdfaConformance(PdfaConformanceEnum pdfaConformance)
void
setPdfVersion(PdfVersionEnum pdfVersion)
void
setPrintScaling(PdfPrintScalingEnum printScaling)
void
setRgbTransparencyBlending(boolean rgbTransparencyBlending)
void
setTabOrderStructure()
-
-
-
Constructor Detail
-
ClassicPdfWriter
public ClassicPdfWriter(ClassicPdfProducer pdfProducer, com.lowagie.text.pdf.PdfWriter pdfWriter)
-
-
Method Detail
-
getPdfWriter
public com.lowagie.text.pdf.PdfWriter getPdfWriter()
-
setPdfVersion
public void setPdfVersion(PdfVersionEnum pdfVersion)
- Specified by:
setPdfVersion
in interfacePdfDocumentWriter
-
setMinimalPdfVersion
public void setMinimalPdfVersion(PdfVersionEnum minimalVersion)
- Specified by:
setMinimalPdfVersion
in interfacePdfDocumentWriter
-
setFullCompression
public void setFullCompression()
- Specified by:
setFullCompression
in interfacePdfDocumentWriter
-
setEncryption
public void setEncryption(String userPassword, String ownerPassword, int permissions, boolean is128BitKey) throws JRException
- Specified by:
setEncryption
in interfacePdfDocumentWriter
- Throws:
JRException
-
setPrintScaling
public void setPrintScaling(PdfPrintScalingEnum printScaling)
- Specified by:
setPrintScaling
in interfacePdfDocumentWriter
-
setNoSpaceCharRatio
public void setNoSpaceCharRatio()
- Specified by:
setNoSpaceCharRatio
in interfacePdfDocumentWriter
-
setTabOrderStructure
public void setTabOrderStructure()
- Specified by:
setTabOrderStructure
in interfacePdfDocumentWriter
-
setLanguage
public void setLanguage(String language)
- Specified by:
setLanguage
in interfacePdfDocumentWriter
-
setPdfaConformance
public void setPdfaConformance(PdfaConformanceEnum pdfaConformance)
- Specified by:
setPdfaConformance
in interfacePdfDocumentWriter
-
createXmpMetadata
public void createXmpMetadata(String title, String subject, String keywords)
- Specified by:
createXmpMetadata
in interfacePdfDocumentWriter
-
setRgbTransparencyBlending
public void setRgbTransparencyBlending(boolean rgbTransparencyBlending)
- Specified by:
setRgbTransparencyBlending
in interfacePdfDocumentWriter
-
setIccProfilePath
public void setIccProfilePath(String iccProfilePath, InputStream iccIs) throws IOException
- Specified by:
setIccProfilePath
in interfacePdfDocumentWriter
- Throws:
IOException
-
addJavaScript
public void addJavaScript(String pdfJavaScript)
- Specified by:
addJavaScript
in interfacePdfDocumentWriter
-
setDisplayMetadataTitle
public void setDisplayMetadataTitle()
- Specified by:
setDisplayMetadataTitle
in interfacePdfDocumentWriter
-
-