public final class Heading extends TextFragment
Represents heading.
Constructor and Description |
---|
Heading(int level)
Initializes a new instance of the Cell class.
|
Modifier and Type | Method and Description |
---|---|
Page |
getDestinationPage()
Gets the destination page.
|
int |
getLevel()
Gets the level.
|
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).
|
boolean |
isAutoSequence()
Gets the heading should be numered automatically.
|
void |
isAutoSequence(boolean value) |
boolean |
isInList()
Gets the heading should be in toc list.
|
void |
isInList(boolean value) |
void |
setDestinationPage(Page value) |
void |
setLevel(int value) |
void |
setStyle(int value) |
void |
setTocPage(Page value) |
void |
setTop(double value) |
deepClone, getBaselinePosition, getForm, getHorizontalAlignment, getPage, getPlacementInfo, getPosition, getRectangle, getSegments, getText, getTextState, getWrapLinesCount, setBaselinePosition, setHorizontalAlignment, setPlacementInfo, setPosition, setSegments, setText, setVerticalAlignment, setWrapLinesCount
getMargin, isKeptWithNext, isKeptWithNext, setMargin
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.
Value: The page.public void setTocPage(Page value)
public double getTop()
Gets the top Y of this headings(for internal use).
Value: The top Y.public void setTop(double value)
public boolean isAutoSequence()
Gets the heading should be numered automatically.
Value: The IsAutoSequens.public void isAutoSequence(boolean value)
public boolean isInList()
Gets the heading should be in toc list.
Value: The IsInList.public void isInList(boolean value)
public Page getDestinationPage()
Gets the destination page.
Value: The destination page.public void setDestinationPage(Page value)
public int getLevel()
Gets the level.
Value: The heading level.public void setLevel(int value)
public int getStyle()
Gets or sets style.
Value: The heading style.public void setStyle(int value)
Copyright © 2019 Aspose. All Rights Reserved.