tdf#130857 qt weld: Support mail merge "Server Auth" dialog
[LibreOffice.git] / offapi / com / sun / star / style / XStyleLoader2.idl
blob6147f8cfe6c322fb3037674918b39780e9cf0a6c
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
11 module com { module sun { module star { module style {
13 /** extends XStyleLoader interface to import styles from an already opened component.
15 @see com::sun::star::style::XStyleLoader
17 @since LibreOffice 4.4
19 interface XStyleLoader2: com::sun::star::style::XStyleLoader
21 /** loads styles from a given document
22 <p>
23 @param aSourceComponent
24 a valid XComponent reference to source document
25 @param aOptions
26 Specifies which of the Style families the method should load.
27 The <code>sequence<PropertyValue></code> has the following, optional items:
28 <ul>
29 <li> boolean LoadCellStyles </li>
30 <li> boolean LoadTextStyles </li>
31 <li> boolean LoadFrameStyles </li>
32 <li> boolean LoadPageStyles </li>
33 <li> boolean LoadNumberingStyles </li>
34 <li> boolean OverwriteStyles</li>
35 </ul>
36 If <var>OverwriteStyles</var> is `TRUE`, then all styles
37 will be loaded. Otherwise, only styles which are not already
38 defined in this document are loaded.</p>
39 <p>As the default, all supported style families are loaded and existing styles are overwritten.</p>
41 void loadStylesFromDocument( [in] com::sun::star::lang::XComponent aSourceComponent,
42 [in] sequence<com::sun::star::beans::PropertyValue> aOptions )
43 raises( com::sun::star::io::IOException );
47 }; }; }; };
49 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */