Package com.independentsoft.office.word
Class Caption
java.lang.Object
com.independentsoft.office.word.Caption
The Class Caption.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()intGets the chapter heading style id.Gets the chapter separator.Gets the do not include name.Gets the include chapter number.getName()Gets the name.Gets the numbering format.Gets the position.voidsetChapterHeadingStyleID(int chapterHeadingStyleID)Sets the chapter heading style id.voidsetChapterSeparator(ChapterSeparator chapterSeparator)Sets the chapter separator.voidsetDoNotIncludeName(ExtendedBoolean doNotIncludeName)Sets the do not include name.voidsetIncludeChapterNumber(ExtendedBoolean includeChapterNumber)Sets the include chapter number.voidSets the name.voidsetNumberingFormat(NumberingFormat numberingFormat)Sets the numbering format.voidsetPosition(CaptionPosition position)Sets the position.toString()
-
Constructor Details
-
Caption
public Caption()Instantiates a new caption.
-
-
Method Details
-
clone
-
toString
-
getIncludeChapterNumber
Gets the include chapter number.- Returns:
- the include chapter number
-
setIncludeChapterNumber
Sets the include chapter number.- Parameters:
includeChapterNumber- the new include chapter number
-
getChapterHeadingStyleID
public int getChapterHeadingStyleID()Gets the chapter heading style id.- Returns:
- the chapter heading style id
-
setChapterHeadingStyleID
public void setChapterHeadingStyleID(int chapterHeadingStyleID)Sets the chapter heading style id.- Parameters:
chapterHeadingStyleID- the new chapter heading style id
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the new name
-
getDoNotIncludeName
Gets the do not include name.- Returns:
- the do not include name
-
setDoNotIncludeName
Sets the do not include name.- Parameters:
doNotIncludeName- the new do not include name
-
getNumberingFormat
Gets the numbering format.- Returns:
- the numbering format
-
setNumberingFormat
Sets the numbering format.- Parameters:
numberingFormat- the new numbering format
-
getPosition
Gets the position.- Returns:
- the position
-
setPosition
Sets the position.- Parameters:
position- the new position
-
getChapterSeparator
Gets the chapter separator.- Returns:
- the chapter separator
-
setChapterSeparator
Sets the chapter separator.- Parameters:
chapterSeparator- the new chapter separator
-