public final class Section extends Range implements Duplicatable
_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 and Description |
---|
Section(Section other) |
Section(SEPX sepx,
Range parent) |
Modifier and Type | Method and Description |
---|---|
Section |
copy() |
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() |
adjustFIB, delete, getCharacterRun, getDocument, getEndOffset, getParagraph, getSection, getStartOffset, getTable, initAll, insertAfter, insertBefore, insertTableBefore, numCharacterRuns, numParagraphs, numSections, replaceText, replaceText, replaceText, reset, sanityCheck, stripFields, text
public Section(Section other)
public Section copy()
copy
in interface Duplicatable
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 int type()
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.