| Methods from com.lowagie.text.pdf.PdfContentByte: |
|---|
|
add, addAnnotation, addImage, addImage, addImage, addImage, addOutline, addPSXObject, addTemplate, addTemplate, addTemplateReference, arc, beginLayer, beginMarkedContentSequence, beginMarkedContentSequence, beginMarkedContentSequence, beginText, bezierArc, checkNoPattern, checkWriter, circle, clip, closePath, closePathEoFillStroke, closePathFillStroke, closePathStroke, concatCTM, createAppearance, createAppearance, createGraphics, createGraphics, createGraphics, createGraphics, createGraphicsShapes, createGraphicsShapes, createPattern, createPattern, createPattern, createPattern, createPrinterGraphics, createPrinterGraphics, createPrinterGraphics, createPrinterGraphics, createPrinterGraphicsShapes, createPrinterGraphicsShapes, createTemplate, createTemplate, curveFromTo, curveTo, curveTo, drawButton, drawRadioField, drawTextField, ellipse, endLayer, endMarkedContentSequence, endText, eoClip, eoFill, eoFillStroke, escapeString, escapeString, fill, fillStroke, getCharacterSpacing, getDuplicate, getEffectiveStringWidth, getHorizontalScaling, getInternalBuffer, getKernArray, getLeading, getPageResources, getPdfDocument, getPdfWriter, getRootOutline, getWordSpacing, getXTLM, getYTLM, lineTo, localDestination, localGoto, moveText, moveTextWithLeading, moveTo, newPath, newlineShowText, newlineShowText, newlineText, outputColorNumbers, paintShading, paintShading, rectangle, rectangle, remoteGoto, remoteGoto, reset, resetCMYKColorFill, resetCMYKColorStroke, resetGrayFill, resetGrayStroke, resetRGBColorFill, resetRGBColorStroke, restoreState, roundRectangle, saveState, setAction, setCMYKColorFill, setCMYKColorFillF, setCMYKColorStroke, setCMYKColorStrokeF, setCharacterSpacing, setColorFill, setColorFill, setColorStroke, setColorStroke, setDefaultColorspace, setFlatness, setFontAndSize, setGState, setGrayFill, setGrayStroke, setHorizontalScaling, setLeading, setLineCap, setLineDash, setLineDash, setLineDash, setLineDash, setLineJoin, setLineWidth, setLiteral, setLiteral, setLiteral, setMiterLimit, setPatternFill, setPatternFill, setPatternFill, setPatternStroke, setPatternStroke, setPatternStroke, setRGBColorFill, setRGBColorFillF, setRGBColorStroke, setRGBColorStrokeF, setShadingFill, setShadingStroke, setTextMatrix, setTextMatrix, setTextRenderingMode, setTextRise, setWordSpacing, showText, showText, showTextAligned, showTextAlignedKerned, showTextKerned, size, stroke, toPdf, toString, transform, variableRectangle |
| Method from com.lowagie.text.pdf.PdfTemplate Detail: |
public void beginVariableText() {
content.append("/Tx BMC ");
}
|
public static PdfTemplate createTemplate(PdfWriter writer,
float width,
float height) {
return createTemplate(writer, width, height, null);
}
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. |
static PdfTemplate createTemplate(PdfWriter writer,
float width,
float height,
PdfName forcedName) {
PdfTemplate template = new PdfTemplate(writer);
template.setWidth(width);
template.setHeight(height);
writer.addDirectTemplateSimple(template, forcedName);
return template;
}
|
public void endVariableText() {
content.append("EMC ");
}
|
public Rectangle getBoundingBox() {
return bBox;
}
|
public PdfContentByte getDuplicate() {
PdfTemplate tpl = new PdfTemplate();
tpl.writer = writer;
tpl.pdf = pdf;
tpl.thisReference = thisReference;
tpl.pageResources = pageResources;
tpl.bBox = new Rectangle(bBox);
tpl.group = group;
tpl.layer = layer;
if (matrix != null) {
tpl.matrix = new PdfArray(matrix);
}
tpl.separator = separator;
return tpl;
}
Gets a duplicate of this PdfTemplate. All
the members are copied by reference but the buffer stays different. |
PdfStream getFormXObject(int compressionLevel) throws IOException {
return new PdfFormXObject(this, compressionLevel);
}
Gets the stream representing this template. |
public PdfTransparencyGroup getGroup() {
return this.group;
}
Getter for property group. |
public float getHeight() {
return bBox.getHeight();
}
Gets the bounding height of this template. |
public PdfIndirectReference getIndirectReference() {
return thisReference;
}
Gets the indirect reference to this template. |
public PdfOCG getLayer() {
return layer;
}
Gets the layer this template belongs to. |
PdfArray getMatrix() {
return matrix;
}
|
PageResources getPageResources() {
return pageResources;
}
|
PdfObject getResources() {
return getPageResources().getResources();
}
Constructs the resources used by this template. |
public int getType() {
return type;
}
|
public float getWidth() {
return bBox.getWidth();
}
Gets the bounding width of this template. |
public void setBoundingBox(Rectangle bBox) {
this.bBox = bBox;
}
|
public void setGroup(PdfTransparencyGroup group) {
this.group = group;
}
Setter for property group. |
public void setHeight(float height) {
bBox.setBottom(0);
bBox.setTop(height);
}
Sets the bounding height of this template. |
public void setLayer(PdfOCG layer) {
this.layer = layer;
}
Sets the layer this template belongs to. |
public void setMatrix(float a,
float b,
float c,
float d,
float e,
float f) {
matrix = new PdfArray();
matrix.add(new PdfNumber(a));
matrix.add(new PdfNumber(b));
matrix.add(new PdfNumber(c));
matrix.add(new PdfNumber(d));
matrix.add(new PdfNumber(e));
matrix.add(new PdfNumber(f));
}
|
public void setWidth(float width) {
bBox.setLeft(0);
bBox.setRight(width);
}
Sets the bounding width of this template. |