LibreOffice
LibreOffice 24.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 
20 
21 module com { module sun { module star { module configuration { module backend {
22 
23 
29 {
30 
42  void startSchema( )
43  raises( MalformedDataException,
45 
62  void endSchema( )
63  raises( MalformedDataException,
65 
84  void importComponent( [in] string aName )
85  raises( MalformedDataException,
87 
111  void startComponent( [in] string aName )
112  raises( MalformedDataException,
114 
132  void endComponent( )
133  raises( MalformedDataException,
135 
173  void startGroupTemplate( [in] TemplateIdentifier aTemplate,
174  [in] short aAttributes )
175  raises( MalformedDataException,
177 
219  void startSetTemplate( [in] TemplateIdentifier aTemplate,
220  [in] short aAttributes,
221  [in] TemplateIdentifier aItemType )
222  raises( MalformedDataException,
224 
243  void endTemplate( )
244  raises( MalformedDataException,
246 
281  void startGroup( [in] string aName,
282  [in] short aAttributes )
283  raises( MalformedDataException,
285 
325  void startSet( [in] string aName,
326  [in] short aAttributes,
327  [in] TemplateIdentifier aItemType )
328  raises( MalformedDataException,
330 
348  void endNode( )
349  raises( MalformedDataException,
351 
386  void addProperty( [in] string aName,
387  [in] short aAttributes,
388  [in] type aType )
389  raises( MalformedDataException,
391 
392 
429  void addPropertyWithDefault( [in] string aName,
430  [in] short aAttributes,
431  [in] any aDefaultValue )
432  raises( MalformedDataException,
434 
435 
457  void addInstance( [in] string aName,
458  [in] TemplateIdentifier aTemplate )
459  raises( MalformedDataException,
461 
462 
481  void addItemType( [in] TemplateIdentifier aItemType )
482  raises( MalformedDataException,
484 
485 
486 };
487 
488 
489 }; }; }; }; };
490 
491 
492 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
holds the data needed to identify a template.
Definition: TemplateIdentifier.idl:30
receives a description of a configuration schema as a sequence of events.
Definition: XSchemaHandler.idl:28
Definition: Ambiguous.idl:20
This is a checked exception that wraps an exception thrown by the original target.
Definition: WrappedTargetException.idl:33
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:29
base interface of all UNO interfaces
Definition: XInterface.idl:45