required/CWS MAV09 : Some dialogs moved from SO3 to CUI
[email protected] Wed, 21 Sep 2005 13:12:59 +0200 (CEST)
| Newsgroups | gmane.comp.openoffice.announce.interface |
|---|---|
| Message-ID | <18560667.1127301179118.JavaMail.root@sd-web1> |
Type required Title Some dialogs moved from SO3 to CUI Posted by [email protected] Affected ,all applications Effective from CWS MAV09 Summary The following dialog classes have become deprecated for use outside of BinFilter: SvPasteObjectDialog SvBaseLinksDialog SvInsertOleObjectDialog SvInsertPlugInDialog SvInsertAppletDialog All dialogs are available through the AbstractDialogFactory now: Inserting objects, applets, plugins etc.: SfxAbstractInsertObjectDialog* SfxAbstractDialogFactory::CreateInsertObjectDialog( Window* pParent, USHORT nSlotId, const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& xStor, const SvObjectServerList* pList = 0 ); Editing Applets, FloatingFrames: VclAbstractDialog* SfxAbstractDialogFactory::CreateEditObjectDialog( Window* pParent, USHORT nSlotId, const com::sun::star::uno::Reference < com::sun::star::embed::XEmbeddedObject >& xObj ); PasteDialog: SfxAbstractPasteDialog* SfxAbstractDialogFactory::CreatePasteDialog( Window* pParent ); LinksDialog: SfxAbstractLinksDialog* SfxAbstractDialogFactory::CreateLinksDialog( Window* pParent, sfx2::SvLinkManager* pMgr, BOOL bHTML=FALSE, sfx2::SvBaseLink* p=0 ); All necessary code changes have been done. Action is required only for code that is not integrated into SRC680 m54- Description The abstract interfaces of the dialogs only export methods that are really needed by clients, but they are more or less the same as in the old dialog classes. The InsertObject/EditObject dialog interface covers all kinds of objects. The kind of object is specified by an the SlotId as a parameter: SID_INSERT_OBJECT SID_INSERT_APPLET SID_INSERT_PLUGIN SID_INSERT_FLOATINGFRAME --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]