interface XStyle in module com::sun::star::style::

(Global Index)

Syntax

interface XStyle : com::sun::star::container::XNamed ;

Description

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

Method Summary

isUserDefined identifies a style as defined by the user.

isInUse

getParentStyle

setParentStyle sets the name of the parent style.

Known Services Which Export this Interface

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

Method Details



isUserDefined

Syntax

boolean isUserDefined ();

Description

identifies a style as defined by the user.


isInUse

Syntax

boolean isInUse ();

Returns

true if this type is used in the document.

getParentStyle

Syntax

string getParentStyle ();

Returns

the name of the parent style, probably empty.

setParentStyle

Syntax

void setParentStyle (
string aParentStyle )
raises ( com::sun::star::container::NoSuchElementException );

Description

sets the name of the parent style.

Top of Page