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
(获取尾注重新开始限定符 0x00如果在整个文档中编号是连续的 0x01如果在本节开头重新开始编号 0x02如果在每一页都重新开始编号)
|
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
(获取脚注重新开始限定符 0x00如果在整个文档中编号是连续的 0x01如果在本节开头重新开始编号 0x02如果在每一页都重新开始编号)
|
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
(复制到界面 Duplicatable)
public int getDistanceBetweenColumns()
isColumnsEvenlySpaced()
== true
(列之间要保持的距离,以缇为单位。当 isColumnsEvenlySpaced() == true 时使用)
public 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.
(marginWidth - 一个原始 int,其值将指示边距应该有多高 - 以缇为单位。)
public void setMarginLeft(int marginWidth)
marginWidth
- A primitive int whose value will indciate how high the margin should be - in twips.
(marginWidth - 一个原始 int,其值将指示边距应该有多高 - 以缇为单位。)
public void setMarginRight(int marginWidth)
marginWidth
- A primitive int whose value will indciate how high the margin should be - in twips.
(marginWidth - 一个原始 int,其值将指示边距应该有多高 - 以缇为单位。)
public void setMarginTop(int marginWidth)
marginWidth
- A primitive int whose value will indciate how high the margin should be - in twips.
(marginWidth - 一个原始 int,其值将指示边距应该有多高 - 以缇为单位。)
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
(获取嵌入脚注的编号格式 可能返回值的完整列表在 [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
(获取嵌入式尾注的编号格式 可能返回值的完整列表在 [MS-OSHARED], v20140428, 2.2.1.3 中给出)public int type()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.