Uses of Class
com.itextpdf.text.pdf.PdfWriter

Packages that use PdfWriter
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   
 

Uses of PdfWriter in com.itextpdf.text
 

Methods in com.itextpdf.text with parameters of type PdfWriter
static Image Image.getInstance(PdfWriter writer, Image awtImage, float quality)
          Gets an instance of a Image from a java.awt.Image.
 

Uses of PdfWriter in com.itextpdf.text.api
 

Methods in com.itextpdf.text.api with parameters of type PdfWriter
 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
 class PdfCopy
          Make copies of PDF documents.
 class 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.
 

Fields in com.itextpdf.text.pdf declared as PdfWriter
protected  PdfWriter TtfUnicodeWriter.writer
           
protected  PdfWriter PdfWriter.PdfBody.writer
           
protected  PdfWriter PdfStream.writer
           
protected  PdfWriter PdfShadingPattern.writer
           
protected  PdfWriter PdfShading.writer
           
protected  PdfWriter PdfOutline.writer
           
protected  PdfWriter PdfIndirectObject.writer
           
protected  PdfWriter PdfFunction.writer
           
protected  PdfWriter PdfFileSpecification.writer
           
protected  PdfWriter PdfDocument.writer
          The PdfWriter.
protected  PdfWriter PdfContentByte.writer
          This is the writer
protected  PdfWriter PdfAnnotation.writer
           
protected  PdfWriter BaseField.writer
           
 

Methods in com.itextpdf.text.pdf that return PdfWriter
static PdfWriter PdfWriter.getInstance(Document document, OutputStream os)
          Use this method to get an instance of the PdfWriter.
static PdfWriter PdfWriter.getInstance(Document document, OutputStream os, DocListener listener)
          Use this method to get an instance of the PdfWriter.
 PdfWriter PdfContentByte.getPdfWriter()
          Gets the PdfWriter in use by this object.
 PdfWriter PdfStructureTreeRoot.getWriter()
          Gets the writer.
 PdfWriter PdfStamper.getWriter()
          Gets the underlying PdfWriter.
 PdfWriter PdfCopyForms.getWriter()
          Gets the underlying PdfWriter.
 PdfWriter PdfCopyFields.getWriter()
          Gets the underlying PdfWriter.
 PdfWriter BaseField.getWriter()
          Getter for property writer.
 

Methods in com.itextpdf.text.pdf with parameters of type PdfWriter
 void PdfDocument.addWriter(PdfWriter writer)
          Adds a PdfWriter to the PdfDocument.
static void PdfWriter.checkPdfIsoConformance(PdfWriter writer, int key, 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.
protected static PdfFormField PdfFormField.createButton(PdfWriter writer, int flags)
           
static PdfFormField PdfFormField.createCheckBox(PdfWriter writer)
           
protected static PdfFormField PdfFormField.createChoice(PdfWriter writer, int flags, PdfArray options, int topIndex)
           
static PdfFormField PdfFormField.createCombo(PdfWriter writer, boolean edit, String[][] options, int topIndex)
           
static PdfFormField PdfFormField.createCombo(PdfWriter writer, boolean edit, String[] options, int topIndex)
           
static PdfFormField PdfFormField.createEmpty(PdfWriter writer)
           
static PdfAnnotation PdfAnnotation.createFileAttachment(PdfWriter writer, Rectangle rect, String contents, byte[] fileStore, String file, String fileDisplay)
          Creates a file attachment annotation.
static PdfAnnotation PdfAnnotation.createFileAttachment(PdfWriter writer, Rectangle rect, String contents, PdfFileSpecification fs)
          Creates a file attachment annotation
static PdfAnnotation PdfAnnotation.createFreeText(PdfWriter writer, Rectangle rect, String contents, PdfContentByte defaultAppearance)
          Add some free text to the document.
static PdfAnnotation PdfAnnotation.createInk(PdfWriter writer, Rectangle rect, String contents, float[][] inkList)
           
static PdfAnnotation PdfAnnotation.createLine(PdfWriter writer, Rectangle rect, String contents, float x1, float y1, float x2, float y2)
          Adds a line to the document.
protected static PdfAnnotation PdfAnnotation.createLink(PdfWriter writer, Rectangle rect, PdfName highlight)
          Creates a link.
static PdfAnnotation PdfAnnotation.createLink(PdfWriter writer, Rectangle rect, PdfName highlight, int page, PdfDestination dest)
          Creates an Annotation with a PdfDestination.
static PdfAnnotation PdfAnnotation.createLink(PdfWriter writer, Rectangle rect, PdfName highlight, PdfAction action)
          Creates an Annotation with an Action.
static PdfAnnotation PdfAnnotation.createLink(PdfWriter writer, Rectangle rect, PdfName highlight, String namedDestination)
          Creates an Annotation with an local destination.
static PdfFormField PdfFormField.createList(PdfWriter writer, String[][] options, int topIndex)
           
static PdfFormField PdfFormField.createList(PdfWriter writer, String[] options, int topIndex)
           
static PdfAnnotation PdfAnnotation.createMarkup(PdfWriter writer, Rectangle rect, String contents, int type, float[] quadPoints)
           
static PdfAnnotation PdfAnnotation.createPolygonPolyline(PdfWriter writer, Rectangle rect, String contents, boolean polygon, PdfArray vertices)
          Creates a polygon or -line annotation
static PdfAnnotation PdfAnnotation.createPopup(PdfWriter writer, Rectangle rect, String contents, boolean open)
          Adds a popup to your document.
static PdfFormField PdfFormField.createPushButton(PdfWriter writer)
           
static PdfFormField PdfFormField.createRadioButton(PdfWriter writer, boolean noToggleToOff)
           
static PdfAnnotation PdfAnnotation.createScreen(PdfWriter writer, Rectangle rect, String clipTitle, PdfFileSpecification fs, String mimeType, boolean playOnDisplay)
          Creates a screen PdfAnnotation
static PdfFormField PdfFormField.createSignature(PdfWriter writer)
           
static PdfAnnotation PdfAnnotation.createSquareCircle(PdfWriter writer, Rectangle rect, String contents, boolean square)
          Adds a circle or a square that shows a tooltip when you pass over it.
static PdfAnnotation PdfAnnotation.createStamp(PdfWriter writer, Rectangle rect, String contents, String name)
          Adds a Stamp to your document.
static PdfTemplate PdfTemplate.createTemplate(PdfWriter writer, float width, float height)
          Creates a new template.
static PdfAnnotation PdfAnnotation.createText(PdfWriter writer, Rectangle rect, String title, String contents, boolean open, String icon)
           
static PdfFormField PdfFormField.createTextField(PdfWriter writer, boolean multiline, boolean password, int maxLen)
           
static PdfLayer PdfLayer.createTitle(String title, PdfWriter writer)
          Creates a title layer.
static PdfFileSpecification PdfFileSpecification.fileEmbedded(PdfWriter writer, String filePath, String fileDisplay, byte[] fileStore)
          Creates a file specification with the file embedded.
static PdfFileSpecification PdfFileSpecification.fileEmbedded(PdfWriter writer, String filePath, String fileDisplay, byte[] fileStore, boolean compress)
          Creates a file specification with the file embedded.
static PdfFileSpecification PdfFileSpecification.fileEmbedded(PdfWriter writer, String filePath, String fileDisplay, byte[] fileStore, boolean compress, String mimeType, PdfDictionary fileParameter)
          Creates a file specification with the file embedded.
static PdfFileSpecification PdfFileSpecification.fileEmbedded(PdfWriter writer, String filePath, String fileDisplay, byte[] fileStore, int compressionLevel)
          Creates a file specification with the file embedded.
static PdfFileSpecification PdfFileSpecification.fileEmbedded(PdfWriter writer, String filePath, String fileDisplay, byte[] fileStore, String mimeType, PdfDictionary fileParameter, int compressionLevel)
          Creates a file specification with the file embedded.
static PdfFileSpecification PdfFileSpecification.fileExtern(PdfWriter writer, String filePath)
          Creates a file specification for an external file.
 PdfDictionary PdfPageLabels.getDictionary(PdfWriter writer)
          Gets the page label dictionary to insert into the document.
protected  com.itextpdf.text.pdf.PdfReaderInstance PdfReader.getPdfReaderInstance(PdfWriter writer)
           
protected  PdfObject PdfSpotColor.getSpotObject(PdfWriter writer)
           
static PdfAction PdfAction.gotoLocalPage(int page, PdfDestination dest, PdfWriter writer)
          Creates a GoTo action to an internal page.
static Object[] SimpleBookmark.iterateOutlines(PdfWriter writer, PdfIndirectReference parent, List<HashMap<String,Object>> kids, boolean namedAsNames)
           
static PdfAction PdfAction.javaScript(String code, PdfWriter writer)
          Creates a JavaScript action.
static PdfAction PdfAction.javaScript(String code, PdfWriter writer, boolean unicode)
          Creates a JavaScript action.
 void PdfPageEventHelper.onChapter(PdfWriter writer, Document document, float paragraphPosition, Paragraph title)
          Called when a Chapter is written.
 void PdfPageEvent.onChapter(PdfWriter writer, Document document, float paragraphPosition, Paragraph title)
          Called when a Chapter is written.
 void PdfPageEventHelper.onChapterEnd(PdfWriter writer, Document document, float position)
          Called when the end of a Chapter is reached.
 void PdfPageEvent.onChapterEnd(PdfWriter writer, Document document, float paragraphPosition)
          Called when the end of a Chapter is reached.
 void PdfPageEventHelper.onCloseDocument(PdfWriter writer, Document document)
          Called when the document is closed.
 void PdfPageEvent.onCloseDocument(PdfWriter writer, Document document)
          Called when the document is closed.
 void PdfPageEventHelper.onEndPage(PdfWriter writer, Document document)
          Called when a page is finished, just before being written to the document.
 void PdfPageEvent.onEndPage(PdfWriter writer, Document document)
          Called when a page is finished, just before being written to the document.
 void PdfPageEventHelper.onGenericTag(PdfWriter writer, Document document, Rectangle rect, String text)
          Called when a Chunk with a generic tag is written.
 void PdfPageEvent.onGenericTag(PdfWriter writer, Document document, Rectangle rect, String text)
          Called when a Chunk with a generic tag is written.
 void PdfPageEventHelper.onOpenDocument(PdfWriter writer, Document document)
          Called when the document is opened.
 void PdfPageEvent.onOpenDocument(PdfWriter writer, Document document)
          Called when the document is opened.
 void PdfPageEventHelper.onParagraph(PdfWriter writer, Document document, float paragraphPosition)
          Called when a Paragraph is written.
 void PdfPageEvent.onParagraph(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.onParagraphEnd(PdfWriter writer, Document document, float paragraphPosition)
          Called when a Paragraph is written.
 void PdfPageEventHelper.onSection(PdfWriter writer, Document document, float paragraphPosition, int depth, Paragraph title)
          Called when a Section is written.
 void PdfPageEvent.onSection(PdfWriter writer, Document document, float paragraphPosition, int depth, Paragraph title)
          Called when a Section is written.
 void PdfPageEventHelper.onSectionEnd(PdfWriter writer, Document document, float position)
          Called when the end of a Section is reached.
 void PdfPageEvent.onSectionEnd(PdfWriter writer, Document document, float paragraphPosition)
          Called when the end of a Section is reached.
 void PdfPageEventHelper.onStartPage(PdfWriter writer, Document document)
          Called when a page is initialized.
 void PdfPageEvent.onStartPage(PdfWriter writer, Document document)
          Called when a page is initialized.
static PdfDictionary SimpleNamedDestination.outputNamedDestinationAsNames(HashMap<String,String> names, PdfWriter writer)
           
static PdfDictionary SimpleNamedDestination.outputNamedDestinationAsStrings(HashMap<String,String> names, PdfWriter writer)
           
 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, OutputStream os)
           
 byte[] PdfContentByte.toPdf(PdfWriter writer)
          Returns the PDF representation of this PdfContentByte-object.
 void PRStream.toPdf(PdfWriter writer, OutputStream os)
           
 void PRIndirectReference.toPdf(PdfWriter writer, OutputStream os)
           
 void PdfWriter.PdfTrailer.toPdf(PdfWriter writer, OutputStream os)
          Returns the PDF representation of this PdfObject.
 void PdfStructureElement.toPdf(PdfWriter writer, OutputStream os)
           
 void PdfString.toPdf(PdfWriter writer, OutputStream os)
          Writes the PDF representation of this PdfString as an array of byte to the specified OutputStream.
 void PdfStream.toPdf(PdfWriter writer, OutputStream os)
           
 void PdfOutline.toPdf(PdfWriter writer, OutputStream os)
          Returns the PDF representation of this PdfOutline.
 void PdfObject.toPdf(PdfWriter writer, OutputStream os)
          Writes the PDF representation of this PdfObject as an array of bytes to the writer.
 void PdfLiteral.toPdf(PdfWriter writer, OutputStream os)
           
 void PdfGState.toPdf(PdfWriter writer, OutputStream os)
           
 void PdfFileSpecification.toPdf(PdfWriter writer, OutputStream os)
           
 void PdfEFStream.toPdf(PdfWriter writer, OutputStream os)
           
 void PdfDictionary.toPdf(PdfWriter writer, OutputStream os)
          Writes the PDF representation of this PdfDictionary as an array of byte to the given OutputStream.
 void PdfDashPattern.toPdf(PdfWriter writer, OutputStream os)
          Returns the PDF representation of this PdfArray.
 void PdfArray.toPdf(PdfWriter writer, OutputStream os)
          Writes the PDF representation of this PdfArray as an array of byte to the specified OutputStream.
 void PdfAnnotation.toPdf(PdfWriter writer, OutputStream os)
           
 void PdfAction.toPdf(PdfWriter writer, OutputStream os)
           
 void PdfAcroForm.toPdf(PdfWriter writer, OutputStream os)
           
static PdfFunction PdfFunction.type0(PdfWriter writer, float[] domain, float[] range, int[] size, int bitsPerSample, int order, float[] encode, float[] decode, byte[] stream)
           
static PdfShading PdfShading.type1(PdfWriter writer, BaseColor colorSpace, float[] domain, float[] tMatrix, PdfFunction function)
           
static PdfShading PdfShading.type2(PdfWriter writer, BaseColor colorSpace, float[] coords, float[] domain, PdfFunction function, boolean[] extend)
           
static PdfFunction PdfFunction.type2(PdfWriter writer, float[] domain, float[] range, float[] c0, float[] c1, float n)
           
static PdfShading PdfShading.type3(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 PdfFunction PdfFunction.type4(PdfWriter writer, float[] domain, float[] range, String postscript)
           
static PdfFileSpecification PdfFileSpecification.url(PdfWriter writer, String url)
          Creates a file specification of type URL.
static
<O extends PdfObject>
PdfDictionary
PdfNumberTree.writeTree(HashMap<Integer,O> items, PdfWriter writer)
          Creates a number tree.
static PdfDictionary PdfNameTree.writeTree(HashMap<String,? extends PdfObject> items, PdfWriter writer)
          Writes a name tree to a PdfWriter.
 

Constructors in com.itextpdf.text.pdf with parameters of type PdfWriter
BaseField(PdfWriter writer, Rectangle box, String fieldName)
          Creates a new TextField.
PdfAcroForm(PdfWriter writer)
          Creates new PdfAcroForm
PdfAnnotation(PdfWriter writer, float llx, float lly, float urx, float ury, PdfAction action)
          Constructs a new PdfAnnotation of subtype link (Action).
PdfAnnotation(PdfWriter writer, float llx, float lly, float urx, float ury, PdfString title, PdfString content)
          Constructs a new PdfAnnotation of subtype text.
PdfAnnotation(PdfWriter writer, Rectangle rect)
           
PdfContentByte(PdfWriter wr)
          Constructs a new PdfContentByte-object.
PdfEFStream(InputStream in, PdfWriter writer)
          Creates a Stream object using an InputStream and a PdfWriter object
PdfFormField(PdfWriter writer)
          Creates new PdfFormField
PdfFormField(PdfWriter writer, float llx, float lly, float urx, float ury, PdfAction action)
          Constructs a new PdfAnnotation of subtype link (Action).
PdfFunction(PdfWriter writer)
          Creates new PdfFunction
PdfIndirectObject(int number, PdfObject object, PdfWriter writer)
          Constructs a PdfIndirectObject.
PdfLayer(String name, PdfWriter writer)
          Creates a new layer.
PdfLayerMembership(PdfWriter writer)
          Creates a new, empty, membership layer.
PdfPSXObject(PdfWriter wr)
          Constructs a PSXObject
PdfShading(PdfWriter writer)
          Creates new PdfShading
PdfStream(InputStream inputStream, PdfWriter writer)
          Creates an efficient stream.
PdfWriter.PdfBody(PdfWriter writer)
          Constructs a new PdfBody.
PushbuttonField(PdfWriter writer, Rectangle box, String fieldName)
          Creates a new instance of PushbuttonField
RadioCheckField(PdfWriter writer, Rectangle box, String fieldName, String onValue)
          Creates a new instance of RadioCheckField
TextField(PdfWriter writer, Rectangle box, String fieldName)
          Creates a new TextField.
TtfUnicodeWriter(PdfWriter writer)
           
Type3Font(PdfWriter writer, boolean colorized)
          Creates a Type3 font.
Type3Font(PdfWriter writer, char[] chars, boolean colorized)
          Creates a Type3 font.
 

Uses of PdfWriter in com.itextpdf.text.pdf.events
 

Fields in com.itextpdf.text.pdf.events declared as PdfWriter
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
 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 PdfPageEventForwarder.onGenericTag(PdfWriter writer, Document document, Rectangle rect, String text)
          Called when a Chunk with a generic tag is written.
 void IndexEvents.onGenericTag(PdfWriter writer, Document document, Rectangle rect, String text)
          All the text that is passed to this event, gets registered in the indexentry.
 void FieldPositioningEvents.onGenericTag(PdfWriter writer, Document document, Rectangle rect, String text)
           
 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
FieldPositioningEvents(PdfWriter writer, PdfFormField field)
          Creates a new event.
FieldPositioningEvents(PdfWriter writer, PdfFormField parent, String text)
          Creates a new event.
FieldPositioningEvents(PdfWriter writer, String text)
          Creates a new event.
 

Uses of PdfWriter in com.itextpdf.text.pdf.internal
 

Fields in com.itextpdf.text.pdf.internal declared as PdfWriter
protected  PdfWriter PdfXConformanceImp.writer
           
 

Methods in com.itextpdf.text.pdf.internal with parameters of type PdfWriter
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
PdfAnnotationsImp(PdfWriter writer)
           
PdfXConformanceImp(PdfWriter writer)
           
 



Copyright © 2013. All Rights Reserved.