summaryrefslogtreecommitdiff
path: root/cui/source/inc/insdlg.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-10-10 22:27:52 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-10-11 09:21:42 +0100
commit258483a58e49733b80745ffd97ba5b27a125da19 (patch)
tree4cb9b8d36455d128fc4379f51bd29b54a7eebba4 /cui/source/inc/insdlg.hxx
parentf9775fcbe8454539ddb0e0576159c2e609b03b0c (diff)
convert insert plugin to .ui
Change-Id: I229b152ba132329ca20cff0afd4f84e1c052b97f
Diffstat (limited to 'cui/source/inc/insdlg.hxx')
-rw-r--r--cui/source/inc/insdlg.hxx32
1 files changed, 14 insertions, 18 deletions
diff --git a/cui/source/inc/insdlg.hxx b/cui/source/inc/insdlg.hxx
index 24d0032aae0e..79d4361bf01d 100644
--- a/cui/source/inc/insdlg.hxx
+++ b/cui/source/inc/insdlg.hxx
@@ -43,6 +43,9 @@ protected:
comphelper::EmbeddedObjectContainer aCnt;
InsertObjectDialog_Impl( Window * pParent, const ResId & rResId, const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& xStorage );
+ InsertObjectDialog_Impl(Window * pParent, const OString& rID,
+ const OUString& rUIXMLDescription,
+ const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& xStorage);
public:
com::sun::star::uno::Reference < com::sun::star::embed::XEmbeddedObject > GetObject()
{ return m_xObj; }
@@ -92,28 +95,21 @@ public:
class SvInsertPlugInDialog : public InsertObjectDialog_Impl
{
private:
- FixedLine aGbFileurl;
- Edit aEdFileurl;
- PushButton aBtnFileurl;
- FixedLine aGbPluginsOptions;
- MultiLineEdit aEdPluginsOptions;
- OKButton aOKButton1;
- CancelButton aCancelButton1;
- HelpButton aHelpButton1;
- INetURLObject* m_pURL;
- String m_aCommands;
+ Edit* m_pEdFileurl;
+ PushButton* m_pBtnFileurl;
+ VCLMultiLineEdit* m_pEdPluginsOptions;
+ INetURLObject* m_pURL;
+ OUString m_aCommands;
DECL_LINK(BrowseHdl, void *);
- String GetPlugInFile() const { return aEdFileurl.GetText(); }
- String GetPlugInOptions() const { return aEdPluginsOptions.GetText(); }
+ OUString GetPlugInFile() const { return m_pEdFileurl->GetText(); }
+ OUString GetPlugInOptions() const { return m_pEdPluginsOptions->GetText(); }
public:
- SvInsertPlugInDialog( Window* pParent,
- const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& xStorage );
-
- ~SvInsertPlugInDialog();
-
- virtual short Execute();
+ SvInsertPlugInDialog(Window* pParent,
+ const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& xStorage);
+ ~SvInsertPlugInDialog();
+ virtual short Execute();
};
class SfxInsertFloatingFrameDialog : public InsertObjectDialog_Impl