Issue 19303 - Provide document storage access
Summary: Provide document storage access
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: scripting (show other issues)
Version: OOo 1.1 Beta2
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: mikhail.voytenko
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-09 07:57 UTC by noel.power
Modified: 2005-02-28 12:27 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description noel.power 2003-09-09 07:57:28 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 )
Comment 1 noel.power 2003-09-09 07:57:55 UTC
retargeting milestone
Comment 2 Mathias_Bauer 2003-10-01 11:54:24 UTC
.
Comment 3 Mathias_Bauer 2003-10-01 14:32:51 UTC
.
Comment 4 mikhail.voytenko 2003-10-13 15:13:39 UTC
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.
Comment 5 mikhail.voytenko 2003-10-17 15:35:56 UTC
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.
Comment 6 joerg.skottke 2003-11-14 10:32:11 UTC
developer bug
verified
Comment 7 mikhail.voytenko 2005-02-28 12:27:50 UTC
Closed.