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

Public Types | |
| enum | { kDefaultIID = IID_IINDEXPAGEENTRYDATA } |
| enum | PageRangeType { kNoPageRange = 0, kCurrentPage = 1, kToNextStyleChange = 2, kToNextUseOfStyle = 3, kToEndOfStory = 4, kToEndOfDocument = 5, kToEndOfSection = 6, kForNextNParagraphs = 7, kForNextNPages = 8 } |
| enum | MarkerPlace { kPage = 1, kPasteboard = 2, kMasterPage = 4, kOverset = 8, kHiddenLayer = 16, kUnplacedFrame = 32, kFootnote = 64, kNote = 128, kHiddenText = 256, kHiddenState = 512, kDummyValue = 0xFFFFFFFF } |
Public Member Functions | |
| virtual void | GetPageRangeType (PageRangeType &type, UID &nextStyleUID, int32 &nParOrPage) const =0 |
| virtual void | SetPageRangeType (const PageRangeType type, const UID nextStyleUID, const int32 nParOrPage)=0 |
| virtual UID | GetStyleUID () const =0 |
| virtual void | SetStyleUID (const UID styleUID)=0 |
| virtual void | GetPageRange (int32 &startPage, int32 &endPage) const =0 |
| virtual void | SetPageRange (const int32 startPage, const int32 endPage)=0 |
| virtual void | GetMarkerPlace (MarkerPlace &place) const =0 |
| virtual void | SetMarkerPlace (const MarkerPlace place)=0 |
| virtual uint32 | GetMarkerUniqueID () const =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 that aggregates information about an index page entry.
Specifies the location of the index marker
The type of the page range for the entry
| pure virtual |
Retrieves the place of the index marker. Used when updating the page entries in the index.
| place | [OUT] - location of the index marker. |
| pure virtual |
Gets ID of index marker. This number should be unique within document. It is used to create hyperlink when export index to HTML and EPUB
| pure virtual |
Retrieves the page range for this entry.
| startPage | [OUT] - the start page. |
| endPage | [OUT] - the end page. |
| pure virtual |
Retrieves the type of the page range for the entry.
| type | [OUT] - the page range for this entry. |
| nextStyleUID | [OUT] - the UID of the next style if type is kToNextUseOfStyle. |
| nParOrPage | [OUT] - the number of paragraphs or pages if the type is kForNextNParagraphs or kForNextNPages |
| pure virtual |
Retrieves the style for the page entry.
| pure virtual |
Sets the location of the index marker.
| place | [IN] - location of the index marker. |
| pure virtual |
Sets the page range for this entry. This method is used in conjuction with SetPageRangeType.
| startPage | [IN] - the start page. |
| endPage | [IN] - the end page. |
| pure virtual |
Sets the page range type for this entry. This method is used in conjuction with SetPageRange.
| type | [IN] - the page range for this entry. |
| nextStyleUID | [IN] - the UID of the next style if type is kToNextUseOfStyle. |
| nParOrPage | [IN] - the number of paragraphs or pages if the type is kForNextNParagraphs or kForNextNPages |
| pure virtual |
Sets the style for the page entry.
| styleUID | [IN] - the UID of the style for the page entry. |