LibreOffice
LibreOffice 6.2 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,
59 
80  void endUpdate( )
81  raises( MalformedDataException,
84 
135  void modifyNode ( [in] string aName,
136  [in] short aAttributes,
137  [in] short aAttributeMask,
138  [in] boolean bReset )
139  raises( MalformedDataException,
141 
183  void addOrReplaceNode ( [in] string aName,
184  [in] short aAttributes )
185  raises( MalformedDataException,
187 
231  void addOrReplaceNodeFromTemplate( [in] string aName,
232  [in] short aAttributes,
233  [in] TemplateIdentifier aTemplate )
234  raises( MalformedDataException,
236 
255  void endNode( )
256  raises( MalformedDataException,
258 
281  void removeNode( [in] string aName )
282  raises( MalformedDataException,
284 
339  void modifyProperty( [in] string aName,
340  [in] short aAttributes,
341  [in] short aAttributeMask,
342  [in] type aType )
343  raises( MalformedDataException,
345 
372  void setPropertyValue( [in] any aValue )
373  raises( MalformedDataException,
375 
407  void setPropertyValueForLocale( [in] any aValue, [in] string aLocale )
408  raises( MalformedDataException,
410 
426  void resetPropertyValue( )
427  raises( MalformedDataException,
429 
450  void resetPropertyValueForLocale( [in] string aLocale )
451  raises( MalformedDataException,
453 
470  void endProperty( )
471  raises( MalformedDataException,
473 
495  void resetProperty( [in] string aName )
496  raises( MalformedDataException,
498 
542  void addOrReplaceProperty( [in] string aName,
543  [in] short aAttributes,
544  [in] type aType )
545  raises( MalformedDataException,
547 
596  void addOrReplacePropertyWithValue( [in] string aName,
597  [in] short aAttributes,
598  [in] any aValue )
599  raises( MalformedDataException,
601 
621  void removeProperty( [in] string aName )
622  raises( MalformedDataException,
624 
625 };
626 
627 
628 }; }; }; }; };
629 
630 
631 #endif
632 
633 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
holds the data needed to identify a template.
Definition: TemplateIdentifier.idl:32
Definition: Ambiguous.idl:22
This is a checked exception that wraps an exception thrown by the original target.
Definition: WrappedTargetException.idl:37
receives a description of a configuration update or layer as a sequence of events.
Definition: XUpdateHandler.idl:38
This exception is thrown when an application tries to change a constant property. ...
Definition: IllegalAccessException.idl:31
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