27 #ifndef __IINDEXTOPICLIST__ 28 #define __IINDEXTOPICLIST__ 30 #include "IndexingID.h" 31 #include "IIndexPageEntryData.h" 32 #include "KeyValuePair.h" 37 class IIndexHeaderSetOptions;
51 fStartPageString(kNullString),
52 fEndPageString(kNullString),
53 fStartPageUseTCY(kTrue),
54 fEndPageUseTCY(kTrue),
55 fMarkerPlace(IIndexPageEntryData::kDummyValue),
56 fPageRangeType(IIndexPageEntryData::kNoPageRange),
57 fStyleUID(kInvalidUID),
58 fBookContentUID(kInvalidUID),
59 fPageEntryUIDRef(kInvalidUIDRef)
64 return ( (fStartPageIndex == other.fStartPageIndex) &&
65 (fEndPageIndex == other.fEndPageIndex) &&
66 (fStartPageString == other.fStartPageString) &&
67 (fEndPageString == other.fEndPageString) &&
68 (fStartPageUseTCY == other.fStartPageUseTCY) &&
69 (fEndPageUseTCY == other.fEndPageUseTCY) &&
70 (fMarkerPlace == other.fMarkerPlace) &&
71 (fPageRangeType == other.fPageRangeType) &&
72 (fStyleUID == other.fStyleUID) &&
73 (fBookContentUID == other.fBookContentUID) );
76 int32 fStartPageIndex;
80 bool16 fStartPageUseTCY;
81 bool16 fEndPageUseTCY;
94 fSectionUID(kInvalidUID),
99 fSectionUID(sectionUID),
105 return ( (fSectionUID == other.fSectionUID) &&
106 (fNthNode == other.fNthNode) &&
107 (fNthEntry == other.fNthEntry) );
126 enum { kDefaultIID = IID_IINDEXTOPICLIST };
227 virtual const int32
GetParentNodeId(int32 sectionId, int32 childNodeId)
const = 0;
236 virtual const int32
GetNumChildrenOfNode(int32 sectionId, int32 parentNodeId, bool16 excludeUnused = kFalse)
const = 0;
246 virtual const int32
GetNthChildNodeId(int32 sectionId, int32 parentNodeId, int32 nth, bool16 excludeUnused = kFalse)
const = 0;
256 virtual const int32
GetChildRank(int32 sectionId, int32 parentNodeId, int32 childNodeId, bool16 excludeUnused = kFalse)
const = 0;
353 virtual bool16
TopicEntryIsUsed(int32 sectionId, int32 nodeId, bool16 includeChildren = kTrue)
const = 0;
368 int32 startSectionId = 0,
369 int32 startNodeId = 0,
370 int32* foundSectionId = NULL,
371 int32* foundNodeId = NULL,
372 bool16 caseSensitive = kTrue,
373 bool16 wholeWord = kTrue,
374 bool16 searchDir = kTrue)
const = 0;
389 int32 startSectionId = 0,
390 int32 startNodeId = 0,
391 int32 startXRefId = 0,
392 int32* foundSectionId = NULL,
393 int32* foundNodeId = NULL,
394 int32* foundXRefId = NULL,
395 bool16 caseSensitive = kTrue,
396 bool16 wholeWord = kTrue,
397 bool16 searchDir = kTrue,
398 int32* currentSearchNum = NULL)
const = 0;
454 int32 startSectionId = 0,
455 int32 startNodeId = 0,
456 int32 startXRefId = 0,
457 int32* foundSectionId = NULL,
458 int32* foundNodeId = NULL,
459 int32* foundXRefId = NULL,
460 bool16 caseSensitive = kTrue,
461 bool16 wholeWord = kTrue,
462 bool16 searchDir = kTrue)
const = 0;
465 #endif // __IINDEXTOPICLIST__