aspose.pdf
Class Heading

java.lang.Object
  extended by aspose.pdf.Paragraph
      extended by aspose.pdf.Text
          extended by aspose.pdf.Heading

public class Heading
extends Text

Represents a heading in Pdf document.

Typical usages are the following:

[Java] Pdf pdf1 = new Pdf(); Section sec1 = pdf1.getSections().add(); Heading heading1 = new Heading(pdf1,sec1,1); Segment segment1 = new Segment(heading1); heading1.getSegments().add(segment1); heading1.setIsAutoSequence(true); segment1.setContent("this is heading of level 1"); sec1.getParagraphs().add(heading1); //please make sure all properties are set before Add Heading heading2 = new Heading(pdf1,sec1,2); Segment segment2 = new Segment(heading2); heading2.getSegments().add(segment2); heading2.setIsAutoSequence(true); segment2.setContent("this is heading of level 2"); sec1.getParagraphs().add(heading2); //please make sure all properties are set before Add Heading heading3 = new Heading(pdf1,sec1,1); Segment segment3 = new Segment(heading3); heading3.getSegments().add(segment3); heading3.setIsAutoSequence(false); heading3.setLabelWidth(60); heading3.setUserLabel("bullet1"); segment3.setContent("this is bullet style 1"); sec1.getParagraphs().add(heading3); //please make sure all properties are set before Add pdf1.Save(...); [XML] <?xml version="1.0" encoding="utf-8" ?> <Pdf xmlns="Aspose.Pdf"> <Section> <Heading Level="1" IsAutoSequence="true"> <Segment>this is heading of level 1</Segment> </Heading> <Heading Level="2" IsAutoSequence="true"> <Segment>this is heading of level 2</Segment> </Heading> <Heading Level="1" IsAutoSequence="false" LabelWidth="60" UserLabel="bullet1"> <Segment>this is bullet style 1</Segment> </Heading> </Section> </Pdf>


Nested Class Summary
 
Nested classes/interfaces inherited from class aspose.pdf.Paragraph
Paragraph.VerticalPositionInfo
 
Field Summary
 
Fields inherited from class aspose.pdf.Text
BakAlignmentOfRotateText, FirstLineHeight, FloatingBoxHeight, FloatingBoxMarginLeft, FloatingBoxMarginRight, FloatingBoxMarginTop, FloatingBoxPosX, FloatingBoxPosY, FloatingBoxWidth, HasNonBreakSpace, HowManyLinesOfRotateText, IsLongWordProcessed, IsMarginForBorderAdded, IsRtlSegmentModeProcessed, IsSegmentsReversed, IsSubstitutionNeed, IsWidowOrphanControlSet, LastLineHeight, LineHeightOfRotateText, RealWidthOfRotateText, ShowLengthOfRotateText, TabLeaders, TextLines
 
Fields inherited from class aspose.pdf.Paragraph
_realPageNumber, INNER_INDENT, isNeedAddToPage, isPositionProcessed, VerticalPosInfo
 
Constructor Summary
Heading()
          Constructor - initializes a new instance of the Heading class.
Heading(Pdf pdf, Section section, int level)
          Constructor - initializes a new instance of the Heading class.
 
