Uses of Class
com.aowagie.text.pdf.PdfWriter
Packages that use PdfWriter
-
Uses of PdfWriter in com.aowagie.text.pdf
Subclasses of PdfWriter in com.aowagie.text.pdfModifier and TypeClassDescription(package private) static class
(package private) class
Make copies of PDF documents.(package private) class
class
Fields in com.aowagie.text.pdf declared as PdfWriterModifier and TypeFieldDescription(package private) PdfWriter
AcroFields.writer
protected PdfWriter
BaseField.writer
private final PdfWriter
PdfAcroForm.writer
protected PdfWriter
PdfAnnotation.writer
protected PdfWriter
PdfContentByte.writer
This is the writerprivate final PdfWriter
PdfDocument.PdfCatalog.writer
The writer writing the PDF for which we are creating this catalog object.private PdfWriter
PdfDocument.writer
ThePdfWriter
.private PdfWriter
PdfFileSpecification.writer
private final PdfWriter
PdfFunction.writer
private final PdfWriter
PdfIndirectObject.writer
protected PdfWriter
PdfOutline.writer
private final PdfWriter
PdfPages.writer
private final PdfWriter
PdfReaderInstance.writer
private final PdfWriter
PdfShading.writer
private final PdfWriter
PdfShadingPattern.writer
private PdfWriter
PdfStream.writer
private final PdfWriter
PdfStructureTreeRoot.writer
Holds value of property writer.private final PdfWriter
PdfWriter.PdfBody.writer
Methods in com.aowagie.text.pdf that return PdfWriterModifier and TypeMethodDescriptionstatic PdfWriter
PdfWriter.getInstance
(Document document, OutputStream os) Use this method to get an instance of thePdfWriter
.PdfContentByte.getPdfWriter()
Gets thePdfWriter
in use by this object.BaseField.getWriter()
Getter for property writer.(package private) PdfWriter
PdfShading.getWriter()
PdfStamper.getWriter()
Gets the underlying PdfWriter.PdfStructureTreeRoot.getWriter()
Gets the writer.Methods in com.aowagie.text.pdf with parameters of type PdfWriterModifier and TypeMethodDescriptionprivate void
PdfDocument.PdfCatalog.addNames
(TreeMap localDestinations, HashMap documentLevelJS, HashMap documentFileAttachment, PdfWriter writer) Adds the names of the named destinations to the catalog.(package private) void
Adds aPdfWriter
to thePdfDocument
.static PdfAppearance
PdfAppearance.createAppearance
(PdfWriter writer, float width, float height) Creates a new appearance to be used with form fields.private static PdfAppearance
PdfAppearance.createAppearance
(PdfWriter writer, float width, float height, PdfName forcedName) protected static PdfFormField
PdfFormField.createButton
(PdfWriter writer, int flags) static PdfFormField
PdfFormField.createCheckBox
(PdfWriter writer) protected static PdfFormField
PdfFormField.createChoice
(PdfWriter writer, int flags, PdfArray options, int topIndex) static PdfFormField
PdfFormField.createCombo
(PdfWriter writer, boolean edit, String[][] options, int topIndex) static PdfFormField
PdfFormField.createCombo
(PdfWriter writer, boolean edit, String[] options, int topIndex) private static PdfArray
SimpleNamedDestination.createDestinationArray
(String value, PdfWriter writer) static PdfFormField
PdfFormField.createEmpty
(PdfWriter writer) private static PdfAnnotation
PdfAnnotation.createFileAttachment
(PdfWriter writer, Rectangle rect, String contents, PdfFileSpecification fs) Creates a file attachment annotationprivate static PdfAnnotation
PdfAnnotation.createLink
(PdfWriter writer, Rectangle rect, PdfName highlight) Creates a link.static PdfFormField
PdfFormField.createList
(PdfWriter writer, String[][] options, int topIndex) static PdfFormField
PdfFormField.createList
(PdfWriter writer, String[] options, int topIndex) private static void
SimpleBookmark.createOutlineAction
(PdfDictionary outline, HashMap map, PdfWriter writer, boolean namedAsNames) static PdfFormField
PdfFormField.createPushButton
(PdfWriter writer) static PdfFormField
PdfFormField.createRadioButton
(PdfWriter writer, boolean noToggleToOff) static PdfAnnotation
PdfAnnotation.createScreen
(PdfWriter writer, Rectangle rect, String clipTitle, PdfFileSpecification fs, String mimeType, boolean playOnDisplay) Creates a screen PdfAnnotationstatic PdfFormField
PdfFormField.createSignature
(PdfWriter writer) static PdfTemplate
PdfTemplate.createTemplate
(PdfWriter writer, float width, float height) Creates a new template.private static PdfTemplate
PdfTemplate.createTemplate
(PdfWriter writer, float width, float height, PdfName forcedName) static PdfFormField
PdfFormField.createTextField
(PdfWriter writer, boolean multiline, boolean password, int maxLen) static PdfFileSpecification
PdfFileSpecification.fileEmbedded
(PdfWriter writer, String filePath, String fileDisplay, byte[] fileStore) Creates a file specification with the file embedded.private static PdfFileSpecification
PdfFileSpecification.fileEmbedded
(PdfWriter writer, String filePath, String fileDisplay, byte[] fileStore, int compressionLevel) Creates a file specification with the file embedded.private static PdfFileSpecification
PdfFileSpecification.fileEmbedded
(PdfWriter writer, String filePath, String fileDisplay, byte[] fileStore, String mimeType, PdfDictionary fileParameter, int compressionLevel) Creates a file specification with the file embedded.static PdfFileSpecification
PdfFileSpecification.fileExtern
(PdfWriter writer, String filePath) Creates a file specification for an external file.(package private) PdfDictionary
PdfPageLabels.getDictionary
(PdfWriter writer) Gets the page label dictionary to insert into the document.protected PdfReaderInstance
PdfReader.getPdfReaderInstance
(PdfWriter writer) (package private) PdfObject
ColorDetails.getSpotColor
(PdfWriter writer) Gets theSpotColor
object.protected PdfObject
PdfSpotColor.getSpotObject
(PdfWriter writer) (package private) static Object[]
SimpleBookmark.iterateOutlines
(PdfWriter writer, PdfIndirectReference parent, List kids, boolean namedAsNames) (package private) static PdfAction
PdfAction.javaScript
(String code, PdfWriter writer, boolean unicode) Creates a JavaScript action.void
PdfPageEvent.onChapter
(PdfWriter writer, Document document, float paragraphPosition, Paragraph title) Called when a Chapter is written.void
PdfPageEventHelper.onChapter
(PdfWriter writer, Document document, float paragraphPosition, Paragraph title) Called when a Chapter is written.void
PdfPageEvent.onChapterEnd
(PdfWriter writer, Document document, float paragraphPosition) Called when the end of a Chapter is reached.void
PdfPageEventHelper.onChapterEnd
(PdfWriter writer, Document document, float position) Called when the end of a Chapter is reached.void
PdfPageEvent.onCloseDocument
(PdfWriter writer, Document document) Called when the document is closed.void
PdfPageEventHelper.onCloseDocument
(PdfWriter writer, Document document) Called when the document is closed.void
Called when a page is finished, just before being written to the document.void
Called when a page is finished, just before being written to the document.void
PdfPageEvent.onGenericTag
(PdfWriter writer, Document document, Rectangle rect, String text) Called when aChunk
with a generic tag is written.void
PdfPageEventHelper.onGenericTag
(PdfWriter writer, Document document, Rectangle rect, String text) Called when aChunk
with a generic tag is written.void
PdfPageEvent.onOpenDocument
(PdfWriter writer, Document document) Called when the document is opened.void
PdfPageEventHelper.onOpenDocument
(PdfWriter writer, Document document) Called when the document is opened.void
PdfPageEvent.onParagraph
(PdfWriter writer, Document document, float paragraphPosition) Called when a Paragraph is written.void
PdfPageEventHelper.onParagraph
(PdfWriter writer, Document document, float paragraphPosition) Called when a Paragraph is written.void
PdfPageEvent.onParagraphEnd
(PdfWriter writer, Document document, float paragraphPosition) Called when a Paragraph is written.void
PdfPageEventHelper.onParagraphEnd
(PdfWriter writer, Document document, float paragraphPosition) Called when a Paragraph is written.void
PdfPageEvent.onSection
(PdfWriter writer, Document document, float paragraphPosition, int depth, Paragraph title) Called when a Section is written.void
PdfPageEventHelper.onSection
(PdfWriter writer, Document document, float paragraphPosition, int depth, Paragraph title) Called when a Section is written.void
PdfPageEvent.onSectionEnd
(PdfWriter writer, Document document, float paragraphPosition) Called when the end of a Section is reached.void
PdfPageEventHelper.onSectionEnd
(PdfWriter writer, Document document, float position) Called when the end of a Section is reached.void
PdfPageEvent.onStartPage
(PdfWriter writer, Document document) Called when a page is initialized.void
PdfPageEventHelper.onStartPage
(PdfWriter writer, Document document) Called when a page is initialized.void
Setter for property writer.void
Sets the XFA key from the instance data.static void
Sets the XFA key from a byte array.(package private) static PdfShading
PdfShading.simpleAxial
(PdfWriter writer, float x0, float y0, float x1, float y1, Color startColor, Color endColor) private static PdfShading
PdfShading.simpleAxial
(PdfWriter writer, float x0, float y0, float x1, float y1, Color startColor, Color endColor, boolean extendStart, boolean extendEnd) private static PdfShading
PdfShading.simpleRadial
(PdfWriter writer, float x0, float y0, float r0, float x1, float y1, float r1, Color startColor, Color endColor, boolean extendStart, boolean extendEnd) protected void
PdfStream.superToPdf
(PdfWriter writer, OutputStream os) void
PdfArray.toPdf
(PdfWriter writer, OutputStream os) Writes the PDF representation of thisPdfArray
as an array ofbyte
to the specifiedOutputStream
.(package private) byte[]
Returns the PDF representation of thisPdfContentByte
-object.void
PdfDashPattern.toPdf
(PdfWriter writer, OutputStream os) Returns the PDF representation of thisPdfArray
.void
PdfDictionary.toPdf
(PdfWriter writer, OutputStream os) Writes the PDF representation of thisPdfDictionary
as an array ofbyte
to the givenOutputStream
.void
PdfEFStream.toPdf
(PdfWriter writer, OutputStream os) void
PdfLiteral.toPdf
(PdfWriter writer, OutputStream os) void
PdfObject.toPdf
(PdfWriter writer, OutputStream os) Writes the PDF representation of thisPdfObject
as an array ofbyte
s to the writer.void
PdfOutline.toPdf
(PdfWriter writer, OutputStream os) Returns the PDF representation of thisPdfOutline
.void
PdfStream.toPdf
(PdfWriter writer, OutputStream os) void
PdfString.toPdf
(PdfWriter writer, OutputStream os) Writes the PDF representation of thisPdfString
as an array ofbyte
to the specifiedOutputStream
.void
PdfWriter.PdfTrailer.toPdf
(PdfWriter writer, OutputStream os) Returns the PDF representation of thisPdfObject
.void
PRIndirectReference.toPdf
(PdfWriter writer, OutputStream os) void
PRStream.toPdf
(PdfWriter writer, OutputStream os) (package private) static PdfFunction
private static PdfShading
PdfShading.type2
(PdfWriter writer, Color colorSpace, float[] coords, float[] domain, PdfFunction function, boolean[] extend) private static PdfShading
PdfShading.type3
(PdfWriter writer, Color colorSpace, float[] coords, float[] domain, PdfFunction function, boolean[] extend) (package private) abstract void
BaseFont.writeFont
(PdfWriter writer, PdfIndirectReference ref, Object[] params) Outputs to the writer the font dictionaries and streams.(package private) void
CJKFont.writeFont
(PdfWriter writer, PdfIndirectReference ref, Object[] params) (package private) void
DocumentFont.writeFont
(PdfWriter writer, PdfIndirectReference ref, Object[] params) Outputs to the writer the font dictionaries and streams.(package private) void
Writes the font definition to the document.(package private) void
TrueTypeFont.writeFont
(PdfWriter writer, PdfIndirectReference ref, Object[] params) Outputs to the writer the font dictionaries and streams.(package private) void
TrueTypeFontUnicode.writeFont
(PdfWriter writer, PdfIndirectReference ref, Object[] params) Outputs to the writer the font dictionaries and streams.(package private) void
Type1Font.writeFont
(PdfWriter writer, PdfIndirectReference ref, Object[] params) Outputs to the writer the font dictionaries and streams.static PdfDictionary
Writes a name tree to a PdfWriter.(package private) static PdfDictionary
Creates a number tree.Constructors in com.aowagie.text.pdf with parameters of type PdfWriterModifierConstructorDescription(package private)
AcroFields
(PdfReader reader, PdfWriter writer) Creates a newTextField
.PdfAcroForm
(PdfWriter writer) Creates new PdfAcroFormPdfAnnotation
(PdfWriter writer, float llx, float lly, float urx, float ury, PdfAction action) Constructs a newPdfAnnotation
of subtype link (Action).PdfAnnotation
(PdfWriter writer, float llx, float lly, float urx, float ury, PdfString title, PdfString content) Constructs a newPdfAnnotation
of subtype text.(package private)
PdfAnnotation
(PdfWriter writer, Rectangle rect) (package private)
Creates new PdfTemplate(package private)
Constructs a newPdfBody
.private
PdfCatalog
(PdfIndirectReference pages, PdfWriter writer) Constructs aPdfCatalog
.(package private)
Constructs a newPdfContentByte
-object.PdfEFStream
(InputStream in, PdfWriter writer) Creates a Stream object using an InputStream and a PdfWriter objectprotected
PdfFormField
(PdfWriter writer) Creates new PdfFormFieldPdfFormField
(PdfWriter writer, float llx, float lly, float urx, float ury, PdfAction action) Constructs a newPdfAnnotation
of subtype link (Action).private
PdfFunction
(PdfWriter writer) Creates new PdfFunction(package private)
PdfImportedPage
(PdfReaderInstance readerInstance, PdfWriter writer, int pageNumber) private
PdfIndirectObject
(int number, int generation, PdfObject object, PdfWriter writer) Constructs aPdfIndirectObject
.(package private)
PdfIndirectObject
(int number, PdfObject object, PdfWriter writer) Constructs aPdfIndirectObject
.PdfLayerMembership
(PdfWriter writer) Creates a new, empty, membership layer.(package private)
PdfOutline
(PdfWriter writer) Constructs aPdfOutline
.(package private)
Constructs aPdfPages
-object.(package private)
Creates new PdfPattern(package private)
PdfPatternPainter
(PdfWriter wr, Color defaultColor) (package private)
PdfReaderInstance
(PdfReader reader, PdfWriter writer) private
PdfShading
(PdfWriter writer) Creates new PdfShading(package private)
PdfStream
(InputStream inputStream, PdfWriter writer) Creates an efficient stream.(package private)
PdfStructureTreeRoot
(PdfWriter writer) Creates a new instance of PdfStructureTreeRoot(package private)
PdfTemplate
(PdfWriter wr) Creates new PdfTemplate(package private)
PushbuttonField
(PdfWriter writer, Rectangle box, String fieldName) Creates a new instance of PushbuttonFieldprivate
StampContent
(PdfWriter writer, PageResources pageResources) Creates a new instance of StampContentCreates a newTextField
.(package private)
Type3Glyph
(PdfWriter writer, PageResources pageResources, float wx, float llx, float lly, float urx, float ury, boolean colorized) -
Uses of PdfWriter in com.aowagie.text.pdf.events
Methods in com.aowagie.text.pdf.events with parameters of type PdfWriterModifier and TypeMethodDescriptionvoid
PdfPageEventForwarder.onChapter
(PdfWriter writer, Document document, float paragraphPosition, Paragraph title) Called when a Chapter is written.void
PdfPageEventForwarder.onChapterEnd
(PdfWriter writer, Document document, float position) Called when the end of a Chapter is reached.void
PdfPageEventForwarder.onCloseDocument
(PdfWriter writer, Document document) Called when the document is closed.void
Called when a page is finished, just before being written to the document.void
PdfPageEventForwarder.onGenericTag
(PdfWriter writer, Document document, Rectangle rect, String text) Called when aChunk
with a generic tag is written.void
PdfPageEventForwarder.onOpenDocument
(PdfWriter writer, Document document) Called when the document is opened.void
PdfPageEventForwarder.onParagraph
(PdfWriter writer, Document document, float paragraphPosition) Called when a Paragraph is written.void
PdfPageEventForwarder.onParagraphEnd
(PdfWriter writer, Document document, float paragraphPosition) Called when a Paragraph is written.void
PdfPageEventForwarder.onSection
(PdfWriter writer, Document document, float paragraphPosition, int depth, Paragraph title) Called when a Section is written.void
PdfPageEventForwarder.onSectionEnd
(PdfWriter writer, Document document, float position) Called when the end of a Section is reached.void
PdfPageEventForwarder.onStartPage
(PdfWriter writer, Document document) Called when a page is initialized. -
Uses of PdfWriter in com.aowagie.text.pdf.internal
Methods in com.aowagie.text.pdf.internal with parameters of type PdfWriterModifier and TypeMethodDescriptionstatic void
PdfXConformanceImp.checkPDFXConformance
(PdfWriter writer, int key, Object obj1) Business logic that checks if a certain object is in conformance with PDF/X.static PdfAnnotation
PdfAnnotationsImp.convertAnnotation
(PdfWriter writer, Annotation annot, Rectangle defaultRect) PdfAnnotationsImp.rotateAnnotations
(PdfWriter writer, Rectangle pageSize) Constructors in com.aowagie.text.pdf.internal with parameters of type PdfWriter