Apache OpenOffice (AOO) Bugzilla – Issue 19302
Document support for MasterScriptProvider creation
Last modified: 2004-05-18 12:05:38 UTC
Provide access to MasterScriptProvider via property from all applications
Retargeting milestone.
.
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.
developer bug verified
The changes are in master, so I close the bug.