xref: /trunk/main/offapi/com/sun/star/chart2/Title.idl (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
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.
14 *
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).
20 *
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.
25 *
26 ************************************************************************/
27#ifndef com_sun_star_chart_Title_idl
28#define com_sun_star_chart_Title_idl
29
30#include <com/sun/star/style/ParagraphProperties.idl>
31#include <com/sun/star/layout/LayoutElement.idl>
32
33#include <com/sun/star/chart2/XTitle.idl>
34
35#include <com/sun/star/beans/PropertySet.idl>
36#include <com/sun/star/drawing/LineProperties.idl>
37#include <com/sun/star/drawing/FillProperties.idl>
38
39module com
40{
41module sun
42{
43module star
44{
45module chart2
46{
47
48service Title
49{
50    /** only mandatory properties
51     */
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;
57
58    /**
59     */
60    interface              XTitle;
61
62    /** the rotation of the title's text in degrees in the range
63        [0,360).
64     */
65    [property] double      TextRotation;
66
67    /** writes the characters of the title on top of each other if set
68        to <TRUE/>.
69     */
70    [property] boolean     StackCharacters;
71
72    /** The position is a relative position on the page.
73
74        <p>If a relative position is given the title is not automatically placed,
75        but instead is placed relative on the page.</p>
76     */
77    [property, maybevoid] ::com::sun::star::chart2::RelativePosition RelativePosition;
78
79
80    /** contains the size of the page at the time when properties were
81        set (e.g. the CharHeight).
82
83        <p>This way it is possible to resize objects (like text) in
84        the view without modifying the model.</p>
85     */
86    [property, maybevoid]  com::sun::star::awt::Size   ReferencePageSize;
87};
88
89} ; // chart2
90} ; // com
91} ; // sun
92} ; // star
93
94#endif
95