LibreOffice: XStyleSupplier Interface Reference

LibreOffice LibreOffice 26.2 SDK API Reference

Loading...
Searching...
No Matches
XStyleSupplier Interface Reference

`import "XStyleSupplier.idl";`

Inheritance diagram for XStyleSupplier:

## Public Member Functions
::com::sun::star::style::XStyle | getStyle ()
| get the currently set style.
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.
void | acquire ()
| increases the reference counter by one.
void | release ()
| decreases the reference counter by one.

## 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