LibreOffice LibreOffice 5.3 SDK API Reference

Style.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19 #ifndef __com_sun_star_style_Style_idl__
20 #define __com_sun_star_style_Style_idl__
21
22 #include <com/sun/star/style/XStyle.idl>
23 #include <com/sun/star/beans/XPropertySet.idl>
24 #include <com/sun/star/beans/XMultiPropertySet.idl>
25 #include <com/sun/star/beans/XMultiPropertyStates.idl>
26 #include <com/sun/star/beans/NamedValue.idl>
27 #include <com/sun/star/xml/UserDefinedAttributesSupplier.idl>
28
29
30
31 module com { module sun { module star { module style {
32
33
36 published service Style
37 {
42 [optional] service com::sun::star::xml::UserDefinedAttributesSupplier;
43
44
45 interface com::sun::star::style::XStyle;
46
47 interface com::sun::star::beans::XPropertySet;
48
49 [optional] interface com::sun::star::beans::XMultiPropertySet;
50
51 /* This optional interface is available as an optimization, allowing users
52 to use "setAllPropertiesToDefault", for example. */
53
54 [optional] interface com::sun::star::beans::XMultiPropertyStates;
55
56
64 [optional, readonly, property] boolean IsPhysical;
65
70 [optional, property] string FollowStyle;
71
77 [optional, readonly, property] string DisplayName;
78
85 [optional, property] string IsAutoUpdate;
86
136 [optional, property] sequence< com::sun::star::beans::NamedValue > ParaStyleConditions;
137
141 [optional, property] boolean Hidden;
142
151 [optional, property] sequence<com::sun::star::beans::PropertyValue> StyleInteropGrabBag;
152 };
153
154
155 }; }; }; };
156 #endif
157
158 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::style::XStyle
specifies a template for a style (aka style sheet).
Definition: XStyle.idl:33
com::sun::star::beans::XMultiPropertySet
provides access to multiple properties with a single call.
Definition: XMultiPropertySet.idl:41
com::sun::star::style::Style::DisplayName
string DisplayName
contains the name of the style as it is displayed in the user interface.
Definition: Style.idl:77
com::sun::star::style::Style::Hidden
boolean Hidden
Flag indicating whether to hide the style in the UI.
Definition: Style.idl:141
com
Definition: Ambiguous.idl:22
com::sun::star::style::Style::FollowStyle
string FollowStyle
contains the name of the style that is applied to the next paragraph.
Definition: Style.idl:70
XMultiPropertyStates.idl
com::sun::star::style::Style::StyleInteropGrabBag
sequence< com::sun::star::beans::PropertyValue > StyleInteropGrabBag
Grab bag of style properties, used as a string-any map for interim interop purposes.
Definition: Style.idl:151
com::sun::star::xml::UserDefinedAttributesSupplier
A component that supports this service preserves XML attributes, unknown by its parser, that belong to the XML element representing it (the component).
Definition: UserDefinedAttributesSupplier.idl:32
com::sun::star::beans::XMultiPropertyStates
makes it possible to query information about the state of one or more properties. ...
Definition: XMultiPropertyStates.idl:39
XStyle.idl
com::sun::star::style::Style
This service specifies a single style sheet.
Definition: Style.idl:36
com::sun::star::style::Style::ParaStyleConditions
sequence< com::sun::star::beans::NamedValue > ParaStyleConditions
defines the context and styles for conditional paragraphs.
Definition: Style.idl:136
com::sun::star::style::Style::IsAutoUpdate
string IsAutoUpdate
determines if a style is automatically updated, if the properties of an object that the style is appl...
Definition: Style.idl:85
NamedValue.idl
com::sun::star::beans::XPropertySet
provides information about and access to the properties from an implementation.
Definition: XPropertySet.idl:63
XPropertySet.idl
UserDefinedAttributesSupplier.idl
XMultiPropertySet.idl
com::sun::star::style::Style::IsPhysical
boolean IsPhysical
determines if a style is physically created.
Definition: Style.idl:54