1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
27 #ifndef com_sun_star_chart_Title_idl
28 #define com_sun_star_chart_Title_idl
30 #include
<com
/sun
/star
/style
/ParagraphProperties.idl
>
31 #include
<com
/sun
/star
/layout
/LayoutElement.idl
>
33 #include
<com
/sun
/star
/chart2
/XTitle.idl
>
35 #include
<com
/sun
/star
/beans
/PropertySet.idl
>
36 #include
<com
/sun
/star
/drawing
/LineProperties.idl
>
37 #include
<com
/sun
/star
/drawing
/FillProperties.idl
>
50 /** only mandatory properties
52 service
::com
::sun
::star
::style
::ParagraphProperties
;
53 service
::com
::sun
::star
::drawing
::FillProperties
;
54 service
::com
::sun
::star
::drawing
::LineProperties
;
55 service
::com
::sun
::star
::beans
::PropertySet
;
56 [optional] service
::com
::sun
::star
::layout
::LayoutElement
;
62 /** the rotation of the title's text in degrees in the range
65 [property
] double TextRotation
;
67 /** writes the characters of the title on top of each other if set
70 [property
] boolean StackCharacters
;
72 /** The position is a relative position on the page.
74 <p>If a relative position is given the title is not automatically placed,
75 but instead is placed relative on the page.</p>
77 [property
, maybevoid
] ::com
::sun
::star
::chart2
::RelativePosition RelativePosition
;
80 /** contains the size of the page at the time when properties were
81 set (e.g. the CharHeight).
83 <p>This way it is possible to resize objects (like text) in
84 the view without modifying the model.</p>
86 [property
, maybevoid
] com
::sun
::star
::awt
::Size ReferencePageSize
;