|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.cete.dynamicpdf.Resource
|
+--com.cete.dynamicpdf.io.OperatorWriter
|
+--com.cete.dynamicpdf.io.PageWriter
Represents a writer class for a page.
Licensing:
This class is a DynamicPDF Generator Professional Edition
feature. One of the following licenses is required for non-evaluation usage:
| Method Summary | |
void |
draw(DocumentWriter writer)
Writes content stream to the page. |
PageAnnotationList |
getAnnotations()
Gets a list of annotations used on the page. |
Page |
getPage()
Gets the Page object the page writer belongs to. |
int |
getPageNumber()
Gets the total pages being drawn to the document. |
PageResources |
getResources()
Gets the page resources used on the page. |
ResourceType |
getResourceType()
Gets the type of resource. |
int |
getSectionPageNumber()
Gets the current page being drawn the document. |
void |
setFillColorSpace(ColorSpace colorSpace)
Sets the color space for the page. |
void |
setStrokeColorSpace(ColorSpace colorSpace)
Sets the color space for the page. |
void |
write_cs_(ColorSpace colorSpace)
Writes a PDF "cs" operator to the page. |
void |
write_CS(ColorSpace colorSpace)
Writes a PDF "CS" operator to the page. |
void |
write_Do(Resource xObject)
Writes a PDF "Do" operator to the page. |
void |
write_gs(Resource extGState)
Writes a PDF "gs" operator to the page. |
void |
write_scn_(Gradient pattern)
Writes a PDF "scn" operator to the page. |
void |
write_scn_(SpotColor tint)
Writes a PDF "scn" operator to the page. |
void |
write_SCN(Gradient pattern)
Writes a PDF "SCN" operator to the page. |
void |
write_SCN(SpotColor tint)
Writes a PDF "SCN" operator to the page. |
void |
write_Tf(Font font,
float fontSize)
Writes a PDF "Tf" operator to the page. |
| Methods inherited from class com.cete.dynamicpdf.Resource |
getUid, newUid |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public ResourceType getResourceType()
getResourceType in class ResourceResourceTypepublic int getSectionPageNumber()
public int getPageNumber()
public Page getPage()
Page object the page writer belongs to.
public PageResources getResources()
public PageAnnotationList getAnnotations()
public void setStrokeColorSpace(ColorSpace colorSpace)
colorSpace - The ColorSpace to set.ColorSpacepublic void setFillColorSpace(ColorSpace colorSpace)
colorSpace - The ColorSpace to set.ColorSpacepublic void write_Do(Resource xObject)
xObject - The XObject to reference.public void write_cs_(ColorSpace colorSpace)
colorSpace - The ColorSpace to draw.ColorSpacepublic void write_CS(ColorSpace colorSpace)
colorSpace - The ColorSpace to draw.ColorSpacepublic void write_scn_(SpotColor tint)
tint - The tint to draw.public void write_scn_(Gradient pattern)
pattern - The Gradient to draw.Gradientpublic void write_SCN(SpotColor tint)
tint - The tint to draw.public void write_SCN(Gradient pattern)
pattern - The Gradient to draw.Gradient
public void write_Tf(Font font,
float fontSize)
write_Tf in class OperatorWriterfont - Font to draw.fontSize - The font size to draw.Fontpublic void write_gs(Resource extGState)
extGState - The external graphics state Resource to draw.Resourcepublic void draw(DocumentWriter writer)
draw in class Resourcewriter - DocumentWriter object to write the contents.DocumentWriter
|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||