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

LibreOffice LibreOffice 24.8 SDK API Reference

Loading...
Searching...
No Matches
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
21module com { module sun { module star { module configuration { module backend {
22
23
28published interface XSchemaHandler: ::com::sun::star::uno::XInterface
29{
30
42 void startSchema( )
43 raises( MalformedDataException,
44 com::sun::star::lang::WrappedTargetException );
45
62 void endSchema( )
63 raises( MalformedDataException,
64 com::sun::star::lang::WrappedTargetException );
65
84 void importComponent( [in] string aName )
85 raises( MalformedDataException,
86 com::sun::star::lang::WrappedTargetException );
87
111 void startComponent( [in] string aName )
112 raises( MalformedDataException,
113 com::sun::star::lang::WrappedTargetException );
114
132 void endComponent( )
133 raises( MalformedDataException,
134 com::sun::star::lang::WrappedTargetException );
135
173 void startGroupTemplate( [in] TemplateIdentifier aTemplate,
174 [in] short aAttributes )
175 raises( MalformedDataException,
176 com::sun::star::lang::WrappedTargetException );
177
219 void startSetTemplate( [in] TemplateIdentifier aTemplate,
220 [in] short aAttributes,
221 [in] TemplateIdentifier aItemType )
222 raises( MalformedDataException,
223 com::sun::star::lang::WrappedTargetException );
224
243 void endTemplate( )
244 raises( MalformedDataException,
245 com::sun::star::lang::WrappedTargetException );
246
281 void startGroup( [in] string aName,
282 [in] short aAttributes )
283 raises( MalformedDataException,
284 com::sun::star::lang::WrappedTargetException );
285
325 void startSet( [in] string aName,
326 [in] short aAttributes,
327 [in] TemplateIdentifier aItemType )
328 raises( MalformedDataException,
329 com::sun::star::lang::WrappedTargetException );
330
348 void endNode( )
349 raises( MalformedDataException,
350 com::sun::star::lang::WrappedTargetException );
351
386 void addProperty( [in] string aName,
387 [in] short aAttributes,
388 [in] type aType )
389 raises( MalformedDataException,
390 com::sun::star::lang::WrappedTargetException );
391
392
429 void addPropertyWithDefault( [in] string aName,
430 [in] short aAttributes,
431 [in] any aDefaultValue )
432 raises( MalformedDataException,
433 com::sun::star::lang::WrappedTargetException );
434
435
457 void addInstance( [in] string aName,
458 [in] TemplateIdentifier aTemplate )
459 raises( MalformedDataException,
460 com::sun::star::lang::WrappedTargetException );
461
462
481 void addItemType( [in] TemplateIdentifier aItemType )
482 raises( MalformedDataException,
483 com::sun::star::lang::WrappedTargetException );
484
485
486};
487
488
489}; }; }; }; };
490
491
492/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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:30
com::sun::star::configuration::backend::XSchemaHandler
receives a description of a configuration schema as a sequence of events.
Definition XSchemaHandler.idl:29
com::sun::star::configuration::backend::XSchemaHandler::endSchema
void endSchema()
receives notification that the current schema description is complete.
com::sun::star::configuration::backend::XSchemaHandler::startGroupTemplate
void startGroupTemplate([in] TemplateIdentifier aTemplate, [in] short aAttributes)
receives notification that a template description is started for a group.
com::sun::star::configuration::backend::XSchemaHandler::addItemType
void addItemType([in] TemplateIdentifier aItemType)
receives notification that the current set can contain items that are instances of a specified templa...
com::sun::star::configuration::backend::XSchemaHandler::endComponent
void endComponent()
receives notification that a component description is complete.
com::sun::star::configuration::backend::XSchemaHandler::addPropertyWithDefault
void addPropertyWithDefault([in] string aName, [in] short aAttributes, [in] any aDefaultValue)
receives notification that a property having a default value is added to the current node.
com::sun::star::configuration::backend::XSchemaHandler::addInstance
void addInstance([in] string aName, [in] TemplateIdentifier aTemplate)
receives notification that the current group has a child node that is an instance of a specified temp...
com::sun::star::configuration::backend::XSchemaHandler::startSchema
void startSchema()
receives notification that a schema description is started.
com::sun::star::configuration::backend::XSchemaHandler::importComponent
void importComponent([in] string aName)
receives notification that the schema depends on templates from a different component.
com::sun::star::configuration::backend::XSchemaHandler::startSetTemplate
void startSetTemplate([in] TemplateIdentifier aTemplate, [in] short aAttributes, [in] TemplateIdentifier aItemType)
receives notification that a template description is started for a set.
com::sun::star::configuration::backend::XSchemaHandler::startSet
void startSet([in] string aName, [in] short aAttributes, [in] TemplateIdentifier aItemType)
receives notification that a set description is started.
com::sun::star::configuration::backend::XSchemaHandler::endNode
void endNode()
receives notification that a node description is complete.
com::sun::star::configuration::backend::XSchemaHandler::addProperty
void addProperty([in] string aName, [in] short aAttributes, [in] type aType)
receives notification that a property is added to the current node.
com::sun::star::configuration::backend::XSchemaHandler::endTemplate
void endTemplate()
receives notification that a template description is complete.
com::sun::star::configuration::backend::XSchemaHandler::startGroup
void startGroup([in] string aName, [in] short aAttributes)
receives notification that a group description is started.
com::sun::star::configuration::backend::XSchemaHandler::startComponent
void startComponent([in] string aName)
receives notification that a component description is started.
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition XInterface.idl:46
com::sun::star::lang
General UNO concepts like factories etc.
Definition ArrayIndexOutOfBoundsException.idl:22
com::sun::star
the module com::sun::star is the root module of the UNO API.
Definition Ambiguous.idl:20
com::sun
Definition Ambiguous.idl:20
com
Definition Ambiguous.idl:20
com::sun::star::configuration::backend::TemplateIdentifier
holds the data needed to identify a template.
Definition TemplateIdentifier.idl:31