Uses of Class
com.lowagie.text.pdf.PdfWriter
Packages that use PdfWriter
Package
Description
-
Uses of PdfWriter in com.lowagie.text
Methods in com.lowagie.text with parameters of type PdfWriterModifier and TypeMethodDescriptionstatic ImageImage.getInstance(PdfWriter writer, Image awtImage, float quality) Gets an instance of a Image from a java.awt.Image. -
Uses of PdfWriter in com.lowagie.text.pdf
Subclasses of PdfWriter in com.lowagie.text.pdfModifier and TypeClassDescriptionclassMake copies of PDF documents.classPdfSmartCopy 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.classclassMakes a copy of a PDF, unembedding all embedded fonts.Fields in com.lowagie.text.pdf declared as PdfWriterModifier and TypeFieldDescriptionprotected PdfWriterBaseField.writerprotected PdfWriterPdfAnnotation.writerprotected PdfWriterPdfContentByte.writerThis is the writerprotected PdfWriterPdfDocument.writerThePdfWriter.protected PdfWriterPdfFileSpecification.writerprotected PdfWriterPdfFunction.writerprotected PdfWriterPdfOutline.writerprotected PdfWriterPdfShading.writerprotected PdfWriterPdfShadingPattern.writerprotected PdfWriterPdfStream.writerMethods in com.lowagie.text.pdf that return PdfWriterModifier and TypeMethodDescriptionstatic PdfWriterPdfWriter.getInstance(Document document, OutputStream os) Use this method to get an instance of thePdfWriter.static PdfWriterPdfWriter.getInstance(Document document, OutputStream os, DocListener listener) Use this method to get an instance of thePdfWriter.PdfContentByte.getPdfWriter()Gets thePdfWriterin use by this object.BaseField.getWriter()Getter for property writer.PdfCopyFields.getWriter()Gets the underlying PdfWriter.PdfCopyForms.getWriter()Gets the underlying PdfWriter.PdfStamper.getWriter()Gets the underlying PdfWriter.PdfStructureTreeRoot.getWriter()Gets the writer.Methods in com.lowagie.text.pdf with parameters of type PdfWriterModifier and TypeMethodDescriptionvoidAdds aPdfWriterto thePdfDocument.PdfAnnotation.PdfImportedLink.createAnnotation(PdfWriter writer) static PdfAppearancePdfAppearance.createAppearance(PdfWriter writer, float width, float height) Creates a new appearance to be used with form fields.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, String[][] options, int topIndex) static PdfFormFieldPdfFormField.createCombo(PdfWriter writer, boolean edit, String[] options, int topIndex) static PdfFormFieldPdfFormField.createEmpty(PdfWriter writer) static PdfAnnotationPdfAnnotation.createFileAttachment(PdfWriter writer, Rectangle rect, String contents, byte[] fileStore, String file, String fileDisplay) Creates a file attachment annotation.static PdfAnnotationPdfAnnotation.createFileAttachment(PdfWriter writer, Rectangle rect, String contents, PdfFileSpecification fs) Creates a file attachment annotationstatic PdfAnnotationPdfAnnotation.createFreeText(PdfWriter writer, Rectangle rect, String contents, PdfContentByte defaultAppearance) Add some free text to the document.static PdfAnnotationstatic PdfAnnotationPdfAnnotation.createLine(PdfWriter writer, Rectangle rect, 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, String namedDestination) Creates an Annotation with an local destination.static PdfFormFieldPdfFormField.createList(PdfWriter writer, String[][] options, int topIndex) static PdfFormFieldPdfFormField.createList(PdfWriter writer, String[] options, int topIndex) static PdfAnnotationPdfAnnotation.createMarkup(PdfWriter writer, Rectangle rect, String contents, int type, float[] quadPoints) static PdfAnnotationPdfAnnotation.createPopup(PdfWriter writer, Rectangle rect, 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, String clipTitle, PdfFileSpecification fs, String mimeType, boolean playOnDisplay) Creates a screen PdfAnnotationstatic PdfFormFieldPdfFormField.createSignature(PdfWriter writer) static PdfAnnotationPdfAnnotation.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 PdfAnnotationPdfAnnotation.createStamp(PdfWriter writer, Rectangle rect, String contents, String name) Adds a Stamp to your document.static PdfTemplatePdfTemplate.createTemplate(PdfWriter writer, float width, float height) Creates a new template.static PdfAnnotationPdfAnnotation.createText(PdfWriter writer, Rectangle rect, String title, String contents, boolean open, String icon) static PdfFormFieldPdfFormField.createTextField(PdfWriter writer, boolean multiline, boolean password, int maxLen) static PdfLayerPdfLayer.createTitle(String title, PdfWriter writer) Creates a title layer.static PdfFileSpecificationPdfFileSpecification.fileEmbedded(PdfWriter writer, String filePath, String fileDisplay, byte[] fileStore) Creates a file specification with the file embedded.static PdfFileSpecificationPdfFileSpecification.fileEmbedded(PdfWriter writer, String filePath, String fileDisplay, byte[] fileStore, boolean compress) Creates a file specification with the file embedded.static PdfFileSpecificationPdfFileSpecification.fileEmbedded(PdfWriter writer, String filePath, String fileDisplay, byte[] fileStore, boolean compress, String mimeType, PdfDictionary fileParameter) Creates a file specification with the file embedded.static PdfFileSpecificationPdfFileSpecification.fileEmbedded(PdfWriter writer, String filePath, String fileDisplay, byte[] fileStore, int compressionLevel) Creates a file specification with the file embedded.static PdfFileSpecificationPdfFileSpecification.fileEmbedded(PdfWriter writer, String filePath, String fileDisplay, byte[] fileStore, String mimeType, PdfDictionary fileParameter, int compressionLevel) Creates a file specification with the file embedded.static PdfFileSpecificationPdfFileSpecification.fileExtern(PdfWriter writer, String filePath) Creates a file specification for an external file.protected PdfDictionaryPdfPageLabels.getDictionary(PdfWriter writer) Gets the page label dictionary to insert into the document.protected com.lowagie.text.pdf.PdfReaderInstancePdfReader.getPdfReaderInstance(PdfWriter writer) protected PdfObjectPdfSpotColor.getSpotObject(PdfWriter writer) static PdfActionPdfAction.gotoLocalPage(int page, PdfDestination dest, PdfWriter writer) Creates a GoTo action to an internal page.static Object[]SimpleBookmark.iterateOutlines(PdfWriter writer, PdfIndirectReference parent, List kids, boolean namedAsNames) static PdfActionPdfAction.javaScript(String code, PdfWriter writer) Creates a JavaScript action.static PdfActionPdfAction.javaScript(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.voidCalled when a page is finished, just before being written to the document.voidCalled when a page is finished, just before being written to the document.voidPdfPageEvent.onGenericTag(PdfWriter writer, Document document, Rectangle rect, String text) Called when aChunkwith a generic tag is written.voidPdfPageEventHelper.onGenericTag(PdfWriter writer, Document document, Rectangle rect, 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(HashMap names, PdfWriter writer) static PdfDictionarySimpleNamedDestination.outputNamedDestinationAsStrings(HashMap names, PdfWriter writer) voidSetter for property writer.voidSets the XFA key from the instance data.static voidSets the XFA key from a byte array.static PdfShadingPdfShading.simpleAxial(PdfWriter writer, float x0, float y0, float x1, float y1, Color startColor, Color endColor) static PdfShadingPdfShading.simpleAxial(PdfWriter writer, float x0, float y0, float x1, float y1, Color startColor, Color endColor, boolean extendStart, boolean extendEnd) static PdfShadingPdfShading.simpleRadial(PdfWriter writer, float x0, float y0, float r0, float x1, float y1, float r1, Color startColor, Color endColor) static PdfShadingPdfShading.simpleRadial(PdfWriter writer, float x0, float y0, float r0, float x1, float y1, float r1, Color startColor, Color endColor, boolean extendStart, boolean extendEnd) protected voidPdfStream.superToPdf(PdfWriter writer, OutputStream os) voidPdfArray.toPdf(PdfWriter writer, OutputStream os) Writes the PDF representation of thisPdfArrayas an array ofbyteto the specifiedOutputStream.byte[]Returns the PDF representation of thisPdfContentByte-object.voidPdfDashPattern.toPdf(PdfWriter writer, OutputStream os) Returns the PDF representation of thisPdfArray.voidPdfDictionary.toPdf(PdfWriter writer, OutputStream os) Writes the PDF representation of thisPdfDictionaryas an array ofbyteto the givenOutputStream.voidPdfEFStream.toPdf(PdfWriter writer, OutputStream os) voidPdfLiteral.toPdf(PdfWriter writer, OutputStream os) voidPdfObject.toPdf(PdfWriter writer, OutputStream os) Writes the PDF representation of thisPdfObjectas an array ofbytes to the writer.voidPdfOutline.toPdf(PdfWriter writer, OutputStream os) Returns the PDF representation of thisPdfOutline.voidPdfStream.toPdf(PdfWriter writer, OutputStream os) voidPdfString.toPdf(PdfWriter writer, OutputStream os) Writes the PDF representation of thisPdfStringas an array ofbyteto the specifiedOutputStream.voidPRIndirectReference.toPdf(PdfWriter writer, OutputStream os) voidPRStream.toPdf(PdfWriter writer, 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, Color colorSpace, float[] domain, float[] tMatrix, PdfFunction function) static PdfFunctionstatic PdfShadingPdfShading.type2(PdfWriter writer, Color 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, Color colorSpace, float[] coords, float[] domain, PdfFunction function, boolean[] extend) static PdfFunctionstatic PdfFileSpecificationCreates a file specification of type URL.static PdfDictionaryWrites a name tree to a PdfWriter.static PdfDictionaryCreates a number tree.Constructors in com.lowagie.text.pdf with parameters of type PdfWriterModifierConstructorDescriptionCreates 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) Constructs a newPdfContentByte-object.PdfEFStream(InputStream in, PdfWriter writer) Creates a Stream object using an InputStream and a PdfWriter objectprotectedPdfFormField(PdfWriter writer) Creates new PdfFormFieldPdfFormField(PdfWriter writer, float llx, float lly, float urx, float ury, PdfAction action) Constructs a newPdfAnnotationof subtype link (Action).protectedPdfFunction(PdfWriter writer) Creates new PdfFunctionCreates a new layer.PdfLayerMembership(PdfWriter writer) Creates a new, empty, membership layer.Constructs a PSXObjectprotectedPdfShading(PdfWriter writer) Creates new PdfShadingPdfStream(InputStream inputStream, PdfWriter writer) Creates an efficient stream.PushbuttonField(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 RadioCheckFieldCreates a newTextField.Creates a Type3 font.Creates a Type3 font. -
Uses of PdfWriter in com.lowagie.text.pdf.events
Fields in com.lowagie.text.pdf.events declared as PdfWriterModifier and TypeFieldDescriptionprotected PdfWriterFieldPositioningEvents.fieldWriterThe PdfWriter to use when a field has to added in a cell event.Methods in com.lowagie.text.pdf.events with parameters of type PdfWriterModifier and TypeMethodDescriptionvoidPdfPageEventForwarder.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.voidCalled when a page is finished, just before being written to the document.voidFieldPositioningEvents.onGenericTag(PdfWriter writer, Document document, Rectangle rect, String text) voidIndexEvents.onGenericTag(PdfWriter writer, Document document, Rectangle rect, String text) All the text that is passed to this event, gets registered in the indexentry.voidPdfPageEventForwarder.onGenericTag(PdfWriter writer, Document document, Rectangle rect, 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.lowagie.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.lowagie.text.pdf.internal
Methods in com.lowagie.text.pdf.internal with parameters of type PdfWriterModifier and TypeMethodDescriptionstatic voidPdfXConformanceImp.checkPDFXConformance(PdfWriter writer, int key, Object obj1) Business logic that checks if a certain object is in conformance with PDF/X.static PdfAnnotationPdfAnnotationsImp.convertAnnotation(PdfWriter writer, Annotation annot, Rectangle defaultRect) PdfAnnotationsImp.rotateAnnotations(PdfWriter writer, Rectangle pageSize) Constructors in com.lowagie.text.pdf.internal with parameters of type PdfWriter