Hi, Thank you for your suggestions. It is exactly that I want to share the format attributes between Writer and Writer documents, impress and impress documents, but not between writer and impress.
Oliver said, >You can put the SwFormatPaintBrush implementation to the svx project. > The instance should be accessible e.g. at the SfxApplication. Mathias said, >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. I think the attributes can be get by the UNO API, but is it true that the attributes should be stored in the bottom module? If it should be done, does it mean that I should define a class like the SwFormatPaintBrush to store the attributes which are got by the API? And what I exactly want to know is where can I define the class, the place where the attributes can be got by the sw but not the sd? Hope for your reply sincerely! Best Regards, Fang Fang Yaqiong [EMAIL PROTECTED] 2007-04-27 Regards&Thanks! Tel:010-5802-2828 Ext.693 Beijing Redflag CH2000 Software Co., Ltd.
