[Libreoffice-commits] .: sw/AllLangResTarget_sw.mk sw/inc sw/source sw/uiconfig sw/UI_swriter.mk
sw/AllLangResTarget_sw.mk |1 sw/UI_swriter.mk|1 sw/inc/fldui.hrc|1 sw/inc/swabstdlg.hxx|2 sw/source/ui/dbui/dbtree.cxx| 26 +++ sw/source/ui/dialog/swdlgfact.cxx | 19 -- sw/source/ui/dialog/swdlgfact.hxx |2 sw/source/ui/fldui/changedb.cxx | 112 ++ sw/source/ui/fldui/changedb.hrc | 48 -- sw/source/ui/fldui/changedb.src | 119 -- sw/source/ui/inc/changedb.hxx | 17 -- sw/source/ui/inc/dbtree.hxx |4 sw/source/ui/inc/titlepage.hxx |4 sw/source/ui/misc/titlepage.cxx |4 sw/source/ui/shells/basesh.cxx |2 sw/uiconfig/swriter/ui/exchangedatabases.ui | 224 16 files changed, 201 insertions(+), 385 deletions(-) New commits: commit f5a8fa8b54e0a4a70d7439a054868d5bbdfd593b Author: Caolán McNamara caol...@redhat.com Date: Wed Jan 9 16:06:30 2013 + adapt code to Exchange Databases dialog Change-Id: Ife2d92131f7cd758628ae686cde734dab56e4499 diff --git a/sw/AllLangResTarget_sw.mk b/sw/AllLangResTarget_sw.mk index 033d7c8..7ba3c46 100644 --- a/sw/AllLangResTarget_sw.mk +++ b/sw/AllLangResTarget_sw.mk @@ -118,7 +118,6 @@ $(eval $(call gb_SrsTarget_add_files,sw/res,\ sw/source/ui/envelp/labprt.src \ sw/source/ui/envelp/mailmrge.src \ sw/source/ui/fldui/DropDownFieldDialog.src \ -sw/source/ui/fldui/changedb.src \ sw/source/ui/fldui/flddb.src \ sw/source/ui/fldui/flddinf.src \ sw/source/ui/fldui/flddok.src \ diff --git a/sw/UI_swriter.mk b/sw/UI_swriter.mk index d24053c..2caf62f 100644 --- a/sw/UI_swriter.mk +++ b/sw/UI_swriter.mk @@ -22,6 +22,7 @@ $(eval $(call gb_UI_add_uifiles,modules/swriter,\ sw/uiconfig/swriter/ui/converttexttable \ sw/uiconfig/swriter/ui/endnotepage \ sw/uiconfig/swriter/ui/editcategories \ + sw/uiconfig/swriter/ui/exchangedatabases \ sw/uiconfig/swriter/ui/footnotepage \ sw/uiconfig/swriter/ui/indexentry \ sw/uiconfig/swriter/ui/insertbookmark \ diff --git a/sw/inc/fldui.hrc b/sw/inc/fldui.hrc index c500a1d..1a7b078 100644 --- a/sw/inc/fldui.hrc +++ b/sw/inc/fldui.hrc @@ -21,7 +21,6 @@ #include rcid.hrc #define DLG_FLD_INPUT (RC_FLDDLG_BEGIN + 5) -#define DLG_CHANGE_DB (RC_FLDDLG_BEGIN + 9) #define DLG_FLD_INSERT (RC_FLDDLG_BEGIN + 11) #define DLG_FLD_DROPDOWN(RC_FLDDLG_BEGIN + 12) diff --git a/sw/inc/swabstdlg.hxx b/sw/inc/swabstdlg.hxx index a6f8ab5..553dcc0 100644 --- a/sw/inc/swabstdlg.hxx +++ b/sw/inc/swabstdlg.hxx @@ -354,7 +354,7 @@ public: virtual VclAbstractDialog * CreateSwInsertBookmarkDlg( Window *pParent, SwWrtShell rSh, SfxRequest rReq, int nResId ) = 0;// add for SwInsertBookmarkDlg virtual AbstractSwBreakDlg * CreateSwBreakDlg(Window *pParent, SwWrtShell rSh) = 0; // add for SwBreakDlg -virtual VclAbstractDialog * CreateSwChangeDBDlg( SwView rVw, int nResId ) = 0; //add for SwChangeDBDlg +virtual VclAbstractDialog * CreateSwChangeDBDlg(SwView rVw) = 0; //add for SwChangeDBDlg virtual SfxAbstractTabDialog * CreateSwCharDlg( Window* pParent, SwView pVw, const SfxItemSet rCoreSet, int nResId, // add for SwCharDlg const String* pFmtStr = 0, sal_Bool bIsDrwTxtDlg = sal_False) = 0; virtual AbstractSwConvertTableDlg* CreateSwConvertTableDlg(SwView rView, bool bToTable) = 0; //add for SwConvertTableDlg diff --git a/sw/source/ui/dbui/dbtree.cxx b/sw/source/ui/dbui/dbtree.cxx index 34803ac..fe695aa 100644 --- a/sw/source/ui/dbui/dbtree.cxx +++ b/sw/source/ui/dbui/dbtree.cxx @@ -42,6 +42,7 @@ #include wrtsh.hxx #include dbtree.hxx #include osl/mutex.hxx +#include vcl/builder.hxx #include vcl/svapp.hxx #include svtools/treelistentry.hxx @@ -189,6 +190,31 @@ SwDBTreeList::SwDBTreeList(Window *pParent, const ResId rResId, InitTreeList(); } +SwDBTreeList::SwDBTreeList(Window *pParent) +: SvTreeListBox(pParent, WB_TABSTOP) +, aImageList(SW_RES(ILIST_DB_DLG)) +, bInitialized(false) +, bShowColumns(false) +, pImpl(new SwDBTreeList_Impl(NULL)) +{ +SetHelpId(HID_DB_SELECTION_TLB); + +if (IsVisible()) +InitTreeList(); +} + +extern C SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeSwDBTreeList(Window *pParent, VclBuilder::stringmap ) +{ +return new SwDBTreeList(pParent); +} + +Size SwDBTreeList::GetOptimalSize(WindowSizeType eType) const +{ +if (eType == WINDOWSIZE_PREFERRED) +return LogicToPixel(Size(100, 62), MapMode(MAP_APPFONT)); +return SvTreeListBox::GetOptimalSize(eType); +} + SwDBTreeList::~SwDBTreeList() { delete pImpl; diff --git a/sw/source/ui/dialog/swdlgfact.cxx b/sw/source/ui/dialog/swdlgfact.cxx index 437c2bb..5f833a3 100644 ---
[Libreoffice-commits] .: sw/AllLangResTarget_sw.mk sw/inc sw/source sw/uiconfig sw/UI_swriter.mk
sw/AllLangResTarget_sw.mk|1 sw/UI_swriter.mk |1 sw/inc/globals.hrc |2 sw/inc/helpid.h |1 sw/source/ui/app/app.src |2 sw/source/ui/frmdlg/cption.cxx | 83 ++- sw/source/ui/frmdlg/cption.hrc | 48 sw/source/ui/frmdlg/cption.src | 152 - sw/uiconfig/swriter/ui/captionoptions.ui | 360 +++ 9 files changed, 395 insertions(+), 255 deletions(-) New commits: commit f82b7a2aea7bcbc6dca13fc251b11685d62b8380 Author: Jack Leigh leigh...@gmx.se Date: Wed Dec 12 21:58:17 2012 + migrate 'Caption options' dialog to .ui file Change-Id: I58dbb70faf22c5958b65e5192664b7d12d62f04c Reviewed-on: https://gerrit.libreoffice.org/1312 Reviewed-by: Caolán McNamara caol...@redhat.com Tested-by: Caolán McNamara caol...@redhat.com diff --git a/sw/AllLangResTarget_sw.mk b/sw/AllLangResTarget_sw.mk index ea1196b..d80bfbc 100644 --- a/sw/AllLangResTarget_sw.mk +++ b/sw/AllLangResTarget_sw.mk @@ -131,7 +131,6 @@ $(eval $(call gb_SrsTarget_add_files,sw/res,\ sw/source/ui/fldui/inpdlg.src \ sw/source/ui/fmtui/tmpdlg.src \ sw/source/ui/frmdlg/column.src \ -sw/source/ui/frmdlg/cption.src \ sw/source/ui/frmdlg/frmpage.src \ sw/source/ui/frmdlg/frmui.src \ sw/source/ui/frmdlg/wrap.src \ diff --git a/sw/UI_swriter.mk b/sw/UI_swriter.mk index f39bb2f..9da10bf 100644 --- a/sw/UI_swriter.mk +++ b/sw/UI_swriter.mk @@ -12,6 +12,7 @@ $(eval $(call gb_UI_UI,modules/swriter)) $(eval $(call gb_UI_add_uifiles,modules/swriter,\ sw/uiconfig/swriter/ui/autoformattable \ sw/uiconfig/swriter/ui/bibliographyentry \ + sw/uiconfig/swriter/ui/captionoptions \ sw/uiconfig/swriter/ui/charurlpage \ sw/uiconfig/swriter/ui/columnwidth \ sw/uiconfig/swriter/ui/converttexttable \ diff --git a/sw/inc/globals.hrc b/sw/inc/globals.hrc index 5362aee..1b79466 100644 --- a/sw/inc/globals.hrc +++ b/sw/inc/globals.hrc @@ -73,7 +73,7 @@ #define STR_CAPTION_END (RC_GLOBALS_BEGIN + 43) #define STR_CAPTION_ABOVE (RC_GLOBALS_BEGIN + 44) #define STR_CAPTION_BELOW (RC_GLOBALS_BEGIN + 45) -#define STR_CAPTION_CATEGORY_NONE (RC_GLOBALS_BEGIN + 46) +#define STR_CAPTION_NONE(RC_GLOBALS_BEGIN + 46) // DIALOGS --- diff --git a/sw/inc/helpid.h b/sw/inc/helpid.h index 917d9de..d443b6d 100644 --- a/sw/inc/helpid.h +++ b/sw/inc/helpid.h @@ -132,7 +132,6 @@ #define HID_SW_SORT_POSITION SW_HID_SW_SORT_POSITION #define HID_SYNC_BTN SW_HID_SYNC_BTN #define HID_EDIT_COMMENT SW_HID_EDIT_COMMENT -#define HID_DLG_SEQUENCE_OPTION SW_HID_DLG_SEQUENCE_OPTION #define HID_DLG_FLDEDT_NEXT SW_HID_DLG_FLDEDT_NEXT #define HID_DLG_FLDEDT_PREV SW_HID_DLG_FLDEDT_PREV #define HID_DLG_FLDEDT_ADDRESS SW_HID_DLG_FLDEDT_ADDRESS diff --git a/sw/source/ui/app/app.src b/sw/source/ui/app/app.src index 9111d94..0239ddf 100644 --- a/sw/source/ui/app/app.src +++ b/sw/source/ui/app/app.src @@ -256,7 +256,7 @@ String STR_CAPTION_BELOW { Text [ en-US ] = Below ; }; -String STR_CAPTION_CATEGORY_NONE +String STR_CAPTION_NONE { Text [ en-US ] = None ; }; diff --git a/sw/source/ui/frmdlg/cption.cxx b/sw/source/ui/frmdlg/cption.cxx index 404b36d..3585ded 100644 --- a/sw/source/ui/frmdlg/cption.cxx +++ b/sw/source/ui/frmdlg/cption.cxx @@ -44,7 +44,6 @@ #include comphelper/string.hxx #include frmui.hrc #include globals.hrc -#include cption.hrc #include SwStyleNameMapper.hxx using namespace ::com::sun::star; @@ -56,25 +55,14 @@ extern String* GetOldDrwCat(); class SwSequenceOptionDialog : public SvxStandardDialog { -FixedLine aFlHeader; -FixedText aFtLevel; -ListBox aLbLevel; -FixedText aFtDelim; -EditaEdDelim; +ListBox*m_pLbLevel; +Edit* m_pEdDelim; -FixedLine aFlCatAndFrame; -FixedText aFtCharStyle; -ListBox aLbCharStyle; -CheckBoxaApplyBorderAndShadowCB; +ListBox*m_pLbCharStyle; +CheckBox* m_pApplyBorderAndShadowCB; //#i61007# order of captions -FixedLine aFlCaptionOrder; -FixedText aFtCaptionOrder; -ListBox aLbCaptionOrder; - -OKButtonaOKButton; -CancelButtonaCancelButton; -HelpButton aHelpButton; +ListBox*m_pLbCaptionOrder; SwView rView; String aFldTypeName; @@ -85,12 +73,12 @@ public: virtual ~SwSequenceOptionDialog(); virtual void Apply();
[Libreoffice-commits] .: sw/AllLangResTarget_sw.mk sw/inc sw/source sw/uiconfig sw/UI_swriter.mk
sw/AllLangResTarget_sw.mk|1 sw/UI_swriter.mk |1 sw/inc/globals.hrc |2 sw/source/ui/app/app.src |4 sw/source/ui/inc/insfnote.hxx| 38 +-- sw/source/ui/misc/insfnote.cxx | 116 +- sw/source/ui/misc/insfnote.hrc | 34 --- sw/source/ui/misc/insfnote.src | 138 sw/uiconfig/swriter/ui/insertfootnote.ui | 341 +++ 9 files changed, 422 insertions(+), 253 deletions(-) New commits: commit 99d0ddf89c1c13f6b897d6b11009b777c6d735ca Author: Jack Leigh leigh...@gmx.se Date: Thu Nov 29 00:07:04 2012 + migrate 'Insert Footnote' dialog to .ui file Conflicts: sw/source/ui/misc/insfnote.src Change-Id: If16285d85bca187b2e929f0327b15f103b5d786f diff --git a/sw/AllLangResTarget_sw.mk b/sw/AllLangResTarget_sw.mk index 42e3303..bf8ba79 100644 --- a/sw/AllLangResTarget_sw.mk +++ b/sw/AllLangResTarget_sw.mk @@ -145,7 +145,6 @@ $(eval $(call gb_SrsTarget_add_files,sw/res,\ sw/source/ui/misc/docfnote.src \ sw/source/ui/misc/glosbib.src \ sw/source/ui/misc/glossary.src \ -sw/source/ui/misc/insfnote.src \ sw/source/ui/misc/num.src \ sw/source/ui/misc/numberingtypelistbox.src \ sw/source/ui/misc/outline.src \ diff --git a/sw/UI_swriter.mk b/sw/UI_swriter.mk index ade3a51..ca8535f 100644 --- a/sw/UI_swriter.mk +++ b/sw/UI_swriter.mk @@ -19,6 +19,7 @@ $(eval $(call gb_UI_add_uifiles,modules/swriter,\ sw/uiconfig/swriter/ui/footnotepage \ sw/uiconfig/swriter/ui/indexentry \ sw/uiconfig/swriter/ui/insertbreak \ + sw/uiconfig/swriter/ui/insertfootnote \ sw/uiconfig/swriter/ui/insertscript \ sw/uiconfig/swriter/ui/inserttable \ sw/uiconfig/swriter/ui/linenumbering \ diff --git a/sw/inc/globals.hrc b/sw/inc/globals.hrc index 4473eb4..e0f55ae 100644 --- a/sw/inc/globals.hrc +++ b/sw/inc/globals.hrc @@ -63,6 +63,8 @@ #define STR_JAVA_EDIT (RC_GLOBALS_BEGIN + 38) +#define STR_FOOTNOTE_DIALOG_CHAR(RC_GLOBALS_BEGIN + 39) + // DIALOGS --- #define DLG_THESAURUS (RC_GLOBALS_BEGIN + 2) diff --git a/sw/source/ui/app/app.src b/sw/source/ui/app/app.src index 8f86c61..c730e9f 100644 --- a/sw/source/ui/app/app.src +++ b/sw/source/ui/app/app.src @@ -220,6 +220,10 @@ String STR_JAVA_EDIT Text [ en-US ] = Edit Script ; }; +String STR_FOOTNOTE_DIALOG_CHAR +{ +Text [ en-US ] = Character ; +}; InfoBox MSG_ERROR_SEND_MAIL { diff --git a/sw/source/ui/inc/insfnote.hxx b/sw/source/ui/inc/insfnote.hxx index 53253a2..71ee27a 100644 --- a/sw/source/ui/inc/insfnote.hxx +++ b/sw/source/ui/inc/insfnote.hxx @@ -28,6 +28,8 @@ class SwWrtShell; +class VclFrame; + class SwInsFootNoteDlg: public SvxStandardDialog { SwWrtShell rSh; @@ -37,28 +39,26 @@ class SwInsFootNoteDlg: public SvxStandardDialog CharSet eCharSet; sal_BoolbExtCharAvailable; sal_BoolbEdit; -FixedLine aNumberFL; -RadioButton aNumberAutoBtn; -RadioButton aNumberCharBtn; -EditaNumberCharEdit; -PushButton aNumberExtChar; + +VclFrame* m_pNumberFrame; +RadioButton*m_pNumberAutoBtn; +RadioButton*m_pNumberCharBtn; +Edit* m_pNumberCharEdit; +PushButton* m_pNumberExtChar; // everything for the selection footnote/endnote -FixedLineaTypeFL; -RadioButton aFtnBtn; -RadioButton aEndNoteBtn; +RadioButton*m_pFtnBtn; +RadioButton*m_pEndNoteBtn; -OKButtonaOkBtn; -CancelButtonaCancelBtn; -HelpButton aHelpBtn; -ImageButton aPrevBT; -ImageButton aNextBT; +PushButton* m_pOkBtn; +PushButton* m_pPrevBT; +PushButton* m_pNextBT; DECL_LINK(NumberCharHdl, void *); -DECL_LINK( NumberEditHdl, void * ); +DECL_LINK(NumberEditHdl, void *); DECL_LINK(NumberAutoBtnHdl, void *); DECL_LINK(NumberExtCharHdl, void *); -DECL_LINK( NextPrevHdl, Button * ); +DECL_LINK(NextPrevHdl, Button *); virtual voidApply(); @@ -69,13 +69,13 @@ public: ~SwInsFootNoteDlg(); CharSet GetCharSet() { return eCharSet; } -sal_BoolIsExtCharAvailable() { return bExtCharAvailable; } +sal_BoolIsExtCharAvailable() { return bExtCharAvailable; } String GetFontName() { return aFontName; } -sal_BoolIsEndNote() { return aEndNoteBtn.IsChecked(); } +sal_BoolIsEndNote() { return m_pEndNoteBtn-IsChecked(); } String GetStr() { -if ( aNumberCharBtn.IsChecked() ) -return aNumberCharEdit.GetText(); +if ( m_pNumberCharBtn-IsChecked() ) +
[Libreoffice-commits] .: sw/AllLangResTarget_sw.mk sw/inc sw/source sw/uiconfig sw/UI_swriter.mk
sw/AllLangResTarget_sw.mk|1 sw/UI_swriter.mk |1 sw/inc/globals.hrc |2 sw/source/ui/app/app.src |5 + sw/source/ui/cctrl/swlbox.cxx| 14 sw/source/ui/inc/bookmark.hxx| 13 ++-- sw/source/ui/inc/misc.hrc|1 sw/source/ui/inc/swlbox.hxx |7 +- sw/source/ui/misc/bookmark.cxx | 68 --- sw/source/ui/misc/bookmark.hrc | 25 sw/source/ui/misc/bookmark.src | 73 sw/source/ui/utlui/swrenamexnameddlg.cxx |1 sw/uiconfig/swriter/ui/insertbookmark.ui | 91 +++ 13 files changed, 159 insertions(+), 143 deletions(-) New commits: commit 42f6308d1b4c352b8949a4ab8c2c77388d4a29e9 Author: Jack Leigh leigh...@gmx.se Date: Thu Nov 29 21:44:20 2012 + migrate 'Insert Bookmark' dialog to .ui file STR_REMOVE_WARNING moved to globals.hrc so also misc.hrc no longer required in swrenamexnameddlg.cxx Conflicts: sw/source/ui/misc/bookmark.src Change-Id: I5c34c14df36a78133ff08c0f2f0ce1a01292067f diff --git a/sw/AllLangResTarget_sw.mk b/sw/AllLangResTarget_sw.mk index bf8ba79..fbd038f 100644 --- a/sw/AllLangResTarget_sw.mk +++ b/sw/AllLangResTarget_sw.mk @@ -141,7 +141,6 @@ $(eval $(call gb_SrsTarget_add_files,sw/res,\ sw/source/ui/index/multmrk.src \ sw/source/ui/lingu/olmenu.src \ sw/source/ui/misc/autocorr.src \ -sw/source/ui/misc/bookmark.src \ sw/source/ui/misc/docfnote.src \ sw/source/ui/misc/glosbib.src \ sw/source/ui/misc/glossary.src \ diff --git a/sw/UI_swriter.mk b/sw/UI_swriter.mk index ca8535f..890ae28 100644 --- a/sw/UI_swriter.mk +++ b/sw/UI_swriter.mk @@ -18,6 +18,7 @@ $(eval $(call gb_UI_add_uifiles,modules/swriter,\ sw/uiconfig/swriter/ui/endnotepage \ sw/uiconfig/swriter/ui/footnotepage \ sw/uiconfig/swriter/ui/indexentry \ + sw/uiconfig/swriter/ui/insertbookmark \ sw/uiconfig/swriter/ui/insertbreak \ sw/uiconfig/swriter/ui/insertfootnote \ sw/uiconfig/swriter/ui/insertscript \ diff --git a/sw/inc/globals.hrc b/sw/inc/globals.hrc index e0f55ae..a7ed844 100644 --- a/sw/inc/globals.hrc +++ b/sw/inc/globals.hrc @@ -65,6 +65,8 @@ #define STR_FOOTNOTE_DIALOG_CHAR(RC_GLOBALS_BEGIN + 39) +#define STR_REMOVE_WARNING (RC_GLOBALS_BEGIN + 40) + // DIALOGS --- #define DLG_THESAURUS (RC_GLOBALS_BEGIN + 2) diff --git a/sw/source/ui/app/app.src b/sw/source/ui/app/app.src index c730e9f..d56012d 100644 --- a/sw/source/ui/app/app.src +++ b/sw/source/ui/app/app.src @@ -225,6 +225,11 @@ String STR_FOOTNOTE_DIALOG_CHAR Text [ en-US ] = Character ; }; +String STR_REMOVE_WARNING +{ +Text [ en-US ] = The following characters are not valid and have been removed: ; +}; + InfoBox MSG_ERROR_SEND_MAIL { BUTTONS = WB_OK ; diff --git a/sw/source/ui/cctrl/swlbox.cxx b/sw/source/ui/cctrl/swlbox.cxx index 939ac31..6e6a85b 100644 --- a/sw/source/ui/cctrl/swlbox.cxx +++ b/sw/source/ui/cctrl/swlbox.cxx @@ -49,10 +49,22 @@ SwBoxEntry::SwBoxEntry(const SwBoxEntry rOld) : { } -SwComboBox::SwComboBox(Window* pParent, const ResId rId, sal_uInt16 nStyleBits ): +SwComboBox::SwComboBox(Window* pParent, sal_uInt16 nStyleBits) : +ComboBox(pParent), +nStyle(nStyleBits) +{ +Init(); +} + +SwComboBox::SwComboBox(Window* pParent, const ResId rId, sal_uInt16 nStyleBits) : ComboBox(pParent, rId), nStyle(nStyleBits) { +Init(); +} + +void SwComboBox::Init() +{ // create administration for the resource's Stringlist sal_uInt16 nSize = GetEntryCount(); for( sal_uInt16 i=0; i nSize; ++i ) diff --git a/sw/source/ui/inc/bookmark.hxx b/sw/source/ui/inc/bookmark.hxx index d7fc9c5..80cf41b 100644 --- a/sw/source/ui/inc/bookmark.hxx +++ b/sw/source/ui/inc/bookmark.hxx @@ -37,6 +37,7 @@ class BookmarkCombo : public SwComboBox virtual longPreNotify(NotifyEvent rNEvt); public: +BookmarkCombo( Window* pWin ); BookmarkCombo( Window* pWin, const ResId rResId ); sal_uInt16 GetSelectEntryCount() const; @@ -47,23 +48,21 @@ public: class SwInsertBookmarkDlg: public SvxStandardDialog { -FixedLine aBookmarkFl; -BookmarkCombo aBookmarkBox; -OKButtonaOkBtn; -CancelButtonaCancelBtn; -PushButton aDeleteBtn; +BookmarkCombo* m_pBookmarkBox; +OKButton* m_pOkBtn; +PushButton* m_pDeleteBtn; String sRemoveWarning; SwWrtShell rSh; SfxRequest rReq; -DECL_LINK( ModifyHdl, BookmarkCombo * ); +DECL_LINK(ModifyHdl, BookmarkCombo *); DECL_LINK(DeleteHdl, void *); virtual void Apply(); public: -SwInsertBookmarkDlg( Window *pParent, SwWrtShell rSh, SfxRequest