Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / chart2 / Title.idl
blobd1ac0c49be76b55f0fb4d460119d17b78ee12193
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
19 #ifndef com_sun_star_chart2_Title_idl
20 #define com_sun_star_chart2_Title_idl
22 #include <com/sun/star/style/ParagraphProperties.idl>
23 #include <com/sun/star/chart2/XTitle.idl>
24 #include <com/sun/star/chart2/RelativePosition.idl>
25 #include <com/sun/star/beans/PropertySet.idl>
26 #include <com/sun/star/drawing/LineProperties.idl>
27 #include <com/sun/star/drawing/FillProperties.idl>
28 //FIXME does not exist <com/sun/star/layout/LayoutElement.idl>
30 module com
32 module sun
34 module star
36 module chart2
39 service Title
41 /** only mandatory properties
43 service ::com::sun::star::style::ParagraphProperties;
44 service ::com::sun::star::drawing::FillProperties;
45 service ::com::sun::star::drawing::LineProperties;
46 service ::com::sun::star::beans::PropertySet;
47 //FIXME [optional] service ::com::sun::star::layout::LayoutElement;
49 /**
51 interface XTitle;
53 /** the rotation of the title's text in degrees in the range
54 [0,360).
56 [property] double TextRotation;
58 /** writes the characters of the title on top of each other if set
59 to `TRUE`.
61 [property] boolean StackCharacters;
63 /** The position is a relative position on the page.
65 <p>If a relative position is given the title is not automatically placed,
66 but instead is placed relative on the page.</p>
68 [property, maybevoid] ::com::sun::star::chart2::RelativePosition RelativePosition;
71 /** contains the size of the page at the time when properties were
72 set (e.g. the CharHeight).
74 <p>This way it is possible to resize objects (like text) in
75 the view without modifying the model.</p>
77 [property, maybevoid] com::sun::star::awt::Size ReferencePageSize;
80 } ; // chart2
81 } ; // com
82 } ; // sun
83 } ; // star
85 #endif
87 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */