![]() | InDesign SDK 20.5 |

Public Types | |
| enum | { kDefaultIID = IID_IANNOTATIONUTILS } |
Public Member Functions | |
| virtual UIDList | GetListOfImportPDFAnnotUIDOnPageOrPageItems (const UIDList &uidList, bool bIsSortByTimeStamp=false, bool includeTextRanges=true)=0 |
| virtual UIDList | GetListOfShare4ReviewAnnotUIDOnPageOrPageItems (const UIDList &uidList, bool bIsSortByTimeStamp=false, bool includeTextRanges=true)=0 |
| virtual UIDList | GetListOfAnnotUIDOnTextRange (ITextModel *model, TextIndex start, TextIndex end, bool bIsSortByTimeStamp=false)=0 |
| virtual UIDList | GetListOfAnnotUIDMappedToDoc (const UIDRef &doc)=0 |
| virtual ErrorCode | DeleteAnnotation (const UIDRef &annotUIDRef)=0 |
| virtual ErrorCode | DeleteAnnotationList (const UIDList &annotList)=0 |
| virtual ErrorCode | ChangeAnnotationStatus (const UIDRef &annotation, const AnnotationStatus &newStatus)=0 |
| virtual void | ReadAnnotationData (const UIDRef &annotUIDRef, AnnotationItem &annotData)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
| pure virtual |
Change the annotation status.
| annotation | - annotation to be changed. |
| newStatus | - new Status for the annotation. |
| pure virtual |
Deletes annotation. This method deletes the specified annotation object and disassociate the annotation with corresponding annotation destination.
We delete the associated destination as well because there can only be one annotation referencing a destination.
| annotUIDRef | - UIDRef of annotation to be deleted. |
| pure virtual |
Deletes annotation list.
| annotList | - annotation list to be deleted. |
Given a document return UID list of all annotations that are orphan and hence have been mapped to this document
| doc | - The UIDRef of the document |
| pure virtual |
Given a text range return UID list of all annotation linked to this text range
| *model | - The text model to look at |
| start | - The start of the range |
| end | - The end of the range |
| bIsSortByTimeStamp | - true means sort the annotation list by time stamp |
| pure virtual |
Given a uidList of page/pageitems return UID list of all import PDF annotation linked to these page/pageitems.
| uidList | - list of page/pageitems |
| bIsSortByTimeStamp | - true means sort the annotation list by time stamp |
| pure virtual |
Given a uidList of page/pageitems return UID list of all share for review annotation linked to these page/pageitems.
| uidList | - list of page/pageitems |
| bIsSortByTimeStamp | - true means sort the annotation list by time stamp |
| pure virtual |
Given the annotation UID it fills the structure AnnotationItem with complete data of annotation.
| annotation | - annotation to be read. |
| annotData | - structure AnnotationItem which will be filled by annotation Data |