LibreOffice
LibreOffice 6.2 SDK API Reference
XSchemaHandler.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 #ifndef __com_sun_star_configuration_backend_XSchemaHandler_idl__
20 #define __com_sun_star_configuration_backend_XSchemaHandler_idl__
21 
24 
27 
28 
29 module com { module sun { module star { module configuration { module backend {
30 
31 
37 {
38 
50  void startSchema( )
51  raises( MalformedDataException,
53 
70  void endSchema( )
71  raises( MalformedDataException,
73 
92  void importComponent( [in] string aName )
93  raises( MalformedDataException,
95 
119  void startComponent( [in] string aName )
120  raises( MalformedDataException,
122 
140  void endComponent( )
141  raises( MalformedDataException,
143 
181  void startGroupTemplate( [in] TemplateIdentifier aTemplate,
182  [in] short aAttributes )
183  raises( MalformedDataException,
185 
227  void startSetTemplate( [in] TemplateIdentifier aTemplate,
228  [in] short aAttributes,
229  [in] TemplateIdentifier aItemType )
230  raises( MalformedDataException,
232 
251  void endTemplate( )
252  raises( MalformedDataException,
254 
289  void startGroup( [in] string aName,
290  [in] short aAttributes )
291  raises( MalformedDataException,
293 
333  void startSet( [in] string aName,
334  [in] short aAttributes,
335  [in] TemplateIdentifier aItemType )
336  raises( MalformedDataException,
338 
356  void endNode( )
357  raises( MalformedDataException,
359 
394  void addProperty( [in] string aName,
395  [in] short aAttributes,
396  [in] type aType )
397  raises( MalformedDataException,
399 
400 
437  void addPropertyWithDefault( [in] string aName,
438  [in] short aAttributes,
439  [in] any aDefaultValue )
440  raises( MalformedDataException,
442 
443 
465  void addInstance( [in] string aName,
466  [in] TemplateIdentifier aTemplate )
467  raises( MalformedDataException,
469 
470 
489  void addItemType( [in] TemplateIdentifier aItemType )
490  raises( MalformedDataException,
492 
493 
494 };
495 
496 
497 }; }; }; }; };
498 
499 
500 #endif
501 
502 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
holds the data needed to identify a template.
Definition: TemplateIdentifier.idl:32
receives a description of a configuration schema as a sequence of events.
Definition: XSchemaHandler.idl:36
Definition: Ambiguous.idl:22
This is a checked exception that wraps an exception thrown by the original target.
Definition: WrappedTargetException.idl:37
is raised when the data of a component schema, layer or update is not well-formed, violates the schema or is otherwise invalid.
Definition: MalformedDataException.idl:33
base interface of all UNO interfaces
Definition: XInterface.idl:47