| java.lang.Object com.lowagie.text.pdf.PdfContentByte com.lowagie.text.pdf.PdfTemplate
All known Subclasses: com.lowagie.text.pdf.PdfImportedPage, com.lowagie.text.pdf.PdfPSXObject, com.lowagie.text.pdf.PdfAppearance, com.lowagie.text.pdf.PdfPatternPainter,
Method Summary | |
public void | beginVariableText() | public static PdfTemplate | createTemplate(PdfWriter writer, float width, float height) Creates a new template.
Creates a new template that is nothing more than a form XObject. | static PdfTemplate | createTemplate(PdfWriter writer, float width, float height, PdfName forcedName) | public void | endVariableText() | public Rectangle | getBoundingBox() | public PdfContentByte | getDuplicate() Gets a duplicate of this PdfTemplate . | PdfStream | getFormXObject() Gets the stream representing this template. | public PdfTransparencyGroup | getGroup() Getter for property group. | public float | getHeight() Gets the bounding heigth of this template. | public PdfIndirectReference | getIndirectReference() Gets the indirect reference to this template. | public PdfOCG | getLayer() Gets the layer this template belongs to. | PdfArray | getMatrix() | PageResources | getPageResources() | PdfObject | getResources() Constructs the resources used by this template. | public int | getType() | public float | getWidth() Gets the bounding width of this template. | public void | setBoundingBox(Rectangle bBox) | public void | setGroup(PdfTransparencyGroup group) Setter for property group. | public void | setHeight(float height) Sets the bounding heigth of this template. | public void | setLayer(PdfOCG layer) Sets the layer this template belongs to. | public void | setMatrix(float a, float b, float c, float d, float e, float f) | public void | setWidth(float width) Sets the bounding width of this template. |
TYPE_IMPORTED | final public static int TYPE_IMPORTED(Code) | | |
TYPE_PATTERN | final public static int TYPE_PATTERN(Code) | | |
TYPE_TEMPLATE | final public static int TYPE_TEMPLATE(Code) | | |
PdfTemplate | protected PdfTemplate()(Code) | | Creates a PdfTemplate .
|
PdfTemplate | PdfTemplate(PdfWriter wr)(Code) | | Creates new PdfTemplate
Parameters: wr - the PdfWriter |
beginVariableText | public void beginVariableText()(Code) | | |
createTemplate | public static PdfTemplate createTemplate(PdfWriter writer, float width, float height)(Code) | | Creates a new template.
Creates a new template that is nothing more than a form XObject. This template can be included
in this template or in another template. Templates are only written
to the output when the document is closed permitting things like showing text in the first page
that is only defined in the last page.
Parameters: writer - the PdfWriter to use Parameters: width - the bounding box width Parameters: height - the bounding box height the templated created |
endVariableText | public void endVariableText()(Code) | | |
getDuplicate | public PdfContentByte getDuplicate()(Code) | | Gets a duplicate of this PdfTemplate . All
the members are copied by reference but the buffer stays different.
a copy of this PdfTemplate |
getFormXObject | PdfStream getFormXObject() throws IOException(Code) | | Gets the stream representing this template.
the stream representing this template |
getHeight | public float getHeight()(Code) | | Gets the bounding heigth of this template.
heigth the bounding height |
getIndirectReference | public PdfIndirectReference getIndirectReference()(Code) | | Gets the indirect reference to this template.
the indirect reference to this template |
getLayer | public PdfOCG getLayer()(Code) | | Gets the layer this template belongs to.
the layer this template belongs to or null for no layer defined |
getResources | PdfObject getResources()(Code) | | Constructs the resources used by this template.
the resources used by this template |
getType | public int getType()(Code) | | |
getWidth | public float getWidth()(Code) | | Gets the bounding width of this template.
width the bounding width |
setGroup | public void setGroup(PdfTransparencyGroup group)(Code) | | Setter for property group.
Parameters: group - New value of property group. |
setHeight | public void setHeight(float height)(Code) | | Sets the bounding heigth of this template.
Parameters: height - the bounding height |
setLayer | public void setLayer(PdfOCG layer)(Code) | | Sets the layer this template belongs to.
Parameters: layer - the layer this template belongs to |
setMatrix | public void setMatrix(float a, float b, float c, float d, float e, float f)(Code) | | |
setWidth | public void setWidth(float width)(Code) | | Sets the bounding width of this template.
Parameters: width - the bounding width |
Methods inherited from com.lowagie.text.pdf.PdfContentByte | public void add(PdfContentByte other)(Code)(Java Doc) void addAnnotation(PdfAnnotation annot)(Code)(Java Doc) public void addImage(Image image) throws DocumentException(Code)(Java Doc) public void addImage(Image image, boolean inlineImage) throws DocumentException(Code)(Java Doc) public void addImage(Image image, float a, float b, float c, float d, float e, float f) throws DocumentException(Code)(Java Doc) public void addImage(Image image, float a, float b, float c, float d, float e, float f, boolean inlineImage) throws DocumentException(Code)(Java Doc) public void addOutline(PdfOutline outline)(Code)(Java Doc) public void addOutline(PdfOutline outline, String name)(Code)(Java Doc) public void addPSXObject(PdfPSXObject psobject)(Code)(Java Doc) public void addTemplate(PdfTemplate template, float a, float b, float c, float d, float e, float f)(Code)(Java Doc) public void addTemplate(PdfTemplate template, float x, float y)(Code)(Java Doc) void addTemplateReference(PdfIndirectReference template, PdfName name, float a, float b, float c, float d, float e, float f)(Code)(Java Doc) public void arc(float x1, float y1, float x2, float y2, float startAng, float extent)(Code)(Java Doc) public void beginLayer(PdfOCG layer)(Code)(Java Doc) public void beginMarkedContentSequence(PdfStructureElement struc)(Code)(Java Doc) public void beginMarkedContentSequence(PdfName tag, PdfDictionary property, boolean inline)(Code)(Java Doc) public void beginMarkedContentSequence(PdfName tag)(Code)(Java Doc) public void beginText()(Code)(Java Doc) public static ArrayList bezierArc(float x1, float y1, float x2, float y2, float startAng, float extent)(Code)(Java Doc) void checkNoPattern(PdfTemplate t)(Code)(Java Doc) protected void checkWriter()(Code)(Java Doc) public void circle(float x, float y, float r)(Code)(Java Doc) public void clip()(Code)(Java Doc) public void closePath()(Code)(Java Doc) public void closePathEoFillStroke()(Code)(Java Doc) public void closePathFillStroke()(Code)(Java Doc) public void closePathStroke()(Code)(Java Doc) public void concatCTM(float a, float b, float c, float d, float e, float f)(Code)(Java Doc) public PdfAppearance createAppearance(float width, float height)(Code)(Java Doc) PdfAppearance createAppearance(float width, float height, PdfName forcedName)(Code)(Java Doc) public java.awt.Graphics2D createGraphics(float width, float height)(Code)(Java Doc) public java.awt.Graphics2D createGraphics(float width, float height, boolean convertImagesToJPEG, float quality)(Code)(Java Doc) public java.awt.Graphics2D createGraphics(float width, float height, FontMapper fontMapper)(Code)(Java Doc) public java.awt.Graphics2D createGraphics(float width, float height, FontMapper fontMapper, boolean convertImagesToJPEG, float quality)(Code)(Java Doc) public java.awt.Graphics2D createGraphicsShapes(float width, float height)(Code)(Java Doc) public java.awt.Graphics2D createGraphicsShapes(float width, float height, boolean convertImagesToJPEG, float quality)(Code)(Java Doc) public PdfPatternPainter createPattern(float width, float height, float xstep, float ystep)(Code)(Java Doc) public PdfPatternPainter createPattern(float width, float height)(Code)(Java Doc) public PdfPatternPainter createPattern(float width, float height, float xstep, float ystep, Color color)(Code)(Java Doc) public PdfPatternPainter createPattern(float width, float height, Color color)(Code)(Java Doc) public java.awt.Graphics2D createPrinterGraphics(float width, float height, PrinterJob printerJob)(Code)(Java Doc) public java.awt.Graphics2D createPrinterGraphics(float width, float height, boolean convertImagesToJPEG, float quality, PrinterJob printerJob)(Code)(Java Doc) public java.awt.Graphics2D createPrinterGraphics(float width, float height, FontMapper fontMapper, PrinterJob printerJob)(Code)(Java Doc) public java.awt.Graphics2D createPrinterGraphics(float width, float height, FontMapper fontMapper, boolean convertImagesToJPEG, float quality, PrinterJob printerJob)(Code)(Java Doc) public java.awt.Graphics2D createPrinterGraphicsShapes(float width, float height, PrinterJob printerJob)(Code)(Java Doc) public java.awt.Graphics2D createPrinterGraphicsShapes(float width, float height, boolean convertImagesToJPEG, float quality, PrinterJob printerJob)(Code)(Java Doc) public PdfTemplate createTemplate(float width, float height)(Code)(Java Doc) PdfTemplate createTemplate(float width, float height, PdfName forcedName)(Code)(Java Doc) public void curveFromTo(float x1, float y1, float x3, float y3)(Code)(Java Doc) public void curveTo(float x1, float y1, float x2, float y2, float x3, float y3)(Code)(Java Doc) public void curveTo(float x2, float y2, float x3, float y3)(Code)(Java Doc) public void drawButton(float llx, float lly, float urx, float ury, String text, BaseFont bf, float size)(Code)(Java Doc) public void drawRadioField(float llx, float lly, float urx, float ury, boolean on)(Code)(Java Doc) public void drawTextField(float llx, float lly, float urx, float ury)(Code)(Java Doc) public void ellipse(float x1, float y1, float x2, float y2)(Code)(Java Doc) public void endLayer()(Code)(Java Doc) public void endMarkedContentSequence()(Code)(Java Doc) public void endText()(Code)(Java Doc) public void eoClip()(Code)(Java Doc) public void eoFill()(Code)(Java Doc) public void eoFillStroke()(Code)(Java Doc) static byte[] escapeString(byte b)(Code)(Java Doc) static void escapeString(byte b, ByteBuffer content)(Code)(Java Doc) public void fill()(Code)(Java Doc) public void fillStroke()(Code)(Java Doc) public float getCharacterSpacing()(Code)(Java Doc) public PdfContentByte getDuplicate()(Code)(Java Doc) public float getEffectiveStringWidth(String text, boolean kerned)(Code)(Java Doc) public float getHorizontalScaling()(Code)(Java Doc) public ByteBuffer getInternalBuffer()(Code)(Java Doc) public static PdfTextArray getKernArray(String text, BaseFont font)(Code)(Java Doc) public float getLeading()(Code)(Java Doc) PageResources getPageResources()(Code)(Java Doc) public PdfDocument getPdfDocument()(Code)(Java Doc) public PdfWriter getPdfWriter()(Code)(Java Doc) public PdfOutline getRootOutline()(Code)(Java Doc) public float getWordSpacing()(Code)(Java Doc) public float getXTLM()(Code)(Java Doc) public float getYTLM()(Code)(Java Doc) public void lineTo(float x, float y)(Code)(Java Doc) public boolean localDestination(String name, PdfDestination destination)(Code)(Java Doc) public void localGoto(String name, float llx, float lly, float urx, float ury)(Code)(Java Doc) public void moveText(float x, float y)(Code)(Java Doc) public void moveTextWithLeading(float x, float y)(Code)(Java Doc) public void moveTo(float x, float y)(Code)(Java Doc) public void newPath()(Code)(Java Doc) public void newlineShowText(String text)(Code)(Java Doc) public void newlineShowText(float wordSpacing, float charSpacing, String text)(Code)(Java Doc) public void newlineText()(Code)(Java Doc) void outputColorNumbers(Color color, float tint)(Code)(Java Doc) public void paintShading(PdfShading shading)(Code)(Java Doc) public void paintShading(PdfShadingPattern shading)(Code)(Java Doc) public void rectangle(float x, float y, float w, float h)(Code)(Java Doc) public void rectangle(Rectangle rectangle)(Code)(Java Doc) public void remoteGoto(String filename, String name, float llx, float lly, float urx, float ury)(Code)(Java Doc) public void remoteGoto(String filename, int page, float llx, float lly, float urx, float ury)(Code)(Java Doc) public void reset()(Code)(Java Doc) public void resetCMYKColorFill()(Code)(Java Doc) public void resetCMYKColorStroke()(Code)(Java Doc) public void resetGrayFill()(Code)(Java Doc) public void resetGrayStroke()(Code)(Java Doc) public void resetRGBColorFill()(Code)(Java Doc) public void resetRGBColorStroke()(Code)(Java Doc) public void restoreState()(Code)(Java Doc) public void roundRectangle(float x, float y, float w, float h, float r)(Code)(Java Doc) public void saveState()(Code)(Java Doc) public void setAction(PdfAction action, float llx, float lly, float urx, float ury)(Code)(Java Doc) public void setCMYKColorFill(int cyan, int magenta, int yellow, int black)(Code)(Java Doc) public void setCMYKColorFillF(float cyan, float magenta, float yellow, float black)(Code)(Java Doc) public void setCMYKColorStroke(int cyan, int magenta, int yellow, int black)(Code)(Java Doc) public void setCMYKColorStrokeF(float cyan, float magenta, float yellow, float black)(Code)(Java Doc) public void setCharacterSpacing(float charSpace)(Code)(Java Doc) public void setColorFill(Color color)(Code)(Java Doc) public void setColorFill(PdfSpotColor sp, float tint)(Code)(Java Doc) public void setColorStroke(Color color)(Code)(Java Doc) public void setColorStroke(PdfSpotColor sp, float tint)(Code)(Java Doc) public void setDefaultColorspace(PdfName name, PdfObject obj)(Code)(Java Doc) public void setFlatness(float flatness)(Code)(Java Doc) public void setFontAndSize(BaseFont bf, float size)(Code)(Java Doc) public void setGState(PdfGState gstate)(Code)(Java Doc) public void setGrayFill(float gray)(Code)(Java Doc) public void setGrayStroke(float gray)(Code)(Java Doc) public void setHorizontalScaling(float scale)(Code)(Java Doc) public void setLeading(float leading)(Code)(Java Doc) public void setLineCap(int style)(Code)(Java Doc) public void setLineDash(float phase)(Code)(Java Doc) public void setLineDash(float unitsOn, float phase)(Code)(Java Doc) public void setLineDash(float unitsOn, float unitsOff, float phase)(Code)(Java Doc) final public void setLineDash(float[] array, float phase)(Code)(Java Doc) public void setLineJoin(int style)(Code)(Java Doc) public void setLineWidth(float w)(Code)(Java Doc) public void setLiteral(String s)(Code)(Java Doc) public void setLiteral(char c)(Code)(Java Doc) public void setLiteral(float n)(Code)(Java Doc) public void setMiterLimit(float miterLimit)(Code)(Java Doc) public void setPatternFill(PdfPatternPainter p)(Code)(Java Doc) public void setPatternFill(PdfPatternPainter p, Color color)(Code)(Java Doc) public void setPatternFill(PdfPatternPainter p, Color color, float tint)(Code)(Java Doc) public void setPatternStroke(PdfPatternPainter p, Color color)(Code)(Java Doc) public void setPatternStroke(PdfPatternPainter p, Color color, float tint)(Code)(Java Doc) public void setPatternStroke(PdfPatternPainter p)(Code)(Java Doc) public void setRGBColorFill(int red, int green, int blue)(Code)(Java Doc) public void setRGBColorFillF(float red, float green, float blue)(Code)(Java Doc) public void setRGBColorStroke(int red, int green, int blue)(Code)(Java Doc) public void setRGBColorStrokeF(float red, float green, float blue)(Code)(Java Doc) public void setShadingFill(PdfShadingPattern shading)(Code)(Java Doc) public void setShadingStroke(PdfShadingPattern shading)(Code)(Java Doc) public void setTextMatrix(float a, float b, float c, float d, float x, float y)(Code)(Java Doc) public void setTextMatrix(float x, float y)(Code)(Java Doc) public void setTextRenderingMode(int rendering)(Code)(Java Doc) public void setTextRise(float rise)(Code)(Java Doc) public void setWordSpacing(float wordSpace)(Code)(Java Doc) public void showText(String text)(Code)(Java Doc) public void showText(PdfTextArray text)(Code)(Java Doc) public void showTextAligned(int alignment, String text, float x, float y, float rotation)(Code)(Java Doc) public void showTextAlignedKerned(int alignment, String text, float x, float y, float rotation)(Code)(Java Doc) public void showTextKerned(String text)(Code)(Java Doc) int size()(Code)(Java Doc) public void stroke()(Code)(Java Doc) public byte[] toPdf(PdfWriter writer)(Code)(Java Doc) public String toString()(Code)(Java Doc) public void transform(AffineTransform af)(Code)(Java Doc) public void variableRectangle(Rectangle rect)(Code)(Java Doc)
|
|
|