Issue 19302 - Document support for MasterScriptProvider creation
Summary: Document support for MasterScriptProvider creation
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:51 UTC by noel.power
Modified: 2004-05-18 12:05 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:51:13 UTC
Provide access to MasterScriptProvider via property from all applications
Comment 1 noel.power 2003-09-09 07:53:05 UTC
Retargeting milestone.
Comment 2 Mathias_Bauer 2003-10-13 09:50:20 UTC
.
Comment 3 mikhail.voytenko 2003-10-17 15:21:23 UTC
The changes that allows to get access to MSP of a document are
commited in to 'scriptingf1' child workspace.
The affected modules are 'offapi' and 'sfx2'.
After you apdate those modules you can rebuild them and modules
dependent from them in the following order:
'offapi', 'offuh', 'sfx2', ( following modules must be built either by
incompatible build or
all files that include 'sfxbasemodel.hxx' must be touched ) 'svx',
'sw', 'sc', 'sch', 'sd', 'starmath', 'basctl'.

There is a new interface
'drafts.com.sun.star.script.framework.provider.XScriptProviderSupplier'
that is
implemented by document's model. It allows to get access to the
document's MSP. So the MSP is generated
by the document and can not be changed or reinitialized by user.
Such approach seems to be more simple and less error prone then
property implementation.
Please let us know whether the implementation fits the requirements. 
Comment 4 joerg.skottke 2003-11-14 10:31:11 UTC
developer bug
verified
Comment 5 mikhail.voytenko 2004-05-18 12:05:38 UTC
The changes are in master, so I close the bug.