| Package | Description | 
|---|---|
| com.lowagie.text | |
| com.lowagie.text.pdf | |
| com.lowagie.text.pdf.codec.wmf | |
| com.lowagie.text.pdf.draw | |
| com.lowagie.text.pdf.events | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
SimpleCell.cellLayout(PdfPCell cell,
          Rectangle position,
          PdfContentByte[] canvases)  | 
static Image | 
Image.getInstance(PdfContentByte cb,
           Image awtImage,
           float quality)
Gets an instance of a Image from a java.awt.Image. 
 | 
void | 
SimpleTable.tableLayout(PdfPTable table,
           float[][] widths,
           float[] heights,
           int headerRows,
           int rowStart,
           PdfContentByte[] canvases)  | 
| Modifier and Type | Class and 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. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected PdfContentByte | 
ColumnText.canvas
The  
PdfContent 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 | 
PdfDocument.graphics
This is the PdfContentByte object, containing the borders and other Graphics. 
 | 
protected PdfContentByte | 
VerticalText.text
The  
PdfContent where the text will be written to. | 
protected PdfContentByte | 
PdfDocument.text
This is the PdfContentByte object, containing the text. 
 | 
| Modifier and Type | Method and 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 | 
PdfGraphics2D.getContent()  | 
PdfContentByte | 
PdfWriter.getDirectContent()
Use this method to get the direct content for this document. 
 | 
PdfContentByte | 
PdfWriter.getDirectContentUnder()
Use this method to get the direct content under for this document. 
 | 
PdfContentByte | 
Type3Glyph.getDuplicate()  | 
PdfContentByte | 
StampContent.getDuplicate()
Gets a duplicate of this  
PdfContentByte. | 
PdfContentByte | 
PdfTemplate.getDuplicate()
Gets a duplicate of this  
PdfTemplate. | 
PdfContentByte | 
PdfPSXObject.getDuplicate()
Gets a duplicate of this  
PdfPSXObject. | 
PdfContentByte | 
PdfPatternPainter.getDuplicate()
Gets a duplicate of this  
PdfPatternPainter. | 
PdfContentByte | 
PdfImportedPage.getDuplicate()
Always throws an error. 
 | 
PdfContentByte | 
PdfCopy.StampContent.getDuplicate()
Gets a duplicate of this  
PdfContentByte. | 
PdfContentByte | 
PdfContentByte.getDuplicate()
Gets a duplicate of this  
PdfContentByte. | 
PdfContentByte | 
PdfAppearance.getDuplicate()  | 
PdfContentByte | 
PdfCopy.PageStamp.getOverContent()  | 
PdfContentByte | 
PdfStamper.getOverContent(int pageNum)
Gets a  
PdfContentByte to write over the page of
 the original document. | 
PdfContentByte | 
PdfCopy.PageStamp.getUnderContent()  | 
PdfContentByte | 
PdfStamper.getUnderContent(int pageNum)
Gets a  
PdfContentByte to write under the page of
 the original document. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
PdfContentByte.add(PdfContentByte other)
Adds the content of another  
PdfContent-object to this object. | 
PdfFormField | 
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. 
 | 
void | 
PdfPCellEvent.cellLayout(PdfPCell cell,
          Rectangle position,
          PdfContentByte[] canvases)
This method is called at the end of the cell rendering. 
 | 
static PdfAnnotation | 
PdfAnnotation.createFreeText(PdfWriter writer,
              Rectangle rect,
              String contents,
              PdfContentByte defaultAppearance)
Add some free text to the document. 
 | 
Image | 
Barcode.createImageWithBarcode(PdfContentByte cb,
                      Color barColor,
                      Color textColor)
Creates an  
Image with the barcode. | 
PdfTemplate | 
Barcode.createTemplateWithBarcode(PdfContentByte cb,
                         Color barColor,
                         Color textColor)
Creates a template with the barcode. 
 | 
static void | 
PdfPTable.endWritingRows(PdfContentByte[] canvases)
Finishes writing the table. 
 | 
Rectangle | 
BarcodePostnet.placeBarcode(PdfContentByte cb,
            Color barColor,
            Color textColor)
Places the barcode in a  
PdfContentByte. | 
Rectangle | 
BarcodeInter25.placeBarcode(PdfContentByte cb,
            Color barColor,
            Color textColor)
Places the barcode in a  
PdfContentByte. | 
Rectangle | 
BarcodeEANSUPP.placeBarcode(PdfContentByte cb,
            Color barColor,
            Color textColor)
Places the barcode in a  
PdfContentByte. | 
Rectangle | 
BarcodeEAN.placeBarcode(PdfContentByte cb,
            Color barColor,
            Color textColor)
Places the barcode in a  
PdfContentByte. | 
Rectangle | 
BarcodeCodabar.placeBarcode(PdfContentByte cb,
            Color barColor,
            Color textColor)
Places the barcode in a  
PdfContentByte. | 
Rectangle | 
Barcode39.placeBarcode(PdfContentByte cb,
            Color barColor,
            Color textColor)
Places the barcode in a  
PdfContentByte. | 
Rectangle | 
Barcode128.placeBarcode(PdfContentByte cb,
            Color barColor,
            Color textColor)
Places the barcode in a  
PdfContentByte. | 
abstract Rectangle | 
Barcode.placeBarcode(PdfContentByte cb,
            Color barColor,
            Color textColor)
Places the barcode in a  
PdfContentByte. | 
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. 
 | 
float | 
MultiColumnText.write(PdfContentByte canvas,
     PdfDocument document,
     float documentY)
Write out the columns. 
 | 
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)
Writes a number of cells (not necessarily all cells). 
 | 
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. 
 | 
| Constructor and Description | 
|---|
ColumnText(PdfContentByte canvas)
Creates a  
ColumnText. | 
PdfGraphics2D(PdfContentByte cb,
             float width,
             float height)
Shortcut constructor for PDFGraphics2D. 
 | 
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,
                    FontMapper fontMapper,
                    boolean onlyShapes,
                    boolean convertImagesToJPEG,
                    float quality,
                    PrinterJob printerJob)  | 
VerticalText(PdfContentByte text)
Creates new VerticalText 
 | 
| Modifier and Type | Field and Description | 
|---|---|
PdfContentByte | 
MetaDo.cb  | 
| Modifier and Type | Method and 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)  | 
| Constructor and Description | 
|---|
MetaDo(InputStream in,
      PdfContentByte cb)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
VerticalPositionMark.draw(PdfContentByte canvas,
    float llx,
    float lly,
    float urx,
    float ury,
    float y)  | 
void | 
LineSeparator.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 | 
DottedLineSeparator.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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
PdfPCellEventForwarder.cellLayout(PdfPCell cell,
          Rectangle position,
          PdfContentByte[] canvases)  | 
void | 
FieldPositioningEvents.cellLayout(PdfPCell cell,
          Rectangle rect,
          PdfContentByte[] canvases)  | 
void | 
PdfPTableEventForwarder.tableLayout(PdfPTable table,
           float[][] widths,
           float[] heights,
           int headerRows,
           int rowStart,
           PdfContentByte[] canvases)  | 
Copyright © 2020. All rights reserved.