Method Summary
 java.lang.Object clone()
          Clones a new Heading object.
 java.lang.Object completeClone()
          Clones a new Heading object.
 float getBakLabelWidth()
          Gets a float value that indicates the heading's label width.
 AlignmentType getBulletAlignment()
          Deprecated. This function is now obsolete. You should use getLabelAlignment() to get the alignment type of Bullet/Label.
 Color getBulletColor()
          Deprecated. This function is now obsolete. You should use getLabelColor() to set the color of bullet/label.
 java.lang.String getBulletFontName()
          Deprecated. This function is now obsolete. You should use getLabelFontName() to get the font name for bullet.
 java.lang.String getBulletTTFFile()
          Gets a String that indicates the truetype font file name for the bullet.
 java.lang.String getCaptionLebel()
          Deprecated. This function is now obsolete. You should use Label to get the caption label.
 HeadingType getHeadingType()
          Gets a HeadingType object for this heading.
 Image getImageLabel()
          Gets the Image used as label.
 boolean getIsAutoHyphenated()
          Gets or sets a boolean value that indicates whether the text is hyphenated automatically.
 boolean getIsAutoSequence()
          Gets a boolean value that indicates whether the number of the heading is in an automatic sequence.
 boolean getIsBulletUnicode()
          Deprecated. This function is now obsolete. You should use getIsLabelUnicode() to get whether the bullet/Label uses a unicode character.
 boolean getIsInBookmark()
          Gets a boolean value that indicates whether heading is shown in bookmark.
 boolean getIsLabelBold()
          Gets a boolean value that indicates whether the number of the heading is bold.
 boolean getIsLabelItalic()
          Gets a boolean value that indicates whether the number of the heading is italic.
 boolean getIsLabelUnderline()
          Gets a boolean value that indicates whether the number of the heading is underline.
 boolean getIsLabelUnicode()
          Gets a boolean value that indicates whether the bullet/Label uses a unicode character.
 boolean getIsOnlyLebel()
          Gets a boolean value that indicates whether the heading is only for label.
 boolean getIsPrefixed()
          Gets a boolean value that indicates if the prefix of the number is shown when using auto sequence.
 boolean getIsRTLHeading()
          Gets a boolean value indicates whether heading is RTL format.
 java.lang.String getLabel()
          Gets or sets an string value that indicates the user-defined heading label.
 AlignmentType getLabelAlignment()
          Gets an AlignmentType object that indicates the alignment type of Bullet/Label.
 Color getLabelColor()
          Gets a Color object that indicates the color of the bullet/label.
 java.lang.String getLabelFontName()
          Gets a String value that indicates the font name of label.
 float getLabelFontSize()
          Gets a float value that indicates the font size of label.
 java.lang.String getLabelPattern()
          Gets the heading pattern in the "ch(s)%ch(s)" form, ch(s) can be none ,an ASCII or a combination of ASCIIs, % stands for the heading number.
 float getLabelWidth()
          Gets a float value that indicates the width of the label of the heading.
 int getLevel()
          Gets an int value that indicates the level of the heading.
 NumberArr getNumberArray()
          Gets a NumberArr object that indicates the heading number array.
 Heading getPreHeading()
          Gets the previous Heading object.
 float getRightMarginPosX()
          Gets a float value that indicates the heading's right margin position.
 int getStartNumber()
          Gets an int number that indicates the start number of this heading when using auto numbering.
 java.lang.String getUserLabel()
          Deprecated. This function is now obsolete. You should use getLabel() to get the user label.
 void setBakLabelWidth(float bakLabelWidth)
          Sets a float value that indicates the heading's label width.
 void setBulletAlignment(AlignmentType value)
          Deprecated. This function is now obsolete. You should use setLabelAlignment() to set the alignment type of Bullet/Label.
 void setBulletColor(Color value)
          Deprecated. This function is now obsolete. You should use setLabelColor() to set the color of bullet/label.
 void setBulletFontName(java.lang.String value)
          Deprecated. This property is now obsolete. You should use setLabelFontName() to set the font name for bullet.
 void setBulletTTFFile(java.lang.String value)
          Sets a String that indicates the truetype font file name for the bullet.
 void setCaptionLebel(java.lang.String value)
          Deprecated. This function is now obsolete. You should use Label to set the caption label.
 void setHeadingType(HeadingType value)
          Sets a HeadingType object for this heading.
 void setImageLabel(Image value)
          Sets an Image object used as label.
 void setIsAutoSequence(boolean value)
          Sets a boolean value that indicates whether the number of the heading is in an automatic sequence.
 void setIsBulletUnicode(boolean value)
          Deprecated. This function is now obsolete. You should use setIsLabelUnicode() to set whether the bullet/Label uses a unicode character.
 void setIsInBookmark(boolean value)
          Sets a boolean value that indicates whether heading is shown in bookmark.
 void setIsLabelBold(boolean value)
          Sets a boolean value that indicates whether the number of the heading is bold.
 void setIsLabelItalic(boolean value)
          Sets a boolean value that indicates whether the number of the heading is italic.
 void setIsLabelUnderline(boolean value)
          Sets a boolean value that indicates whether the number of the heading is underline.
 void setIsLabelUnicode(boolean value)
          Sets a boolean value that indicates whether the bullet/Label uses a unicode character.
 void setIsOnlyLebel(boolean isOnlyLebel)
          Sets a boolean value that indicates whether the heading is only for label.
 void setIsPrefixed(boolean value)
          Sets a boolean value that indicates if the prefix of the number is shown when using auto sequence.
 void setIsRTLHeading(boolean isRTLHeading)
          Sets a boolean value indicates whether heading is RTL format.
 void setLabel(java.lang.String value)
          Sets an string value that indicates the user-defined heading label.
 void setLabelAlignment(AlignmentType value)
          Sets an AlignmentType object that indicates the alignment type of Bullet/Label.
 void setLabelColor(Color value)
          Sets a Color object that indicates the color of the bullet/label.
 void setLabelFontName(java.lang.String value)
          Sets a String value that indicates the font name of label.
 void setLabelFontSize(float value)
          Sets a float value that indicates the font size of label.
 void setLabelPattern(java.lang.String value)
          Sets the heading pattern in the "ch(s)%ch(s)" form, ch(s) can be none, an ASCII or a combination of ASCIIs, % stands for the heading number.
 void setLabelWidth(float value)
          Sets a float value that indicates the width of the label of the heading.
 void setLevel(int value)
          Sets an int value that indicates the level of the heading.
 void setNumberArray(NumberArr value)
          Sets a NumberArr object that indicates the heading number array.
 void setPdf(Pdf value)
          Sets a Pdf object that contains the heading.
 void setPreHeading(Heading value)
          Gets the previous Heading object.
 void setRightMarginPosX(float RightMarginPosX)
          Sets a float value that indicates the heading's right margin position.
 void setStartNumber(int value)
          Sets an int number that indicates the start number of this heading when using auto numbering.
 void setUserLabel(java.lang.String value)
          Deprecated. This property is now obsolete. You should use setLabel() to set the user label.
 
Methods inherited from class aspose.pdf.Text
getAdditionalHeightForRotating, getBakSegments, getCurrentFootNoteHeight, getCustomStopAlignmentType, getFirstLineHeight, getFirstLineIndent, getformfield, getGraphicState, getHasFootNote, getHasInline, getHasInlineImage, getHasInlineRadioButton, getHasNonBreakSpace, getHasRightToLeftSeg, getHasSplitedSegment, getHasTABSymbol, getInlineRadioButtonBackgroundColor, getInlineRadioButtonCheckedIndex, getInlineRadioButtonColor, getInlineRadioButtonFieldName, getIsAlignedByWord, getIsAutoFontAdjustProcessed, getIsEmpty, getIsHtmlTagSupported, getIsMacroReProcessed, getIsNCSymbol, getIsNeedRepeating, getIsNPSymbol, getIsRealRTLText, getIsSimpleSegment, getIsSpaced, getIsSymbolProcessed, getIsWidowOrphanControlEnabled, getLastLineHeight, getOpacity, getRotatingAngle, getSegments, getTabLeaders, getTabStops, getTextHeight, getTextInfo, getTextWidth, getZIndex, setBackupFirstLineIndent, setBakSegments, setCurrentFootNoteHeight, setCustomStopAlignmentType, setFirstLineHeight, setFirstLineIndent, setformfield, setHasFootNote, setInlineRadioButtonBackgroundColor, setInlineRadioButtonCheckedIndex, setInlineRadioButtonColor, setInlineRadioButtonFieldName, setIsAlignedByWord, setIsAutoFontAdjustProcessed, setIsAutoHyphenated, setIsHtmlTagSupported, setIsMacroReProcessed, setIsNCSymbol, setIsNeedRepeating, setIsNPSymbol, setIsRealRTLText, setIsSimpleSegment, setIsSpaced, setIsSymbolProcessed, setIsWidowOrphanControlEnabled, setLastLineHeight, setOpacity, setRotatingAngle, setSegments, setTabLeaders, setTabStops, setTextInfo, setTextWidth, setZIndex
 
Methods inherited from class aspose.pdf.Paragraph
copyTo, getHeight, getID, getIsNeedAddToPage, getIsPositionGot, getIsPositionProcessed, getLeft, getMargin, getMayNeedReprocess, getNeedReprocess, getNextParagraphInHeading, getPageNumber, getParentCell, getPositioningType, getPosX, getPosY, getRealPageNumber, getReferenceParagraphID, getRefPara, getSection, getTop, getVerticalPosInfo, getWidth, isDisabled, isEndNote, isFirstParagraph, isFirstParagraphInColumn, isFootNote, isFootNoteProcessed, isInHeaderFooter, isInList, isKeptTogether, isKeptWithNext, isOnOddPage, setEndNote, setFootNoteProcessed, setHeight, setID, setIsDisabled, setIsFirstParagraph, setIsFirstParagraphInColumn, setIsFootNote, setIsInHeaderFooter, setIsInList, setIsKeptTogether, setIsKeptWithNext, setIsNeedAddToPage, setIsOnOddPage, setIsPositionGot, setIsPositionProcessed, setLeft, setMargin, setMayNeedReprocess, setNeedReprocess, setNextParagraphInHeading, setPageNumber, setParentCell, setParentIsTable, setPositioningType, setPosX, setPosY, setRealPageNumber, setReferenceParagraphID, setRefPara, setSection, setTop, setVerticalPosInfo, setWidth
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Heading

