LibreOffice: XStyleSupplier Interface Reference

LibreOffice LibreOffice 5.3 SDK API Reference

Public Member Functions | List of all members
XStyleSupplier Interface Reference

`import"XStyleSupplier.idl";`

Inheritance diagram for XStyleSupplier:

## Public Member Functions
::com::sun::star::style::XStyle | getStyle ()
| get the currently set style. More...
void | setStyle ([in] ::com::sun::star::style::XStyle xStyle) raises ( com::sun::star::lang::IllegalArgumentException )
Public Member Functions inherited from XInterface
any | queryInterface ([in] type aType)
| queries for a new interface to an existing UNO object. More...
void | acquire ()
| increases the reference counter by one. More...
void | release ()
| decreases the reference counter by one. More...

## Member Function Documentation

## ◆ getStyle()

::com::sun::star::style::XStyle getStyle | ( |  | ) |

get the currently set style.

Returns
  the style. If no style was set, the returned object may be empty (null). Otherwise, the returned object must support the service PropertyTemplate.

## ◆ setStyle()

void setStyle | ( | [in] ::com::sun::star::style::XStyle | xStyle | ) |
raises | ( | com::sun::star::lang::IllegalArgumentException
| ) |  |

Parameters

  xStyle | If you want to remove an existing style, you can set an empty (null) object. Otherwise, the object given must support the service PropertyTemplate.

The documentation for this interface was generated from the following file:

- com/sun/star/style/XStyleSupplier.idl