LibreOffice
LibreOffice 25.8 SDK API Reference
|
This service is a container of style sheets of the same style family. More...
import"StyleFamily.idl";
Exported Interfaces | |
interface | com::sun::star::container::XNameAccess |
This mandatory interface makes it possible to access the style sheets within this family by name. More... | |
interface | com::sun::star::container::XNameContainer |
This optional interface makes it possible to add and remove the style sheets within this family by name. More... | |
interface | com::sun::star::container::XIndexAccess |
This optional interface makes it possible to access the style sheets within this family by index. More... | |
Additional Inherited Members | |
![]() | |
any | getByName ([in] string aName) raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException ) |
sequence< string > | getElementNames () |
boolean | hasByName ([in] string aName) |
![]() | |
type | getElementType () |
boolean | hasElements () |
![]() | |
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... | |
![]() | |
void | insertByName ([in] string aName, [in] any aElement) raises ( com::sun::star::lang::IllegalArgumentException, com::sun::star::container::ElementExistException, com::sun::star::lang::WrappedTargetException ) |
inserts the given element at the specified name. More... | |
void | removeByName ([in] string Name) raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException ) |
removes the element with the specified name. More... | |
![]() | |
void | replaceByName ([in] string aName, [in] any aElement) raises ( com::sun::star::lang::IllegalArgumentException, com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException ) |
replaces the element with the specified name with the given element. More... | |
![]() | |
long | getCount () |
any | getByIndex ([in] long Index) raises ( com::sun::star::lang::IndexOutOfBoundsException, com::sun::star::lang::WrappedTargetException ) |
This service is a container of style sheets of the same style family.
|
optional |
interface com::sun::star::container::XNameAccess |
This mandatory interface makes it possible to access the style sheets within this family by name.
The elements in this container support the service Style and are accessed via an XStyle.
Note that for built-in styles, only the built-in programmatic names can be used; the localized names of built-in styles (available via "DisplayName" property on the style) are not supported (and are unstable across releases anyway).
|
optional |
This optional interface makes it possible to add and remove the style sheets within this family by name.
The elements in this container support the service Style and are accessed via an XStyle.
Note that for built-in styles, only the built-in programmatic names can be used; the localized names of built-in styles (available via "DisplayName" property on the style) are not supported (and are unstable across releases anyway).