xref: /aoo4110/main/offapi/com/sun/star/chart2/Title.idl (revision b1cdbd2c)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef com_sun_star_chart_Title_idl
24#define com_sun_star_chart_Title_idl
25
26#include <com/sun/star/style/ParagraphProperties.idl>
27#include <com/sun/star/layout/LayoutElement.idl>
28
29#include <com/sun/star/chart2/XTitle.idl>
30
31#include <com/sun/star/beans/PropertySet.idl>
32#include <com/sun/star/drawing/LineProperties.idl>
33#include <com/sun/star/drawing/FillProperties.idl>
34
35module com
36{
37module sun
38{
39module star
40{
41module chart2
42{
43
44service Title
45{
46    /** only mandatory properties
47     */
48    service                ::com::sun::star::style::ParagraphProperties;
49    service                ::com::sun::star::drawing::FillProperties;
50    service                ::com::sun::star::drawing::LineProperties;
51    service                ::com::sun::star::beans::PropertySet;
52    [optional] service     ::com::sun::star::layout::LayoutElement;
53
54    /**
55     */
56    interface              XTitle;
57
58    /** the rotation of the title's text in degrees in the range
59        [0,360).
60     */
61    [property] double      TextRotation;
62
63    /** writes the characters of the title on top of each other if set
64        to <TRUE/>.
65     */
66    [property] boolean     StackCharacters;
67
68    /** The position is a relative position on the page.
69
70        <p>If a relative position is given the title is not automatically placed,
71        but instead is placed relative on the page.</p>
72     */
73    [property, maybevoid] ::com::sun::star::chart2::RelativePosition RelativePosition;
74
75
76    /** contains the size of the page at the time when properties were
77        set (e.g. the CharHeight).
78
79        <p>This way it is possible to resize objects (like text) in
80        the view without modifying the model.</p>
81     */
82    [property, maybevoid]  com::sun::star::awt::Size   ReferencePageSize;
83};
84
85} ; // chart2
86} ; // com
87} ; // sun
88} ; // star
89
90#endif
91