|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.doc.OwnerHolder
com.spire.doc.documents.xml.DocumentSerializable
com.spire.doc.PageSetup
public class PageSetup
Method Summary | |
---|---|
boolean |
getBidi()
Gets whether section contains right-to-left text. |
Borders |
getBorders()
Gets page borders collection |
CharacterSpacing |
getCharacterSpacingControl()
Character Spacing Control. |
float |
getClientHeight()
Gets width of client area. |
float |
getClientWidth()
Gets width of client area. |
boolean |
getColumnsLineBetween()
Gets the value specifies if a vertical line is draw between each of the text columns in the this section. |
float |
getDefaultTabWidth()
Gets the length of the auto tab. |
boolean |
getDifferentFirstPageHeaderFooter()
Setting to specify that the current section has a different header/footer for first page. |
boolean |
getDifferentOddAndEvenPagesHeaderFooter()
True if the document has different headers and footers for odd-numbered and even-numbered pages. |
boolean |
getEqualColumnWidth()
Gets a value indicating whether equal column width. |
float |
getFooterDistance()
Gets footer height in points. |
GridPitchType |
getGridType()
Gets the grid type of this section. |
float |
getGutter()
Gets extra space added to the margin for document binding in points. |
float |
getHeaderDistance()
Gets height of header in points. |
float |
getLineNumberingDistanceFromText()
Gets distance from text in lines numbering |
LineNumberingRestartMode |
getLineNumberingRestartMode()
Returns line numbering mode |
int |
getLineNumberingStartValue()
Gets line numbering start value |
int |
getLineNumberingStep()
Gets line numbering step |
int |
getLinesPerPage()
Gets the number of lines per page in the document grid. |
MarginsF |
getMargins()
Gets page margins in points. |
PageOrientation |
getOrientation()
Returns orientation of a page. |
boolean |
getPageBorderIncludeFooter()
Gets a value indicating whether the page border include the footer. |
boolean |
getPageBorderIncludeHeader()
Gets a value indicating whether the page border include the header. |
PageBorderOffsetFrom |
getPageBorderOffsetFrom()
Gets the position of page border |
PageBordersApplyType |
getPageBordersApplyType()
Gets the value that determine on which pages border is applied |
PageNumberStyle |
getPageNumberStyle()
Gets the page number style. |
java.awt.geom.Dimension2D |
getPageSize()
Gets page size in points. |
int |
getPageStartingNumber()
Gets the page starting number. |
boolean |
getRestartPageNumbering()
Gets a value indicating whether to restart page numbering. |
PageAlignment |
getVerticalAlignment()
Gets the length of the auto tab. |
void |
insertPageNumbers(boolean fromTopPage,
PageNumberAlignment horizontalAlignment)
Inserts the page numbers. |
boolean |
isFrontPageBorder()
Gets a value indicating whether this instance is front page border. |
void |
isFrontPageBorder(boolean value)
Sets a value indicating whether this instance is front page border. |
boolean |
isTopGutter()
Gets the value that determines whether use Top Gutter. |
void |
isTopGutter(boolean value)
Sets the value that determines whether use Top Gutter. |
void |
setBidi(boolean value)
Sets whether section contains right-to-left text. |
void |
setCharacterSpacingControl(CharacterSpacing value)
Character Spacing Control. |
void |
setColumnsLineBetween(boolean value)
Sets the value specifies if a vertical line is draw between each of the text columns in the this section. |
void |
setDefaultTabWidth(float value)
Sets the length of the auto tab. |
void |
setDifferentFirstPageHeaderFooter(boolean value)
Setting to specify that the current section has a different header/footer for first page. |
void |
setDifferentOddAndEvenPagesHeaderFooter(boolean value)
True if the document has different headers and footers for odd-numbered and even-numbered pages. |
void |
setEqualColumnWidth(boolean value)
Sets a value indicating whether equal column width. |
void |
setFooterDistance(float value)
Sets footer height in points. |
void |
setGridType(GridPitchType value)
Sets the grid type of this section. |
void |
setGutter(float value)
Sets extra space added to the margin for document binding in points. |
void |
setHeaderDistance(float value)
Gets or sets height of header in points. |
void |
setLineNumberingDistanceFromText(float value)
Sets distance from text in lines numbering |
void |
setLineNumberingRestartMode(LineNumberingRestartMode value)
Sets line numbering mode |
void |
setLineNumberingStartValue(int value)
Sets line numbering start value |
void |
setLineNumberingStep(int value)
Sets line numbering step |
void |
setLinesPerPage(int value)
Sets the number of lines per page in the document grid. |
void |
setMargins(MarginsF value)
Sets page margins in points. |
void |
setOrientation(PageOrientation value)
Sets orientation of a page. |
void |
setPageBorderIncludeFooter(boolean value)
Sets a value indicating whether the page border include the footer. |
void |
setPageBorderIncludeHeader(boolean value)
Sets a value indicating whether the page border include the header. |
void |
setPageBorderOffsetFrom(PageBorderOffsetFrom value)
Sets the position of page border |
void |
setPageBordersApplyType(PageBordersApplyType value)
Sets the value that determine on which pages border is applied |
void |
setPageNumberStyle(PageNumberStyle value)
Sets the page number style. |
void |
setPageSize(java.awt.geom.Dimension2D value)
Sets page size in points. |
void |
setPageStartingNumber(int value)
Sets the page starting number. |
void |
setRestartPageNumbering(boolean value)
Sets a value indicating whether to restart page numbering. |
void |
setVerticalAlignment(PageAlignment value)
Sets vertical alignment. |
java.lang.String |
toString()
|
Methods inherited from class com.spire.doc.OwnerHolder |
---|
getDocument |
Method Detail |
---|
public boolean isTopGutter()
public void isTopGutter(boolean value)
public float getDefaultTabWidth()
public void setDefaultTabWidth(float value)
value
- The length of the auto tab.public java.awt.geom.Dimension2D getPageSize()
public void setPageSize(java.awt.geom.Dimension2D value)
value
- SizeFpublic PageOrientation getOrientation()
public void setOrientation(PageOrientation value)
public PageAlignment getVerticalAlignment()
public void setVerticalAlignment(PageAlignment value)
public MarginsF getMargins()
public void setMargins(MarginsF value)
public float getGutter()
public void setGutter(float value)
public float getHeaderDistance()
public void setHeaderDistance(float value)
public float getFooterDistance()
public void setFooterDistance(float value)
public float getClientWidth()
public float getClientHeight()
public boolean getDifferentFirstPageHeaderFooter()
public void setDifferentFirstPageHeaderFooter(boolean value)
public boolean getDifferentOddAndEvenPagesHeaderFooter()
public void setDifferentOddAndEvenPagesHeaderFooter(boolean value)
public LineNumberingRestartMode getLineNumberingRestartMode()
public void setLineNumberingRestartMode(LineNumberingRestartMode value)
public int getLineNumberingStep()
public void setLineNumberingStep(int value)
public int getLineNumberingStartValue()
public void setLineNumberingStartValue(int value)
public float getLineNumberingDistanceFromText()
public void setLineNumberingDistanceFromText(float value)
public PageBordersApplyType getPageBordersApplyType()
public void setPageBordersApplyType(PageBordersApplyType value)
public PageBorderOffsetFrom getPageBorderOffsetFrom()
public void setPageBorderOffsetFrom(PageBorderOffsetFrom value)
public boolean isFrontPageBorder()
public void isFrontPageBorder(boolean value)
public boolean getPageBorderIncludeHeader()
public void setPageBorderIncludeHeader(boolean value)
public boolean getPageBorderIncludeFooter()
public void setPageBorderIncludeFooter(boolean value)
public Borders getBorders()
public boolean getBidi()
public void setBidi(boolean value)
public boolean getEqualColumnWidth()
public void setEqualColumnWidth(boolean value)
public PageNumberStyle getPageNumberStyle()
public void setPageNumberStyle(PageNumberStyle value)
public int getPageStartingNumber()
public void setPageStartingNumber(int value)
public boolean getRestartPageNumbering()
public void setRestartPageNumbering(boolean value)
public GridPitchType getGridType()
public void setGridType(GridPitchType value)
public int getLinesPerPage()
public void setLinesPerPage(int value)
public boolean getColumnsLineBetween()
public void setColumnsLineBetween(boolean value)
public CharacterSpacing getCharacterSpacingControl()
public void setCharacterSpacingControl(CharacterSpacing value)
public void insertPageNumbers(boolean fromTopPage, PageNumberAlignment horizontalAlignment)
fromTopPage
- if it specifies the top of page, set to horizontalAlignment
- The horizontal alignment.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |