| LibreOffice
    LibreOffice 25.2 SDK API Reference | 
extends XStyleLoader interface to import styles from an already opened component. More...
import "XStyleLoader2.idl";
 
  
| Public Member Functions | |
| void | loadStylesFromDocument ([in] com::sun::star::lang::XComponent aSourceComponent, [in] sequence< com::sun::star::beans::PropertyValue > aOptions) raises ( com::sun::star::io::IOException ) | 
| loads styles from a given document | |
| Public Member Functions inherited from XStyleLoader | |
| void | loadStylesFromURL ([in] string URL, [in] sequence< com::sun::star::beans::PropertyValue > aOptions) raises ( com::sun::star::io::IOException ) | 
| loads styles from a document at the given URL. | |
| sequence< com::sun::star::beans::PropertyValue > | getStyleLoaderOptions () | 
| 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. | |
extends XStyleLoader interface to import styles from an already opened component.
| void loadStylesFromDocument | ( | [in] com::sun::star::lang::XComponent | aSourceComponent, | |||
| [in] sequence< com::sun::star::beans::PropertyValue > | aOptions ) | |||||
| raises | ( | com::sun::star::io::IOException ) | ||||
loads styles from a given document
| aSourceComponent | a valid XComponent reference to source document | 
| aOptions | Specifies which of the Style families the method should load. The sequence<PropertyValue>has the following, optional items:
 | 
As the default, all supported style families are loaded and existing styles are overwritten.