Overview | Module | Use | Devguide | Index

Services' Summary | Interfaces' Summary | Properties' Summary | Services' Details | Interfaces' Details | Properties' Details

:: com :: sun :: star :: style ::
service Style
Description This service specifies a single style sheet. Developers Guide Text - Overall Document Features - Styles

Included Services - Summary
::com::sun::star::xml::UserDefinedAttributesSupplier | contains user defined attributes. (details)

Exported Interfaces - Summary
XStyle | (referenced entity's summary:) specifies a template for a style (aka style sheet).
::com::sun::star::beans::XPropertySet | (referenced entity's summary:) provides information about and access to the properties from an implementation.
::com::sun::star::beans::XMultiPropertySet |
::com::sun::star::beans::XMultiPropertyStates |

Properties' Summary
[ readonly ] boolean IsPhysical | [ OPTIONAL ] determines if a style is physically created.
string FollowStyle | [ OPTIONAL ] contains the name of the style that is applied to the next paragraph.
[ readonly ] string DisplayName | [ OPTIONAL ] contains the name of the style as it is displayed in the user interface.
string IsAutoUpdate | [ OPTIONAL ] determines if a style is automatically updated, if the properties of an object that the style is applied to are changed.
sequence< ::com::sun::star::beans::NamedValue > ParaStyleConditions | [ OPTIONAL ] defines the context and styles for conditional paragraphs.
boolean Hidden | [ OPTIONAL ] Flag indicating whether to hide the style in the UI.

Included Services - Details
::com::sun::star::xml::UserDefinedAttributesSupplier
Usage Restrictions optional Description contains user defined attributes. See also ::com::sun::star::xml::UserDefinedAttributesSupplier

Exported Interfaces - Details
XStyle
(referenced entity's summary:) specifies a template for a style (aka style sheet).
::com::sun::star::beans::XPropertySet
(referenced entity's summary:) provides information about and access to the properties from an implementation.
::com::sun::star::beans::XMultiPropertySet
Usage Restrictions optional
::com::sun::star::beans::XMultiPropertyStates
Usage Restrictions optional

Properties' Details
IsPhysical
[ readonly ] boolean IsPhysical; Usage Restrictions optional Description determines if a style is physically created. Built in styles may not be created until they are needed. To prevent standard style properties from being exported, it may be useful to check if the style is created first.
FollowStyle
string FollowStyle; Usage Restrictions optional Description contains the name of the style that is applied to the next paragraph. This property is usually available at paragraph styles only.
DisplayName
[ readonly ] string DisplayName; Usage Restrictions optional Description contains the name of the style as it is displayed in the user interface. The names of the styles at the API are language independent. The user interface names are localized.
IsAutoUpdate
string IsAutoUpdate; Usage Restrictions optional Description determines if a style is automatically updated, if the properties of an object that the style is applied to are changed. For example, if the style is applied to a paragraph and the properties of the paragraph are changed then the style will be updated accordingly.
ParaStyleConditions
sequence< ::com::sun::star::beans::NamedValue > ParaStyleConditions; Usage Restrictions optional Description defines the context and styles for conditional paragraphs. This property is only available if the style is a conditional paragraph style. The sequence consists of pairs where the name part of the pair defines the context where it should be applied and the value part is a string naming the style to be used in that context. Assigning an empty string to the style name will disable the conditional style for that context. The allowed strings (contexts) for the name part of an entry of the sequence are: TableHeader Table Frame Section Footnote Endnote Header Footer OutlineLevel1 OutlineLevel2 OutlineLevel3 OutlineLevel4 OutlineLevel5 OutlineLevel6 OutlineLevel7 OutlineLevel8 OutlineLevel9 OutlineLevel10 NumberingLevel1 NumberingLevel2 NumberingLevel3 NumberingLevel4 NumberingLevel5 NumberingLevel6 NumberingLevel7 NumberingLevel8 NumberingLevel9 NumberingLevel10 Since OOo 2.0.1
Hidden
boolean Hidden; Usage Restrictions optional Description Flag indicating whether to hide the style in the UI. Since LibreOffice 4.0

Top of Page

Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.