:: com :: sun :: star :: office ::

unpublished interface XAnnotation
Base Interfaces
XAnnotation
┣ ::com::sun::star::beans::XPropertySet
┗ ::com::sun::star::lang::XComponent

::com::sun::star::beans::XPropertySet
Description
All attributes are also available as properties.
::com::sun::star::lang::XComponent
Description
manages the lifetime of this annotation, should only be used by the owner of the annotation which should be the document itself.
Usage Restrictions
not published
Description
This interface gives access to an annotation inside a document.

Attributes' Summary
Anchor a reference to the document content this annotation is anchored to.  
Position this is an optional position that gives the user interface a hint where the annotation should be rendered. This could be an offset to the annotations anchor.  
Size this is an optional size that gives the user interface a hint how large the annotation should be rendered.  
Author stores the full name of the author who created this annotation.  
DateTime stores the date and time this annotation was last edited.  
TextRange gives access to the annotations text.  
Attributes' Details
Anchor
[ readonly ] any Anchor;
Description
a reference to the document content this annotation is anchored to.
Position
::com::sun::star::geometry::RealPoint2D Position;
Description
this is an optional position that gives the user interface a hint where the annotation should be rendered. This could be an offset to the annotations anchor.
Size
::com::sun::star::geometry::RealSize2D Size;
Description
this is an optional size that gives the user interface a hint how large the annotation should be rendered.
Author
string Author;
Description
stores the full name of the author who created this annotation.
DateTime
::com::sun::star::util::DateTime DateTime;
Description
stores the date and time this annotation was last edited.
TextRange
[ readonly ] ::com::sun::star::text::XText TextRange;
Description
gives access to the annotations text.
Top of Page