Methods' Details |
addResourceFactory
void |
addResourceFactory( |
[in] string |
sResourceURL, |
| [in] XResourceFactory |
xResourceFactory ); |
- Description
- Register a new resource factory for the given URL.
When one factory is responsible for more than one type of resource
then this method has to be called for each type. If this method is
called multiple times for the same URL then a previously registered
factory is removed for the URL.
- Parameter sResourceURL
- The URL of the resource that the factory can create.
- Parameter xResourceFactory
- The resource factory object.
|
|
removeResourceFactoryForURL
void |
removeResourceFactoryForURL( |
[in] string |
sResourceURL ); |
- Description
- Remove a resource factory for one type of resource. When the
factory has been registered for other URLs as well then it remains
registered for them. Use the
removeResourceFactoryForReference() to remove a
factory completely.
- Parameter sResourceURL
- The URL for which to remove the resource factory.
|
|
removeResourceFactoryForReference
void |
removeResourceFactoryForReference( |
[in] XResourceFactory |
xResourceFactory ); |
- Description
- Remove a resource factory for all resource types it has been registered for. Use
removeResourceFactoryForURL to remove a factory
just for one resource type and to leave it registered for others.
- Parameter xResourceFactory
- The resource factory object to remove.
|
|
getResourceFactory
- Description
- Return the resource factory that was previously registered for the
given resource type. This method is typically called by one of the
resource controllers.
- Parameter sResourceURL
- The URL of the resource type for which to return the resource
factory.
- Returns
- When no resource factory was registered for the given resource
type then an empty reference is returned.
|
|
Top of Page
Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.