xref: /aoo4110/main/offapi/com/sun/star/text/Defaults.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_text_Defaults_idl__
24#define __com_sun_star_text_Defaults_idl__
25
26#ifndef __com_sun_star_style_CharacterProperties_idl__
27#include <com/sun/star/style/CharacterProperties.idl>
28#endif
29#ifndef __com_sun_star_style_ParagraphProperties_idl__
30#include <com/sun/star/style/ParagraphProperties.idl>
31#endif
32#ifndef __com_sun_star_style_CharacterPropertiesAsian_idl__
33#include <com/sun/star/style/CharacterPropertiesAsian.idl>
34#endif
35#ifndef __com_sun_star_style_CharacterPropertiesComplex_idl__
36#include <com/sun/star/style/CharacterPropertiesComplex.idl>
37#endif
38#ifndef __com_sun_star_style_ParagraphPropertiesAsian_idl__
39#include <com/sun/star/style/ParagraphPropertiesAsian.idl>
40#endif
41#ifndef __com_sun_star_style_ParagraphPropertiesComplex_idl__
42#include <com/sun/star/style/ParagraphPropertiesComplex.idl>
43#endif
44
45#ifndef __com_sun_star_beans_XPropertySet_idl__
46#include <com/sun/star/beans/XPropertySet.idl>
47#endif
48
49//=============================================================================
50
51 module com {  module sun {  module star {  module text {
52
53//=============================================================================
54
55/** provides default settings of a text component for paragraph and
56    character properties.
57 */
58published service Defaults
59{
60    service com::sun::star::style::CharacterProperties;
61
62    service com::sun::star::style::ParagraphProperties;
63
64    [optional] service com::sun::star::style::CharacterPropertiesAsian;
65
66    [optional] service com::sun::star::style::CharacterPropertiesComplex;
67
68    [optional] service com::sun::star::style::ParagraphPropertiesAsian;
69
70    [optional] service com::sun::star::style::ParagraphPropertiesComplex;
71
72
73    interface com::sun::star::beans::XPropertySet;
74
75    //-----------------------------------------------------------------------------
76    /** default tab-distance to be used.
77     */
78    [property] long TabStopDistance;
79};
80
81//=============================================================================
82
83}; }; }; };
84
85#endif
86