public Heading()
Constructor - initializes a new instance of the Heading class.


Heading

public Heading(Pdf pdf,
               Section section,
               int level)
Constructor - initializes a new instance of the Heading class.

Remarks: This constructor can inherit common property values from the specified Section object.

Parameters:
pdf - The specified Pdf object.
section - The specified Section object.
level - The heading level.
Method Detail

getIsAutoHyphenated

public boolean getIsAutoHyphenated()
Gets or sets a boolean value that indicates whether the text is hyphenated automatically.

Overrides:
getIsAutoHyphenated in class Text

getNumberArray

public NumberArr getNumberArray()
Gets a NumberArr object that indicates the heading number array.

Returns:
NumberArr

setNumberArray

public void setNumberArray(NumberArr value)
Sets a NumberArr object that indicates the heading number array.

Parameters:
value - A NumberArr object.

getLevel

public int getLevel()
Gets an int value that indicates the level of the heading.

Returns:
An int value.

setLevel

public void setLevel(int value)
Sets an int value that indicates the level of the heading.

Parameters:
value - An int value.

getLabel

public java.lang.String getLabel()
Gets or sets an string value that indicates the user-defined heading label.

Returns:
A String value.

setLabel

public void setLabel(java.lang.String value)
Sets an string value that indicates the user-defined heading label. If you want to use the character in the character set, please use #$UNICODE(). Set this property to 'bullet1','bullet2'...'bullet7' to use system-defined bullet. Example 1: Label = #$UNICODE(9633); //It will print ... Example 2: Label = 9633 ; //It will print 9633 Example 3: Label = bullet1; //It will print ...

Parameters:
value - A String value.

getCaptionLebel

public java.lang.String getCaptionLebel()
Deprecated. This function is now obsolete. You should use Label to get the caption label.

Gets a String that indicates the heading label.

Returns:
A String value.

setCaptionLebel

public void setCaptionLebel(java.lang.String value)
Deprecated. This function is now obsolete. You should use Label to set the caption label.

Sets a String that indicates the heading label. Set this property to 'bullet1','bullet2'...'bullet7' to use system-defined bullet. Set this property to a number between 33 and 255(and set the too) to use user-defined bullet.


getLabelWidth

public float getLabelWidth()
Gets a float value that indicates the width of the label of the heading.

Returns:
A float value.

setLabelWidth

public void setLabelWidth(float value)
Sets a float value that indicates the width of the label of the heading. Default value is 30 points.

Parameters:
value - A float value.

getLabelColor

public Color getLabelColor()
Gets a Color object that indicates the color of the bullet/label.

Returns:
A Color object.

setLabelColor

public void setLabelColor(Color value)
Sets a Color object that indicates the color of the bullet/label.

Parameters:
value - A Color object

getLabelAlignment

public AlignmentType getLabelAlignment()
Gets an AlignmentType object that indicates the alignment type of Bullet/Label.

Returns:
A AlignmentType object.

setLabelAlignment

public void setLabelAlignment(AlignmentType value)
Sets an AlignmentType object that indicates the alignment type of Bullet/Label.

Parameters:
value - An AlignmentType object.

getBulletAlignment

public AlignmentType getBulletAlignment()
Deprecated. This function is now obsolete. You should use getLabelAlignment() to get the alignment type of Bullet/Label.

Gets an AlignmentType object that indicates the alignment type of Bullet/Label.

Returns:
An AlignmentType object.

setBulletAlignment

public void setBulletAlignment(AlignmentType value)
Deprecated. This function is now obsolete. You should use setLabelAlignment() to set the alignment type of Bullet/Label.

Sets a value that indicates the alignment type of Bullet/Label.

Parameters:
value - An AlignmentType object.

getBulletColor

public Color getBulletColor()
Deprecated. This function is now obsolete. You should use getLabelColor() to set the color of bullet/label.

Gets a Color object that indicates the color of the bullet/label.

Returns:
A Color object.

setBulletColor

public void setBulletColor(Color value)
Deprecated. This function is now obsolete. You should use setLabelColor() to set the color of bullet/label.

