Java Doc for PdfTemplate.java in  » PDF » pdf-itext » com » lowagie » text » pdf » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » PDF » pdf itext » com.lowagie.text.pdf 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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,
PdfTemplate
public class PdfTemplate extends PdfContentByte (Code)
Implements the form XObject.


Field Summary
final public static  intTYPE_IMPORTED
    
final public static  intTYPE_PATTERN
    
final public static  intTYPE_TEMPLATE
    
protected  RectanglebBox
    
protected  PdfTransparencyGroupgroup
    
protected  PdfOCGlayer
    
protected  PdfArraymatrix
    
protected  PageResourcespageResources
    
protected  PdfIndirectReferencethisReference
    
protected  inttype
    

Constructor Summary
protected  PdfTemplate()
     Creates a PdfTemplate.
 PdfTemplate(PdfWriter wr)
    

Method Summary
public  voidbeginVariableText()
    
public static  PdfTemplatecreateTemplate(PdfWriter writer, float width, float height)
     Creates a new template.

Creates a new template that is nothing more than a form XObject.

static  PdfTemplatecreateTemplate(PdfWriter writer, float width, float height, PdfName forcedName)
    
public  voidendVariableText()
    
public  RectanglegetBoundingBox()
    
public  PdfContentBytegetDuplicate()
     Gets a duplicate of this PdfTemplate.
 PdfStreamgetFormXObject()
     Gets the stream representing this template.
public  PdfTransparencyGroupgetGroup()
     Getter for property group.
public  floatgetHeight()
     Gets the bounding heigth of this template.
public  PdfIndirectReferencegetIndirectReference()
     Gets the indirect reference to this template.
public  PdfOCGgetLayer()
     Gets the layer this template belongs to.
 PdfArraygetMatrix()
    
 PageResourcesgetPageResources()
    
 PdfObjectgetResources()
     Constructs the resources used by this template.
public  intgetType()
    
public  floatgetWidth()
     Gets the bounding width of this template.
public  voidsetBoundingBox(Rectangle bBox)
    
public  voidsetGroup(PdfTransparencyGroup group)
     Setter for property group.
public  voidsetHeight(float height)
     Sets the bounding heigth of this template.
public  voidsetLayer(PdfOCG layer)
     Sets the layer this template belongs to.
public  voidsetMatrix(float a, float b, float c, float d, float e, float f)
    
public  voidsetWidth(float width)
     Sets the bounding width of this template.

Field Detail
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)



bBox
protected Rectangle bBox(Code)
The bounding box of this template



group
protected PdfTransparencyGroup group(Code)



layer
protected PdfOCG layer(Code)



matrix
protected PdfArray matrix(Code)



pageResources
protected PageResources pageResources(Code)
The resources used by this template



thisReference
protected PdfIndirectReference thisReference(Code)
The indirect reference to this template



type
protected int type(Code)




Constructor Detail
PdfTemplate
protected PdfTemplate()(Code)
Creates a PdfTemplate.



PdfTemplate
PdfTemplate(PdfWriter wr)(Code)
Creates new PdfTemplate
Parameters:
  wr - the PdfWriter




Method Detail
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




createTemplate
static PdfTemplate createTemplate(PdfWriter writer, float width, float height, PdfName forcedName)(Code)



endVariableText
public void endVariableText()(Code)



getBoundingBox
public Rectangle getBoundingBox()(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



getGroup
public PdfTransparencyGroup getGroup()(Code)
Getter for property group. Value of property group.



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



getMatrix
PdfArray getMatrix()(Code)



getPageResources
PageResources getPageResources()(Code)



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



setBoundingBox
public void setBoundingBox(Rectangle bBox)(Code)



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



Fields inherited from com.lowagie.text.pdf.PdfContentByte
final public static int ALIGN_CENTER(Code)(Java Doc)
final public static int ALIGN_LEFT(Code)(Java Doc)
final public static int ALIGN_RIGHT(Code)(Java Doc)
final public static int LINE_CAP_BUTT(Code)(Java Doc)
final public static int LINE_CAP_PROJECTING_SQUARE(Code)(Java Doc)
final public static int LINE_CAP_ROUND(Code)(Java Doc)
final public static int LINE_JOIN_BEVEL(Code)(Java Doc)
final public static int LINE_JOIN_MITER(Code)(Java Doc)
final public static int LINE_JOIN_ROUND(Code)(Java Doc)
final public static int TEXT_RENDER_MODE_CLIP(Code)(Java Doc)
final public static int TEXT_RENDER_MODE_FILL(Code)(Java Doc)
final public static int TEXT_RENDER_MODE_FILL_CLIP(Code)(Java Doc)
final public static int TEXT_RENDER_MODE_FILL_STROKE(Code)(Java Doc)
final public static int TEXT_RENDER_MODE_FILL_STROKE_CLIP(Code)(Java Doc)
final public static int TEXT_RENDER_MODE_INVISIBLE(Code)(Java Doc)
final public static int TEXT_RENDER_MODE_STROKE(Code)(Java Doc)
final public static int TEXT_RENDER_MODE_STROKE_CLIP(Code)(Java Doc)
protected ByteBuffer content(Code)(Java Doc)
protected ArrayList layerDepth(Code)(Java Doc)
protected PdfDocument pdf(Code)(Java Doc)
protected int separator(Code)(Java Doc)
protected GraphicState state(Code)(Java Doc)
protected ArrayList stateList(Code)(Java Doc)
protected PdfWriter writer(Code)(Java Doc)

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)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.