Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: embed ::

service FileSystemStorage
Description
This is a service that allows to get access to a file system folder using storage hierarchy.

Included Services - Summary
BaseStorage

This service describes the base functionality of storages. (details)

Included Services - Details
BaseStorage
Description
This service describes the base functionality of storages.

Please see below the description of additional requirements for the file system storage implementation.

interface ::com::sun::star::lang::XComponent

A file system storage is created either by StorageFactory or by XStorage interface and is controlled by refcounting. In case refcounting is decreased to zero the storage will be disposed automatically.

In case a storage object is disposed the elements ( substorages and substreams ) are not affected.

interface XStorage
XStorage::openStorageElement
This method returns FileSystemStorage service implementation.
XStorage::copyLastCommitTo
Since this service implementation supports no transaction this method just creates a copy of the storage in it's current state.
XStorage::copyStorageElementLastCommitTo
Since this service implementation supports no transaction this method just creates a copy of the storage in it's current state.
XStorage::removeStorageElement
If the element is opened and it is a stream element the removing will fail. If the element is opened and it is a storage element, all the contents that can be removed will be removed.
property URL
This property is not optional for this service.

 
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.