public final class Heading extends TextFragment
Represents heading.
Constructor and Description |
---|
Heading()
For internal usage only
|
Heading(int level)
Initializes a new instance of the Cell class.
|
Modifier and Type | Method and Description |
---|---|
Object |
cloneWithSegments()
Clone the heading with all segments.
|
Object |
deepClone()
Clone the heading.
|
Page |
getDestinationPage()
Gets the destination page.
|
int |
getLevel()
Gets the level.
|
int |
getStartNumber()
Gets the heading start number.
|
int |
getStyle()
Gets or sets style.
|
Page |
getTocPage()
Gets the page that contains this heading.
|
double |
getTop()
Gets the top Y of this headings(for internal use).
|
TextSegment |
getUserLabel()
Gets or sets user label.
|
boolean |
isAutoSequence()
Gets the heading should be numered automatically.
|
boolean |
isInList()
Gets the heading should be in toc list.
|
void |
setAutoSequence(boolean value)
sets the heading should be numered automatically.
|
void |
setDestinationPage(Page value)
sets the destination page.
|
void |
setInList(boolean value)
sets the heading should be in toc list.
|
void |
setLevel(int value)
sets the level.
|
void |
setStartNumber(int value)
Gets the heading start number.
|
void |
setStyle(int value)
sets or sets style.
|
void |
setTocPage(Page value)
Sets the page that contains this heading.
|
void |
setTop(double value)
sets the top Y of this headings(for internal use).
|
void |
setUserLabel(TextSegment value)
Gets or sets user label.
|
getBaselinePosition, getEndNote, getFootNote, getForm, getHorizontalAlignment, getPage, getPosition, getRectangle, getSegments, getText, getTextState, getVerticalAlignment, getWrapLinesCount, isolateTextSegments, setBaselinePosition, setEndNote, setFootNote, setHorizontalAlignment, setHyperlink, setMarkedContentProperties, setPosition, setRectangle, setSegments, setText, setVerticalAlignment, setWrapLinesCount
getHyperlink, getMargin, getZIndex, isFirstParagraphInColumn, isInLineParagraph, isInNewPage, isKeptWithNext, setFirstParagraphInColumn, setInLineParagraph, setInNewPage, setKeptWithNext, setMargin, setZIndex
public Heading()
For internal usage only
public Heading(int level)
Initializes a new instance of the Cell class.
level
- The headings level.public Page getTocPage()
Gets the page that contains this heading.
public void setTocPage(Page value)
Sets the page that contains this heading.
value
- The page.public double getTop()
Gets the top Y of this headings(for internal use).
public void setTop(double value)
sets the top Y of this headings(for internal use).
value
- The top Y valuepublic int getStartNumber()
Gets the heading start number.
public void setStartNumber(int value)
Gets the heading start number.
Value: The startNumber.value
- The startNumber.public boolean isAutoSequence()
Gets the heading should be numered automatically.
public void setAutoSequence(boolean value)
sets the heading should be numered automatically.
value
- The IsAutoSequens.public boolean isInList()
Gets the heading should be in toc list.
public void setInList(boolean value)
sets the heading should be in toc list.
value
- The IsInList.public Page getDestinationPage()
Gets the destination page.
public void setDestinationPage(Page value)
sets the destination page.
value
- The destination page.public int getLevel()
Gets the level.
public void setLevel(int value)
sets the level.
value
- The heading level.public int getStyle()
Gets or sets style.
public void setStyle(int value)
sets or sets style.
value
- The heading style.NumberingStyle
public TextSegment getUserLabel()
Gets or sets user label.
public void setUserLabel(TextSegment value)
Gets or sets user label.
value
- TextSegment objectpublic Object deepClone()
Clone the heading.
deepClone
in interface com.aspose.ms.System.ICloneable
deepClone
in class TextFragment
public Object cloneWithSegments()
Clone the heading with all segments.
cloneWithSegments
in class TextFragment