Sets a value that indicates the color of the bullet/label.

Parameters:
value - A Color object.

getIsLabelBold

public boolean getIsLabelBold()
Gets a boolean value that indicates whether the number of the heading is bold.

Returns:
A boolean value.

setIsLabelBold

public void setIsLabelBold(boolean value)
Sets a boolean value that indicates whether the number of the heading is bold.

Parameters:
value - A boolean value.

getIsLabelItalic

public boolean getIsLabelItalic()
Gets a boolean value that indicates whether the number of the heading is italic.

Returns:
A boolean value.

setIsLabelItalic

public void setIsLabelItalic(boolean value)
Sets a boolean value that indicates whether the number of the heading is italic.

Parameters:
value - A boolean value.

getIsLabelUnderline

public boolean getIsLabelUnderline()
Gets a boolean value that indicates whether the number of the heading is underline.

Returns:
A boolean value.

setIsLabelUnderline

public void setIsLabelUnderline(boolean value)
Sets a boolean value that indicates whether the number of the heading is underline.

Parameters:
value - A boolean value.

getLabelFontName

public java.lang.String getLabelFontName()
Gets a String value that indicates the font name of label.

Returns:
A String value.

setLabelFontName

public void setLabelFontName(java.lang.String value)
Sets a String value that indicates the font name of label.

Parameters:
value - A String value.

getLabelFontSize

public float getLabelFontSize()
Gets a float value that indicates the font size of label.

Returns:
A float value.

setLabelFontSize

public void setLabelFontSize(float value)
Sets a float value that indicates the font size of label.

Parameters:
value - A float value.

getIsAutoSequence

public boolean getIsAutoSequence()
Gets a boolean value that indicates whether the number of the heading is in an automatic sequence.

Returns:
A boolean value.

setIsAutoSequence

public void setIsAutoSequence(boolean value)
Sets a boolean value that indicates whether the number of the heading is in an automatic sequence.

Parameters:
value - A boolean value.

setPdf

public void setPdf(Pdf value)
Sets a Pdf object that contains the heading.

Parameters:
value - A Pdf object.

getHeadingType

public HeadingType getHeadingType()
Gets a HeadingType object for this heading.

Returns:
A HeadingType object.

setHeadingType

public void setHeadingType(HeadingType value)
Sets a HeadingType object for this heading.

Parameters:
value - A HeadingType object.

getUserLabel

public java.lang.String getUserLabel()
Deprecated. This function is now obsolete. You should use getLabel() to get the user label.

Gets a String that indicates the caption label.

Returns:
A String value.

setUserLabel

public void setUserLabel(java.lang.String value)
Deprecated. This property is now obsolete. You should use setLabel() to set the user label.

Sets a String that indicates the caption label. For example, UserLabel="1.3.5". Set this property to 'bullet1','bullet2'...'bullet7' to use system-defined bullet. To use user defined label, Set setBulletFontName(String) to "Symbol" and "ZapfDingbats" and set this property to the char value of the built symbol. For example,setUserlabel("44") and setBulletFontName("ZapfDingbats")

Parameters:
value - A String value.

setImageLabel

public void setImageLabel(Image value)
Sets an Image object used as label. If ImageLabel is not null, the ImageLabel substitutes for number heading. The size of the ImageLabel will be adjusted following the Segment.getTextInfo().setFontSize().

Parameters:
value - An Image object.

getImageLabel

public Image getImageLabel()
Gets the Image used as label.

Returns:
An Image object.

setLabelPattern

public void setLabelPattern(java.lang.String value)
Sets the heading pattern in the "ch(s)%ch(s)" form, ch(s) can be none, an ASCII or a combination of ASCIIs, % stands for the heading number. For example, "(%)" means "(1.1)" if here % equals 1.1.

Parameters:
value - A String value.

getLabelPattern

public java.lang.String getLabelPattern()
Gets the heading pattern in the "ch(s)%ch(s)" form, ch(s) can be none ,an ASCII or a combination of ASCIIs, % stands for the heading number.

Returns:
A String value.

getPreHeading

public Heading getPreHeading()
Gets the previous Heading object.

Returns:
An Heading object.

setPreHeading

public void setPreHeading(Heading value)
Gets the previous Heading object.

Parameters:
value - An Heading object.

getBulletFontName

public java.lang.String getBulletFontName()
Deprecated. This function is now obsolete. You should use getLabelFontName() to get the font name for bullet.

Gets a String that indicates the font name for bullet. "Symbol" and "ZapfDingbats" are supported.

