#include <IIndexPageEntryCmdData.h>
|
| enum | { kDefaultIID = IID_IINDEXPAGEENTRYCMDDATA } |
| |
Command data interface for creating and editing an index page entry.
- See Also
- IIndexPageEntryData.
Retrieves the place of the index marker. Used when updating the page entries in the index.
- See Also
- IIndexPageEntryData for the definition of marker place.
- Parameters
| place | [OUT] - location of the index marker. |
| virtual void IIndexPageEntryCmdData::GetPageRange | ( | int32 & | startPage, | | | int32 & | endPage | | ) | | const |
| pure virtual |
Retrieves the page range for this entry.
- Parameters
| startPage | [OUT] - the index (0-based) of start page. |
| endPage | [OUT] - the index (0-based) of end page. |
Retrieves the type of the page range for the entry.
- Parameters
| 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 |
| virtual UID IIndexPageEntryCmdData::GetStyleUID | ( | | ) | const |
| pure virtual |
Retrieves the style for the page entry.
- Returns
- UID of the style.
Sets the location of the index marker.
- See Also
- IIndexPageEntryData for the definition of marker place.
- Parameters
| place | [IN] - location of the index marker. |
| virtual void IIndexPageEntryCmdData::SetPageRange | ( | const int32 | startPage, | | | const int32 | endPage | | ) | | |
| pure virtual |
Sets the page range for this entry. This method is used in conjuction with SetPageRangeType.
- Parameters
| startPage | [IN] - the start page. |
| endPage | [IN] - the end page. |
Sets the page range type for this entry. This method is used in conjuction with SetPageRange.
- Parameters
| 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 |
| virtual void IIndexPageEntryCmdData::SetStyleUID | ( | const UID | styleUID | ) | |
| pure virtual |
Sets the style for the page entry.
- Parameters
| styleUID | [IN] - the UID of the style for the page entry. |