Uses of Class
com.itextpdf.text.pdf.PdfWriter
-
Packages that use PdfWriter Package Description com.itextpdf.text com.itextpdf.text.api Interfaces for high level PDF objects.com.itextpdf.text.pdf com.itextpdf.text.pdf.events com.itextpdf.text.pdf.internal com.itextpdf.text.pdf.mc com.itextpdf.text.pdf.pdfcleanup com.itextpdf.text.pdf.richmedia com.itextpdf.text.pdf.security com.itextpdf.text.xml.xmp com.itextpdf.tool.xml XMLWorker package provides a framework to parse XML to PDF with iText.com.itextpdf.tool.xml.pipeline.end 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 PdfWriter Modifier and Type Method Description static ImageImage. getInstance(PdfWriter writer, java.awt.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 Modifier and Type Method Description voidWriterOperation. write(PdfWriter writer, Document doc)Receive a writer and the document to do certain operations on them. -
Uses of PdfWriter in com.itextpdf.text.pdf
Subclasses of PdfWriter in com.itextpdf.text.pdf Modifier and Type Class Description (package private) static classFdfWriter.WrtclassPdfACopyExtension of PdfCopy that will attempt to keep a file in conformance with the PDF/A standard.classPdfASmartCopyPdfASmartCopy 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.classPdfAStamperImpExtension to PdfStamperImp that will attempt to keep a file in conformance with the PDF/A standard.classPdfAWriterExtension of PdfWriter that will attempt to create a PDF/A file instead of an ordinary PDF file.classPdfCopyMake copies of PDF documents.(package private) classPdfCopyFieldsImpDeprecated.(package private) classPdfCopyFormsImpDeprecated.since 5.5.2classPdfSmartCopyPdfSmartCopy 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) classPdfStamperImpFields in com.itextpdf.text.pdf declared as PdfWriter Modifier and Type Field Description (package private) PdfWriterAcroFields. writerprotected PdfWriterBaseField. writerprivate PdfWriterPdfAcroForm. writerprotected PdfWriterPdfAnnotation. writerprotected PdfWriterPdfContentByte. writerThis is the writer(package private) PdfWriterPdfDocument.PdfCatalog. writerThe writer writing the PDF for which we are creating this catalog object.protected PdfWriterPdfDocument. writerThePdfWriter.protected PdfWriterPdfFileSpecification. writerprotected PdfWriterPdfFunction. writerprotected PdfWriterPdfIndirectObject. writerprotected PdfWriterPdfOutline. writerprivate PdfWriterPdfPages. writer(package private) PdfWriterPdfReaderInstance. writerprotected PdfWriterPdfShading. writerprotected PdfWriterPdfShadingPattern. writerprotected PdfWriterPdfStream. writerprivate PdfWriterPdfStructureTreeRoot. writerHolds value of property writer.protected PdfWriterPdfWriter.PdfBody. writerprotected PdfWriterTtfUnicodeWriter. writerprivate PdfWriterType3Font. writerMethods in com.itextpdf.text.pdf that return PdfWriter Modifier and Type Method Description static PdfWriterPdfWriter. getInstance(Document document, java.io.OutputStream os)Use this method to get an instance of thePdfWriter.static PdfWriterPdfWriter. getInstance(Document document, java.io.OutputStream os, DocListener listener)Use this method to get an instance of thePdfWriter.PdfWriterPdfContentByte. getPdfWriter()Gets thePdfWriterin use by this object.PdfWriterBaseField. getWriter()Getter for property writer.PdfWriterPdfCopyFields. getWriter()Deprecated.Gets the underlying PdfWriter.PdfWriterPdfCopyForms. getWriter()Deprecated.Gets the underlying PdfWriter.(package private) PdfWriterPdfShading. getWriter()PdfWriterPdfStamper. getWriter()Gets the underlying PdfWriter.PdfWriterPdfStructureTreeRoot. getWriter()Gets the writer.Methods in com.itextpdf.text.pdf with parameters of type PdfWriter Modifier and Type Method Description (package private) voidPdfDocument.PdfCatalog. addNames(java.util.TreeMap<java.lang.String,PdfDocument.Destination> localDestinations, java.util.HashMap<java.lang.String,PdfObject> documentLevelJS, java.util.HashMap<java.lang.String,PdfObject> documentFileAttachment, PdfWriter writer)Adds the names of the named destinations to the catalog.voidPdfDocument. addWriter(PdfWriter writer)Adds aPdfWriterto thePdfDocument.static voidPdfWriter. checkPdfIsoConformance(PdfWriter writer, int key, java.lang.Object obj1)PdfAnnotationPdfAnnotation.PdfImportedLink. createAnnotation(PdfWriter writer)static PdfAppearancePdfAppearance. createAppearance(PdfWriter writer, float width, float height)Creates a new appearance to be used with form fields.(package private) static PdfAppearancePdfAppearance. createAppearance(PdfWriter writer, float width, float height, PdfName forcedName)protected static PdfFormFieldPdfFormField. createButton(PdfWriter writer, int flags)static PdfFormFieldPdfFormField. createCheckBox(PdfWriter writer)protected static PdfFormFieldPdfFormField. createChoice(PdfWriter writer, int flags, PdfArray options, int topIndex)static PdfFormFieldPdfFormField. createCombo(PdfWriter writer, boolean edit, java.lang.String[][] options, int topIndex)static PdfFormFieldPdfFormField. createCombo(PdfWriter writer, boolean edit, java.lang.String[] options, int topIndex)(package private) static PdfArraySimpleNamedDestination. createDestinationArray(java.lang.String value, PdfWriter writer)static PdfFormFieldPdfFormField. createEmpty(PdfWriter writer)static PdfAnnotationPdfAnnotation. createFileAttachment(PdfWriter writer, Rectangle rect, java.lang.String contents, byte[] fileStore, java.lang.String file, java.lang.String fileDisplay)Creates a file attachment annotation.static PdfAnnotationPdfAnnotation. createFileAttachment(PdfWriter writer, Rectangle rect, java.lang.String contents, PdfFileSpecification fs)Creates a file attachment annotationstatic PdfAnnotationPdfAnnotation. createFreeText(PdfWriter writer, Rectangle rect, java.lang.String contents, PdfContentByte defaultAppearance)Add some free text to the document.static PdfAnnotationPdfAnnotation. createInk(PdfWriter writer, Rectangle rect, java.lang.String contents, float[][] inkList)static PdfAnnotationPdfAnnotation. createLine(PdfWriter writer, Rectangle rect, java.lang.String contents, float x1, float y1, float x2, float y2)Adds a line to the document.protected static PdfAnnotationPdfAnnotation. createLink(PdfWriter writer, Rectangle rect, PdfName highlight)Creates a link.static PdfAnnotationPdfAnnotation. createLink(PdfWriter writer, Rectangle rect, PdfName highlight, int page, PdfDestination dest)Creates an Annotation with a PdfDestination.static PdfAnnotationPdfAnnotation. createLink(PdfWriter writer, Rectangle rect, PdfName highlight, PdfAction action)Creates an Annotation with an Action.static PdfAnnotationPdfAnnotation. createLink(PdfWriter writer, Rectangle rect, PdfName highlight, java.lang.String namedDestination)Creates an Annotation with an local destination.static PdfFormFieldPdfFormField. createList(PdfWriter writer, java.lang.String[][] options, int topIndex)static PdfFormFieldPdfFormField. createList(PdfWriter writer, java.lang.String[] options, int topIndex)static PdfAnnotationPdfAnnotation. createMarkup(PdfWriter writer, Rectangle rect, java.lang.String contents, int type, float[] quadPoints)(package private) static voidSimpleBookmark. createOutlineAction(PdfDictionary outline, java.util.HashMap<java.lang.String,java.lang.Object> map, PdfWriter writer, boolean namedAsNames)static PdfAnnotationPdfAnnotation. createPolygonPolyline(PdfWriter writer, Rectangle rect, java.lang.String contents, boolean polygon, PdfArray vertices)Creates a polygon or -line annotationstatic PdfAnnotationPdfAnnotation. createPopup(PdfWriter writer, Rectangle rect, java.lang.String contents, boolean open)Adds a popup to your document.static PdfFormFieldPdfFormField. createPushButton(PdfWriter writer)static PdfFormFieldPdfFormField. createRadioButton(PdfWriter writer, boolean noToggleToOff)static PdfAnnotationPdfAnnotation. createScreen(PdfWriter writer, Rectangle rect, java.lang.String clipTitle, PdfFileSpecification fs, java.lang.String mimeType, boolean playOnDisplay)Creates a screen PdfAnnotationstatic PdfFormFieldPdfFormField. createSignature(PdfWriter writer)static PdfAnnotationPdfAnnotation. createSquareCircle(PdfWriter writer, Rectangle rect, java.lang.String contents, boolean square)Adds a circle or a square that shows a tooltip when you pass over it.static PdfAnnotationPdfAnnotation. createStamp(PdfWriter writer, Rectangle rect, java.lang.String contents, java.lang.String name)Adds a Stamp to your document.static PdfTemplatePdfTemplate. createTemplate(PdfWriter writer, float width, float height)Creates a new template.(package private) static PdfTemplatePdfTemplate. createTemplate(PdfWriter writer, float width, float height, PdfName forcedName)static PdfAnnotationPdfAnnotation. createText(PdfWriter writer, Rectangle rect, java.lang.String title, java.lang.String contents, boolean open, java.lang.String icon)static PdfFormFieldPdfFormField. createTextField(PdfWriter writer, boolean multiline, boolean password, int maxLen)static PdfLayerPdfLayer. createTitle(java.lang.String title, PdfWriter writer)Creates a title layer.static PdfFileSpecificationPdfFileSpecification. fileEmbedded(PdfWriter writer, java.lang.String filePath, java.lang.String fileDisplay, byte[] fileStore)Creates a file specification with the file embedded.static PdfFileSpecificationPdfFileSpecification. fileEmbedded(PdfWriter writer, java.lang.String filePath, java.lang.String fileDisplay, byte[] fileStore, boolean compress)Creates a file specification with the file embedded.static PdfFileSpecificationPdfFileSpecification. fileEmbedded(PdfWriter writer, java.lang.String filePath, java.lang.String fileDisplay, byte[] fileStore, boolean compress, java.lang.String mimeType, PdfDictionary fileParameter)Creates a file specification with the file embedded.static PdfFileSpecificationPdfFileSpecification. fileEmbedded(PdfWriter writer, java.lang.String filePath, java.lang.String fileDisplay, byte[] fileStore, int compressionLevel)Creates a file specification with the file embedded.static PdfFileSpecificationPdfFileSpecification. fileEmbedded(PdfWriter writer, java.lang.String filePath, java.lang.String fileDisplay, byte[] fileStore, java.lang.String mimeType, PdfDictionary fileParameter, int compressionLevel)Creates a file specification with the file embedded.static PdfFileSpecificationPdfFileSpecification. fileExtern(PdfWriter writer, java.lang.String filePath)Creates a file specification for an external file.ColorDetails[]IPdfSpecialColorSpace. getColorantDetails(PdfWriter writer)ColorDetails[]PdfDeviceNColor. getColorantDetails(PdfWriter writer)ColorDetails[]PdfSpotColor. getColorantDetails(PdfWriter writer)PdfDictionaryPdfPageLabels. getDictionary(PdfWriter writer)Gets the page label dictionary to insert into the document.PdfObjectColorDetails. getPdfObject(PdfWriter writer)Gets theSpotColorobject.PdfObjectICachedColorSpace. getPdfObject(PdfWriter writer)PdfObjectPdfDeviceNColor. getPdfObject(PdfWriter writer)PdfObjectPdfLabColor. getPdfObject(PdfWriter writer)PdfObjectPdfSpotColor. getPdfObject(PdfWriter writer)protected PdfReaderInstancePdfReader. getPdfReaderInstance(PdfWriter writer)protected PdfObjectPdfSpotColor. getSpotObject(PdfWriter writer)Deprecated.static PdfActionPdfAction. gotoLocalPage(int page, PdfDestination dest, PdfWriter writer)Creates a GoTo action to an internal page.private static booleanPdfDocument. isTagged(PdfWriter writer)static java.lang.Object[]SimpleBookmark. iterateOutlines(PdfWriter writer, PdfIndirectReference parent, java.util.List<java.util.HashMap<java.lang.String,java.lang.Object>> kids, boolean namedAsNames)static PdfActionPdfAction. javaScript(java.lang.String code, PdfWriter writer)Creates a JavaScript action.static PdfActionPdfAction. javaScript(java.lang.String code, PdfWriter writer, boolean unicode)Creates a JavaScript action.voidPdfPageEvent. onChapter(PdfWriter writer, Document document, float paragraphPosition, Paragraph title)Called when a Chapter is written.voidPdfPageEventHelper. onChapter(PdfWriter writer, Document document, float paragraphPosition, Paragraph title)Called when a Chapter is written.voidPdfPageEvent. onChapterEnd(PdfWriter writer, Document document, float paragraphPosition)Called when the end of a Chapter is reached.voidPdfPageEventHelper. onChapterEnd(PdfWriter writer, Document document, float position)Called when the end of a Chapter is reached.voidPdfPageEvent. onCloseDocument(PdfWriter writer, Document document)Called when the document is closed.voidPdfPageEventHelper. onCloseDocument(PdfWriter writer, Document document)Called when the document is closed.voidPdfPageEvent. onEndPage(PdfWriter writer, Document document)Called when a page is finished, just before being written to the document.voidPdfPageEventHelper. onEndPage(PdfWriter writer, Document document)Called when a page is finished, just before being written to the document.voidPdfPageEvent. onGenericTag(PdfWriter writer, Document document, Rectangle rect, java.lang.String text)Called when aChunkwith a generic tag is written.voidPdfPageEventHelper. onGenericTag(PdfWriter writer, Document document, Rectangle rect, java.lang.String text)Called when aChunkwith a generic tag is written.voidPdfPageEvent. onOpenDocument(PdfWriter writer, Document document)Called when the document is opened.voidPdfPageEventHelper. onOpenDocument(PdfWriter writer, Document document)Called when the document is opened.voidPdfPageEvent. onParagraph(PdfWriter writer, Document document, float paragraphPosition)Called when a Paragraph is written.voidPdfPageEventHelper. onParagraph(PdfWriter writer, Document document, float paragraphPosition)Called when a Paragraph is written.voidPdfPageEvent. onParagraphEnd(PdfWriter writer, Document document, float paragraphPosition)Called when a Paragraph is written.voidPdfPageEventHelper. onParagraphEnd(PdfWriter writer, Document document, float paragraphPosition)Called when a Paragraph is written.voidPdfPageEvent. onSection(PdfWriter writer, Document document, float paragraphPosition, int depth, Paragraph title)Called when a Section is written.voidPdfPageEventHelper. onSection(PdfWriter writer, Document document, float paragraphPosition, int depth, Paragraph title)Called when a Section is written.voidPdfPageEvent. onSectionEnd(PdfWriter writer, Document document, float paragraphPosition)Called when the end of a Section is reached.voidPdfPageEventHelper. onSectionEnd(PdfWriter writer, Document document, float position)Called when the end of a Section is reached.voidPdfPageEvent. onStartPage(PdfWriter writer, Document document)Called when a page is initialized.voidPdfPageEventHelper. onStartPage(PdfWriter writer, Document document)Called when a page is initialized.static PdfDictionarySimpleNamedDestination. outputNamedDestinationAsNames(java.util.HashMap<java.lang.String,java.lang.String> names, PdfWriter writer)static PdfDictionarySimpleNamedDestination. outputNamedDestinationAsStrings(java.util.HashMap<java.lang.String,java.lang.String> names, PdfWriter writer)static voidPdfAWriter. setPdfVersion(PdfWriter writer, PdfAConformanceLevel conformanceLevel)Sets the Confomance level.voidBaseField. setWriter(PdfWriter writer)Setter for property writer.voidXfaForm. setXfa(PdfWriter writer)Sets the XFA key from the instance data.static voidXfaForm. setXfa(XfaForm form, PdfReader reader, PdfWriter writer)Sets the XFA key from a byte array.static PdfShadingPdfShading. simpleAxial(PdfWriter writer, float x0, float y0, float x1, float y1, BaseColor startColor, BaseColor endColor)static PdfShadingPdfShading. simpleAxial(PdfWriter writer, float x0, float y0, float x1, float y1, BaseColor startColor, BaseColor endColor, boolean extendStart, boolean extendEnd)static PdfShadingPdfShading. simpleRadial(PdfWriter writer, float x0, float y0, float r0, float x1, float y1, float r1, BaseColor startColor, BaseColor endColor)static PdfShadingPdfShading. simpleRadial(PdfWriter writer, float x0, float y0, float r0, float x1, float y1, float r1, BaseColor startColor, BaseColor endColor, boolean extendStart, boolean extendEnd)protected voidPdfStream. superToPdf(PdfWriter writer, java.io.OutputStream os)voidPdfAcroForm. toPdf(PdfWriter writer, java.io.OutputStream os)voidPdfAction. toPdf(PdfWriter writer, java.io.OutputStream os)voidPdfAnnotation. toPdf(PdfWriter writer, java.io.OutputStream os)voidPdfArray. toPdf(PdfWriter writer, java.io.OutputStream os)Writes the PDF representation of thisPdfArrayas an array ofbyteto the specifiedOutputStream.byte[]PdfContentByte. toPdf(PdfWriter writer)Returns the PDF representation of thisPdfContentByte-object.voidPdfDashPattern. toPdf(PdfWriter writer, java.io.OutputStream os)Returns the PDF representation of thisPdfArray.voidPdfDictionary. toPdf(PdfWriter writer, java.io.OutputStream os)Writes the PDF representation of thisPdfDictionaryas an array ofbyteto the givenOutputStream.voidPdfEFStream. toPdf(PdfWriter writer, java.io.OutputStream os)voidPdfFileSpecification. toPdf(PdfWriter writer, java.io.OutputStream os)voidPdfGState. toPdf(PdfWriter writer, java.io.OutputStream os)voidPdfIndirectReference. toPdf(PdfWriter writer, java.io.OutputStream os)voidPdfLiteral. toPdf(PdfWriter writer, java.io.OutputStream os)voidPdfObject. toPdf(PdfWriter writer, java.io.OutputStream os)Writes the PDF representation of thisPdfObjectas an array ofbytes to the writer.voidPdfOutline. toPdf(PdfWriter writer, java.io.OutputStream os)Returns the PDF representation of thisPdfOutline.voidPdfStream. toPdf(PdfWriter writer, java.io.OutputStream os)voidPdfString. toPdf(PdfWriter writer, java.io.OutputStream os)Writes the PDF representation of thisPdfStringas an array ofbyteto the specifiedOutputStream.voidPdfStructureElement. toPdf(PdfWriter writer, java.io.OutputStream os)voidPdfWriter.PdfTrailer. toPdf(PdfWriter writer, java.io.OutputStream os)Returns the PDF representation of thisPdfObject.voidPRIndirectReference. toPdf(PdfWriter writer, java.io.OutputStream os)voidPRStream. toPdf(PdfWriter writer, java.io.OutputStream os)static PdfFunctionPdfFunction. type0(PdfWriter writer, float[] domain, float[] range, int[] size, int bitsPerSample, int order, float[] encode, float[] decode, byte[] stream)static PdfShadingPdfShading. type1(PdfWriter writer, BaseColor colorSpace, float[] domain, float[] tMatrix, PdfFunction function)static PdfFunctionPdfFunction. type2(PdfWriter writer, float[] domain, float[] range, float[] c0, float[] c1, float n)static PdfShadingPdfShading. type2(PdfWriter writer, BaseColor colorSpace, float[] coords, float[] domain, PdfFunction function, boolean[] extend)static PdfFunctionPdfFunction. type3(PdfWriter writer, float[] domain, float[] range, PdfFunction[] functions, float[] bounds, float[] encode)static PdfShadingPdfShading. type3(PdfWriter writer, BaseColor colorSpace, float[] coords, float[] domain, PdfFunction function, boolean[] extend)static PdfFunctionPdfFunction. type4(PdfWriter writer, float[] domain, float[] range, java.lang.String postscript)static PdfFileSpecificationPdfFileSpecification. url(PdfWriter writer, java.lang.String url)Creates a file specification of type URL.(package private) abstract voidBaseFont. writeFont(PdfWriter writer, PdfIndirectReference ref, java.lang.Object[] params)Outputs to the writer the font dictionaries and streams.(package private) voidCJKFont. writeFont(PdfWriter writer, PdfIndirectReference ref, java.lang.Object[] params)(package private) voidDocumentFont. writeFont(PdfWriter writer, PdfIndirectReference ref, java.lang.Object[] params)Outputs to the writer the font dictionaries and streams.voidFontDetails. writeFont(PdfWriter writer)Writes the font definition to the document.(package private) voidTrueTypeFont. writeFont(PdfWriter writer, PdfIndirectReference ref, java.lang.Object[] params)Outputs to the writer the font dictionaries and streams.(package private) voidTrueTypeFontUnicode. writeFont(PdfWriter writer, PdfIndirectReference ref, java.lang.Object[] params)Outputs to the writer the font dictionaries and streams.(package private) voidType1Font. writeFont(PdfWriter writer, PdfIndirectReference ref, java.lang.Object[] params)Outputs to the writer the font dictionaries and streams.(package private) voidType3Font. writeFont(PdfWriter writer, PdfIndirectReference ref, java.lang.Object[] params)static PdfDictionaryPdfNameTree. writeTree(java.util.HashMap<java.lang.String,? extends PdfObject> items, PdfWriter writer)Writes a name tree to a PdfWriter.static <O extends PdfObject>
PdfDictionaryPdfNumberTree. writeTree(java.util.HashMap<java.lang.Integer,O> items, PdfWriter writer)Creates a number tree.Constructors in com.itextpdf.text.pdf with parameters of type PdfWriter Constructor Description AcroFields(PdfReader reader, PdfWriter writer)BaseField(PdfWriter writer, Rectangle box, java.lang.String fieldName)Creates a newTextField.PdfAcroForm(PdfWriter writer)Creates new PdfAcroFormPdfAnnotation(PdfWriter writer, float llx, float lly, float urx, float ury, PdfAction action)Constructs a newPdfAnnotationof subtype link (Action).PdfAnnotation(PdfWriter writer, float llx, float lly, float urx, float ury, PdfString title, PdfString content)Constructs a newPdfAnnotationof subtype text.PdfAnnotation(PdfWriter writer, Rectangle rect)PdfAppearance(PdfWriter wr)Creates new PdfTemplatePdfARadioCheckField(PdfWriter writer, Rectangle box, java.lang.String fieldName, java.lang.String onValue)PdfATtfUnicodeWriter(PdfWriter writer, PdfAConformanceLevel pdfAConformanceLevel)PdfBody(PdfWriter writer)Constructs a newPdfBody.PdfCatalog(PdfIndirectReference pages, PdfWriter writer)Constructs aPdfCatalog.PdfContentByte(PdfWriter wr)Constructs a newPdfContentByte-object.PdfEFStream(java.io.InputStream in, PdfWriter writer)Creates a Stream object using an InputStream and a PdfWriter objectPdfFormField(PdfWriter writer)Creates new PdfFormFieldPdfFormField(PdfWriter writer, float llx, float lly, float urx, float ury, PdfAction action)Constructs a newPdfAnnotationof subtype link (Action).PdfFunction(PdfWriter writer)Creates new PdfFunctionPdfImportedPage(PdfReaderInstance readerInstance, PdfWriter writer, int pageNumber)PdfIndirectObject(int number, int generation, PdfObject object, PdfWriter writer)Constructs aPdfIndirectObject.PdfIndirectObject(int number, PdfObject object, PdfWriter writer)Constructs aPdfIndirectObject.PdfIndirectObject(PdfIndirectReference ref, PdfObject object, PdfWriter writer)PdfLayer(java.lang.String name, PdfWriter writer)Creates a new layer.PdfLayerMembership(PdfWriter writer)Creates a new, empty, membership layer.PdfOutline(PdfWriter writer)Constructs aPdfOutline.PdfPages(PdfWriter writer)Constructs aPdfPages-object.PdfPatternPainter(PdfWriter wr)Creates new PdfPatternPdfPatternPainter(PdfWriter wr, BaseColor defaultColor)PdfPSXObject(PdfWriter wr)Constructs a PSXObjectPdfReaderInstance(PdfReader reader, PdfWriter writer)PdfShading(PdfWriter writer)Creates new PdfShadingPdfStream(java.io.InputStream inputStream, PdfWriter writer)Creates an efficient stream.PdfStructureTreeRoot(PdfWriter writer)Creates a new instance of PdfStructureTreeRootPdfTemplate(PdfWriter wr)Creates new PdfTemplatePushbuttonField(PdfWriter writer, Rectangle box, java.lang.String fieldName)Creates a new instance of PushbuttonFieldRadioCheckField(PdfWriter writer, Rectangle box, java.lang.String fieldName, java.lang.String onValue)Creates a new instance of RadioCheckFieldStampContent(PdfWriter writer, PageResources pageResources)Creates a new instance of StampContentTextField(PdfWriter writer, Rectangle box, java.lang.String fieldName)Creates a newTextField.TtfUnicodeWriter(PdfWriter writer)Type3Font(PdfWriter writer, boolean colorized)Creates a Type3 font.Type3Font(PdfWriter writer, char[] chars, boolean colorized)Creates a Type3 font.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 PdfWriter Modifier and Type Field Description protected PdfWriterFieldPositioningEvents. fieldWriterThe PdfWriter to use when a field has to added in a cell event.Methods in com.itextpdf.text.pdf.events with parameters of type PdfWriter Modifier and Type Method Description voidPdfPageEventForwarder. onChapter(PdfWriter writer, Document document, float paragraphPosition, Paragraph title)Called when a Chapter is written.voidPdfPageEventForwarder. onChapterEnd(PdfWriter writer, Document document, float position)Called when the end of a Chapter is reached.voidPdfPageEventForwarder. onCloseDocument(PdfWriter writer, Document document)Called when the document is closed.voidPdfPageEventForwarder. onEndPage(PdfWriter writer, Document document)Called when a page is finished, just before being written to the document.voidFieldPositioningEvents. onGenericTag(PdfWriter writer, Document document, Rectangle rect, java.lang.String text)voidIndexEvents. onGenericTag(PdfWriter writer, Document document, Rectangle rect, java.lang.String text)All the text that is passed to this event, gets registered in the indexentry.voidPdfPageEventForwarder. onGenericTag(PdfWriter writer, Document document, Rectangle rect, java.lang.String text)Called when aChunkwith a generic tag is written.voidPdfPageEventForwarder. onOpenDocument(PdfWriter writer, Document document)Called when the document is opened.voidPdfPageEventForwarder. onParagraph(PdfWriter writer, Document document, float paragraphPosition)Called when a Paragraph is written.voidPdfPageEventForwarder. onParagraphEnd(PdfWriter writer, Document document, float paragraphPosition)Called when a Paragraph is written.voidPdfPageEventForwarder. onSection(PdfWriter writer, Document document, float paragraphPosition, int depth, Paragraph title)Called when a Section is written.voidPdfPageEventForwarder. onSectionEnd(PdfWriter writer, Document document, float position)Called when the end of a Section is reached.voidPdfPageEventForwarder. onStartPage(PdfWriter writer, Document document)Called when a page is initialized.Constructors in com.itextpdf.text.pdf.events with parameters of type PdfWriter Constructor Description FieldPositioningEvents(PdfWriter writer, PdfFormField field)Creates a new event.FieldPositioningEvents(PdfWriter writer, PdfFormField parent, java.lang.String text)Creates a new event.FieldPositioningEvents(PdfWriter writer, java.lang.String text)Creates a new event. -
Uses of PdfWriter in com.itextpdf.text.pdf.internal
Fields in com.itextpdf.text.pdf.internal declared as PdfWriter Modifier and Type Field Description protected PdfWriterPdfAConformanceImp. writerprotected PdfWriterPdfXConformanceImp. writerMethods in com.itextpdf.text.pdf.internal with parameters of type PdfWriter Modifier and Type Method Description protected voidPdfA1Checker. checkAction(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA2Checker. checkAction(PdfWriter writer, int key, java.lang.Object obj1)protected abstract voidPdfAChecker. checkAction(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA1Checker. checkAnnotation(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA2Checker. checkAnnotation(PdfWriter writer, int key, java.lang.Object obj1)protected abstract voidPdfAChecker. checkAnnotation(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA1Checker. checkCanvas(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA2Checker. checkCanvas(PdfWriter writer, int key, java.lang.Object obj1)protected abstract voidPdfAChecker. checkCanvas(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA1Checker. checkColor(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA2Checker. checkColor(PdfWriter writer, int key, java.lang.Object obj1)protected abstract voidPdfAChecker. checkColor(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA1Checker. checkFileSpec(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA2Checker. checkFileSpec(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA3Checker. checkFileSpec(PdfWriter writer, int key, java.lang.Object obj1)protected abstract voidPdfAChecker. checkFileSpec(PdfWriter writer, int key, java.lang.Object obj1)protected voidZugferdChecker. checkFileSpec(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA1Checker. checkFont(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA2Checker. checkFont(PdfWriter writer, int key, java.lang.Object obj1)protected abstract voidPdfAChecker. checkFont(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA1Checker. checkForm(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA2Checker. checkForm(PdfWriter writer, int key, java.lang.Object obj1)protected abstract voidPdfAChecker. checkForm(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA1Checker. checkFormXObj(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA2Checker. checkFormXObj(PdfWriter writer, int key, java.lang.Object obj1)protected abstract voidPdfAChecker. checkFormXObj(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA1Checker. checkGState(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA2Checker. checkGState(PdfWriter writer, int key, java.lang.Object obj1)protected abstract voidPdfAChecker. checkGState(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA1Checker. checkImage(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA2Checker. checkImage(PdfWriter writer, int key, java.lang.Object obj1)protected abstract voidPdfAChecker. checkImage(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA1Checker. checkInlineImage(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA2Checker. checkInlineImage(PdfWriter writer, int key, java.lang.Object obj1)protected abstract voidPdfAChecker. checkInlineImage(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA1Checker. checkLayer(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA2Checker. checkLayer(PdfWriter writer, int key, java.lang.Object obj1)protected abstract voidPdfAChecker. checkLayer(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA1Checker. checkOutputIntent(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA2Checker. checkOutputIntent(PdfWriter writer, int key, java.lang.Object obj1)protected abstract voidPdfAChecker. checkOutputIntent(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfAChecker. checkOutputIntentsInStamperMode(PdfWriter writer)(package private) voidPdfAChecker. checkPdfAConformance(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA1Checker. checkPdfObject(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA2Checker. checkPdfObject(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA3Checker. checkPdfObject(PdfWriter writer, int key, java.lang.Object obj1)protected abstract voidPdfAChecker. checkPdfObject(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA1Checker. checkStream(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA2Checker. checkStream(PdfWriter writer, int key, java.lang.Object obj1)protected abstract voidPdfAChecker. checkStream(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA1Checker. checkStructElem(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA2Checker. checkStructElem(PdfWriter writer, int key, java.lang.Object obj1)protected abstract voidPdfAChecker. checkStructElem(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA1Checker. checkTrailer(PdfWriter writer, int key, java.lang.Object obj1)protected voidPdfA2Checker. checkTrailer(PdfWriter writer, int key, java.lang.Object obj1)protected abstract voidPdfAChecker. checkTrailer(PdfWriter writer, int key, java.lang.Object obj1)voidPdfA1Checker. close(PdfWriter writer)voidPdfA2Checker. close(PdfWriter writer)abstract voidPdfAChecker. close(PdfWriter writer)voidZugferdChecker. close(PdfWriter writer)static PdfAnnotationPdfAnnotationsImp. convertAnnotation(PdfWriter writer, Annotation annot, Rectangle defaultRect)PdfArrayPdfAnnotationsImp. rotateAnnotations(PdfWriter writer, Rectangle pageSize)Constructors in com.itextpdf.text.pdf.internal with parameters of type PdfWriter Constructor Description PdfAConformanceImp(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 PdfWriter Modifier and Type Method Description voidStructureItems. 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 PdfWriter Modifier and Type Method Description private static voidPdfCleanUpContentOperator. toPdf(PdfObject object, PdfWriter writer, java.io.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 PdfWriter Modifier and Type Field Description protected PdfWriterRichMediaAnnotation. writerThe PdfWriter to which the annotation will be added.Constructors in com.itextpdf.text.pdf.richmedia with parameters of type PdfWriter Constructor Description RichMediaAnnotation(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 Modifier and Type Field Description private PdfWriterLtvVerification. writer -
Uses of PdfWriter in com.itextpdf.text.xml.xmp
Fields in com.itextpdf.text.xml.xmp declared as PdfWriter Modifier and Type Field Description private PdfWriterPdfAXmpWriter. writerConstructors in com.itextpdf.text.xml.xmp with parameters of type PdfWriter Constructor Description PdfAXmpWriter(java.io.OutputStream os, PdfAConformanceLevel conformanceLevel, PdfWriter writer)Creates and XMP writer that adds info about the PDF/A conformance level.PdfAXmpWriter(java.io.OutputStream os, PdfDictionary info, PdfAConformanceLevel conformanceLevel, PdfWriter writer)Creates and XMP writer that adds info about the PDF/A conformance level.PdfAXmpWriter(java.io.OutputStream os, java.util.Map<java.lang.String,java.lang.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 PdfWriter Modifier and Type Method Description voidXMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in)voidXMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in, java.io.InputStream inCssFile)voidXMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in, java.io.InputStream inCssFile, FontProvider fontProvider)voidXMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in, java.io.InputStream inCssFile, java.nio.charset.Charset charset)voidXMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in, java.io.InputStream inCssFile, java.nio.charset.Charset charset, FontProvider fontProvider)voidXMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in, java.io.InputStream inCssFile, java.nio.charset.Charset charset, FontProvider fontProvider, java.lang.String resourcesRootPath)voidXMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in, java.nio.charset.Charset charset)voidXMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in, java.nio.charset.Charset charset, FontProvider fontProvider)voidXMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.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 PdfWriter Modifier and Type Field Description private PdfWriterPdfWriterPipeline. writerMethods in com.itextpdf.tool.xml.pipeline.end with parameters of type PdfWriter Modifier and Type Method Description voidPdfWriterPipeline. setWriter(PdfWriter writer)The writer used to write to the document.Constructors in com.itextpdf.tool.xml.pipeline.end with parameters of type PdfWriter Constructor Description PdfWriterPipeline(Document doc, PdfWriter writer)
-