LibreOffice
LibreOffice 24.2 SDK API Reference
|
This interface gives access to an annotation inside a document. More...
import"XAnnotation.idl";
Exported Interfaces | |
interface | ::com::sun::star::beans::XPropertySet |
All attributes are also available as properties. More... | |
interface | ::com::sun::star::lang::XComponent |
manages the lifetime of this annotation, should only be used by the owner of the annotation which should be the document itself. More... | |
Public Attributes | |
any | Anchor |
a reference to the document content this annotation is anchored to. More... | |
::com::sun::star::geometry::RealPoint2D | Position |
this is an optional position that gives the user interface a hint where the annotation should be rendered. More... | |
::com::sun::star::geometry::RealSize2D | Size |
this is an optional size that gives the user interface a hint how large the annotation should be rendered. More... | |
string | Author |
stores the full name of the author who created this annotation. More... | |
string | Initials |
stores the initials of the author who created this annotation. More... | |
::com::sun::star::util::DateTime | DateTime |
stores the date and time this annotation was last edited. More... | |
::com::sun::star::text::XText | TextRange |
gives access to the annotations text. More... | |
Additional Inherited Members | |
Public Member Functions inherited from XPropertySet | |
com::sun::star::beans::XPropertySetInfo | getPropertySetInfo () |
void | setPropertyValue ([in] string aPropertyName, [in] any aValue) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::WrappedTargetException ) |
sets the value of the property with the specified name. More... | |
any | getPropertyValue ([in] string PropertyName) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
void | addPropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener xListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
adds an XPropertyChangeListener to the specified property. More... | |
void | removePropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
removes an XPropertyChangeListener from the listener list. More... | |
void | addVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
adds an XVetoableChangeListener to the specified property with the name PropertyName. More... | |
void | removeVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
removes an XVetoableChangeListener from the listener list. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
Public Member Functions inherited from XComponent | |
void | dispose () |
The owner of an object calls this method to explicitly free all resources kept by this object and thus break cyclic references. More... | |
void | addEventListener ([in] XEventListener xListener) |
adds an event listener to the object. More... | |
void | removeEventListener ([in] XEventListener aListener) |
removes an event listener from the listener list. More... | |
This interface gives access to an annotation inside a document.
interface ::com::sun::star::beans::XPropertySet |
All attributes are also available as properties.
interface ::com::sun::star::lang::XComponent |
manages the lifetime of this annotation, should only be used by the owner of the annotation which should be the document itself.
|
attributereadonly |
a reference to the document content this annotation is anchored to.
|
attribute |
stores the full name of the author who created this annotation.
|
attribute |
stores the date and time this annotation was last edited.
|
attribute |
stores the initials of the author who created this annotation.
|
attribute |
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.
|
attribute |
this is an optional size that gives the user interface a hint how large the annotation should be rendered.
|
attributereadonly |
gives access to the annotations text.