|
DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cete.dynamicpdf.Resource
com.cete.dynamicpdf.io.OperatorWriter
com.cete.dynamicpdf.io.PageWriter
public class 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_b_()
Writes a PDF "b" operator to the page. |
void |
write_B()
Writes a PDF "B" operator to the page. |
void |
write_BI()
Writes a PDF "BI" operator to the page. |
void |
write_bx_()
Writes a PDF "b*" operator to the page. |
void |
write_Bx()
Writes a PDF "B*" operator to the page. |
void |
write_c(float x1,
float y1,
float x2,
float y2,
float x3,
float y3)
Writes a PDF "c" operator to 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_EI()
Writes a PDF "EI" operator to the page. |
void |
write_f()
Writes a PDF "f" operator to the page. |
void |
write_fx()
Writes a PDF "f*" operator to the page. |
void |
write_g_(Grayscale color)
Writes a PDF "g" operator to the page. |
void |
write_G(Grayscale color)
Writes a PDF "G" operator to the page. |
void |
write_gs(Resource extGState)
Writes a PDF "gs" operator to the page. |
void |
write_k_(CmykColor color)
Writes a PDF "k" operator to the page. |
void |
write_K(CmykColor color)
Writes a PDF "K" operator to the page. |
void |
write_l_(float x,
float y)
Writes a PDF "l" operator to the page. |
void |
write_m_(float x,
float y)
Writes a PDF "m" operator to the page. |
void |
write_re(float x,
float y,
float width,
float height)
Writes a PDF "re" operator to the page. |
void |
write_rg_(RgbColor color)
Writes a PDF "rg" operator to the page. |
void |
write_RG(RgbColor color)
Writes a PDF "RG" operator to the page. |
void |
write_s_()
Writes a PDF "s" operator to the page. |
void |
write_S()
Writes a PDF "S" 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. |
void |
write_v(float x2,
float y2,
float x3,
float y3)
Writes a PDF "v" operator to the page. |
void |
write_y(float x1,
float y1,
float x3,
float y3)
Writes a PDF "y" 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)
write_Do in class OperatorWriterxObject - The XObject to reference.Resourcepublic 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.Resource
public void write_m_(float x,
float y)
write_m_ in class OperatorWriterx - The X coordinate to draw.y - The Y coordinate to draw.
public void write_l_(float x,
float y)
write_l_ in class OperatorWriterx - The X coordinate to draw.y - The y coordinate to draw.
public void write_c(float x1,
float y1,
float x2,
float y2,
float x3,
float y3)
write_c in class OperatorWriterx1 - The X1 coordinate to draw.y1 - The Y1 coordinate to draw.x2 - The X2 coordinate to draw.y2 - The Y2 coordinate to draw.x3 - The X3 coordinate to draw.y3 - The Y3 coordinate to draw.
public void write_v(float x2,
float y2,
float x3,
float y3)
write_v in class OperatorWriterx2 - The X2 coordinate to draw.y2 - The Y2 coordinate to draw.x3 - The X3 coordinate to draw.y3 - The Y3 coordinate to draw.
public void write_y(float x1,
float y1,
float x3,
float y3)
write_y in class OperatorWriterx1 - The X1 coordinate to draw.y1 - The Y1 coordinate to draw.x3 - The X3 coordinate to draw.y3 - The Y3 coordinate to draw.
public void write_re(float x,
float y,
float width,
float height)
write_re in class OperatorWriterx - The X coordinate to draw.y - The Y coordinate to draw.width - The width to draw.height - The height to draw.public void write_s_()
write_s_ in class OperatorWriterpublic void write_S()
write_S in class OperatorWriterpublic void write_fx()
write_fx in class OperatorWriterpublic void write_f()
write_f in class OperatorWriterpublic void write_B()
write_B in class OperatorWriterpublic void write_BI()
write_BI in class OperatorWriterpublic void write_EI()
write_EI in class OperatorWriterpublic void write_b_()
write_b_ in class OperatorWriterpublic void write_Bx()
write_Bx in class OperatorWriterpublic void write_bx_()
write_bx_ in class OperatorWriterpublic void write_G(Grayscale color)
write_G in class OperatorWritercolor - The Grayscale color to draw.Grayscalepublic void write_g_(Grayscale color)
write_g_ in class OperatorWritercolor - The Grayscale color to draw.Grayscalepublic void write_RG(RgbColor color)
write_RG in class OperatorWritercolor - The RgbColor to draw.RgbColorpublic void write_rg_(RgbColor color)
write_rg_ in class OperatorWritercolor - The RgbColor to draw.RgbColorpublic void write_K(CmykColor color)
write_K in class OperatorWritercolor - The CmykColor to draw.CmykColorpublic void write_k_(CmykColor color)
write_k_ in class OperatorWritercolor - The CmykColor to draw.CmykColorpublic 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 | ||||||||