merge the formfield patch from ooo-build
[ooovba.git] / offapi / com / sun / star / chart2 / Title.idl
blob2c05ce91c7bac8b2bc2f14dc8f19555d9ba8475e
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: Title.idl,v $
10 * $Revision: 1.3.94.1 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef com_sun_star_chart_Title_idl
31 #define com_sun_star_chart_Title_idl
33 #include <com/sun/star/style/ParagraphProperties.idl>
34 #include <com/sun/star/layout/LayoutElement.idl>
36 #include <com/sun/star/chart2/XTitle.idl>
38 #include <com/sun/star/beans/PropertySet.idl>
39 #include <com/sun/star/drawing/LineProperties.idl>
40 #include <com/sun/star/drawing/FillProperties.idl>
42 module com
44 module sun
46 module star
48 module chart2
51 service Title
53 /** only mandatory properties
55 service ::com::sun::star::style::ParagraphProperties;
56 service ::com::sun::star::drawing::FillProperties;
57 service ::com::sun::star::drawing::LineProperties;
58 service ::com::sun::star::beans::PropertySet;
59 [optional] service ::com::sun::star::layout::LayoutElement;
61 /**
63 interface XTitle;
65 /** the rotation of the title's text in degrees in the range
66 [0,360).
68 [property] double TextRotation;
70 /** writes the characters of the title on top of each other if set
71 to <TRUE/>.
73 [property] boolean StackCharacters;
75 /** The position is a relative position on the page.
77 <p>If a relative position is given the title is not automatically placed,
78 but instead is placed relative on the page.</p>
80 [property, maybevoid] ::com::sun::star::chart2::RelativePosition RelativePosition;
83 /** contains the size of the page at the time when properties were
84 set (e.g. the CharHeight).
86 <p>This way it is possible to resize objects (like text) in
87 the view without modifying the model.</p>
89 [property, maybevoid] com::sun::star::awt::Size ReferencePageSize;
92 } ; // chart2
93 } ; // com
94 } ; // sun
95 } ; // star
97 #endif