Oliver Specht - Sun Germany -Hamburg wrote:

> Hi,
> reading your first mail I thought you wanted to share the attributes
> between different Writer documents.
> 
> If the attributes should be available in every document you have a bit
> more to do.
> 
> - You can put the SwFormatPaintBrush implementation to the svx project.
> The instance should be accessible e.g. at the SfxApplication.

No please. Just make it a singleton accessible through a static method.
No need to pollute SfxApplication that I hope will be dumped in the future.

BTW: is there any good reason why such a new implementation shouldn't be
a UNO service, accessing the selected items by their API? Styles and
attributes should be accessible via UNO API, selections also. In the
worst case we could use dispatches for passing attributes to the target.

Ciao,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[EMAIL PROTECTED]".
I use it for the OOo lists and only rarely read other mails sent to it.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to