Uses of Class
com.itextpdf.text.pdf.PdfWriter
Packages that use PdfWriter
Package
Description
Interfaces for high level PDF objects.
XMLWorker package provides a framework to parse XML to PDF with iText.
Contains pipelines that can be used as last pipe in the line.
-
Uses of PdfWriter in com.itextpdf.text
Methods in com.itextpdf.text with parameters of type PdfWriterModifier and TypeMethodDescriptionstatic Image
Image.getInstance
(PdfWriter writer, Image awtImage, float quality) Gets an instance of a Image from a java.awt.Image. -
Uses of PdfWriter in com.itextpdf.text.api
Methods in com.itextpdf.text.api with parameters of type PdfWriter -
Uses of PdfWriter in com.itextpdf.text.pdf
Subclasses of PdfWriter in com.itextpdf.text.pdfModifier and TypeClassDescription(package private) static class
class
Extension of PdfCopy that will attempt to keep a file in conformance with the PDF/A standard.class
PdfASmartCopy has the same functionality as PdfACopy, but when resources (such as fonts, images,...) are encountered, a reference to these resources is saved in a cache, so that they can be reused.class
Extension to PdfStamperImp that will attempt to keep a file in conformance with the PDF/A standard.class
Extension of PdfWriter that will attempt to create a PDF/A file instead of an ordinary PDF file.class
Make copies of PDF documents.(package private) class
Deprecated.(package private) class
Deprecated.since 5.5.2class
PdfSmartCopy has the same functionality as PdfCopy, but when resources (such as fonts, images,...) are encountered, a reference to these resources is saved in a cache, so that they can be reused.(package private) class
Fields in com.itextpdf.text.pdf declared as PdfWriterModifier and TypeFieldDescription(package private) PdfWriter
AcroFields.writer
protected PdfWriter
BaseField.writer
private PdfWriter
PdfAcroForm.writer
protected PdfWriter
PdfAnnotation.writer
protected PdfWriter
PdfContentByte.writer
This is the writer(package private) PdfWriter
PdfDocument.PdfCatalog.writer
The writer writing the PDF for which we are creating this catalog object.protected PdfWriter
PdfDocument.writer
ThePdfWriter
.protected PdfWriter
PdfFileSpecification.writer
protected PdfWriter
PdfFunction.writer
protected PdfWriter
PdfIndirectObject.writer
protected PdfWriter
PdfOutline.writer
private PdfWriter
PdfPages.writer
(package private) PdfWriter
PdfReaderInstance.writer
protected PdfWriter
PdfShading.writer
protected PdfWriter
PdfShadingPattern.writer
protected PdfWriter
PdfStream.writer
private PdfWriter
PdfStructureTreeRoot.writer
Holds value of property writer.protected final PdfWriter
PdfWriter.PdfBody.writer
protected PdfWriter
TtfUnicodeWriter.writer
private PdfWriter
Type3Font.writer
Methods in com.itextpdf.text.pdf that return PdfWriterModifier and TypeMethodDescriptionstatic PdfWriter
PdfWriter.getInstance
(Document document, OutputStream os) Use this method to get an instance of thePdfWriter
.static PdfWriter
PdfWriter.getInstance
(Document document, OutputStream os, DocListener listener) Use this method to get an instance of thePdfWriter
.PdfContentByte.getPdfWriter()
Gets thePdfWriter
in use by this object.BaseField.getWriter()
Getter for property writer.PdfCopyFields.getWriter()
Deprecated.Gets the underlying PdfWriter.PdfCopyForms.getWriter()
Deprecated.Gets the underlying PdfWriter.(package private) PdfWriter
PdfShading.getWriter()
PdfStamper.getWriter()
Gets the underlying PdfWriter.PdfStructureTreeRoot.getWriter()
Gets the writer.Methods in com.itextpdf.text.pdf with parameters of type PdfWriterModifier and TypeMethodDescription(package private) void
PdfDocument.PdfCatalog.addNames
(TreeMap<String, PdfDocument.Destination> localDestinations, HashMap<String, PdfObject> documentLevelJS, HashMap<String, PdfObject> documentFileAttachment, PdfWriter writer) Adds the names of the named destinations to the catalog.void
Adds aPdfWriter
to thePdfDocument
.static void
PdfWriter.checkPdfIsoConformance
(PdfWriter writer, int key, Object obj1) PdfAnnotation.PdfImportedLink.createAnnotation
(PdfWriter writer) static PdfAppearance
PdfAppearance.createAppearance
(PdfWriter writer, float width, float height) Creates a new appearance to be used with form fields.(package 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) (package private) static PdfArray
SimpleNamedDestination.createDestinationArray
(String value, PdfWriter writer) static PdfFormField
PdfFormField.createEmpty
(PdfWriter writer) static PdfAnnotation
PdfAnnotation.createFileAttachment
(PdfWriter writer, Rectangle rect, String contents, byte[] fileStore, String file, String fileDisplay) Creates a file attachment annotation.static PdfAnnotation
PdfAnnotation.createFileAttachment
(PdfWriter writer, Rectangle rect, String contents, PdfFileSpecification fs) Creates a file attachment annotationstatic PdfAnnotation
PdfAnnotation.createFreeText
(PdfWriter writer, Rectangle rect, String contents, PdfContentByte defaultAppearance) Add some free text to the document.static PdfAnnotation
static PdfAnnotation
PdfAnnotation.createLine
(PdfWriter writer, Rectangle rect, String contents, float x1, float y1, float x2, float y2) Adds a line to the document.protected static PdfAnnotation
PdfAnnotation.createLink
(PdfWriter writer, Rectangle rect, PdfName highlight) Creates a link.static PdfAnnotation
PdfAnnotation.createLink
(PdfWriter writer, Rectangle rect, PdfName highlight, int page, PdfDestination dest) Creates an Annotation with a PdfDestination.static PdfAnnotation
PdfAnnotation.createLink
(PdfWriter writer, Rectangle rect, PdfName highlight, PdfAction action) Creates an Annotation with an Action.static PdfAnnotation
PdfAnnotation.createLink
(PdfWriter writer, Rectangle rect, PdfName highlight, String namedDestination) Creates an Annotation with an local destination.static PdfFormField
PdfFormField.createList
(PdfWriter writer, String[][] options, int topIndex) static PdfFormField
PdfFormField.createList
(PdfWriter writer, String[] options, int topIndex) static PdfAnnotation
PdfAnnotation.createMarkup
(PdfWriter writer, Rectangle rect, String contents, int type, float[] quadPoints) (package private) static void
SimpleBookmark.createOutlineAction
(PdfDictionary outline, HashMap<String, Object> map, PdfWriter writer, boolean namedAsNames) static PdfAnnotation
PdfAnnotation.createPolygonPolyline
(PdfWriter writer, Rectangle rect, String contents, boolean polygon, PdfArray vertices) Creates a polygon or -line annotationstatic PdfAnnotation
PdfAnnotation.createPopup
(PdfWriter writer, Rectangle rect, String contents, boolean open) Adds a popup to your document.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 PdfAnnotation
PdfAnnotation.createSquareCircle
(PdfWriter writer, Rectangle rect, String contents, boolean square) Adds a circle or a square that shows a tooltip when you pass over it.static PdfAnnotation
PdfAnnotation.createStamp
(PdfWriter writer, Rectangle rect, String contents, String name) Adds a Stamp to your document.static PdfTemplate
PdfTemplate.createTemplate
(PdfWriter writer, float width, float height) Creates a new template.(package private) static PdfTemplate
PdfTemplate.createTemplate
(PdfWriter writer, float width, float height, PdfName forcedName) static PdfAnnotation
PdfAnnotation.createText
(PdfWriter writer, Rectangle rect, String title, String contents, boolean open, String icon) static PdfFormField
PdfFormField.createTextField
(PdfWriter writer, boolean multiline, boolean password, int maxLen) static PdfLayer
PdfLayer.createTitle
(String title, PdfWriter writer) Creates a title layer.static PdfFileSpecification
PdfFileSpecification.fileEmbedded
(PdfWriter writer, String filePath, String fileDisplay, byte[] fileStore) Creates a file specification with the file embedded.static PdfFileSpecification
PdfFileSpecification.fileEmbedded
(PdfWriter writer, String filePath, String fileDisplay, byte[] fileStore, boolean compress) Creates a file specification with the file embedded.static PdfFileSpecification
PdfFileSpecification.fileEmbedded
(PdfWriter writer, String filePath, String fileDisplay, byte[] fileStore, boolean compress, String mimeType, PdfDictionary fileParameter) Creates a file specification with the file embedded.static PdfFileSpecification
PdfFileSpecification.fileEmbedded
(PdfWriter writer, String filePath, String fileDisplay, byte[] fileStore, int compressionLevel) Creates a file specification with the file embedded.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.IPdfSpecialColorSpace.getColorantDetails
(PdfWriter writer) PdfDeviceNColor.getColorantDetails
(PdfWriter writer) PdfSpotColor.getColorantDetails
(PdfWriter writer) PdfPageLabels.getDictionary
(PdfWriter writer) Gets the page label dictionary to insert into the document.ColorDetails.getPdfObject
(PdfWriter writer) Gets theSpotColor
object.ICachedColorSpace.getPdfObject
(PdfWriter writer) PdfDeviceNColor.getPdfObject
(PdfWriter writer) PdfLabColor.getPdfObject
(PdfWriter writer) PdfSpotColor.getPdfObject
(PdfWriter writer) protected PdfReaderInstance
PdfReader.getPdfReaderInstance
(PdfWriter writer) protected PdfObject
PdfSpotColor.getSpotObject
(PdfWriter writer) Deprecated.static PdfAction
PdfAction.gotoLocalPage
(int page, PdfDestination dest, PdfWriter writer) Creates a GoTo action to an internal page.private static boolean
static Object[]
SimpleBookmark.iterateOutlines
(PdfWriter writer, PdfIndirectReference parent, List<HashMap<String, Object>> kids, boolean namedAsNames) static PdfAction
PdfAction.javaScript
(String code, PdfWriter writer) Creates a JavaScript action.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.static PdfDictionary
SimpleNamedDestination.outputNamedDestinationAsNames
(HashMap<String, String> names, PdfWriter writer) static PdfDictionary
SimpleNamedDestination.outputNamedDestinationAsStrings
(HashMap<String, String> names, PdfWriter writer) static void
PdfAWriter.setPdfVersion
(PdfWriter writer, PdfAConformanceLevel conformanceLevel) Sets the Confomance level.void
Setter for property writer.void
Sets the XFA key from the instance data.static void
Sets the XFA key from a byte array.static PdfShading
PdfShading.simpleAxial
(PdfWriter writer, float x0, float y0, float x1, float y1, BaseColor startColor, BaseColor endColor) static PdfShading
PdfShading.simpleAxial
(PdfWriter writer, float x0, float y0, float x1, float y1, BaseColor startColor, BaseColor endColor, boolean extendStart, boolean extendEnd) static PdfShading
PdfShading.simpleRadial
(PdfWriter writer, float x0, float y0, float r0, float x1, float y1, float r1, BaseColor startColor, BaseColor endColor) static PdfShading
PdfShading.simpleRadial
(PdfWriter writer, float x0, float y0, float r0, float x1, float y1, float r1, BaseColor startColor, BaseColor endColor, boolean extendStart, boolean extendEnd) protected void
PdfStream.superToPdf
(PdfWriter writer, OutputStream os) void
PdfAcroForm.toPdf
(PdfWriter writer, OutputStream os) void
PdfAction.toPdf
(PdfWriter writer, OutputStream os) void
PdfAnnotation.toPdf
(PdfWriter writer, OutputStream os) void
PdfArray.toPdf
(PdfWriter writer, OutputStream os) Writes the PDF representation of thisPdfArray
as an array ofbyte
to the specifiedOutputStream
.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
PdfFileSpecification.toPdf
(PdfWriter writer, OutputStream os) void
PdfGState.toPdf
(PdfWriter writer, OutputStream os) void
PdfIndirectReference.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
PdfStructureElement.toPdf
(PdfWriter writer, OutputStream os) 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) static PdfFunction
PdfFunction.type0
(PdfWriter writer, float[] domain, float[] range, int[] size, int bitsPerSample, int order, float[] encode, float[] decode, byte[] stream) static PdfShading
PdfShading.type1
(PdfWriter writer, BaseColor colorSpace, float[] domain, float[] tMatrix, PdfFunction function) static PdfFunction
static PdfShading
PdfShading.type2
(PdfWriter writer, BaseColor colorSpace, float[] coords, float[] domain, PdfFunction function, boolean[] extend) static PdfFunction
PdfFunction.type3
(PdfWriter writer, float[] domain, float[] range, PdfFunction[] functions, float[] bounds, float[] encode) static PdfShading
PdfShading.type3
(PdfWriter writer, BaseColor colorSpace, float[] coords, float[] domain, PdfFunction function, boolean[] extend) static PdfFunction
static PdfFileSpecification
Creates a file specification of type URL.(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.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.(package private) void
Type3Font.writeFont
(PdfWriter writer, PdfIndirectReference ref, Object[] params) static PdfDictionary
Writes a name tree to a PdfWriter.static <O extends PdfObject>
PdfDictionaryCreates a number tree.Constructors in com.itextpdf.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.PdfAnnotation
(PdfWriter writer, Rectangle rect) (package private)
Creates new PdfTemplatePdfARadioCheckField
(PdfWriter writer, Rectangle box, String fieldName, String onValue) PdfATtfUnicodeWriter
(PdfWriter writer, PdfAConformanceLevel pdfAConformanceLevel) protected
Constructs a newPdfBody
.(package private)
PdfCatalog
(PdfIndirectReference pages, PdfWriter writer) Constructs aPdfCatalog
.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).protected
PdfFunction
(PdfWriter writer) Creates new PdfFunction(package private)
PdfImportedPage
(PdfReaderInstance readerInstance, PdfWriter writer, int pageNumber) (package private)
PdfIndirectObject
(int number, int generation, PdfObject object, PdfWriter writer) Constructs aPdfIndirectObject
.protected
PdfIndirectObject
(int number, PdfObject object, PdfWriter writer) Constructs aPdfIndirectObject
.(package private)
PdfIndirectObject
(PdfIndirectReference ref, PdfObject object, PdfWriter writer) Creates a new layer.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, BaseColor defaultColor) Constructs a PSXObject(package private)
PdfReaderInstance
(PdfReader reader, PdfWriter writer) protected
PdfShading
(PdfWriter writer) Creates new PdfShadingPdfStream
(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 PdfTemplatePushbuttonField
(PdfWriter writer, Rectangle box, String fieldName) Creates a new instance of PushbuttonFieldRadioCheckField
(PdfWriter writer, Rectangle box, String fieldName, String onValue) Creates a new instance of RadioCheckField(package private)
StampContent
(PdfWriter writer, PageResources pageResources) Creates a new instance of StampContentCreates a newTextField
.TtfUnicodeWriter
(PdfWriter writer) Creates a Type3 font.Creates a Type3 font.(package private)
Type3Glyph
(PdfWriter writer, PageResources pageResources, float wx, float llx, float lly, float urx, float ury, boolean colorized) -
Uses of PdfWriter in com.itextpdf.text.pdf.events
Fields in com.itextpdf.text.pdf.events declared as PdfWriterModifier and TypeFieldDescriptionprotected PdfWriter
FieldPositioningEvents.fieldWriter
The PdfWriter to use when a field has to added in a cell event.Methods in com.itextpdf.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
FieldPositioningEvents.onGenericTag
(PdfWriter writer, Document document, Rectangle rect, String text) void
IndexEvents.onGenericTag
(PdfWriter writer, Document document, Rectangle rect, String text) All the text that is passed to this event, gets registered in the indexentry.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.Constructors in com.itextpdf.text.pdf.events with parameters of type PdfWriterModifierConstructorDescriptionFieldPositioningEvents
(PdfWriter writer, PdfFormField field) Creates a new event.FieldPositioningEvents
(PdfWriter writer, PdfFormField parent, String text) Creates a new event.FieldPositioningEvents
(PdfWriter writer, String text) Creates a new event. -
Uses of PdfWriter in com.itextpdf.text.pdf.internal
Fields in com.itextpdf.text.pdf.internal declared as PdfWriterModifier and TypeFieldDescriptionprotected PdfWriter
PdfAConformanceImp.writer
protected PdfWriter
PdfXConformanceImp.writer
Methods in com.itextpdf.text.pdf.internal with parameters of type PdfWriterModifier and TypeMethodDescriptionprotected void
PdfA1Checker.checkAction
(PdfWriter writer, int key, Object obj1) protected void
PdfA2Checker.checkAction
(PdfWriter writer, int key, Object obj1) protected abstract void
PdfAChecker.checkAction
(PdfWriter writer, int key, Object obj1) protected void
PdfA1Checker.checkAnnotation
(PdfWriter writer, int key, Object obj1) protected void
PdfA2Checker.checkAnnotation
(PdfWriter writer, int key, Object obj1) protected abstract void
PdfAChecker.checkAnnotation
(PdfWriter writer, int key, Object obj1) protected void
PdfA1Checker.checkCanvas
(PdfWriter writer, int key, Object obj1) protected void
PdfA2Checker.checkCanvas
(PdfWriter writer, int key, Object obj1) protected abstract void
PdfAChecker.checkCanvas
(PdfWriter writer, int key, Object obj1) protected void
PdfA1Checker.checkColor
(PdfWriter writer, int key, Object obj1) protected void
PdfA2Checker.checkColor
(PdfWriter writer, int key, Object obj1) protected abstract void
PdfAChecker.checkColor
(PdfWriter writer, int key, Object obj1) protected void
PdfA1Checker.checkFileSpec
(PdfWriter writer, int key, Object obj1) protected void
PdfA2Checker.checkFileSpec
(PdfWriter writer, int key, Object obj1) protected void
PdfA3Checker.checkFileSpec
(PdfWriter writer, int key, Object obj1) protected abstract void
PdfAChecker.checkFileSpec
(PdfWriter writer, int key, Object obj1) protected void
ZugferdChecker.checkFileSpec
(PdfWriter writer, int key, Object obj1) protected void
protected void
protected abstract void
protected void
protected void
protected abstract void
protected void
PdfA1Checker.checkFormXObj
(PdfWriter writer, int key, Object obj1) protected void
PdfA2Checker.checkFormXObj
(PdfWriter writer, int key, Object obj1) protected abstract void
PdfAChecker.checkFormXObj
(PdfWriter writer, int key, Object obj1) protected void
PdfA1Checker.checkGState
(PdfWriter writer, int key, Object obj1) protected void
PdfA2Checker.checkGState
(PdfWriter writer, int key, Object obj1) protected abstract void
PdfAChecker.checkGState
(PdfWriter writer, int key, Object obj1) protected void
PdfA1Checker.checkImage
(PdfWriter writer, int key, Object obj1) protected void
PdfA2Checker.checkImage
(PdfWriter writer, int key, Object obj1) protected abstract void
PdfAChecker.checkImage
(PdfWriter writer, int key, Object obj1) protected void
PdfA1Checker.checkInlineImage
(PdfWriter writer, int key, Object obj1) protected void
PdfA2Checker.checkInlineImage
(PdfWriter writer, int key, Object obj1) protected abstract void
PdfAChecker.checkInlineImage
(PdfWriter writer, int key, Object obj1) protected void
PdfA1Checker.checkLayer
(PdfWriter writer, int key, Object obj1) protected void
PdfA2Checker.checkLayer
(PdfWriter writer, int key, Object obj1) protected abstract void
PdfAChecker.checkLayer
(PdfWriter writer, int key, Object obj1) protected void
PdfA1Checker.checkOutputIntent
(PdfWriter writer, int key, Object obj1) protected void
PdfA2Checker.checkOutputIntent
(PdfWriter writer, int key, Object obj1) protected abstract void
PdfAChecker.checkOutputIntent
(PdfWriter writer, int key, Object obj1) protected void
PdfAChecker.checkOutputIntentsInStamperMode
(PdfWriter writer) (package private) void
PdfAChecker.checkPdfAConformance
(PdfWriter writer, int key, Object obj1) protected void
PdfA1Checker.checkPdfObject
(PdfWriter writer, int key, Object obj1) protected void
PdfA2Checker.checkPdfObject
(PdfWriter writer, int key, Object obj1) protected void
PdfA3Checker.checkPdfObject
(PdfWriter writer, int key, Object obj1) protected abstract void
PdfAChecker.checkPdfObject
(PdfWriter writer, int key, Object obj1) protected void
PdfA1Checker.checkStream
(PdfWriter writer, int key, Object obj1) protected void
PdfA2Checker.checkStream
(PdfWriter writer, int key, Object obj1) protected abstract void
PdfAChecker.checkStream
(PdfWriter writer, int key, Object obj1) protected void
PdfA1Checker.checkStructElem
(PdfWriter writer, int key, Object obj1) protected void
PdfA2Checker.checkStructElem
(PdfWriter writer, int key, Object obj1) protected abstract void
PdfAChecker.checkStructElem
(PdfWriter writer, int key, Object obj1) protected void
PdfA1Checker.checkTrailer
(PdfWriter writer, int key, Object obj1) protected void
PdfA2Checker.checkTrailer
(PdfWriter writer, int key, Object obj1) protected abstract void
PdfAChecker.checkTrailer
(PdfWriter writer, int key, Object obj1) void
void
abstract void
void
static PdfAnnotation
PdfAnnotationsImp.convertAnnotation
(PdfWriter writer, Annotation annot, Rectangle defaultRect) PdfAnnotationsImp.rotateAnnotations
(PdfWriter writer, Rectangle pageSize) Constructors in com.itextpdf.text.pdf.internal with parameters of type PdfWriterModifierConstructorDescriptionPdfAConformanceImp
(PdfWriter writer) PdfAnnotationsImp
(PdfWriter writer) PdfXConformanceImp
(PdfWriter writer) -
Uses of PdfWriter in com.itextpdf.text.pdf.mc
Methods in com.itextpdf.text.pdf.mc with parameters of type PdfWriterModifier and TypeMethodDescriptionvoid
StructureItems.writeParentTree
(PdfWriter writer) Writes the altered parent tree to a PdfWriter and updates the StructTreeRoot entry. -
Uses of PdfWriter in com.itextpdf.text.pdf.pdfcleanup
Methods in com.itextpdf.text.pdf.pdfcleanup with parameters of type PdfWriterModifier and TypeMethodDescriptionprivate static void
PdfCleanUpContentOperator.toPdf
(PdfObject object, PdfWriter writer, OutputStream os) Overriding standard PdfObject.toPdf because we need sorted PdfDictionaries. -
Uses of PdfWriter in com.itextpdf.text.pdf.richmedia
Fields in com.itextpdf.text.pdf.richmedia declared as PdfWriterModifier and TypeFieldDescriptionprotected PdfWriter
RichMediaAnnotation.writer
The PdfWriter to which the annotation will be added.Constructors in com.itextpdf.text.pdf.richmedia with parameters of type PdfWriterModifierConstructorDescriptionRichMediaAnnotation
(PdfWriter writer, Rectangle rect) Creates a RichMediaAnnotation.RichMediaAnnotation
(PdfWriter writer, Rectangle rect, PdfIndirectReference richMediaContentReference) Creates a RichMediaAnnotation using rich media content that has already been added to the writer. -
Uses of PdfWriter in com.itextpdf.text.pdf.security
Fields in com.itextpdf.text.pdf.security declared as PdfWriter -
Uses of PdfWriter in com.itextpdf.text.xml.xmp
Fields in com.itextpdf.text.xml.xmp declared as PdfWriterConstructors in com.itextpdf.text.xml.xmp with parameters of type PdfWriterModifierConstructorDescriptionPdfAXmpWriter
(OutputStream os, PdfAConformanceLevel conformanceLevel, PdfWriter writer) Creates and XMP writer that adds info about the PDF/A conformance level.PdfAXmpWriter
(OutputStream os, PdfDictionary info, PdfAConformanceLevel conformanceLevel, PdfWriter writer) Creates and XMP writer that adds info about the PDF/A conformance level.PdfAXmpWriter
(OutputStream os, Map<String, String> info, PdfAConformanceLevel conformanceLevel, PdfWriter writer) Creates and XMP writer that adds info about the PDF/A conformance level. -
Uses of PdfWriter in com.itextpdf.tool.xml
Methods in com.itextpdf.tool.xml with parameters of type PdfWriterModifier and TypeMethodDescriptionvoid
XMLWorkerHelper.parseXHtml
(PdfWriter writer, Document doc, InputStream in) void
XMLWorkerHelper.parseXHtml
(PdfWriter writer, Document doc, InputStream in, InputStream inCssFile) void
XMLWorkerHelper.parseXHtml
(PdfWriter writer, Document doc, InputStream in, InputStream inCssFile, FontProvider fontProvider) void
XMLWorkerHelper.parseXHtml
(PdfWriter writer, Document doc, InputStream in, InputStream inCssFile, Charset charset) void
XMLWorkerHelper.parseXHtml
(PdfWriter writer, Document doc, InputStream in, InputStream inCssFile, Charset charset, FontProvider fontProvider) void
XMLWorkerHelper.parseXHtml
(PdfWriter writer, Document doc, InputStream in, InputStream inCssFile, Charset charset, FontProvider fontProvider, String resourcesRootPath) void
XMLWorkerHelper.parseXHtml
(PdfWriter writer, Document doc, InputStream in, Charset charset) void
XMLWorkerHelper.parseXHtml
(PdfWriter writer, Document doc, InputStream in, Charset charset, FontProvider fontProvider) void
XMLWorkerHelper.parseXHtml
(PdfWriter writer, Document doc, Reader in) Parses the xml data. -
Uses of PdfWriter in com.itextpdf.tool.xml.pipeline.end
Fields in com.itextpdf.tool.xml.pipeline.end declared as PdfWriterMethods in com.itextpdf.tool.xml.pipeline.end with parameters of type PdfWriterModifier and TypeMethodDescriptionvoid
The writer used to write to the document.Constructors in com.itextpdf.tool.xml.pipeline.end with parameters of type PdfWriter