|
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.
View Example
| Constructor Summary | |
Page()
Initializes a new instance of the class. |
|
Page(float width,
float height)
Initializes a new instance of the class. |
|
Page(float width,
float height,
float margins)
Construtor Initializes a new instance of the class. |
|
Page(PageDimensions dimensions)
Initializes a new instance of the class. |
|
Page(PageSize size)
Initializes a new instance of the class. |
|
Page(PageSize size,
float margins)
Construtor Initializes a new instance of the class. |
|
Page(PageSize size,
PageOrientation orientation)
Initializes a new instance of the class. |
|
Page(PageSize size,
PageOrientation orientation,
float margins)
Initializes a new instance of the class. |
|
| Method Summary | |
protected void |
drawAnnotations(DocumentWriter writer)
Draws the annotations to the given DocumentWriter object. |
protected void |
drawAppend(PageWriter writer)
Draws the appended output to the given DocumentWriter object. |
protected void |
drawContents(DocumentWriter writer)
Draws the contents to the given DocumentWriter object. |
protected void |
drawDimensions(DocumentWriter writer)
Draws the dimensions to the given DocumentWriter object. |
protected void |
drawPrepend(PageWriter writer)
Draws the prepended output to the given DocumentWriter object. |
protected void |
drawResources(DocumentWriter writer,
PageResources resources)
Draws the resources 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. |
protected int |
getContentObjects()
|
PageDimensions |
getDimensions()
Gets the dimensions of the page. |
Group |
getElements()
Gets a collection of page elements. |
int |
getRequiredLicenseLevel()
Gets the required license level for this page. |
int |
getRotate()
Gets the rotation of the page. |
protected boolean |
hasPageElements(DocumentWriter writer,
int pageNumber)
|
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. |
protected void |
setRequiredLicenseLevel(int level)
Sets the license level required by 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()
Pagepublic Page(PageSize size)
size - represents the dimensions of the page.Page,
PageSize
public Page(PageSize size,
PageOrientation orientation)
size - represents the dimensions of the page.orientation - The PageOrientation of the page.Page,
PageSize,
PageOrientation
public Page(PageSize size,
float margins)
size - represents the dimensions of the page.margins - The margins of the page.Page,
PageSize
public Page(PageSize size,
PageOrientation orientation,
float margins)
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)
width - The width of the page.height - The height of the page.Page
public Page(float width,
float height,
float margins)
width - The width of the page.height - The height of the page.margins - The margins of the page.Pagepublic Page(PageDimensions dimensions)
dimensions - The PageDimensions of the page.Page,
PageDimensions| Method Detail |
protected int getContentObjects()
protected boolean hasPageElements(DocumentWriter writer,
int pageNumber)
public int getRequiredLicenseLevel()
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)
protected void drawDimensions(DocumentWriter writer)
DocumentWriter object.
writer - DocumentWriter to receive the output.DocumentWriterprotected void drawContents(DocumentWriter writer)
DocumentWriter object.
writer - DocumentWriter to receive the output.DocumentWriterprotected void drawAnnotations(DocumentWriter writer)
DocumentWriter object.
writer - DocumentWriter to receive the output.DocumentWriter
protected void drawResources(DocumentWriter writer,
PageResources resources)
DocumentWriter object.
writer - DocumentWriter to receive the output.resources - The pages resources.DocumentWriterprotected void setRequiredLicenseLevel(int level)
level - Required license level.protected void drawPrepend(PageWriter writer)
DocumentWriter object.
writer - DocumentWriter to receive the output.DocumentWriterprotected void drawAppend(PageWriter writer)
DocumentWriter object.
writer - DocumentWriter to receive the output.DocumentWriter
|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||