Uses of Class
com.itextpdf.text.pdf.PdfContentByte
Packages that use PdfContentByte
Package
Description
TagProcessor implementations for
table tags.-
Uses of PdfContentByte in com.itextpdf.awt
Fields in com.itextpdf.awt declared as PdfContentByteMethods in com.itextpdf.awt that return PdfContentByteConstructors in com.itextpdf.awt with parameters of type PdfContentByteModifierConstructorDescriptionPdfGraphics2D(PdfContentByte cb, float width, float height) PdfGraphics2D(PdfContentByte cb, float width, float height, boolean onlyShapes) PdfGraphics2D(PdfContentByte cb, float width, float height, FontMapper fontMapper) PdfGraphics2D(PdfContentByte cb, float width, float height, FontMapper fontMapper, boolean onlyShapes, boolean convertImagesToJPEG, float quality) Constructor for PDFGraphics2D.PdfPrinterGraphics2D(PdfContentByte cb, float width, float height, boolean onlyShapes, PrinterJob printerJob) PdfPrinterGraphics2D(PdfContentByte cb, float width, float height, FontMapper fontMapper, boolean onlyShapes, boolean convertImagesToJPEG, float quality, PrinterJob printerJob) PdfPrinterGraphics2D(PdfContentByte cb, float width, float height, FontMapper fontMapper, PrinterJob printerJob) PdfPrinterGraphics2D(PdfContentByte cb, float width, float height, PrinterJob printerJob) -
Uses of PdfContentByte in com.itextpdf.text
Methods in com.itextpdf.text with parameters of type PdfContentByteModifier and TypeMethodDescriptionstatic ImageImage.getInstance(PdfContentByte cb, Image awtImage, float quality) Gets an instance of a Image from a java.awt.Image. -
Uses of PdfContentByte in com.itextpdf.text.pdf
Subclasses of PdfContentByte in com.itextpdf.text.pdfModifier and TypeClassDescriptionclassImplements the appearance stream to be used with form fields..static classclassRepresents an imported page.final classImplements the pattern.classImplements the PostScript XObject.classImplements the form XObject.classfinal classThe content where Type3 glyphs are written to.Fields in com.itextpdf.text.pdf declared as PdfContentByteModifier and TypeFieldDescriptionprotected PdfContentByteColumnText.canvasThePdfContentwhere the text will be written to.protected PdfContentByte[]ColumnText.canvasesprotected PdfContentBytePdfWriter.directContentThe direct content in this document.protected PdfContentBytePdfWriter.directContentUnderThe direct content under in this document.protected PdfContentBytePdfContentByte.duplicatedFromprotected PdfContentBytePdfDocument.graphicsThis is the PdfContentByte object, containing the borders and other Graphics.protected PdfContentBytePdfDocument.textThis is the PdfContentByte object, containing the text.protected PdfContentByteVerticalText.textThePdfContentwhere the text will be written to.Methods in com.itextpdf.text.pdf that return PdfContentByteModifier and TypeMethodDescriptionstatic PdfContentByte[]PdfPTable.beginWritingRows(PdfContentByte canvas) Gets and initializes the 4 layers where the table is written to.Type3Font.defineGlyph(char c, float wx, float llx, float lly, float urx, float ury) Defines a glyph.ColumnText.getCanvas()Gets the canvas.ColumnText.getCanvases()Gets the canvases.PdfStamperImp.getDirectContent()PdfWriter.getDirectContent()Use this method to get the direct content for this document.PdfStamperImp.getDirectContentUnder()PdfWriter.getDirectContentUnder()Use this method to get the direct content under for this document.PdfAppearance.getDuplicate()PdfContentByte.getDuplicate()Gets a duplicate of thisPdfContentByte.PdfContentByte.getDuplicate(boolean inheritGraphicState) PdfCopy.StampContent.getDuplicate()Gets a duplicate of thisPdfContentByte.PdfImportedPage.getDuplicate()Always throws an error.PdfPatternPainter.getDuplicate()Gets a duplicate of thisPdfPatternPainter.PdfPSXObject.getDuplicate()Gets a duplicate of thisPdfPSXObject.PdfTemplate.getDuplicate()Gets a duplicate of thisPdfTemplate.StampContent.getDuplicate()Gets a duplicate of thisPdfContentByte.Type3Glyph.getDuplicate()PdfCopy.PageStamp.getOverContent()PdfStamper.getOverContent(int pageNum) Gets aPdfContentByteto write over the page of the original document.(package private) PdfContentBytePdfStamperImp.getOverContent(int pageNum) PdfCopy.PageStamp.getUnderContent()PdfStamper.getUnderContent(int pageNum) Gets aPdfContentByteto write under the page of the original document.(package private) PdfContentBytePdfStamperImp.getUnderContent(int pageNum) PdfContentByte.setSuppressTagging(boolean suppressTagging) [SUP-1395] If set, prevents iText from marking content and creating structure tags for items added to this content stream.Methods in com.itextpdf.text.pdf with parameters of type PdfContentByteModifier and TypeMethodDescriptionvoidPdfContentByte.add(PdfContentByte other) Adds the content of anotherPdfContentByte-object to this object.PdfAcroForm.addMap(String name, String value, String url, PdfContentByte appearance, float llx, float lly, float urx, float ury) static PdfContentByte[]PdfPTable.beginWritingRows(PdfContentByte canvas) Gets and initializes the 4 layers where the table is written to.voidPdfPCellEvent.cellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases) This method is called at the end of the cell rendering.private PdfPTableBodyPdfPTable.closeTableBlock(PdfPTableBody block, PdfContentByte canvas) static PdfAnnotationPdfAnnotation.createFreeText(PdfWriter writer, Rectangle rect, String contents, PdfContentByte defaultAppearance) Add some free text to the document.Barcode.createImageWithBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor) Creates anImagewith the barcode.Barcode.createTemplateWithBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor) Creates a template with the barcode.static voidPdfPTable.endWritingRows(PdfContentByte[] canvases) Finishes writing the table.voidPdfContentByte.inheritGraphicState(PdfContentByte parentCanvas) private static booleanColumnText.isTagged(PdfContentByte canvas) private static booleanPdfPRow.isTagged(PdfContentByte canvas) intFloatLayout.layout(PdfContentByte canvas, boolean simulate) intPdfDiv.layout(PdfContentByte canvas, boolean useAscender, boolean simulate, float llx, float lly, float urx, float ury) private PdfPTableBodyPdfPTable.openTableBlock(PdfPTableBody block, PdfContentByte canvas) abstract RectangleBarcode.placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor) Places the barcode in aPdfContentByte.Barcode128.placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor) Places the barcode in aPdfContentByte.Barcode39.placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor) Places the barcode in aPdfContentByte.BarcodeCodabar.placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor) Places the barcode in aPdfContentByte.voidBarcodeDatamatrix.placeBarcode(PdfContentByte cb, BaseColor foreground, float moduleHeight, float moduleWidth) BarcodeEAN.placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor) Places the barcode in aPdfContentByte.BarcodeEANSUPP.placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor) Places the barcode in aPdfContentByte.BarcodeInter25.placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor) Places the barcode in aPdfContentByte.voidBarcodePDF417.placeBarcode(PdfContentByte cb, BaseColor foreground, float moduleHeight, float moduleWidth) BarcodePostnet.placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor) Places the barcode in aPdfContentByte.voidBarcodeQRCode.placeBarcode(PdfContentByte cb, BaseColor foreground, float moduleSide) protected voidPdfPRow.restoreCanvases(PdfContentByte[] canvases) protected voidPdfPRow.saveAndRotateCanvases(PdfContentByte[] canvases, float a, float b, float c, float d, float e, float f) voidColumnText.setCanvas(PdfContentByte canvas) Sets the canvas.voidColumnText.setCanvases(PdfContentByte[] canvases) Sets the canvases.voidPdfAnnotation.setDefaultAppearanceString(PdfContentByte cb) static voidColumnText.showTextAligned(PdfContentByte canvas, int alignment, Phrase phrase, float x, float y, float rotation) Shows a line of text.static voidColumnText.showTextAligned(PdfContentByte canvas, int alignment, Phrase phrase, float x, float y, float rotation, int runDirection, int arabicOptions) Shows a line of text.voidPdfPTableEvent.tableLayout(PdfPTable table, float[][] widths, float[] heights, int headerRows, int rowStart, PdfContentByte[] canvases) This method is called at the end of the table rendering.voidPdfPRow.writeBorderAndBackground(float xPos, float yPos, float currentMaxHeight, PdfPCell cell, PdfContentByte[] canvases) Writes the border and background of one cell in the row.voidPdfPRow.writeCells(int colStart, int colEnd, float xPos, float yPos, PdfContentByte[] canvases, boolean reusable) Writes a number of cells (not necessarily all cells).(package private) voidVerticalText.writeLine(PdfLine line, PdfContentByte text, PdfContentByte graphics) (package private) floatPdfDocument.writeLineToContent(PdfLine line, PdfContentByte text, PdfContentByte graphics, Object[] currentValues, float ratio) Writes a text line to the document.floatPdfPTable.writeSelectedRows(int rowStart, int rowEnd, float xPos, float yPos, PdfContentByte canvas) Writes the selected rows to the document.floatPdfPTable.writeSelectedRows(int rowStart, int rowEnd, float xPos, float yPos, PdfContentByte[] canvases) Writes the selected rows to the document.floatPdfPTable.writeSelectedRows(int colStart, int colEnd, int rowStart, int rowEnd, float xPos, float yPos, PdfContentByte canvas) Writes the selected rows and columns to the document.floatPdfPTable.writeSelectedRows(int colStart, int colEnd, int rowStart, int rowEnd, float xPos, float yPos, PdfContentByte[] canvases) Writes the selected rows and columns to the document.floatPdfPTable.writeSelectedRows(int colStart, int colEnd, int rowStart, int rowEnd, float xPos, float yPos, PdfContentByte[] canvases, boolean reusable) Writes the selected rows and columns to the document.floatPdfPTable.writeSelectedRows(int colStart, int colEnd, int rowStart, int rowEnd, float xPos, float yPos, PdfContentByte canvas, boolean reusable) Writes the selected rows and columns to the document.Constructors in com.itextpdf.text.pdf with parameters of type PdfContentByteModifierConstructorDescriptionColumnText(PdfContentByte canvas) Creates aColumnText.(package private)PdfContents(PdfContentByte under, PdfContentByte content, PdfContentByte text, PdfContentByte secondContent, Rectangle page) Constructs aPdfContents-object, containing text and general graphics.VerticalText(PdfContentByte text) Creates new VerticalText -
Uses of PdfContentByte in com.itextpdf.text.pdf.codec.wmf
Fields in com.itextpdf.text.pdf.codec.wmf declared as PdfContentByteMethods in com.itextpdf.text.pdf.codec.wmf with parameters of type PdfContentByteModifier and TypeMethodDescriptionvoidMetaState.cleanup(PdfContentByte cb) voidMetaState.restoreState(int index, PdfContentByte cb) voidMetaState.saveState(PdfContentByte cb) voidMetaState.selectMetaObject(int index, PdfContentByte cb) voidMetaState.setLineJoinPolygon(PdfContentByte cb) voidMetaState.setLineJoinRectangle(PdfContentByte cb) Constructors in com.itextpdf.text.pdf.codec.wmf with parameters of type PdfContentByte -
Uses of PdfContentByte in com.itextpdf.text.pdf.draw
Methods in com.itextpdf.text.pdf.draw with parameters of type PdfContentByteModifier and TypeMethodDescriptionvoidDottedLineSeparator.draw(PdfContentByte canvas, float llx, float lly, float urx, float ury, float y) voidDrawInterface.draw(PdfContentByte canvas, float llx, float lly, float urx, float ury, float y) Implement this method if you want to draw something at the current Y position (for instance a line).voidLineSeparator.draw(PdfContentByte canvas, float llx, float lly, float urx, float ury, float y) voidVerticalPositionMark.draw(PdfContentByte canvas, float llx, float lly, float urx, float ury, float y) voidLineSeparator.drawLine(PdfContentByte canvas, float leftX, float rightX, float y) Draws a horizontal line. -
Uses of PdfContentByte in com.itextpdf.text.pdf.events
Methods in com.itextpdf.text.pdf.events with parameters of type PdfContentByteModifier and TypeMethodDescriptionvoidFieldPositioningEvents.cellLayout(PdfPCell cell, Rectangle rect, PdfContentByte[] canvases) voidPdfPCellEventForwarder.cellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases) voidPdfPTableEventForwarder.tableLayout(PdfPTable table, float[][] widths, float[] heights, int headerRows, int rowStart, PdfContentByte[] canvases) -
Uses of PdfContentByte in com.itextpdf.text.pdf.pdfcleanup
Fields in com.itextpdf.text.pdf.pdfcleanup declared as PdfContentByteMethods in com.itextpdf.text.pdf.pdfcleanup that return PdfContentByteMethods in com.itextpdf.text.pdf.pdfcleanup with parameters of type PdfContentByteModifier and TypeMethodDescriptionprivate voidPdfCleanUpProcessor.addColoredRectangle(PdfContentByte canvas, PdfCleanUpLocation cleanUpLocation) private voidPdfCleanUpProcessor.colorCleanedLocations(PdfContentByte canvas, List<PdfCleanUpLocation> cleanUpLocations) private voidPdfCleanUpProcessor.drawOverlayText(PdfContentByte canvas, List<Rectangle> textRectangles, PdfString overlayText, PdfString otDA, PdfNumber otQ, PdfBoolean otRepeat) private voidPdfCleanUpProcessor.insertFormXObj(PdfContentByte canvas, PdfDictionary pageDict, PdfStream formXObj, List<Rectangle> clippingRects, Rectangle annotRect) voidPdfCleanUpRenderListener.registerNewContext(PdfDictionary resources, PdfContentByte canvas) voidPdfCleanUpContext.setCanvas(PdfContentByte canvas) private voidPdfCleanUpProcessor.setFillColor(PdfContentByte canvas, List fillColorArgs) private voidPdfCleanUpProcessor.setStrokeColor(PdfContentByte canvas, List strokeColorArgs) private voidPdfCleanUpContentOperator.writeBezierCurve(BezierCurve curve, PdfContentByte canvas) private voidPdfCleanUpContentOperator.writeLine(Line line, PdfContentByte canvas) private voidPdfCleanUpContentOperator.writeMoveTo(Point2D destinationPoint, PdfContentByte canvas) private voidPdfCleanUpContentOperator.writeOperands(PdfContentByte canvas, List<PdfObject> operands) private voidPdfCleanUpContentOperator.writePath(Path path, byte[] pathPaintingOperator, PdfContentByte canvas) private voidPdfCleanUpContentOperator.writePath(String operatorStr, PdfContentByte canvas, PdfName strokeColorSpace) private voidPdfCleanUpContentOperator.writeStroke(PdfContentByte canvas, Path path, PdfName strokeColorSpace) private voidPdfCleanUpContentOperator.writeTextChunks(Map<Integer, Float> structuredTJoperands, List<PdfCleanUpContentChunk> chunks, PdfContentByte canvas, float characterSpacing, float wordSpacing, float fontSize, float horizontalScaling) Renders parts of text which are visible.Constructors in com.itextpdf.text.pdf.pdfcleanup with parameters of type PdfContentByte -
Uses of PdfContentByte in com.itextpdf.tool.xml.html.table
Methods in com.itextpdf.tool.xml.html.table with parameters of type PdfContentByteModifier and TypeMethodDescriptionvoidCellSpacingEvent.cellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases) voidTableBorderEvent.tableLayout(PdfPTable table, float[][] width, float[] height, int headerRows, int rowStart, PdfContentByte[] canvas)