Returns:
A String value.

setBulletFontName

public void setBulletFontName(java.lang.String value)
Deprecated. This property is now obsolete. You should use setLabelFontName() to set the font name for bullet.

Sets a String that indicates the font name for bullet. "Symbol" and "ZapfDingbats" are supported.

Parameters:
value - A String value.

getIsBulletUnicode

public boolean getIsBulletUnicode()
Deprecated. This function is now obsolete. You should use getIsLabelUnicode() to get whether the bullet/Label uses a unicode character.

Gets a boolean value that indicates whether the bullet/Label uses a unicode character.

Returns:
A boolean value.

setIsBulletUnicode

public void setIsBulletUnicode(boolean value)
Deprecated. This function is now obsolete. You should use setIsLabelUnicode() to set whether the bullet/Label uses a unicode character.

Sets a boolean value that indicates whether the bullet/Label uses a unicode character.

Parameters:
value - A boolean value.

getIsLabelUnicode

public boolean getIsLabelUnicode()
Gets a boolean value that indicates whether the bullet/Label uses a unicode character.

Returns:
A boolean value.

setIsLabelUnicode

public void setIsLabelUnicode(boolean value)
Sets a boolean value that indicates whether the bullet/Label uses a unicode character.

Parameters:
value - A boolean value.

getBulletTTFFile

public java.lang.String getBulletTTFFile()
Gets a String that indicates the truetype font file name for the bullet.

Returns:
A String value.

setBulletTTFFile

public void setBulletTTFFile(java.lang.String value)
Sets a String that indicates the truetype font file name for the bullet. This property is only needed when using truetype font with unicode. If your truetype font has been installed in your system, you can use truetype font with unicode without this property. But using this property will greatly improve the performance.

Parameters:
value - A String value.

getIsInBookmark

public boolean getIsInBookmark()
Gets a boolean value that indicates whether heading is shown in bookmark.

Returns:
A boolean value.

setIsInBookmark

public void setIsInBookmark(boolean value)
Sets a boolean value that indicates whether heading is shown in bookmark.

Parameters:
value - A boolean value.

getStartNumber

public int getStartNumber()
Gets an int number that indicates the start number of this heading when using auto numbering.

Returns:
An ing value.

setStartNumber

public void setStartNumber(int value)
Sets an int number that indicates the start number of this heading when using auto numbering.

Parameters:
value - An int value.

getIsPrefixed

public boolean getIsPrefixed()
Gets a boolean value that indicates if the prefix of the number is shown when using auto sequence.

Returns:
A boolean value.

setIsPrefixed

public void setIsPrefixed(boolean value)
Sets a boolean value that indicates if the prefix of the number is shown when using auto sequence. For example, for a label "1.2.5", if this property is set to false, the label will be "5".

Parameters:
value - A boolean value.

clone

public java.lang.Object clone()
Clones a new Heading object. Only format info of the Heading is cloned.

Overrides:
clone in class Text
Returns:
The new cloned Heading object.

completeClone

public java.lang.Object completeClone()
Clones a new Heading object. Both format info and content of the Heading is cloned.

Overrides:
completeClone in class Text
Returns:
The new cloned Heading object.

getIsOnlyLebel

public boolean getIsOnlyLebel()
Gets a boolean value that indicates whether the heading is only for label.

Returns:
A boolean value.

setIsOnlyLebel

public void setIsOnlyLebel(boolean isOnlyLebel)
Sets a boolean value that indicates whether the heading is only for label.

Parameters:
isOnlyLebel - A boolean value.

getBakLabelWidth

public float getBakLabelWidth()
Gets a float value that indicates the heading's label width.

Returns:
A float value.

setBakLabelWidth

public void setBakLabelWidth(float bakLabelWidth)
Sets a float value that indicates the heading's label width.


getRightMarginPosX

public float getRightMarginPosX()
Gets a float value that indicates the heading's right margin position.

Returns:
A float value.

setRightMarginPosX

public void setRightMarginPosX(float RightMarginPosX)
Sets a float value that indicates the heading's right margin position.

Parameters:
RightMarginPosX - A float value.

getIsRTLHeading

public boolean getIsRTLHeading()
Gets a boolean value indicates whether heading is RTL format.

Returns:
A boolean value.

setIsRTLHeading

public void setIsRTLHeading(boolean isRTLHeading)
Sets a boolean value indicates whether heading is RTL format.

Parameters:
isRTLHeading - A boolean value.