![]() | InDesign SDK 20.5 |
#include <IIndexOptions.h>

Public Types | |
| enum | { kDefaultIID = IID_IINDEXOPTIONS } |
| enum | Scope { kDocumentScope = 0, kBookScope = 1 } |
| enum | IndexFormat { kNested, kRunIn } |
| enum | FrameType { kHorizontal, kVertical } |
Public Member Functions | |
| virtual const WideString & | GetTitle () const =0 |
| virtual void | SetTitle (const WideString &indexTitle)=0 |
| virtual const PMString & | GetTitleParagraphStyle () const =0 |
| virtual void | SetTitleParagraphStyle (const PMString &style)=0 |
| virtual const bool16 | GetReplaceExistingIndexFlag () const =0 |
| virtual void | SetReplaceExistingIndexFlag (bool16 replaceExistingIndex=kFalse)=0 |
| virtual const PMString & | GetBookName () const =0 |
| virtual void | SetBookName (const PMString &bookName)=0 |
| virtual const IIndexOptions::Scope | GetScope () const =0 |
| virtual void | SetScope (const IIndexOptions::Scope scope=kDocumentScope)=0 |
| virtual const bool16 | GetShowEntriesOnHiddenLayerFlag () const =0 |
| virtual void | SetShowEntriesOnHiddenLayerFlag (bool16 showEntriesOnHiddenLayer=kFalse)=0 |
| virtual const IIndexOptions::IndexFormat | GetIndexFormat () const =0 |
| virtual void | SetIndexFormat (const IIndexOptions::IndexFormat format=kNested)=0 |
| virtual const bool16 | GetShowSectionHeadersFlag () const =0 |
| virtual void | SetShowSectionHeadersFlag (bool16 showSectionHeaders=kTrue)=0 |
| virtual const bool16 | GetShowEmptySectionsFlag () const =0 |
| virtual void | SetShowEmptySectionsFlag (bool16 showEmptySections=kFalse)=0 |
| virtual const WideString & | GetFollowingTopicSeparator () const =0 |
| virtual void | SetFollowingTopicSeparator (const WideString &separator)=0 |
| virtual const WideString & | GetBetweenPageNumberSeparator () const =0 |
| virtual void | SetBetweenPageNumberSeparator (const WideString &separator)=0 |
| virtual const WideString & | GetBetweenEntriesSeparator () const =0 |
| virtual void | SetBetweenEntriesSeparator (const WideString &separator)=0 |
| virtual const WideString & | GetBeforeXRefSeparator () const =0 |
| virtual void | SetBeforeXRefSeparator (const WideString &separator)=0 |
| virtual const WideString & | GetPageRangeSeparator () const =0 |
| virtual void | SetPageRangeSeparator (const WideString &separator)=0 |
| virtual const WideString & | GetEntryEndSeparator () const =0 |
| virtual void | SetEntryEndSeparator (const WideString &separator)=0 |
| virtual void | GetTopicLevelParagraphStyle (const int32 level, PMString &style) const =0 |
| virtual void | SetTopicLevelParagraphStyle (const int32 level, const PMString &style)=0 |
| virtual const PMString & | GetSectionHeaderParagraphStyle () const =0 |
| virtual void | SetSectionHeaderParagraphStyle (const PMString &style)=0 |
| virtual const PMString & | GetPageNumberCharacterStyle () const =0 |
| virtual void | SetPageNumberCharacterStyle (const PMString &style)=0 |
| virtual const PMString & | GetCrossRefCharacterStyle () const =0 |
| virtual void | SetCrossRefCharacterStyle (const PMString &style)=0 |
| virtual const PMString & | GetReferencedCharacterStyle () const =0 |
| virtual void | SetReferencedCharacterStyle (const PMString &style)=0 |
| virtual const IIndexOptions::FrameType | GetFrameType () const =0 |
| virtual void | SetFrameType (const IIndexOptions::FrameType frameType=kHorizontal)=0 |
| virtual void | CopyDataFrom (const IIndexOptions *source, bool16 bDirty=kTrue)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Data interfaces that aggregates information regarding a generated index (an index instance).
Specifies the direction of frame for the index story.
Specifies if the last level entries of the index are run-in or nested format
| enum IIndexOptions::Scope |
Specifies if the index refers to a single document or a book.
| pure virtual |
Utility function that copied the index options from another interface.
| source | [IN] - source index options that will be copied in this instance. |
| bDirty | [IN] - flag that specifies if the data will be marked as "dirty", causing the observers to be notified. |
| pure virtual |
Retrieves the separator used before each cross-reference.
| pure virtual |
Retrieves the string used between each index entry.
| pure virtual |
Gets the separator between the page numbers or page ranges.
| pure virtual |
Retrieves the book name to which the index belongs (if the scope is book).
| pure virtual |
Retrieves the paragraph style used for formatting the cross-reference specifiers ("see, see also", etc) in the index story.
| pure virtual |
Retrieves the separator at the end of each index entry.
| pure virtual |
Gets the separator string that follows after each index topic.
| pure virtual |
Retrieves the direction of the frame for the index story. Used for the J version.
| pure virtual |
Retrieves the format for the index.
| pure virtual |
Retrieves the paragraph style used for formatting the page numbers in the index story.
| pure virtual |
Retrieves the separator between the page ranges.
| pure virtual |
Retrieves the paragraph style used for formatting the cross-reference index entries in the index story.
| pure virtual |
Retrieves the "replace existing" flag option.
| pure virtual |
Retrieves the scope of the index.
| pure virtual |
Retrieves the paragraph style used for formatting the section headers in the index story.
| pure virtual |
Retrieves the flag that specifies whether the empty section headers are included in the index.
| pure virtual |
Retrieves the flag that specifies if the topics included on hidden layers should be included in the index.
| pure virtual |
Retrieves the flag that specifies whether the section headers are included in the index.
| pure virtual |
Retrieves the title for the index.
| pure virtual |
Retrieves the paragraph style used for formatting the title of indexing story.
| pure virtual |
Retrieves the paragraph style used for formatting the topics in the index story.
| level | [IN] - level of the topic. |
| style | [OUT] - style name for the specified level. |
| pure virtual |
Sets the separator used before each cross-reference.
| separator | [IN] - the separator string. |
| pure virtual |
Sets the separator used between each index entry.
| separator | [IN] - the separator string. |
| pure virtual |
Sets the separator between the page numbers or page ranges.
| separator | [IN] - the separator. |
| pure virtual |
Sets the name of the book to which the index belongs.
| bookName | [IN] - the book name. |
| pure virtual |
Sets the paragraph style used for formatting the cross-reference specifiers ("see, see also", etc) in the index story.
| style | [IN] - the style name for the cross-reference specifiers. |
| pure virtual |
Sets the separator used at the end of each index entry.
| separator | [IN] - the separator string. |
| pure virtual |
Sets the separator string that follows after each index topic.
| separator | [IN] - the separator. |
| pure virtual |
Sets the direction of the frame for the index story. Used for the J version. The Roman version used the default value (kHorizontal).
| frameType | [IN] - the direction of the frame. |
| pure virtual |
Sets the format for the index.
| format | [IN] - the format of the index. |
| pure virtual |
Sets the paragraph style used for formatting the page numbers in the index story.
| style | [IN] - the style name for the page numbers. |
| pure virtual |
Sets the separator between the page ranges.
| separator | [IN] - the separator string. |
| pure virtual |
Sets the paragraph style used for formatting the cross-reference index entries in the index story.
| style | [IN] - the style name for the cross-references. |
| pure virtual |
Sets the "replace existing" flag option.
| replaceExistingIndex | [IN] - the flag for replacing an existing index. |
| pure virtual |
Sets the scope of the index.
| scope | [IN] - the scope of the index. |
| pure virtual |
Sets the paragraph style used for formatting the section headers in the index story.
| style | [IN] - the style name for the section headers. |
| pure virtual |
Sets the flag that specifies whether the empty section headers are included in the index.
| showEmptySections | [IN] - the flag value. |
| pure virtual |
Sets the flag that specifies if the topics included on hidden layers should be included in the index.
| showEntriesOnHiddenLayer | [IN] - flag for the option. |
| pure virtual |
Sets the flag that specifies whether the section headers are included in the index.
| showSectionHeaders | [IN] - flag value. |
| pure virtual |
Sets the index title.
| indexTitle | [IN] - the index title. |
| pure virtual |
Sets the paragraph style for formatting the title of indexing story.
| style | [IN] - the name of the paragraph style. |
| pure virtual |
Sets the paragraph style used for formatting the topics in the index story.
| level | [IN] - level of the topic. |
| style | [IN] - style name for the specified level. |