|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.sdk.occa.report.document.PageMargins
public class PageMargins
This object allows you to get and set the page margins of the report. This information includes:
the top, bottom, left, and right margins of the report. These margins are absolute. The right margin
is not relative to the left margin and the bottom margin is not relative to the top margin.
All margins are measured in twips.
Use IPageMargins
to access these methods.
Constructor Summary | |
---|---|
PageMargins()
|
|
PageMargins(IPageMargins src)
|
Method Summary | |
---|---|
java.lang.Object |
clone(boolean deepClone)
|
void |
copyTo(java.lang.Object destObject,
boolean deepCopy)
|
java.lang.Object |
createMember(java.lang.String eleName,
org.xml.sax.Attributes attrs,
XMLSerializationContext ctxt,
java.util.Map objState,
boolean[] bLoaded)
For internal use only. |
void |
endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only. |
int |
getBottom()
Gets the bottom margin of the report. |
int |
getLeft()
Gets the left margin of the report. |
int |
getRight()
Gets the right margin of the report. |
int |
getTop()
Gets the top margin of the report. |
boolean |
hasContent(java.lang.Object srcPageMargins)
|
void |
readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
For internal use only. |
void |
save(XMLWriter writer,
java.lang.String sTag,
XMLSerializationContext ctxt)
For internal use only. |
void |
save(XMLWriter writer,
XMLSerializationContext ctxt)
For internal use only. |
void |
saveContents(XMLWriter writer,
XMLSerializationContext ctxt)
For internal use only. |
void |
setBottom(int bottom)
Sets the bottom margin of the report. |
void |
setLeft(int left)
Sets the left margin of the report. |
void |
setRight(int right)
Sets the right margin of the report. |
void |
setTop(int top)
Sets the top margin of the report. |
void |
startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
For internal use only. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PageMargins(IPageMargins src)
public PageMargins()
Method Detail |
---|
public java.lang.Object clone(boolean deepClone)
public boolean hasContent(java.lang.Object srcPageMargins)
public void copyTo(java.lang.Object destObject, boolean deepCopy)
public int getTop()
IPageMargins
Gets the top margin of the report.
getTop
in interface IPageMargins
public int getBottom()
IPageMargins
Gets the bottom margin of the report.
getBottom
in interface IPageMargins
public int getLeft()
IPageMargins
Gets the left margin of the report.
getLeft
in interface IPageMargins
public int getRight()
IPageMargins
Gets the right margin of the report.
getRight
in interface IPageMargins
public void setTop(int top)
IPageMargins
Sets the top margin of the report.
setTop
in interface IPageMargins
top
- the top margin of the reportpublic void setBottom(int bottom)
IPageMargins
Sets the bottom margin of the report.
setBottom
in interface IPageMargins
bottom
- the bottom margin of the reportpublic void setLeft(int left)
IPageMargins
Sets the left margin of the report.
setLeft
in interface IPageMargins
left
- the left margin of the reportpublic void setRight(int right)
IPageMargins
Sets the right margin of the report.
setRight
in interface IPageMargins
right
- the right margin of the reportpublic void readElement(java.lang.String eleName, java.lang.String sVal, org.xml.sax.Attributes attrs, java.util.Map objState)
For internal use only.
public void save(XMLWriter writer, XMLSerializationContext ctxt) throws java.io.IOException
For internal use only.
java.io.IOException
public void save(XMLWriter writer, java.lang.String sTag, XMLSerializationContext ctxt) throws java.io.IOException
For internal use only.
java.io.IOException
public void saveContents(XMLWriter writer, XMLSerializationContext ctxt) throws java.io.IOException
For internal use only.
java.io.IOException
public java.lang.Object createMember(java.lang.String eleName, org.xml.sax.Attributes attrs, XMLSerializationContext ctxt, java.util.Map objState, boolean[] bLoaded)
For internal use only.
public void endElement(java.lang.String eleName, java.util.Map objState)
For internal use only.
public void startElement(java.lang.String eleName, java.util.Map objState, org.xml.sax.Attributes attrs)
For internal use only.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |