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 Image
Image. 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 void
WriterOperation. 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 class
FdfWriter.Wrt
class
PdfACopy
Extension of PdfCopy that will attempt to keep a file in conformance with the PDF/A standard.class
PdfASmartCopy
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
PdfAStamperImp
Extension to PdfStamperImp that will attempt to keep a file in conformance with the PDF/A standard.class
PdfAWriter
Extension of PdfWriter that will attempt to create a PDF/A file instead of an ordinary PDF file.class
PdfCopy
Make copies of PDF documents.(package private) class
PdfCopyFieldsImp
Deprecated.(package private) class
PdfCopyFormsImp
Deprecated.since 5.5.2class
PdfSmartCopy
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
PdfStamperImp
Fields in com.itextpdf.text.pdf declared as PdfWriter Modifier and Type Field Description (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 PdfWriter
PdfWriter.PdfBody. writer
protected PdfWriter
TtfUnicodeWriter. writer
private PdfWriter
Type3Font. writer
Methods in com.itextpdf.text.pdf that return PdfWriter Modifier and Type Method Description static PdfWriter
PdfWriter. getInstance(Document document, java.io.OutputStream os)
Use this method to get an instance of thePdfWriter
.static PdfWriter
PdfWriter. getInstance(Document document, java.io.OutputStream os, DocListener listener)
Use this method to get an instance of thePdfWriter
.PdfWriter
PdfContentByte. getPdfWriter()
Gets thePdfWriter
in use by this object.PdfWriter
BaseField. getWriter()
Getter for property writer.PdfWriter
PdfCopyFields. getWriter()
Deprecated.Gets the underlying PdfWriter.PdfWriter
PdfCopyForms. getWriter()
Deprecated.Gets the underlying PdfWriter.(package private) PdfWriter
PdfShading. getWriter()
PdfWriter
PdfStamper. getWriter()
Gets the underlying PdfWriter.PdfWriter
PdfStructureTreeRoot. getWriter()
Gets the writer.Methods in com.itextpdf.text.pdf with parameters of type PdfWriter Modifier and Type Method Description (package private) void
PdfDocument.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.void
PdfDocument. addWriter(PdfWriter writer)
Adds aPdfWriter
to thePdfDocument
.static void
PdfWriter. checkPdfIsoConformance(PdfWriter writer, int key, java.lang.Object obj1)
PdfAnnotation
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, java.lang.String[][] options, int topIndex)
static PdfFormField
PdfFormField. createCombo(PdfWriter writer, boolean edit, java.lang.String[] options, int topIndex)
(package private) static PdfArray
SimpleNamedDestination. createDestinationArray(java.lang.String value, PdfWriter writer)
static PdfFormField
PdfFormField. createEmpty(PdfWriter writer)
static PdfAnnotation
PdfAnnotation. 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 PdfAnnotation
PdfAnnotation. createFileAttachment(PdfWriter writer, Rectangle rect, java.lang.String contents, PdfFileSpecification fs)
Creates a file attachment annotationstatic PdfAnnotation
PdfAnnotation. createFreeText(PdfWriter writer, Rectangle rect, java.lang.String contents, PdfContentByte defaultAppearance)
Add some free text to the document.static PdfAnnotation
PdfAnnotation. createInk(PdfWriter writer, Rectangle rect, java.lang.String contents, float[][] inkList)
static PdfAnnotation
PdfAnnotation. 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 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, java.lang.String namedDestination)
Creates an Annotation with an local destination.static PdfFormField
PdfFormField. createList(PdfWriter writer, java.lang.String[][] options, int topIndex)
static PdfFormField
PdfFormField. createList(PdfWriter writer, java.lang.String[] options, int topIndex)
static PdfAnnotation
PdfAnnotation. createMarkup(PdfWriter writer, Rectangle rect, java.lang.String contents, int type, float[] quadPoints)
(package private) static void
SimpleBookmark. createOutlineAction(PdfDictionary outline, java.util.HashMap<java.lang.String,java.lang.Object> map, PdfWriter writer, boolean namedAsNames)
static PdfAnnotation
PdfAnnotation. createPolygonPolyline(PdfWriter writer, Rectangle rect, java.lang.String contents, boolean polygon, PdfArray vertices)
Creates a polygon or -line annotationstatic PdfAnnotation
PdfAnnotation. createPopup(PdfWriter writer, Rectangle rect, java.lang.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, java.lang.String clipTitle, PdfFileSpecification fs, java.lang.String mimeType, boolean playOnDisplay)
Creates a screen PdfAnnotationstatic PdfFormField
PdfFormField. createSignature(PdfWriter writer)
static PdfAnnotation
PdfAnnotation. 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 PdfAnnotation
PdfAnnotation. createStamp(PdfWriter writer, Rectangle rect, java.lang.String contents, java.lang.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, java.lang.String title, java.lang.String contents, boolean open, java.lang.String icon)
static PdfFormField
PdfFormField. createTextField(PdfWriter writer, boolean multiline, boolean password, int maxLen)
static PdfLayer
PdfLayer. createTitle(java.lang.String title, PdfWriter writer)
Creates a title layer.static PdfFileSpecification
PdfFileSpecification. fileEmbedded(PdfWriter writer, java.lang.String filePath, java.lang.String fileDisplay, byte[] fileStore)
Creates a file specification with the file embedded.static PdfFileSpecification
PdfFileSpecification. fileEmbedded(PdfWriter writer, java.lang.String filePath, java.lang.String fileDisplay, byte[] fileStore, boolean compress)
Creates a file specification with the file embedded.static PdfFileSpecification
PdfFileSpecification. 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 PdfFileSpecification
PdfFileSpecification. fileEmbedded(PdfWriter writer, java.lang.String filePath, java.lang.String fileDisplay, byte[] fileStore, int compressionLevel)
Creates a file specification with the file embedded.static PdfFileSpecification
PdfFileSpecification. 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 PdfFileSpecification
PdfFileSpecification. 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)
PdfDictionary
PdfPageLabels. getDictionary(PdfWriter writer)
Gets the page label dictionary to insert into the document.PdfObject
ColorDetails. getPdfObject(PdfWriter writer)
Gets theSpotColor
object.PdfObject
ICachedColorSpace. getPdfObject(PdfWriter writer)
PdfObject
PdfDeviceNColor. getPdfObject(PdfWriter writer)
PdfObject
PdfLabColor. getPdfObject(PdfWriter writer)
PdfObject
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
PdfDocument. 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 PdfAction
PdfAction. javaScript(java.lang.String code, PdfWriter writer)
Creates a JavaScript action.static PdfAction
PdfAction. javaScript(java.lang.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
PdfPageEvent. onEndPage(PdfWriter writer, Document document)
Called when a page is finished, just before being written to the document.void
PdfPageEventHelper. onEndPage(PdfWriter writer, Document document)
Called when a page is finished, just before being written to the document.void
PdfPageEvent. onGenericTag(PdfWriter writer, Document document, Rectangle rect, java.lang.String text)
Called when aChunk
with a generic tag is written.void
PdfPageEventHelper. onGenericTag(PdfWriter writer, Document document, Rectangle rect, java.lang.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(java.util.HashMap<java.lang.String,java.lang.String> names, PdfWriter writer)
static PdfDictionary
SimpleNamedDestination. outputNamedDestinationAsStrings(java.util.HashMap<java.lang.String,java.lang.String> names, PdfWriter writer)
static void
PdfAWriter. setPdfVersion(PdfWriter writer, PdfAConformanceLevel conformanceLevel)
Sets the Confomance level.void
BaseField. setWriter(PdfWriter writer)
Setter for property writer.void
XfaForm. setXfa(PdfWriter writer)
Sets the XFA key from the instance data.static void
XfaForm. setXfa(XfaForm form, PdfReader reader, PdfWriter writer)
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, java.io.OutputStream os)
void
PdfAcroForm. toPdf(PdfWriter writer, java.io.OutputStream os)
void
PdfAction. toPdf(PdfWriter writer, java.io.OutputStream os)
void
PdfAnnotation. toPdf(PdfWriter writer, java.io.OutputStream os)
void
PdfArray. toPdf(PdfWriter writer, java.io.OutputStream os)
Writes the PDF representation of thisPdfArray
as an array ofbyte
to the specifiedOutputStream
.byte[]
PdfContentByte. toPdf(PdfWriter writer)
Returns the PDF representation of thisPdfContentByte
-object.void
PdfDashPattern. toPdf(PdfWriter writer, java.io.OutputStream os)
Returns the PDF representation of thisPdfArray
.void
PdfDictionary. toPdf(PdfWriter writer, java.io.OutputStream os)
Writes the PDF representation of thisPdfDictionary
as an array ofbyte
to the givenOutputStream
.void
PdfEFStream. toPdf(PdfWriter writer, java.io.OutputStream os)
void
PdfFileSpecification. toPdf(PdfWriter writer, java.io.OutputStream os)
void
PdfGState. toPdf(PdfWriter writer, java.io.OutputStream os)
void
PdfIndirectReference. toPdf(PdfWriter writer, java.io.OutputStream os)
void
PdfLiteral. toPdf(PdfWriter writer, java.io.OutputStream os)
void
PdfObject. toPdf(PdfWriter writer, java.io.OutputStream os)
Writes the PDF representation of thisPdfObject
as an array ofbyte
s to the writer.void
PdfOutline. toPdf(PdfWriter writer, java.io.OutputStream os)
Returns the PDF representation of thisPdfOutline
.void
PdfStream. toPdf(PdfWriter writer, java.io.OutputStream os)
void
PdfString. toPdf(PdfWriter writer, java.io.OutputStream os)
Writes the PDF representation of thisPdfString
as an array ofbyte
to the specifiedOutputStream
.void
PdfStructureElement. toPdf(PdfWriter writer, java.io.OutputStream os)
void
PdfWriter.PdfTrailer. toPdf(PdfWriter writer, java.io.OutputStream os)
Returns the PDF representation of thisPdfObject
.void
PRIndirectReference. toPdf(PdfWriter writer, java.io.OutputStream os)
void
PRStream. toPdf(PdfWriter writer, java.io.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
PdfFunction. type2(PdfWriter writer, float[] domain, float[] range, float[] c0, float[] c1, float n)
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
PdfFunction. type4(PdfWriter writer, float[] domain, float[] range, java.lang.String postscript)
static PdfFileSpecification
PdfFileSpecification. url(PdfWriter writer, java.lang.String url)
Creates a file specification of type URL.(package private) abstract void
BaseFont. writeFont(PdfWriter writer, PdfIndirectReference ref, java.lang.Object[] params)
Outputs to the writer the font dictionaries and streams.(package private) void
CJKFont. writeFont(PdfWriter writer, PdfIndirectReference ref, java.lang.Object[] params)
(package private) void
DocumentFont. writeFont(PdfWriter writer, PdfIndirectReference ref, java.lang.Object[] params)
Outputs to the writer the font dictionaries and streams.void
FontDetails. writeFont(PdfWriter writer)
Writes the font definition to the document.(package private) void
TrueTypeFont. writeFont(PdfWriter writer, PdfIndirectReference ref, java.lang.Object[] params)
Outputs to the writer the font dictionaries and streams.(package private) void
TrueTypeFontUnicode. writeFont(PdfWriter writer, PdfIndirectReference ref, java.lang.Object[] params)
Outputs to the writer the font dictionaries and streams.(package private) void
Type1Font. writeFont(PdfWriter writer, PdfIndirectReference ref, java.lang.Object[] params)
Outputs to the writer the font dictionaries and streams.(package private) void
Type3Font. writeFont(PdfWriter writer, PdfIndirectReference ref, java.lang.Object[] params)
static PdfDictionary
PdfNameTree. 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 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)
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 newPdfAnnotation
of 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 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 PdfWriter Modifier and Type Method Description void
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
PdfPageEventForwarder. onEndPage(PdfWriter writer, Document document)
Called when a page is finished, just before being written to the document.void
FieldPositioningEvents. onGenericTag(PdfWriter writer, Document document, Rectangle rect, java.lang.String text)
void
IndexEvents. 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.void
PdfPageEventForwarder. onGenericTag(PdfWriter writer, Document document, Rectangle rect, java.lang.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 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 PdfWriter
PdfAConformanceImp. writer
protected PdfWriter
PdfXConformanceImp. writer
Methods in com.itextpdf.text.pdf.internal with parameters of type PdfWriter Modifier and Type Method Description protected void
PdfA1Checker. checkAction(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA2Checker. checkAction(PdfWriter writer, int key, java.lang.Object obj1)
protected abstract void
PdfAChecker. checkAction(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA1Checker. checkAnnotation(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA2Checker. checkAnnotation(PdfWriter writer, int key, java.lang.Object obj1)
protected abstract void
PdfAChecker. checkAnnotation(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA1Checker. checkCanvas(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA2Checker. checkCanvas(PdfWriter writer, int key, java.lang.Object obj1)
protected abstract void
PdfAChecker. checkCanvas(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA1Checker. checkColor(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA2Checker. checkColor(PdfWriter writer, int key, java.lang.Object obj1)
protected abstract void
PdfAChecker. checkColor(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA1Checker. checkFileSpec(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA2Checker. checkFileSpec(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA3Checker. checkFileSpec(PdfWriter writer, int key, java.lang.Object obj1)
protected abstract void
PdfAChecker. checkFileSpec(PdfWriter writer, int key, java.lang.Object obj1)
protected void
ZugferdChecker. checkFileSpec(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA1Checker. checkFont(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA2Checker. checkFont(PdfWriter writer, int key, java.lang.Object obj1)
protected abstract void
PdfAChecker. checkFont(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA1Checker. checkForm(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA2Checker. checkForm(PdfWriter writer, int key, java.lang.Object obj1)
protected abstract void
PdfAChecker. checkForm(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA1Checker. checkFormXObj(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA2Checker. checkFormXObj(PdfWriter writer, int key, java.lang.Object obj1)
protected abstract void
PdfAChecker. checkFormXObj(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA1Checker. checkGState(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA2Checker. checkGState(PdfWriter writer, int key, java.lang.Object obj1)
protected abstract void
PdfAChecker. checkGState(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA1Checker. checkImage(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA2Checker. checkImage(PdfWriter writer, int key, java.lang.Object obj1)
protected abstract void
PdfAChecker. checkImage(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA1Checker. checkInlineImage(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA2Checker. checkInlineImage(PdfWriter writer, int key, java.lang.Object obj1)
protected abstract void
PdfAChecker. checkInlineImage(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA1Checker. checkLayer(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA2Checker. checkLayer(PdfWriter writer, int key, java.lang.Object obj1)
protected abstract void
PdfAChecker. checkLayer(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA1Checker. checkOutputIntent(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA2Checker. checkOutputIntent(PdfWriter writer, int key, java.lang.Object obj1)
protected abstract void
PdfAChecker. checkOutputIntent(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfAChecker. checkOutputIntentsInStamperMode(PdfWriter writer)
(package private) void
PdfAChecker. checkPdfAConformance(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA1Checker. checkPdfObject(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA2Checker. checkPdfObject(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA3Checker. checkPdfObject(PdfWriter writer, int key, java.lang.Object obj1)
protected abstract void
PdfAChecker. checkPdfObject(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA1Checker. checkStream(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA2Checker. checkStream(PdfWriter writer, int key, java.lang.Object obj1)
protected abstract void
PdfAChecker. checkStream(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA1Checker. checkStructElem(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA2Checker. checkStructElem(PdfWriter writer, int key, java.lang.Object obj1)
protected abstract void
PdfAChecker. checkStructElem(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA1Checker. checkTrailer(PdfWriter writer, int key, java.lang.Object obj1)
protected void
PdfA2Checker. checkTrailer(PdfWriter writer, int key, java.lang.Object obj1)
protected abstract void
PdfAChecker. checkTrailer(PdfWriter writer, int key, java.lang.Object obj1)
void
PdfA1Checker. close(PdfWriter writer)
void
PdfA2Checker. close(PdfWriter writer)
abstract void
PdfAChecker. close(PdfWriter writer)
void
ZugferdChecker. close(PdfWriter writer)
static PdfAnnotation
PdfAnnotationsImp. convertAnnotation(PdfWriter writer, Annotation annot, Rectangle defaultRect)
PdfArray
PdfAnnotationsImp. 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 void
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 PdfWriter Modifier and Type Method Description private static void
PdfCleanUpContentOperator. 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 PdfWriter
RichMediaAnnotation. writer
The 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 PdfWriter
LtvVerification. 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 PdfWriter
PdfAXmpWriter. writer
Constructors 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 void
XMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in)
void
XMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in, java.io.InputStream inCssFile)
void
XMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in, java.io.InputStream inCssFile, FontProvider fontProvider)
void
XMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in, java.io.InputStream inCssFile, java.nio.charset.Charset charset)
void
XMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in, java.io.InputStream inCssFile, java.nio.charset.Charset charset, FontProvider fontProvider)
void
XMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in, java.io.InputStream inCssFile, java.nio.charset.Charset charset, FontProvider fontProvider, java.lang.String resourcesRootPath)
void
XMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in, java.nio.charset.Charset charset)
void
XMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in, java.nio.charset.Charset charset, FontProvider fontProvider)
void
XMLWorkerHelper. 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 PdfWriter
PdfWriterPipeline. writer
Methods in com.itextpdf.tool.xml.pipeline.end with parameters of type PdfWriter Modifier and Type Method Description void
PdfWriterPipeline. 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)
-