service Style in module com::sun::star::style::

(Global Index)

Syntax

service Style;

Description

This service specifies a single style sheet.

Exported Interfaces

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

Description

specifies a template for a style (aka style sheet).


com::sun::star::beans::XMultiPropertyStates [ OPTIONAL ]

Property Summary

IsPhysical determines if a style is physically created.

FollowStyle contains the name of the style that is applied to the next paragraph.

DisplayName contains the name of the style as it is displayed in the user interface.

IsAutoUpdate determines if a style is automatically updated, if the properties of an object that the style is applied to are changed.

Property Details



IsPhysical [ O P T I O N A L ]

Syntax

[readonly] boolean IsPhysical;

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 [ O P T I O N A L ]

Syntax

boolean FollowStyle;

Description

contains the name of the style that is applied to the next paragraph.

This property is usually available at paragraph styles only.


DisplayName [ O P T I O N A L ]

Syntax

[readonly] string DisplayName;

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 [ O P T I O N A L ]

Syntax

string IsAutoUpdate;

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