|
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
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 Resource
ResourceType
public 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.ColorSpace
public void setFillColorSpace(ColorSpace colorSpace)
colorSpace
- The ColorSpace to set.ColorSpace
public void write_Do(Resource xObject)
write_Do
in class OperatorWriter
xObject
- The XObject to reference.Resource
public void write_cs_(ColorSpace colorSpace)
colorSpace
- The ColorSpace to draw.ColorSpace
public void write_CS(ColorSpace colorSpace)
colorSpace
- The ColorSpace to draw.ColorSpace
public 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_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 OperatorWriter
font
- Font
to draw.fontSize
- The font size to draw.Font
public 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 OperatorWriter
x
- The X coordinate to draw.y
- The Y coordinate to draw.public void write_l_(float x, float y)
write_l_
in class OperatorWriter
x
- 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 OperatorWriter
x1
- 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 OperatorWriter
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_y(float x1, float y1, float x3, float y3)
write_y
in class OperatorWriter
x1
- 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 OperatorWriter
x
- 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 OperatorWriter
public void write_S()
write_S
in class OperatorWriter
public void write_fx()
write_fx
in class OperatorWriter
public void write_f()
write_f
in class OperatorWriter
public void write_B()
write_B
in class OperatorWriter
public void write_BI()
write_BI
in class OperatorWriter
public void write_EI()
write_EI
in class OperatorWriter
public void write_b_()
write_b_
in class OperatorWriter
public void write_Bx()
write_Bx
in class OperatorWriter
public void write_bx_()
write_bx_
in class OperatorWriter
public void write_G(Grayscale color)
write_G
in class OperatorWriter
color
- The Grayscale
color to draw.Grayscale
public void write_g_(Grayscale color)
write_g_
in class OperatorWriter
color
- The Grayscale
color to draw.Grayscale
public void write_RG(RgbColor color)
write_RG
in class OperatorWriter
color
- The RgbColor
to draw.RgbColor
public void write_rg_(RgbColor color)
write_rg_
in class OperatorWriter
color
- The RgbColor
to draw.RgbColor
public void write_K(CmykColor color)
write_K
in class OperatorWriter
color
- The CmykColor
to draw.CmykColor
public void write_k_(CmykColor color)
write_k_
in class OperatorWriter
color
- The CmykColor
to draw.CmykColor
public void draw(DocumentWriter writer)
draw
in class Resource
writer
- 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 |