LibreOffice
LibreOffice 7.4 SDK API Reference
XUpdateHandler.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_XUpdateHandler_idl__
20 #define __com_sun_star_configuration_backend_XUpdateHandler_idl__
21 
24 
28 
29 
30 module com { module sun { module star { module configuration { module backend {
31 
32 
39 {
40 
55  void startUpdate( )
56  raises( MalformedDataException,
57  com::sun::star::lang::IllegalAccessException,
58  com::sun::star::lang::WrappedTargetException );
59 
80  void endUpdate( )
81  raises( MalformedDataException,
82  com::sun::star::lang::IllegalAccessException,
83  com::sun::star::lang::WrappedTargetException );
84 
135  void modifyNode ( [in] string aName,
136  [in] short aAttributes,
137  [in] short aAttributeMask,
138  [in] boolean bReset )
139  raises( MalformedDataException,
140  com::sun::star::lang::WrappedTargetException );
141 
183  void addOrReplaceNode ( [in] string aName,
184  [in] short aAttributes )
185  raises( MalformedDataException,
186  com::sun::star::lang::WrappedTargetException );
187 
231  void addOrReplaceNodeFromTemplate( [in] string aName,
232  [in] short aAttributes,
233  [in] TemplateIdentifier aTemplate )
234  raises( MalformedDataException,
235  com::sun::star::lang::WrappedTargetException );
236 
255  void endNode( )
256  raises( MalformedDataException,
257  com::sun::star::lang::WrappedTargetException );
258 
281  void removeNode( [in] string aName )
282  raises( MalformedDataException,
283  com::sun::star::lang::WrappedTargetException );
284 
339  void modifyProperty( [in] string aName,
340  [in] short aAttributes,
341  [in] short aAttributeMask,
342  [in] type aType )
343  raises( MalformedDataException,
344  com::sun::star::lang::WrappedTargetException );
345 
372  void setPropertyValue( [in] any aValue )
373  raises( MalformedDataException,
374  com::sun::star::lang::WrappedTargetException );
375 
407  void setPropertyValueForLocale( [in] any aValue, [in] string aLocale )
408  raises( MalformedDataException,
409  com::sun::star::lang::WrappedTargetException );
410 
426  void resetPropertyValue( )
427  raises( MalformedDataException,
428  com::sun::star::lang::WrappedTargetException );
429 
450  void resetPropertyValueForLocale( [in] string aLocale )
451  raises( MalformedDataException,
452  com::sun::star::lang::WrappedTargetException );
453 
470  void endProperty( )
471  raises( MalformedDataException,
472  com::sun::star::lang::WrappedTargetException );
473 
495  void resetProperty( [in] string aName )
496  raises( MalformedDataException,
497  com::sun::star::lang::WrappedTargetException );
498 
542  void addOrReplaceProperty( [in] string aName,
543  [in] short aAttributes,
544  [in] type aType )
545  raises( MalformedDataException,
546  com::sun::star::lang::WrappedTargetException );
547 
596  void addOrReplacePropertyWithValue( [in] string aName,
597  [in] short aAttributes,
598  [in] any aValue )
599  raises( MalformedDataException,
600  com::sun::star::lang::WrappedTargetException );
601 
621  void removeProperty( [in] string aName )
622  raises( MalformedDataException,
623  com::sun::star::lang::WrappedTargetException );
624 
625 };
626 
627 
628 }; }; }; }; };
629 
630 
631 #endif
632 
633 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
is raised when the data of a component schema, layer or update is not well-formed,...
Definition: MalformedDataException.idl:34
receives a description of a configuration update or layer as a sequence of events.
Definition: XUpdateHandler.idl:39
void startUpdate()
receives notification that an update or description is started.
base interface of all UNO interfaces
Definition: XInterface.idl:48
Definition: Ambiguous.idl:22
holds the data needed to identify a template.
Definition: TemplateIdentifier.idl:33