|
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.HtmlLayout
public class HtmlLayout
This class can be used to place html layout on a document. View Example
Constructor Summary | |
---|---|
HtmlLayout(java.lang.String text,
PageInfo pageInfo)
Initializes a new instance of the HtmlLayout class. |
|
HtmlLayout(java.lang.String text,
java.net.URI baseRef,
PageInfo pageInfo)
Initializes a new instance of the HtmlLayout class. |
|
HtmlLayout(java.net.URI uri,
PageInfo pageInfo)
Initializes a new instance of the HtmlLayout class. |
|
HtmlLayout(java.net.URI uri,
java.net.URI baseRef,
PageInfo pageInfo)
Initializes a new instance of the HtmlLayout class. |
Method Summary | |
---|---|
java.net.URI |
getBaseRef()
Gets the base ref of the Html Layout. |
float |
getBottomMargin()
Gets the bottom margin of the Html Layout. |
FooterHtmlLayout |
getFooter()
Gets a FooterHtmlLayout object that represents the footer properties. |
HeaderHtmlLayout |
getHeader()
Gets a HeaderHtmlLayout object that represents the the header properties. |
float |
getLeftMargin()
Gets the left margin of the Html Layout. |
float |
getRightMargin()
Gets the right margin of the Html Layout. |
float |
getTopMargin()
Gets the top margin of the Html Layout. |
Document |
layout()
Gets a Document containing the paginated pages. |
void |
layout(Document document)
Adds the paginated pages to the supplied Document . |
void |
setBaseRef(java.net.URI value)
Sets the base ref of the Html Layout. |
void |
setBottomMargin(float value)
Sets the bottom margin of the Html Layout. |
void |
setLeftMargin(float value)
Sets the left margin of the Html Layout. |
void |
setRightMargin(float value)
Sets the right margin of the Html Layout. |
void |
setTopMargin(float value)
Sets the top margin of the Html Layout. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HtmlLayout(java.net.URI uri, PageInfo pageInfo)
HtmlLayout
class.
uri
- Physical Html file path of the Html Layout.pageInfo
- The PageInfo
representing the size of the page.public HtmlLayout(java.lang.String text, PageInfo pageInfo)
HtmlLayout
class.
text
- Html text to display in the Html Layout.pageInfo
- The PageInfo
representing the size of the page.public HtmlLayout(java.net.URI uri, java.net.URI baseRef, PageInfo pageInfo)
HtmlLayout
class.
uri
- Physical Html file path of the Html Layout.baseRef
- Physical file path of the Html resources.pageInfo
- The PageInfo
representing the size of the page.public HtmlLayout(java.lang.String text, java.net.URI baseRef, PageInfo pageInfo)
HtmlLayout
class.
text
- Html text to display in the Html Layout.baseRef
- Physical file path of the Html resources.pageInfo
- The PageInfo
representing the size of the page.Method Detail |
---|
public HeaderHtmlLayout getHeader()
HeaderHtmlLayout
object that represents the the header properties.
HeaderHtmlLayout
object that represents the the header properties.public FooterHtmlLayout getFooter()
FooterHtmlLayout
object that represents the footer properties.
FooterHtmlLayout
object that represents the footer properties.public java.net.URI getBaseRef()
public void setBaseRef(java.net.URI value)
value
- the base ref of the Html Layout.public float getTopMargin()
public void setTopMargin(float value)
value
- the top margin of the Html Layout.public float getRightMargin()
public void setRightMargin(float value)
value
- the right margin of the Html Layout.public float getBottomMargin()
public void setBottomMargin(float value)
value
- the bottom margin of the Html Layout.public float getLeftMargin()
public void setLeftMargin(float value)
value
- the left margin of the Html Layout.public Document layout()
Document
containing the paginated pages.
Document
containing the paginated pages.public void layout(Document document)
Document
.
document
- A document to layout.
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |