![]() | InDesign SDK 20.5 |
Public Member Functions | |
| AnnotationItem () | |
| virtual void | SetAnnotationContent (const PMString &content) |
| virtual PMString | GetAnnotationContent () const |
| virtual void | SetAnnotationType (const AnnotationType &annotType) |
| virtual AnnotationType | GetAnnotationType () const |
| virtual void | SetAnnotationStatus (const AnnotationStatus &status) |
| virtual AnnotationStatus | GetAnnotationStatus () const |
| virtual void | SetAnnotationCreator (const PMString &creator) |
| virtual PMString | GetAnnotationCreator () const |
| virtual void | SetAnnotationSource (const PMString &filepath) |
| virtual PMString | GetAnnotationSource () const |
| virtual void | SetAnnotationReplies (const std::vector< std::shared_ptr< AnnotationReply >> &replies) |
| virtual void | GetAnnotationReplies (std::vector< std::shared_ptr< AnnotationReply >> &replies) const |
| virtual void | AppendAnnotationReplies (const std::vector< std::shared_ptr< AnnotationReply >> &replies) |
| virtual void | SetAnnotationModified (const IDTime &modified) |
| virtual IDTime | GetAnnotationModified () const |
| virtual void | ApplyTransformAnnotation (const PMMatrix &transformationMatrix) |
| virtual bool | SetMappingBBoxData (const PMRect &bBox) |
| virtual bool | GetMappingBBoxData (PMRect &bBox) const |
| virtual bool | SetMappingPointData (const PMRect &bBox, const PMPoint &point) |
| virtual bool | GetMappingPointData (PMRect &bBox, PMPoint &point) const |
| virtual bool | SetMappingTextData (const PMRect &bBox, const std::vector< UTF32TextChar > &targetContextText, const std::vector< UTF32TextChar > &precedingContextText, const std::vector< UTF32TextChar > &succeedingContextText, const bool &insertCommentAfterSucceedingText) |
| virtual bool | GetMappingTextData (PMRect &bBox, std::vector< UTF32TextChar > &targetContextText, std::vector< UTF32TextChar > &precedingContextText, std::vector< UTF32TextChar > &succeedingContextText, bool16 &insertCommentAfterSucceedingText) const |
| virtual bool | SetTextRectsForMappingTextData (const std::vector< PMRect > &mappingTextRects) |
| virtual bool | GetTextRectsForMappingTextData (std::vector< PMRect > &mappingTextRects) const |
| virtual AnnotMapOrDrawType::eAnnotMappingType | GetMappingTypeForAnnotation () |
| virtual AnnotMapOrDrawType::eAnnotDrawingType | GetDrawingTypeForAnnotation () |
| virtual bool | SetDrawingDataForPathDrawing (IPathGeometry *path) |
| virtual bool | GetDrawingDataForPathDrawing (IPathGeometry *&path) const |
| virtual bool | SetDrawingDataForIconDrawing (const PMRsrcID &iconId) |
| virtual bool | GetDrawingDataForIconDrawing (PMRsrcID &iconId) const |
| virtual bool | SetSegregatedTextualMappingData (const std::vector< std::shared_ptr< SegregatedTextualData >> &segregatedTextualData) |
| virtual bool | GetSegregatedTextualMappingData (std::vector< std::shared_ptr< SegregatedTextualData >> &segregatedTextualData) const |
| virtual PMRect | GetBoundingBox () const |
| AnnotationItem::AnnotationItem | ( | ) |
Sets the information of a particular annotation.
| virtual |
Appends a List of Replies to a particular annotation.
| replies | IN is the list of the annotation's replies. |
| virtual |
Transforms the Annotation by a Matrix.
| transformationMatrix | IN is the matrix by which annotation is to be transformed. |
| virtual |
Gets the Textual Content of a particular annotation.
| content | OUT is the annotation's content. |
| virtual |
Gets the Author/Creator Name of a particular annotation.
| creator | OUT is the annotation's creator – name of the user who created/edited the annotation. |
| virtual |
Gets the Last Modified Time of a particular annotation.
| modified | OUT is the annotation's last modified time. |
| virtual |
Gets the List of Replies of a particular annotation.
| replies | OUT is the list of all the annotation's replies. |
| virtual |
Gets the file path of a particular annotation.
| filepath | OUT is the annotation's filepath – path of the file from which annotation was created. |
| virtual |
Gets the Status of a particular annotation.
| status | OUT is the annotation's current status – whether open or resolved. |
| virtual |
Gets the Type of a particular annotation.
| annotType | OUT is the annotation's type. |
| virtual |
Gets the Bounding Box which of annotation.
| bBox | will store the annotation's bbox. |
| virtual |
Gets the icon for drawing of annotation.
| iconId | is the icon for drawing. |
| virtual |
Gets the path for drawing of annotation.
| path | is the path for drawing. It can support any type of path. |
| virtual |
Return which kind of drawing is supported by this annotation based on annotation type. Icon or path or text Before setting path drawing data data call this function to confirm if annotation supports this or not.
| virtual |
Gets the Bounding Box which is being used to map it to pageItem.
| bBox | will store the annotation's bbox. |
Gets the point which is being used to map it to pageItem.
| bBox | will store the annotation's bounding box. |
| point | will store the annotation's point. |
| virtual |
Get the text data of annotation which is used to map it to text frame.
| bBox | will store the annotation's bounding box. |
| targetContextText | is the annotation's target context text. |
| precedingContextText | is the annotation's preceding context text. |
| succeedingContextText | IN is the annotation's succeeding context text. |
| insertCommentAfterSucceedingText | IN is the annotation's flag for placing insert comment by side of preceeding context text. |
| virtual |
Return which kind of mapping is supported by this annotation based on annotation type. BBox or Point or Text Before setting mapping data call this function to confirm what kind of mapping is supported by this annotation
| virtual |
Sets the segregated textual data for breaking the textual content by InDesign text frames.
| segregatedTextualData | is the vector of structures of terxtual mapping data pertaing to only one yet unknown InDesign Text frame. |
| virtual |
Set the BBox of all Text elements present in mapping text data.
| mappingTextRects | will store the BBox of all Text elements present in mapping text data. |
| virtual |
Sets the Textual Content of a particular annotation.
| content | IN is the annotation's content. |
| virtual |
Sets the Author/Creator Name of a particular annotation.
| creator | IN is the annotation's creator – name of the user who created/edited the annotation. |
| virtual |
Sets the Last Modified Time of a particular annotation.
| modified | IN is the annotation's last modified time. |
| virtual |
Sets the Target Page Index of a particular annotation.
| targetPageIndex | IN is the annotation's target InDesign page index.Gets the Target Page Index of a particular annotation. |
| targetPageIndex | OUT is the annotation's target InDesign page index.Sets the List of Replies of a particular annotation. |
| replies | IN is the list of all the annotation's replies. |
| virtual |
Sets the file path of a particular annotation.
| filepath | IN is the annotation's filepath – path of the file from which annotation was created. |
| virtual |
Sets the Annotation ID of a particular annotation.
| annotid | IN is the annotation's unique ID.Gets the Annotation ID of a particular annotation. |
| annotid | OUT is the annotation's unique ID.Sets the Status of a particular annotation. |
| status | IN is the annotation's current status – whether open or resolved. |
| virtual |
Sets the Type of a particular annotation.
| annotType | IN is the annotation's type. |
| virtual |
Sets the icon for drawing of annotation.
| iconId | is the icon for drawing. |
| virtual |
Information for Drawing Annotation to document. This will indicate how to draw the annoation once it has been mapped to documnet.
| path | is the path for drawing. It can support any type of path. |
| virtual |
All the co-ordinates for path,rect, point etc.. should be in spread co-ordinate space. Information for Mapping Annotation to document Annotations can be mapped to Document via three methods : Bounding Box, Point Or Text data.
(Optional information) For mapping text annotations we can also provide BBox of all text parts addiotionally. This will help in improving accuracy of mapping. Use SetTextRectsForMappingTextData to set. Sets the BBox of annotation which will be used to map it to pageItem.
| targetPoint | IN is the annotation's mapping bbox. |
| virtual |
Sets the point of annotation which will be used to map it to pageItem.
| bBox | will store the annotation's bbox. |
| point | IN is the annotation's mapping point. |
| virtual |
Sets the text data of annotation which will be used to map it to text frame.
| bBox | will store the annotation's bounding box. |
| targetContextText | is the annotation's target context text. |
| precedingContextText | is the annotation's preceding context text. |
| succeedingContextText | IN is the annotation's succeeding context text. |
| insertCommentAfterSucceedingText | IN is the annotation's flag for placing insert comment by side of preceeding context text. |
| virtual |
Sets the segregated textual data for breaking the textual content by InDesign text frames.
| segregatedTextualData | is the vector of structures of terxtual mapping data pertaing to only one yet unknown InDesign Text frame. |
| virtual |
Set the BBox of all Text elements present in mapping text data.
This is an optional parameter which helps in improving the accuracy of text mapping.
| mappingTextRects | will store the BBox of all Text elements present in mapping text data. |