Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: style ::
interface XStyleLoader
Description enables the object to import styles from documents.

Methods' Summary
loadStylesFromURL | loads styles from a document at the given URL.
getStyleLoaderOptions |

Methods' Details
loadStylesFromURL
void
loadStylesFromURL( | [in] string | URL,
| [in] sequence< ::com::sun::star::beans::PropertyValue > | aOptions )
raises( | ::com::sun::star::io::IOException );
Description loads styles from a document at the given URL. If OverwriteStyles is true, then all styles will be loaded. Otherwise, only styles which are not already defined in this document are loaded. Parameter string URL: The directory and the filename from document with the styles Parameter aOptions : Specifies which of the Style families the method should load. The sequence has the following, optional items: boolean LoadCellStyles boolean LoadTextStyles boolean LoadFrameStyles boolean LoadPageStyles boolean LoadNumberingStyles boolean OverwriteStyles As the default, all supported style families are loaded and existing styles are overwritten.
getStyleLoaderOptions
sequence< ::com::sun::star::beans::PropertyValue >
getStyleLoaderOptions();
Returns a sequence of the supported properties as declared in XStyleLoader::loadStylesFromURL with their current values.

Top of Page

Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.