|
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.Page
This class can be used to create pages to add to your Document.
Licensing:
This class is a DynamicPDF Generator Community Edition feature.
| Constructor Summary | |
Page()
Initializes a new instance of the Page class. |
|
Page(float width,
float height)
Initializes a new instance of the Page class. |
|
Page(float width,
float height,
float margins)
Construtor Initializes a new instance of the Page class. |
|
Page(PageDimensions dimensions)
Initializes a new instance of the Page class. |
|
Page(PageSize size)
Initializes a new instance of the Page class. |
|
Page(PageSize size,
float margins)
Initializes a new instance of the Page class. |
|
Page(PageSize size,
PageOrientation orientation)
Initializes a new instance of the Page class. |
|
Page(PageSize size,
PageOrientation orientation,
float margins)
Initializes a new instance of the Page class. |
|
| Method Summary | |
void |
draw(DocumentWriter writer,
int parentObject,
int pageNumber,
int sectionPageNumber)
Draws the page to the given DocumentWriter object. |
boolean |
getApplyDocumentTemplate()
Gets a value indicating if this page uses the documents template. |
boolean |
getApplySectionTemplate()
Gets a value indicating if this page uses the sections template. |
PageDimensions |
getDimensions()
Gets the dimensions of the page. |
Group |
getElements()
Gets a collection of page elements. |
int |
getRotate()
Gets the rotation of the page. |
void |
setApplyDocumentTemplate(boolean value)
Sets a value indicating if this page uses the documents template. |
void |
setApplySectionTemplate(boolean value)
Sets a value indicating if this page uses the sections template. |
void |
setDimensions(PageDimensions value)
Sets the dimensions of the page. |
void |
setRotate(int value)
Sets the rotation of the page. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Page()
Page class.
Pagepublic Page(PageSize size)
Page class.
size - represents the dimensions of the page.Page,
PageSize
public Page(PageSize size,
PageOrientation orientation)
Page class.
size - represents the dimensions of the page.orientation - The PageOrientation of the page.Page,
PageSize,
PageOrientation
public Page(PageSize size,
float margins)
Page class.
size - represents the dimensions of the page.margins - The margins of the page.Page,
PageSize
public Page(PageSize size,
PageOrientation orientation,
float margins)
Page class.
size - represents the dimensions of the page.orientation - The PageOrientation of the page.margins - The margins of the page.Page,
PageSize,
PageOrientation
public Page(float width,
float height)
Page class.
width - The width of the page.height - The height of the page.Page
public Page(float width,
float height,
float margins)
Page class.
width - The width of the page.height - The height of the page.margins - The margins of the page.Pagepublic Page(PageDimensions dimensions)
Page class.
dimensions - The PageDimensions of the page.Page,
PageDimensions| Method Detail |
public Group getElements()
public PageDimensions getDimensions()
public void setDimensions(PageDimensions value)
public int getRotate()
public void setRotate(int value)
public boolean getApplyDocumentTemplate()
public void setApplyDocumentTemplate(boolean value)
public boolean getApplySectionTemplate()
public void setApplySectionTemplate(boolean value)
public void draw(DocumentWriter writer,
int parentObject,
int pageNumber,
int sectionPageNumber)
DocumentWriter object.
GeneratorException - If the page rotation is not in multiple of 90.writer - DocumentWriter object to receive the output.
|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||