Uses of Class
com.itextpdf.text.pdf.PdfContentByte
-
Packages that use PdfContentByte Package Description com.itextpdf.awt com.itextpdf.text com.itextpdf.text.pdf com.itextpdf.text.pdf.codec.wmf com.itextpdf.text.pdf.draw com.itextpdf.text.pdf.events com.itextpdf.text.pdf.pdfcleanup com.itextpdf.tool.xml.html.table TagProcessor implementations fortable
tags. -
-
Uses of PdfContentByte in com.itextpdf.awt
Fields in com.itextpdf.awt declared as PdfContentByte Modifier and Type Field Description protected PdfContentByte
PdfGraphics2D. cb
Methods in com.itextpdf.awt that return PdfContentByte Modifier and Type Method Description PdfContentByte
PdfGraphics2D. getContent()
Constructors in com.itextpdf.awt with parameters of type PdfContentByte Constructor Description PdfGraphics2D(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, java.awt.print.PrinterJob printerJob)
PdfPrinterGraphics2D(PdfContentByte cb, float width, float height, FontMapper fontMapper, boolean onlyShapes, boolean convertImagesToJPEG, float quality, java.awt.print.PrinterJob printerJob)
PdfPrinterGraphics2D(PdfContentByte cb, float width, float height, FontMapper fontMapper, java.awt.print.PrinterJob printerJob)
PdfPrinterGraphics2D(PdfContentByte cb, float width, float height, java.awt.print.PrinterJob printerJob)
-
Uses of PdfContentByte in com.itextpdf.text
Methods in com.itextpdf.text with parameters of type PdfContentByte Modifier and Type Method Description static Image
Image. getInstance(PdfContentByte cb, java.awt.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.pdf Modifier and Type Class Description class
PdfAppearance
Implements the appearance stream to be used with form fields..static class
PdfCopy.StampContent
class
PdfImportedPage
Represents an imported page.class
PdfPatternPainter
Implements the pattern.class
PdfPSXObject
Implements the PostScript XObject.class
PdfTemplate
Implements the form XObject.class
StampContent
class
Type3Glyph
The content where Type3 glyphs are written to.Fields in com.itextpdf.text.pdf declared as PdfContentByte Modifier and Type Field Description protected PdfContentByte
ColumnText. canvas
ThePdfContent
where the text will be written to.protected PdfContentByte[]
ColumnText. canvases
protected PdfContentByte
PdfWriter. directContent
The direct content in this document.protected PdfContentByte
PdfWriter. directContentUnder
The direct content under in this document.protected PdfContentByte
PdfContentByte. duplicatedFrom
protected PdfContentByte
PdfDocument. graphics
This is the PdfContentByte object, containing the borders and other Graphics.protected PdfContentByte
PdfDocument. text
This is the PdfContentByte object, containing the text.protected PdfContentByte
VerticalText. text
ThePdfContent
where the text will be written to.Methods in com.itextpdf.text.pdf that return PdfContentByte Modifier and Type Method Description static PdfContentByte[]
PdfPTable. beginWritingRows(PdfContentByte canvas)
Gets and initializes the 4 layers where the table is written to.PdfContentByte
Type3Font. defineGlyph(char c, float wx, float llx, float lly, float urx, float ury)
Defines a glyph.PdfContentByte
ColumnText. getCanvas()
Gets the canvas.PdfContentByte[]
ColumnText. getCanvases()
Gets the canvases.PdfContentByte
PdfStamperImp. getDirectContent()
PdfContentByte
PdfWriter. getDirectContent()
Use this method to get the direct content for this document.PdfContentByte
PdfStamperImp. getDirectContentUnder()
PdfContentByte
PdfWriter. getDirectContentUnder()
Use this method to get the direct content under for this document.PdfContentByte
PdfAppearance. getDuplicate()
PdfContentByte
PdfContentByte. getDuplicate()
Gets a duplicate of thisPdfContentByte
.PdfContentByte
PdfContentByte. getDuplicate(boolean inheritGraphicState)
PdfContentByte
PdfCopy.StampContent. getDuplicate()
Gets a duplicate of thisPdfContentByte
.PdfContentByte
PdfImportedPage. getDuplicate()
Always throws an error.PdfContentByte
PdfPatternPainter. getDuplicate()
Gets a duplicate of thisPdfPatternPainter
.PdfContentByte
PdfPSXObject. getDuplicate()
Gets a duplicate of thisPdfPSXObject
.PdfContentByte
PdfTemplate. getDuplicate()
Gets a duplicate of thisPdfTemplate
.PdfContentByte
StampContent. getDuplicate()
Gets a duplicate of thisPdfContentByte
.PdfContentByte
Type3Glyph. getDuplicate()
PdfContentByte
PdfCopy.PageStamp. getOverContent()
PdfContentByte
PdfStamper. getOverContent(int pageNum)
Gets aPdfContentByte
to write over the page of the original document.(package private) PdfContentByte
PdfStamperImp. getOverContent(int pageNum)
PdfContentByte
PdfCopy.PageStamp. getUnderContent()
PdfContentByte
PdfStamper. getUnderContent(int pageNum)
Gets aPdfContentByte
to write under the page of the original document.(package private) PdfContentByte
PdfStamperImp. getUnderContent(int pageNum)
PdfContentByte
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 PdfContentByte Modifier and Type Method Description void
PdfContentByte. add(PdfContentByte other)
Adds the content of anotherPdfContentByte
-object to this object.PdfFormField
PdfAcroForm. addMap(java.lang.String name, java.lang.String value, java.lang.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.void
PdfPCellEvent. cellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases)
This method is called at the end of the cell rendering.private PdfPTableBody
PdfPTable. closeTableBlock(PdfPTableBody block, PdfContentByte canvas)
static PdfAnnotation
PdfAnnotation. createFreeText(PdfWriter writer, Rectangle rect, java.lang.String contents, PdfContentByte defaultAppearance)
Add some free text to the document.Image
Barcode. createImageWithBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Creates anImage
with the barcode.PdfTemplate
Barcode. createTemplateWithBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Creates a template with the barcode.static void
PdfPTable. endWritingRows(PdfContentByte[] canvases)
Finishes writing the table.void
PdfContentByte. inheritGraphicState(PdfContentByte parentCanvas)
private static boolean
ColumnText. isTagged(PdfContentByte canvas)
private static boolean
PdfPRow. isTagged(PdfContentByte canvas)
int
FloatLayout. layout(PdfContentByte canvas, boolean simulate)
int
PdfDiv. layout(PdfContentByte canvas, boolean useAscender, boolean simulate, float llx, float lly, float urx, float ury)
private PdfPTableBody
PdfPTable. openTableBlock(PdfPTableBody block, PdfContentByte canvas)
abstract Rectangle
Barcode. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Places the barcode in aPdfContentByte
.Rectangle
Barcode128. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Places the barcode in aPdfContentByte
.Rectangle
Barcode39. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Places the barcode in aPdfContentByte
.Rectangle
BarcodeCodabar. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Places the barcode in aPdfContentByte
.void
BarcodeDatamatrix. placeBarcode(PdfContentByte cb, BaseColor foreground, float moduleHeight, float moduleWidth)
Rectangle
BarcodeEAN. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Places the barcode in aPdfContentByte
.Rectangle
BarcodeEANSUPP. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Places the barcode in aPdfContentByte
.Rectangle
BarcodeInter25. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Places the barcode in aPdfContentByte
.void
BarcodePDF417. placeBarcode(PdfContentByte cb, BaseColor foreground, float moduleHeight, float moduleWidth)
Rectangle
BarcodePostnet. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Places the barcode in aPdfContentByte
.void
BarcodeQRCode. placeBarcode(PdfContentByte cb, BaseColor foreground, float moduleSide)
protected void
PdfPRow. restoreCanvases(PdfContentByte[] canvases)
protected void
PdfPRow. saveAndRotateCanvases(PdfContentByte[] canvases, float a, float b, float c, float d, float e, float f)
void
ColumnText. setCanvas(PdfContentByte canvas)
Sets the canvas.void
ColumnText. setCanvases(PdfContentByte[] canvases)
Sets the canvases.void
PdfAnnotation. setDefaultAppearanceString(PdfContentByte cb)
static void
ColumnText. showTextAligned(PdfContentByte canvas, int alignment, Phrase phrase, float x, float y, float rotation)
Shows a line of text.static void
ColumnText. showTextAligned(PdfContentByte canvas, int alignment, Phrase phrase, float x, float y, float rotation, int runDirection, int arabicOptions)
Shows a line of text.void
PdfPTableEvent. tableLayout(PdfPTable table, float[][] widths, float[] heights, int headerRows, int rowStart, PdfContentByte[] canvases)
This method is called at the end of the table rendering.void
PdfPRow. writeBorderAndBackground(float xPos, float yPos, float currentMaxHeight, PdfPCell cell, PdfContentByte[] canvases)
Writes the border and background of one cell in the row.void
PdfPRow. writeCells(int colStart, int colEnd, float xPos, float yPos, PdfContentByte[] canvases, boolean reusable)
Writes a number of cells (not necessarily all cells).(package private) void
VerticalText. writeLine(PdfLine line, PdfContentByte text, PdfContentByte graphics)
(package private) float
PdfDocument. writeLineToContent(PdfLine line, PdfContentByte text, PdfContentByte graphics, java.lang.Object[] currentValues, float ratio)
Writes a text line to the document.float
PdfPTable. writeSelectedRows(int rowStart, int rowEnd, float xPos, float yPos, PdfContentByte canvas)
Writes the selected rows to the document.float
PdfPTable. writeSelectedRows(int rowStart, int rowEnd, float xPos, float yPos, PdfContentByte[] canvases)
Writes the selected rows to the document.float
PdfPTable. writeSelectedRows(int colStart, int colEnd, int rowStart, int rowEnd, float xPos, float yPos, PdfContentByte canvas)
Writes the selected rows and columns to the document.float
PdfPTable. writeSelectedRows(int colStart, int colEnd, int rowStart, int rowEnd, float xPos, float yPos, PdfContentByte[] canvases)
Writes the selected rows and columns to the document.float
PdfPTable. 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.float
PdfPTable. 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 PdfContentByte Constructor Description ColumnText(PdfContentByte canvas)
Creates aColumnText
.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 PdfContentByte Modifier and Type Field Description PdfContentByte
MetaDo. cb
Methods in com.itextpdf.text.pdf.codec.wmf with parameters of type PdfContentByte Modifier and Type Method Description void
MetaState. cleanup(PdfContentByte cb)
void
MetaState. restoreState(int index, PdfContentByte cb)
void
MetaState. saveState(PdfContentByte cb)
void
MetaState. selectMetaObject(int index, PdfContentByte cb)
void
MetaState. setLineJoinPolygon(PdfContentByte cb)
void
MetaState. setLineJoinRectangle(PdfContentByte cb)
Constructors in com.itextpdf.text.pdf.codec.wmf with parameters of type PdfContentByte Constructor Description MetaDo(java.io.InputStream in, PdfContentByte cb)
-
Uses of PdfContentByte in com.itextpdf.text.pdf.draw
Methods in com.itextpdf.text.pdf.draw with parameters of type PdfContentByte Modifier and Type Method Description void
DottedLineSeparator. draw(PdfContentByte canvas, float llx, float lly, float urx, float ury, float y)
void
DrawInterface. 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).void
LineSeparator. draw(PdfContentByte canvas, float llx, float lly, float urx, float ury, float y)
void
VerticalPositionMark. draw(PdfContentByte canvas, float llx, float lly, float urx, float ury, float y)
void
LineSeparator. 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 PdfContentByte Modifier and Type Method Description void
FieldPositioningEvents. cellLayout(PdfPCell cell, Rectangle rect, PdfContentByte[] canvases)
void
PdfPCellEventForwarder. cellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases)
void
PdfPTableEventForwarder. 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 PdfContentByte Modifier and Type Field Description private PdfContentByte
PdfCleanUpContext. canvas
Methods in com.itextpdf.text.pdf.pdfcleanup that return PdfContentByte Modifier and Type Method Description PdfContentByte
PdfCleanUpContext. getCanvas()
Methods in com.itextpdf.text.pdf.pdfcleanup with parameters of type PdfContentByte Modifier and Type Method Description private void
PdfCleanUpProcessor. addColoredRectangle(PdfContentByte canvas, PdfCleanUpLocation cleanUpLocation)
private void
PdfCleanUpProcessor. colorCleanedLocations(PdfContentByte canvas, java.util.List<PdfCleanUpLocation> cleanUpLocations)
private void
PdfCleanUpProcessor. drawOverlayText(PdfContentByte canvas, java.util.List<Rectangle> textRectangles, PdfString overlayText, PdfString otDA, PdfNumber otQ, PdfBoolean otRepeat)
private void
PdfCleanUpProcessor. insertFormXObj(PdfContentByte canvas, PdfDictionary pageDict, PdfStream formXObj, java.util.List<Rectangle> clippingRects, Rectangle annotRect)
void
PdfCleanUpRenderListener. registerNewContext(PdfDictionary resources, PdfContentByte canvas)
void
PdfCleanUpContext. setCanvas(PdfContentByte canvas)
private void
PdfCleanUpProcessor. setFillColor(PdfContentByte canvas, java.util.List fillColorArgs)
private void
PdfCleanUpProcessor. setStrokeColor(PdfContentByte canvas, java.util.List strokeColorArgs)
private void
PdfCleanUpContentOperator. writeBezierCurve(BezierCurve curve, PdfContentByte canvas)
private void
PdfCleanUpContentOperator. writeLine(Line line, PdfContentByte canvas)
private void
PdfCleanUpContentOperator. writeMoveTo(Point2D destinationPoint, PdfContentByte canvas)
private void
PdfCleanUpContentOperator. writeOperands(PdfContentByte canvas, java.util.List<PdfObject> operands)
private void
PdfCleanUpContentOperator. writePath(Path path, byte[] pathPaintingOperator, PdfContentByte canvas)
private void
PdfCleanUpContentOperator. writePath(java.lang.String operatorStr, PdfContentByte canvas, PdfName strokeColorSpace)
private void
PdfCleanUpContentOperator. writeStroke(PdfContentByte canvas, Path path, PdfName strokeColorSpace)
private void
PdfCleanUpContentOperator. writeTextChunks(java.util.Map<java.lang.Integer,java.lang.Float> structuredTJoperands, java.util.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 Constructor Description PdfCleanUpContext(PdfDictionary resources, PdfContentByte canvas)
-
Uses of PdfContentByte in com.itextpdf.tool.xml.html.table
Methods in com.itextpdf.tool.xml.html.table with parameters of type PdfContentByte Modifier and Type Method Description void
CellSpacingEvent. cellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases)
void
TableBorderEvent. tableLayout(PdfPTable table, float[][] width, float[] height, int headerRows, int rowStart, PdfContentByte[] canvas)
-