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

Public Types | |
| enum | { kDefaultIID = IID_ITOCSTYLEINFO } |
| enum | TOCStoryDirection { kHorizontal, kVertical } |
| enum | TOCNumberedParagraphsEntriesType { kIncludeFullParagraph, kIncludeNumbersOnly, kExcludeNumbers } |
Public Member Functions | |
| virtual const PMString & | GetName () const =0 |
| virtual void | SetName (const PMString &s, bool16 translatable=kFalse)=0 |
| virtual const FormatEntriesInfo & | GetTOCEntryMap () const =0 |
| virtual void | SetTOCEntryMap (const FormatEntriesInfo &tocEntryMap)=0 |
| virtual const bool16 | GetIncludeHidderLayerFlag () const =0 |
| virtual void | SetIncludeHidderLayerFlag (bool16 includeHidderLayer=kFalse)=0 |
| virtual const bool16 | GetIncludeBookPubs () const =0 |
| virtual void | SetIncludeBookPubs (const bool16 includeBookPubs=kFalse)=0 |
| virtual const bool16 | GetRunInFlag () const =0 |
| virtual void | SetRunInFlag (bool16 runIn=kFalse)=0 |
| virtual const UID | GetTOCTitleFormatStyle () const =0 |
| virtual void | SetTOCTitleFormatStyle (const UID formatStyle)=0 |
| virtual const PMString & | GetTOCTitle () const =0 |
| virtual void | SetTOCTitle (const PMString &tocTitle)=0 |
| virtual const PMString & | GetBookName () const =0 |
| virtual void | SetBookName (const PMString &bookName)=0 |
| virtual const bool16 | GetIncludeBookmarks () const =0 |
| virtual void | SetIncludeBookmarks (const bool16 bIncludeBookmarks=kFalse)=0 |
| virtual const ITOCStyleInfo::TOCStoryDirection | GetStoryDirection () const =0 |
| virtual void | SetStoryDirection (const ITOCStyleInfo::TOCStoryDirection storyDirection=ITOCStyleInfo::kHorizontal)=0 |
| virtual const ITOCStyleInfo::TOCNumberedParagraphsEntriesType | GetNumberedParagraphsEntriesType () const =0 |
| virtual void | SetNumberedParagraphsEntriesType (const ITOCStyleInfo::TOCNumberedParagraphsEntriesType numberedParagraphsEntriesType=ITOCStyleInfo::kIncludeFullParagraph)=0 |
| virtual const bool16 | GetCreateTextAnchor () const =0 |
| virtual void | SetCreateTextAnchor (bool16 insertTextAnchor)=0 |
| virtual const bool16 | GetRemoveForcedLineBreak () const =0 |
| virtual void | SetRemoveForcedLineBreak (bool16 removeForcedLineBreak)=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 interface for the non-attribute parts of a table of content style. It is necessary for anything listed by an ITOCStyleNameTable. This interface may be part of the style itself, or part of a command that operates on styles.
Enum value about the type of entries to be generated for numbered paragraphs.
Enum value about story direction for generated table of content story.
| pure virtual |
Get the book name if we want to include all the documents in book when generate table of content.
| none |
| pure virtual |
Get the create text anchor flag.
| pure virtual |
Get the flag about whether to include bookmarks or not when generate table of content.
| none |
| pure virtual |
Get the flag about include all the documents in the book or not when generate table of content(TOC).
| none |
| pure virtual |
Get the flag about include hidder layer or not when generate table of content(TOC).
| none |
| pure virtual |
| pure virtual |
Get the type of entries for Numbered Paragraphs to be generated.
| none |
| pure virtual |
Get the remove line feed flag.
| pure virtual |
Get the flag about if we should honor run-in.
| none |
| pure virtual |
Get the story direction for the generated table of content story.
| none |
| pure virtual |
Get the map of included paragraph style and its format information of this style. The key is original paragraph style name and the value is the corresponding format information.
| none |
| pure virtual |
Get the title for table of content story.
| none |
| pure virtual |
Get the format style for table of content's title.
| none |
| pure virtual |
Set the book name.
| bookName | IN the name to be set for book. |
| pure virtual |
Set the flag which inserts text anchor at source paragraph location. This is for html/epub export.
| insertTextAnchor | IN the boolean flag to be set. |
| pure virtual |
Set the flag about whether to include bookmarks or not.
| bIncludeBookmarks | IN the boolean flag to be set. |
| pure virtual |
Set the flag about include all the documents in the book or not.
| includeBookPubs | IN the boolean flag to be set. |
| pure virtual |
Set the flag about include hidder layer.
| includeHidderLayer | IN the boolean flag to be set. |
| pure virtual |
Set the name of this style.
| s | IN the style name to be set. |
| translatable | IN flag indicates if style name should be translated or not. It would always be kFalse for user-specified names and kTrue for predefined style. |
| pure virtual |
Set the type of entries for Numbered Paragraphs to be generated.
| numberedParagraphsEntriesType | IN the type of entries to be generated for numbered paragraphs. |
| pure virtual |
Set the flag which removes line feed at source paragraph location.
| removeForcedLineBreak | IN the boolean flag to be set. |
| pure virtual |
Get the flag about run-in.
| runIn | IN the boolean flag to be set. |
| pure virtual |
Set the story direction for the generated table of content story.
| storyDirection | IN the story direction to be set. |
| pure virtual |
Set the included style and its corresponding format information into the style.
| tocEntryMap | IN the new map. |
| pure virtual |
Set the title for table of content story.
| tocTitle | IN the title to be set as table of content story. |
| pure virtual |
Set the format style for table of content's title.
| formatStyle | IN the style used to format the table of content's title. |