/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*************************************************************/
#ifndef __com_sun_star_document_ExtendedTypeDetectionFactory_idl__
#define __com_sun_star_document_ExtendedTypeDetectionFactory_idl__
#ifndef __com_sun_star_lang_XMultiServiceFactory_idl__
#include
This factory implements read/write access on the underlying configuration set.
and further a validate and flush mechanism for more performance and a special query mode
can be used here too.
A detection component must be specified by its uno implementation name and will be crated then.
Every new created component can be initialized with its own configuration data
and may given optional arguments of the corresponding createInstanceWithArguments() request. To do so the
service must support the optional interface
Every container item is specified as a set of properties and will be
represented by a sequence<
Property Name | Value Type | Description |
Name | [string] | It means the uno implementation name of the detector component. Note: It means the really the implementation instead of the uno service name. Because it's not possible to distinguish between more then one components; if all of them uses a generic service identifier! |
Types | [sequence< string >] | It's a list of all types, which can be detected by this extended detection component.
All items of this list must match an item of the |
Against simple property search it provides some complex algorithms too. For further informations please read the SDK documentation.
*/ [optional] interface com::sun::star::container::XContainerQuery; //------------------------------------------------------------------------- /** can be used to perform container changes.Because the complexness of such configuration set can be very high, it does not seem very useful to update the undelying configuration layer on every container change request immediately. Another strategy can be to make all changes (adding/changing/removing of items) and call flush at the end. That will validate the whole container and reject inconsistent data sets. Only in case all made changes was correct, they will be written back to the configuration. Further this interface provides the possibelity, that interested changes listener can be registered too.
*/ [optional] interface com::sun::star::util::XFlushable; }; //============================================================================= }; }; }; }; #endif