LibreOffice: com/sun/star/configuration/backend/XSchemaHandler.idl Source File

LibreOffice LibreOffice 7.3 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
22#include <com/sun/star/uno/XInterface.idl>
23#include <com/sun/star/configuration/backend/TemplateIdentifier.idl>
24
25#include <com/sun/star/configuration/backend/MalformedDataException.idl>
26#include <com/sun/star/lang/WrappedTargetException.idl>
27
28
29module com { module sun { module star { module configuration { module backend {
30
31
36published interface XSchemaHandler: ::com::sun::star::uno::XInterface
37{
38
50 void startSchema( )
51 raises( MalformedDataException,
52 com::sun::star::lang::WrappedTargetException );
53
70 void endSchema( )
71 raises( MalformedDataException,
72 com::sun::star::lang::WrappedTargetException );
73
92 void importComponent( [in] string aName )
93 raises( MalformedDataException,
94 com::sun::star::lang::WrappedTargetException );
95
119 void startComponent( [in] string aName )
120 raises( MalformedDataException,
121 com::sun::star::lang::WrappedTargetException );
122
140 void endComponent( )
141 raises( MalformedDataException,
142 com::sun::star::lang::WrappedTargetException );
143
181 void startGroupTemplate( [in] TemplateIdentifier aTemplate,
182 [in] short aAttributes )
183 raises( MalformedDataException,
184 com::sun::star::lang::WrappedTargetException );
185
227 void startSetTemplate( [in] TemplateIdentifier aTemplate,
228 [in] short aAttributes,
229 [in] TemplateIdentifier aItemType )
230 raises( MalformedDataException,
231 com::sun::star::lang::WrappedTargetException );
232
251 void endTemplate( )
252 raises( MalformedDataException,
253 com::sun::star::lang::WrappedTargetException );
254
289 void startGroup( [in] string aName,
290 [in] short aAttributes )
291 raises( MalformedDataException,
292 com::sun::star::lang::WrappedTargetException );
293
333 void startSet( [in] string aName,
334 [in] short aAttributes,
335 [in] TemplateIdentifier aItemType )
336 raises( MalformedDataException,
337 com::sun::star::lang::WrappedTargetException );
338
356 void endNode( )
357 raises( MalformedDataException,
358 com::sun::star::lang::WrappedTargetException );
359
394 void addProperty( [in] string aName,
395 [in] short aAttributes,
396 [in] type aType )
397 raises( MalformedDataException,
398 com::sun::star::lang::WrappedTargetException );
399
400
437 void addPropertyWithDefault( [in] string aName,
438 [in] short aAttributes,
439 [in] any aDefaultValue )
440 raises( MalformedDataException,
441 com::sun::star::lang::WrappedTargetException );
442
443
465 void addInstance( [in] string aName,
466 [in] TemplateIdentifier aTemplate )
467 raises( MalformedDataException,
468 com::sun::star::lang::WrappedTargetException );
469
470
489 void addItemType( [in] TemplateIdentifier aItemType )
490 raises( MalformedDataException,
491 com::sun::star::lang::WrappedTargetException );
492
493
494};
495
496
497}; }; }; }; };
498
499
500#endif
501
502/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
MalformedDataException.idl
TemplateIdentifier.idl
WrappedTargetException.idl
XInterface.idl
com::sun::star::configuration::backend::MalformedDataException
is raised when the data of a component schema, layer or update is not well-formed,...
Definition: MalformedDataException.idl:34
com::sun::star::configuration::backend::XSchemaHandler
receives a description of a configuration schema as a sequence of events.
Definition: XSchemaHandler.idl:37
com::sun::star::configuration::backend::XSchemaHandler::startSchema
void startSchema()
receives notification that a schema description is started.
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:48
com
Definition: Ambiguous.idl:22
com::sun::star::configuration::backend::TemplateIdentifier
holds the data needed to identify a template.
Definition: TemplateIdentifier.idl:33