Apache OpenOffice (AOO) Bugzilla – Issue 19303
Provide document storage access
Last modified: 2005-02-28 12:27:50 UTC
Current "drafts" work of document storage needs to be integrated into master, Scripting Framework needs to pick up these changes when integrated. Additionally new document storage will need to be integrated in scripting framework cws be available from and co-exist with current document storage ( c++ sot storage )
retargeting milestone
.
There is a new interface "com.sun.star.document.XDocumentSubStorageSupplier" that is supported by document model. It allows to get access to a substorage of a document by name. To let changes that are done to the substorage be commited the substorage must be commited before document root storage. The root storage is usually commited during document storing. If substorage is already opened it will not be possible to open it second time until owner disposes the substorage. So it is reccomended to dispose substorage after usage to release the lock. If document is closed the substorage is disposed automatically. This solution is a temporary one, later it will be replaced by access to the document storage directly. Actually the main idea of current temporary solution is to provide access to the document SotStorage implementation through new Storage service.
Since the temporary implementatin is provided I set the bug to fixed. The mentioned final implementation will be implemented far in future, when documents will switch to the new storage API.
developer bug verified
Closed.