|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hwpf.usermodel.Range
org.apache.poi.hwpf.usermodel.Section
public final class Section
Field Summary |
---|
Fields inherited from class org.apache.poi.hwpf.usermodel.Range |
---|
_characters, _charEnd, _charRangeFound, _charStart, _doc, _end, _paragraphs, _parEnd, _parRangeFound, _parStart, _sectionEnd, _sections, _sectionStart, _start, _text, TYPE_CHARACTER, TYPE_LISTENTRY, TYPE_PARAGRAPH, TYPE_SECTION, TYPE_TABLE, TYPE_TEXT, TYPE_UNDEFINED |
Constructor Summary | |
---|---|
Section(SEPX sepx,
Range parent)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
int |
getDistanceBetweenColumns()
|
int |
getEndnoteNumberingFormat()
Get the numbering format of embedded endnotes |
int |
getEndnoteNumberingOffset()
|
short |
getEndnoteRestartQualifier()
Get the endnote restart qualifier 0x00 If the numbering is continuous throughout the entire document
0x01 If the numbering restarts at the beginning of this section
0x02 If the numbering restarts on every page
|
int |
getFootnoteNumberingFormat()
Get the numbering format of embedded footnotes |
int |
getFootnoteNumberingOffset()
|
short |
getFootnoteRestartQualifier()
Get the footnote restart qualifier 0x00 If the numbering is continuous throughout the entire document
0x01 If the numbering restarts at the beginning of this section
0x02 If the numbering restarts on every page
|
int |
getMarginBottom()
|
int |
getMarginLeft()
|
int |
getMarginRight()
|
int |
getMarginTop()
|
int |
getNumColumns()
|
int |
getPageHeight()
|
int |
getPageWidth()
|
boolean |
isColumnsEvenlySpaced()
|
void |
setMarginBottom(int marginWidth)
Set the height of the bottom margin in twips. |
void |
setMarginLeft(int marginWidth)
Set the width of the left hand margin in twips. |
void |
setMarginRight(int marginWidth)
Set the width of the right hand margin in twips. |
void |
setMarginTop(int marginWidth)
Set the height of the top margin in twips. |
java.lang.String |
toString()
|
int |
type()
|
Methods inherited from class org.apache.poi.hwpf.usermodel.Range |
---|
adjustFIB, delete, getCharacterRun, getDocument, getEndOffset, getParagraph, getSection, getStartOffset, getTable, initAll, insertAfter, insertAfter, insertAfter, insertBefore, insertTableBefore, numCharacterRuns, numParagraphs, numSections, replaceText, replaceText, replaceText, reset, sanityCheck, stripFields, text |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Section(SEPX sepx, Range parent)
Method Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public int getDistanceBetweenColumns()
isColumnsEvenlySpaced()
== truepublic int getMarginBottom()
public int getMarginLeft()
public int getMarginRight()
public int getMarginTop()
public int getNumColumns()
public int getPageHeight()
public int getPageWidth()
public void setMarginBottom(int marginWidth)
marginWidth
- A primitive int whose value will indciate how high the margin should
be - in twips.public void setMarginLeft(int marginWidth)
marginWidth
- A primitive int whose value will indciate how high the margin should
be - in twips.public void setMarginRight(int marginWidth)
marginWidth
- A primitive int whose value will indciate how high the margin should
be - in twips.public void setMarginTop(int marginWidth)
marginWidth
- A primitive int whose value will indciate how high the margin should
be - in twips.public boolean isColumnsEvenlySpaced()
public short getFootnoteRestartQualifier()
0x00
0x01
0x02
public int getFootnoteNumberingOffset()
public int getFootnoteNumberingFormat()
The full list of possible return values is given in [MS-OSHARED], v20140428, 2.2.1.3
public short getEndnoteRestartQualifier()
0x00
0x01
0x02
public int getEndnoteNumberingOffset()
public int getEndnoteNumberingFormat()
The full list of possible return values is given in [MS-OSHARED], v20140428, 2.2.1.3
public java.lang.String toString()
toString
in class Range
public int type()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |