LibreOffice
LibreOffice 7.4 SDK API Reference
XAnnotation.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
20 #ifndef __com_sun_star_office_XAnnotation_idl__
21 #define __com_sun_star_office_XAnnotation_idl__
22 
30 
31 
32 module com { module sun { module star { module office {
33 
34 
37 interface XAnnotation
38 {
40  interface ::com::sun::star::beans::XPropertySet;
41 
44  interface ::com::sun::star::lang::XComponent;
45 
47  [attribute, readonly] any Anchor;
48 
53 
57 
59  [attribute] string Author;
60 
62  [attribute] string Initials;
63 
66 
69 };
70 
71 
72 }; }; }; };
73 
74 #endif
75 
76 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This interface gives access to an annotation inside a document.
Definition: XAnnotation.idl:38
string Author
stores the full name of the author who created this annotation.
Definition: XAnnotation.idl:59
string Initials
stores the initials of the author who created this annotation.
Definition: XAnnotation.idl:62
::com::sun::star::text::XText TextRange
gives access to the annotations text.
Definition: XAnnotation.idl:68
any Anchor
a reference to the document content this annotation is anchored to.
Definition: XAnnotation.idl:44
::com::sun::star::util::DateTime DateTime
stores the date and time this annotation was last edited.
Definition: XAnnotation.idl:65
::com::sun::star::geometry::RealPoint2D Position
this is an optional position that gives the user interface a hint where the annotation should be rend...
Definition: XAnnotation.idl:52
::com::sun::star::geometry::RealSize2D Size
this is an optional size that gives the user interface a hint how large the annotation should be rend...
Definition: XAnnotation.idl:56
extends a XSimpleText by the capability of inserting XTextContents.
Definition: XText.idl:41
Definition: Ambiguous.idl:22
This structure defines a two-dimensional point.
Definition: RealPoint2D.idl:32
This structure contains data representing a two-dimensional size.
Definition: RealSize2D.idl:31
represents a combined date+time value.
Definition: DateTime.idl:29