public final class Section extends 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
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
clone() |
|
int |
getDistanceBetweenColumns() |
|
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() |
This method is used to determine the type.
|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
adjustFIB, delete, getCharacterRun, getDocument, getEndOffset, getParagraph, getSection, getStartOffset, getTable, initAll, insertAfter, insertAfter, insertAfter, insertAfter, insertAfter, insertBefore, insertBefore, insertBefore, insertBefore, insertBefore, insertBefore, insertTableBefore, numCharacterRuns, numParagraphs, numSections, replaceText, replaceText, replaceText, reset, sanityCheck, stripFields, text, usesUnicode
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()
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.