:: com :: sun :: star :: style ::

service Style
Description
This service specifies a single style sheet.
Developers Guide
7.4.1 Text Documents - Overall Document Features - Styles

Exported Interfaces
XStyle
specifies a template for a style (aka style sheet).
::com::sun::star::beans::XPropertySet
provides information about and access to the properties from an implementation.
::com::sun::star::beans::XMultiPropertySet
[ OPTIONAL ]
::com::sun::star::beans::XMultiPropertyStates
[ OPTIONAL ]
Properties' Summary
IsPhysical [ OPTIONAL ]
determines if a style is physically created.
FollowStyle [ OPTIONAL ]
contains the name of the style that is applied to the next paragraph.
DisplayName [ OPTIONAL ]
contains the name of the style as it is displayed in the user interface.
IsAutoUpdate [ OPTIONAL ]
determines if a style is automatically updated, if the properties of an object that the style is applied to are changed.
Properties' Details
IsPhysical
[ readonly ] boolean IsPhysical;
[ 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
boolean FollowStyle;
[ 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;
[ 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 localised.

IsAutoUpdate
string IsAutoUpdate;
[ 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.


 
Top of Page