Package com.independentsoft.office.odf
Class IndexOfIllustrationsSource
java.lang.Object
com.independentsoft.office.odf.IndexOfIllustrationsSource
Represents how an index of illustrations is generated.
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes a new instance of the IndexOfIllustrationsSource class. -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Gets the format of entries for the index of illustrations obtained from the image captions.Gets the sequence by which captions are identified.Contains a collection of IllustrationIndexEntryTemplate objects.Specifies whether an index is constructed for an entire document or for a chapter.Contains a collection of IndexSourceStyles objects.Gets the style and content of the index title.booleanSpecifies whether the position of tab stops is relative to the left margin or to the left indent as determined by the paragraph style.voidsetCaptionSequenceFormat(CaptionSequenceFormat captionSequenceFormat)Sets the format of entries for the index of illustrations obtained from the image captions.voidsetCaptionSequenceName(String captionSequenceName)Sets the sequence by which captions are identified.voidsetIndexScope(IndexScope indexScope)Specifies whether an index is constructed for an entire document or for a chapter.voidsetIndexTitleTemplate(IndexTitleTemplate indexTitleTemplate)Sets the style and content of the index title.voidsetRelativeTabStopPosition(boolean isRelativeTabStopPosition)Specifies whether the position of tab stops is relative to the left margin or to the left indent as determined by the paragraph style.voidsetUseCaption(boolean useCaption)Specifies whether the captions or names of illustrations or tables are used for an index.toString()Converts the value of the current IndexOfIllustrationsSource object to its equivalent string representation.booleanSpecifies whether the captions or names of illustrations or tables are used for an index.
-
Constructor Details
-
IndexOfIllustrationsSource
public IndexOfIllustrationsSource()Initializes a new instance of the IndexOfIllustrationsSource class.
-
-
Method Details
-
clone
Creates a new object that is a deep copy of the current instance. -
toString
Converts the value of the current IndexOfIllustrationsSource object to its equivalent string representation. -
getEntryTemplates
Contains a collection of IllustrationIndexEntryTemplate objects.- Returns:
- the entry templates
-
getIndexSourceStyles
Contains a collection of IndexSourceStyles objects.- Returns:
- the index source styles
-
getIndexTitleTemplate
Gets the style and content of the index title.- Returns:
- the index title template
-
setIndexTitleTemplate
Sets the style and content of the index title.- Parameters:
indexTitleTemplate- the new index title template
-
useCaption
public boolean useCaption()Specifies whether the captions or names of illustrations or tables are used for an index. The defined values are: -false: illustration or table names are used for an index. -true: illustration or table captions are used for an index.- Returns:
- true, if successful
-
setUseCaption
public void setUseCaption(boolean useCaption)Specifies whether the captions or names of illustrations or tables are used for an index. The defined values are: -false: illustration or table names are used for an index. -true: illustration or table captions are used for an index.- Parameters:
useCaption- the new use caption
-
getCaptionSequenceName
Gets the sequence by which captions are identified.- Returns:
- the caption sequence name
-
setCaptionSequenceName
Sets the sequence by which captions are identified.- Parameters:
captionSequenceName- the new caption sequence name
-
getCaptionSequenceFormat
Gets the format of entries for the index of illustrations obtained from the image captions.- Returns:
- the caption sequence format
-
setCaptionSequenceFormat
Sets the format of entries for the index of illustrations obtained from the image captions.- Parameters:
captionSequenceFormat- the new caption sequence format
-
getIndexScope
Specifies whether an index is constructed for an entire document or for a chapter.- Returns:
- the index scope
-
setIndexScope
Specifies whether an index is constructed for an entire document or for a chapter.- Parameters:
indexScope- the new index scope
-
isRelativeTabStopPosition
public boolean isRelativeTabStopPosition()Specifies whether the position of tab stops is relative to the left margin or to the left indent as determined by the paragraph style. The defined values are: -false: paragraph style does not determine position of tab stops relative to the left margin or left ident. -true: paragraph style determines the position of tab stops relative to the left margin or left ident.- Returns:
- true, if is relative tab stop position
-
setRelativeTabStopPosition
public void setRelativeTabStopPosition(boolean isRelativeTabStopPosition)Specifies whether the position of tab stops is relative to the left margin or to the left indent as determined by the paragraph style. The defined values are: -false: paragraph style does not determine position of tab stops relative to the left margin or left ident. -true: paragraph style determines the position of tab stops relative to the left margin or left ident.- Parameters:
isRelativeTabStopPosition- the new relative tab stop position
-