1 /************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 #ifndef _SW_ABSTDLG_HXX 23 #define _SW_ABSTDLG_HXX 24 25 // include --------------------------------------------------------------- 26 27 #include <tools/solar.h> 28 #include <tools/string.hxx> 29 #include <sfx2/sfxdlg.hxx> 30 #include <svx/svxdlg.hxx> 31 #include <vcl/syswin.hxx> 32 #ifndef _GLOBALS_HRC 33 #include <globals.hrc> 34 #endif 35 #include <com/sun/star/uno/Reference.h> 36 #include <com/sun/star/uno/Sequence.h> 37 #include <com/sun/star/frame/XModel.hpp> 38 #include <com/sun/star/frame/XController.hpp> 39 #include <com/sun/star/text/XTextCursor.hpp> 40 #include <com/sun/star/container/XNameAccess.hpp> 41 #include <com/sun/star/awt/XControl.hpp> 42 #include <com/sun/star/container/XNamed.hpp> 43 #include "swunodef.hxx" 44 #include "itabenum.hxx" 45 46 class SfxViewFrame; 47 class SfxBindings; 48 class SfxItemSet; 49 class ResId; 50 class Window; 51 class String; 52 class SfxItemPool; 53 class SfxStyleSheetBase; 54 class SwGlossaryHdl; 55 class SwField; 56 57 class SwLabFmtPage; 58 class SwLabRec; 59 class SwAsciiOptions; 60 class SwDocShell; 61 class SvStream; 62 class SwWrtShell; 63 class SfxRequest; 64 class SwView; 65 class SwTableAutoFmt; 66 class SwTOXMgr; 67 class SwForm; 68 struct CurTOXType; 69 class SwTOXDescription; 70 class SwTOXBase; 71 class SwSectionData; 72 struct SwDBData; 73 class SwField; 74 class Printer; 75 class SwLabItem; 76 class SwNewDBMgr; 77 class SwTableFUNC; 78 class SwChildWinWrapper; 79 struct SfxChildWinInfo; 80 class SwTOXMark; 81 struct SwDocStat; 82 #include <cnttab.hxx> //add for struct CurTOXType 83 84 namespace com{namespace sun{namespace star{ 85 namespace frame{ 86 class XFrame; 87 } 88 namespace sdbcx{ 89 class XColumnsSupplier; 90 } 91 namespace sdbc{ 92 class XDataSource; 93 class XConnection; 94 class XResultSet; 95 } 96 }}} 97 98 typedef void (*SwLabDlgMethod) (::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel>& xModel, const SwLabItem& rItem); 99 100 typedef String (*GlossaryGetCurrGroup)(); 101 typedef void (*GlossarySetActGroup)(const String& rNewGroup); 102 103 class AbstractGlossaryDlg : public VclAbstractDialog //add for SwGlossaryDlg 104 { 105 public: 106 virtual String GetCurrGrpName() const = 0; 107 virtual String GetCurrShortName() const = 0; 108 }; 109 110 class AbstractFldInputDlg : public VclAbstractDialog //add for SwFldInputDlg 111 { 112 public: 113 //from class SalFrame 114 virtual void SetWindowState( const ByteString& rStr ) = 0; 115 virtual ByteString GetWindowState( sal_uLong nMask = WINDOWSTATE_MASK_ALL ) const = 0; 116 }; 117 118 class AbstractInsFootNoteDlg : public VclAbstractDialog //add for SwInsFootNoteDlg 119 { 120 public: 121 virtual String GetFontName() = 0; 122 virtual sal_Bool IsEndNote() = 0; 123 virtual String GetStr() = 0; 124 //from class Window 125 virtual void SetHelpId( const rtl::OString& sHelpId ) = 0; 126 virtual void SetText( const XubString& rStr ) = 0; 127 }; 128 129 class AbstractInsertGrfRulerDlg : public VclAbstractDialog //add for SwInsertGrfRulerDlg 130 { 131 public: 132 virtual String GetGraphicName() = 0; 133 virtual sal_Bool IsSimpleLine() = 0; 134 virtual sal_Bool HasImages() const = 0; 135 }; 136 137 class AbstractInsTableDlg : public VclAbstractDialog //add for SwInsTableDlg 138 { 139 public: 140 virtual void GetValues( String& rName, sal_uInt16& rRow, sal_uInt16& rCol, 141 SwInsertTableOptions& rInsTblFlags, String& rTableAutoFmtName, 142 SwTableAutoFmt *& prTAFmt ) = 0; 143 }; 144 145 class AbstractJavaEditDialog : public VclAbstractDialog //add for SwJavaEditDialog 146 { 147 public: 148 virtual String GetText() = 0; 149 virtual String GetType() = 0; 150 virtual sal_Bool IsUrl() = 0; 151 virtual sal_Bool IsNew() = 0; 152 virtual sal_Bool IsUpdate() = 0; 153 }; 154 155 class AbstractMailMergeDlg : public VclAbstractDialog //add for SwMailMergeDlg 156 { 157 public: 158 virtual sal_uInt16 GetMergeType() = 0; 159 virtual const ::rtl::OUString& GetSaveFilter() const = 0; 160 virtual const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > GetSelection() const = 0; 161 virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet> GetResultSet() const = 0; 162 virtual bool IsSaveIndividualDocs() const = 0; 163 virtual bool IsGenerateFromDataBase() const = 0; 164 virtual String GetColumnName() const = 0; 165 virtual String GetPath() const = 0; 166 167 }; 168 class AbstractMailMergeCreateFromDlg : public VclAbstractDialog //add for SwMailMergeCreateFromDlg 169 { 170 public: 171 virtual sal_Bool IsThisDocument() const = 0; 172 }; 173 class AbstractMailMergeFieldConnectionsDlg : public VclAbstractDialog //add for SwMailMergeFieldConnectionsDlg 174 { 175 public: 176 virtual sal_Bool IsUseExistingConnections() const = 0; 177 }; 178 179 class AbstractMultiTOXTabDialog : public VclAbstractDialog //add for SwMultiTOXTabDialog 180 { 181 public: 182 virtual SwForm* GetForm(CurTOXType eType) = 0; 183 virtual CurTOXType GetCurrentTOXType() const = 0; 184 virtual SwTOXDescription& GetTOXDescription(CurTOXType eTOXTypes) = 0; 185 //from SfxTabDialog 186 virtual const SfxItemSet* GetOutputItemSet() const = 0; 187 }; 188 189 class AbstractEditRegionDlg : public VclAbstractDialog //add for SwEditRegionDlg 190 { 191 public: 192 virtual void SelectSection(const String& rSectionName) = 0; 193 }; 194 class AbstractInsertSectionTabDialog : public VclAbstractDialog //add for SwInsertSectionTabDialog 195 { 196 public: 197 virtual void SetSectionData(SwSectionData const& rSect) = 0; 198 }; 199 200 class AbstractSwWordCountDialog : public VclAbstractDialog 201 { 202 public: 203 virtual void SetValues(const SwDocStat& rCurrent, const SwDocStat& rDoc) = 0; 204 }; 205 206 class AbstractSwInsertAbstractDlg : public VclAbstractDialog // add for SwInsertAbstractDlg 207 { 208 public: 209 virtual sal_uInt8 GetLevel() const = 0; 210 virtual sal_uInt8 GetPara() const = 0; 211 }; 212 213 class AbstractSwAsciiFilterDlg : public VclAbstractDialog // add for SwAsciiFilterDlg 214 { 215 public: 216 virtual void FillOptions( SwAsciiOptions& rOptions ) = 0; 217 218 }; 219 220 class AbstractSwBreakDlg : public VclAbstractDialog // add for SwBreakDlg 221 { 222 public: 223 virtual String GetTemplateName() = 0; 224 virtual sal_uInt16 GetKind() = 0; 225 virtual sal_uInt16 GetPageNumber() = 0; 226 227 }; 228 229 class AbstractSplitTableDialog : public VclAbstractDialog // add for 230 { 231 public: 232 virtual sal_uInt16 GetSplitMode() = 0; 233 }; 234 235 class AbstractSwConvertTableDlg : public VclAbstractDialog // add for SwConvertTableDlg 236 { 237 public: 238 virtual void GetValues( sal_Unicode& rDelim, 239 SwInsertTableOptions& rInsTblFlags, 240 SwTableAutoFmt *& prTAFmt ) = 0; 241 }; 242 243 class AbstractSwInsertDBColAutoPilot : public VclAbstractDialog // add for SwInsertDBColAutoPilot 244 { 245 public: 246 247 virtual void DataToDoc( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& rSelection, 248 ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDataSource> rxSource, 249 ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection> xConnection, 250 ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > xResultSet) = 0; 251 }; 252 253 class AbstractDropDownFieldDialog : public VclAbstractDialog //add for DropDownFieldDialog 254 { 255 public: 256 virtual ByteString GetWindowState( sal_uLong nMask = WINDOWSTATE_MASK_ALL ) const = 0; //this method inherit from SystemWindow 257 virtual void SetWindowState( const ByteString& rStr ) =0;//this method inherit from SystemWindow 258 }; 259 260 class AbstractSwLabDlg : public SfxAbstractTabDialog //add for SwLabDlg 261 { 262 public: 263 virtual const String& GetBusinessCardStr() const = 0; 264 virtual Printer *GetPrt() =0; 265 }; 266 267 class AbstractSwSelGlossaryDlg : public VclAbstractDialog //add for SwSelGlossaryDlg 268 { 269 public: 270 virtual void InsertGlos(const String &rRegion, const String &rGlosName) = 0; // inline 271 virtual sal_uInt16 GetSelectedIdx() const = 0; // inline 272 virtual void SelectEntryPos(sal_uInt16 nIdx) = 0; // inline 273 }; 274 275 class AbstractSwSplitTableDlg :public VclAbstractDialog //add for SwSplitTableDlg 276 { 277 public: 278 virtual sal_Bool IsHorizontal() const = 0; 279 virtual sal_Bool IsProportional() const = 0; 280 virtual long GetCount() const = 0; 281 }; 282 283 class AbstractSwAutoFormatDlg : public VclAbstractDialog //add for SwAutoFormatDlg 284 { 285 public: 286 virtual void FillAutoFmtOfIndex( SwTableAutoFmt*& rToFill ) const = 0; 287 }; 288 289 class AbstractSwFldDlg : public SfxAbstractTabDialog //add for SwFldDlg 290 { 291 public: 292 virtual void Start( sal_Bool bShow = sal_True ) = 0; //this method from sfxtabdialog 293 virtual void Initialize(SfxChildWinInfo *pInfo) = 0; 294 virtual void ReInitDlg() = 0; 295 virtual void ActivateDatabasePage() = 0; 296 virtual void ShowPage( sal_uInt16 nId ) = 0;// this method from SfxTabDialog 297 virtual Window * GetWindow() = 0; //this method is added for return a Window type pointer 298 }; 299 300 class AbstractSwRenameXNamedDlg : public VclAbstractDialog //add for SwRenameXNamedDlg 301 { 302 public: 303 virtual void SetForbiddenChars( const String& rSet ) = 0; 304 virtual void SetAlternativeAccess( 305 STAR_REFERENCE( container::XNameAccess ) & xSecond, 306 STAR_REFERENCE( container::XNameAccess ) & xThird ) = 0; 307 }; 308 309 class AbstractSwModalRedlineAcceptDlg : public VclAbstractDialog //add for SwModalRedlineAcceptDlg 310 { 311 public: 312 virtual void AcceptAll( sal_Bool bAccept ) = 0; 313 }; 314 315 class AbstractMarkFloatDlg : public VclAbstractDialog //add for SwIndexMarkFloatDlg & SwAuthMarkFloatDlg 316 { 317 public: 318 virtual void ReInitDlg(SwWrtShell& rWrtShell) = 0; 319 virtual Window * GetWindow() = 0; //this method is added for return a Window type pointer 320 }; 321 322 #define RET_LOAD_DOC 100 323 #define RET_EDIT_DOC 101 324 #define RET_EDIT_RESULT_DOC 102 325 #define RET_TARGET_CREATED 103 326 #define RET_REMOVE_TARGET 104 327 328 class SwView; 329 class SwMailMergeConfigItem; 330 331 class AbstractMailMergeWizard : public VclAbstractDialog2 332 { 333 public: 334 virtual void SetReloadDocument(const String& rURL) = 0; 335 virtual const String& GetReloadDocument() const = 0; 336 virtual sal_Bool ShowPage( sal_uInt16 nLevel ) = 0; 337 virtual sal_uInt16 GetRestartPage() const = 0; 338 }; 339 340 341 //-------Swabstract fractory 342 class SwAbstractDialogFactory 343 { 344 public: 345 static SwAbstractDialogFactory* Create(); 346 347 virtual SfxAbstractDialog* CreateSfxDialog( Window* pParent, //add for SvxMeasureDialog & SvxConnectionDialog 348 const SfxItemSet& rAttr, 349 const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _rxFrame, 350 sal_uInt32 nResId 351 ) = 0; 352 virtual AbstractSwWordCountDialog* CreateSwWordCountDialog( Window* pWindow ) = 0; 353 virtual AbstractSwInsertAbstractDlg * CreateSwInsertAbstractDlg ( Window* pParent, int nResId) = 0; // add for SwInsertAbstractDlg 354 virtual AbstractSwAsciiFilterDlg* CreateSwAsciiFilterDlg ( Window* pParent, SwDocShell& rDocSh, 355 SvStream* pStream, int nResId ) = 0;// add for SwAsciiFilterDlg 356 virtual VclAbstractDialog * CreateSwInsertBookmarkDlg( Window *pParent, SwWrtShell &rSh, SfxRequest& rReq, int nResId ) = 0;// add for SwInsertBookmarkDlg 357 358 virtual AbstractSwBreakDlg * CreateSwBreakDlg( Window *pParent, SwWrtShell &rSh,int nResId ) = 0; // add for SwBreakDlg 359 virtual VclAbstractDialog * CreateSwChangeDBDlg( SwView& rVw, int nResId ) = 0; //add for SwChangeDBDlg 360 virtual SfxAbstractTabDialog * CreateSwCharDlg( Window* pParent, SwView& pVw, const SfxItemSet& rCoreSet, int nResId, // add for SwCharDlg 361 const String* pFmtStr = 0, sal_Bool bIsDrwTxtDlg = sal_False) = 0; 362 virtual AbstractSwConvertTableDlg* CreateSwConvertTableDlg ( SwView& rView , int nResId, bool bToTable) = 0; //add for SwConvertTableDlg 363 virtual VclAbstractDialog * CreateSwCaptionDialog ( Window *pParent, SwView &rV,int nResId) = 0; //add for SwCaptionDialog 364 365 virtual AbstractSwInsertDBColAutoPilot* CreateSwInsertDBColAutoPilot( SwView& rView, // add for SwInsertDBColAutoPilot 366 ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDataSource> rxSource, 367 com::sun::star::uno::Reference<com::sun::star::sdbcx::XColumnsSupplier> xColSupp, 368 const SwDBData& rData, int nResId) = 0; 369 virtual SfxAbstractTabDialog * CreateSwFootNoteOptionDlg( Window *pParent, SwWrtShell &rSh,int nResId) = 0;//add for SwFootNoteOptionDlg 370 371 virtual AbstractDropDownFieldDialog * CreateDropDownFieldDialog ( Window *pParent, SwWrtShell &rSh, //add for DropDownFieldDialog 372 SwField* pField,int nResId, sal_Bool bNextButton = sal_False ) = 0; 373 virtual SfxAbstractTabDialog* CreateSwEnvDlg ( Window* pParent, const SfxItemSet& rSet, SwWrtShell* pWrtSh, Printer* pPrt, sal_Bool bInsert,int nResId ) = 0; //add for SwEnvDlg 374 375 376 virtual AbstractSwLabDlg* CreateSwLabDlg ( Window* pParent, const SfxItemSet& rSet, //add for SwLabDlg 377 SwNewDBMgr* pNewDBMgr, sal_Bool bLabel,int nResId ) = 0; 378 379 virtual SwLabDlgMethod GetSwLabDlgStaticMethod () =0;//add for SwLabDlg 380 381 virtual SfxAbstractTabDialog* CreateSwParaDlg ( Window *pParent, //add for SwParaDlg 382 SwView& rVw, 383 const SfxItemSet& rCoreSet, 384 sal_uInt8 nDialogMode, 385 int nResId, 386 const String *pCollName = 0, 387 sal_Bool bDraw = sal_False, 388 sal_uInt16 nDefPage = 0) = 0; 389 390 virtual AbstractSwSelGlossaryDlg * CreateSwSelGlossaryDlg ( Window * pParent, const String &rShortName, int nResId ) = 0; //add for SwSelGlossaryDlg 391 392 virtual VclAbstractDialog * CreateVclAbstractDialog ( Window * pParent, SwWrtShell &rSh, int nResId ) = 0; //add for SwTableHeightDlg SwSortDlg 393 virtual AbstractSplitTableDialog * CreateSplitTblDialog ( Window * pParent, SwWrtShell &rSh ) = 0; //add for SwSplitTblDlg 394 395 virtual AbstractSwAutoFormatDlg * CreateSwAutoFormatDlg( Window* pParent, SwWrtShell* pShell, //add for SwAutoFormatDlg 396 int nResId, 397 sal_Bool bSetAutoFmt = sal_True, 398 const SwTableAutoFmt* pSelFmt = 0 ) = 0; 399 virtual SfxAbstractDialog * CreateSwBorderDlg ( Window* pParent, SfxItemSet& rSet, sal_uInt16 nType, int nResId ) = 0;//add for SwBorderDlg 400 virtual SfxAbstractDialog * CreateSwWrapDlg ( Window* pParent, SfxItemSet& rSet, SwWrtShell* pSh, sal_Bool bDrawMode, int nResId ) = 0; //add for SwWrapDlg 401 402 virtual VclAbstractDialog * CreateSwTableWidthDlg ( Window *pParent, SwTableFUNC &rFnc , int nResId ) = 0; //add for SwTableWidthDlg 403 virtual SfxAbstractTabDialog* CreateSwTableTabDlg( Window* pParent, SfxItemPool& Pool, 404 const SfxItemSet* pItemSet, SwWrtShell* pSh,int nResId ) = 0; //add for SwTableTabDlg 405 406 virtual AbstractSwFldDlg * CreateSwFldDlg ( SfxBindings* pB, SwChildWinWrapper* pCW, Window *pParent, int nResId ) = 0; //add for SwFldDlg 407 virtual SfxAbstractDialog* CreateSwFldEditDlg ( SwView& rVw, int nResId ) = 0; //add for SwFldEditDlg 408 virtual AbstractSwRenameXNamedDlg * CreateSwRenameXNamedDlg( Window* pParent, //add for SwRenameXNamedDlg 409 STAR_REFERENCE( container::XNamed ) & xNamed, 410 STAR_REFERENCE( container::XNameAccess ) & xNameAccess, int nResId ) = 0; 411 virtual AbstractSwModalRedlineAcceptDlg * CreateSwModalRedlineAcceptDlg ( Window *pParent, int nResId ) = 0; //add for SwModalRedlineAcceptDlg 412 413 virtual VclAbstractDialog* CreateSwVclDialog( int nResId, Window* pParent, sal_Bool& rWithPrev ) = 0; //add for SwMergeTblDlg 414 virtual SfxAbstractTabDialog* CreateFrmTabDialog( int nResId, 415 SfxViewFrame *pFrame, Window *pParent, 416 const SfxItemSet& rCoreSet, 417 sal_Bool bNewFrm = sal_True, 418 sal_uInt16 nResType = DLG_FRM_STD, 419 sal_Bool bFmt = sal_False, 420 sal_uInt16 nDefPage = 0, 421 const String* pFmtStr = 0) = 0; //add for SwFrmDlg 422 // @param nSlot 423 // Identifies optional Slot by which the creation of the Template (Style) dialog is triggered. 424 // Currently used, if nRegion == SFX_STYLE_FAMILY_PAGE in order to activate certain dialog pane 425 virtual SfxAbstractTabDialog* CreateTemplateDialog( int nResId, 426 Window* pParent, 427 SfxStyleSheetBase& rBase, 428 sal_uInt16 nRegion, 429 const sal_uInt16 nSlot = 0, 430 SwWrtShell* pActShell = 0, 431 sal_Bool bNew = sal_False ) = 0; //add for SwTemplateDlg 432 virtual AbstractGlossaryDlg* CreateGlossaryDlg( int nResId, 433 SfxViewFrame* pViewFrame, 434 SwGlossaryHdl* pGlosHdl, 435 SwWrtShell *pWrtShell) = 0; //add for SwGlossaryDlg 436 virtual AbstractFldInputDlg* CreateFldInputDlg( int nResId, 437 Window *pParent, SwWrtShell &rSh, 438 SwField* pField, sal_Bool bNextButton = sal_False ) = 0; //add for SwFldInputDlg 439 virtual AbstractInsFootNoteDlg* CreateInsFootNoteDlg( int nResId, 440 Window * pParent, SwWrtShell &rSh, sal_Bool bEd = sal_False) = 0; //add for SwInsFootNoteDlg 441 virtual VclAbstractDialog * CreateVclSwViewDialog( int nResId, 442 SwView& rView, sal_Bool bCol = sal_False ) = 0; //add for SwInsRowColDlg, SwLineNumberingDlg 443 virtual AbstractInsertGrfRulerDlg* CreateInsertGrfRulerDlg( int nResId, 444 Window * pParent ) = 0; //add for SwInsertGrfRulerDlg 445 virtual AbstractInsTableDlg* CreateInsTableDlg( int nResId, 446 SwView& rView ) = 0; //add for SwInsTableDlg 447 virtual AbstractJavaEditDialog* CreateJavaEditDialog( int nResId, 448 Window* pParent, SwWrtShell* pWrtSh ) = 0; //add for SwJavaEditDialog 449 virtual AbstractMailMergeDlg* CreateMailMergeDlg( int nResId, 450 Window* pParent, SwWrtShell& rSh, 451 const String& rSourceName, 452 const String& rTblName, 453 sal_Int32 nCommandType, 454 const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& xConnection, 455 ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >* pSelection = 0 ) = 0; //add for SwMailMergeDlg 456 virtual AbstractMailMergeCreateFromDlg* CreateMailMergeCreateFromDlg( int nResId, 457 Window* pParent ) = 0; //add for SwMailMergeCreateFromDlg 458 virtual AbstractMailMergeFieldConnectionsDlg* CreateMailMergeFieldConnectionsDlg( int nResId, 459 Window* pParent ) = 0; //add for SwMailMergeFieldConnectionsDlg 460 virtual VclAbstractDialog* CreateMultiTOXMarkDlg( int nResId, 461 Window* pParent, SwTOXMgr &rTOXMgr ) = 0; //add for SwMultiTOXMarkDlg 462 virtual SfxAbstractTabDialog* CreateSwTabDialog( int nResId, 463 Window* pParent, 464 const SfxItemSet* pSwItemSet, 465 SwWrtShell &) = 0; //add for SwSvxNumBulletTabDialog, SwOutlineTabDialog 466 virtual AbstractMultiTOXTabDialog* CreateMultiTOXTabDialog( int nResId, 467 Window* pParent, const SfxItemSet& rSet, 468 SwWrtShell &rShell, 469 SwTOXBase* pCurTOX, sal_uInt16 nToxType = USHRT_MAX, 470 sal_Bool bGlobal = sal_False) = 0; //add for SwMultiTOXTabDialog 471 virtual AbstractEditRegionDlg* CreateEditRegionDlg( int nResId, 472 Window* pParent, SwWrtShell& rWrtSh ) = 0; //add for SwEditRegionDlg 473 virtual AbstractInsertSectionTabDialog* CreateInsertSectionTabDialog( int nResId, 474 Window* pParent, const SfxItemSet& rSet, SwWrtShell& rSh ) = 0; //add for SwInsertSectionTabDialog 475 virtual AbstractMarkFloatDlg* CreateIndexMarkFloatDlg( int nResId, 476 SfxBindings* pBindings, 477 SfxChildWindow* pChild, 478 Window *pParent, 479 SfxChildWinInfo* pInfo, 480 sal_Bool bNew=sal_True) = 0; //add for SwIndexMarkFloatDlg 481 virtual AbstractMarkFloatDlg* CreateAuthMarkFloatDlg( int nResId, 482 SfxBindings* pBindings, 483 SfxChildWindow* pChild, 484 Window *pParent, 485 SfxChildWinInfo* pInfo, 486 sal_Bool bNew=sal_True) = 0; //add for SwAuthMarkFloatDlg 487 virtual VclAbstractDialog * CreateIndexMarkModalDlg( int nResId, 488 Window *pParent, SwWrtShell& rSh, SwTOXMark* pCurTOXMark ) = 0; //add for SwIndexMarkModalDlg 489 490 virtual AbstractMailMergeWizard* CreateMailMergeWizard(SwView& rView, SwMailMergeConfigItem& rConfigItem) = 0; 491 492 //add for static func in SwGlossaryDlg 493 virtual GlossaryGetCurrGroup GetGlossaryCurrGroupFunc( sal_uInt16 nId ) = 0; 494 virtual GlossarySetActGroup SetGlossaryActGroupFunc( sal_uInt16 nId ) = 0; 495 496 // for tabpage 497 virtual CreateTabPage GetTabPageCreatorFunc( sal_uInt16 nId ) = 0; 498 virtual GetTabPageRanges GetTabPageRangesFunc( sal_uInt16 nId ) = 0; 499 }; 500 501 #endif 502 503 /* vim: set noet sw=4 ts=4: */ 504