LCOV - code coverage report
Current view: top level - libreoffice/sw/source/ui/dialog - swdlgfact.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 39 0.0 %
Date: 2012-12-27 Functions: 0 38 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       5             :  * This Source Code Form is subject to the terms of the Mozilla Public
       6             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       7             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       8             :  *
       9             :  * This file incorporates work covered by the following license notice:
      10             :  *
      11             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12             :  *   contributor license agreements. See the NOTICE file distributed
      13             :  *   with this work for additional information regarding copyright
      14             :  *   ownership. The ASF licenses this file to you under the Apache
      15             :  *   License, Version 2.0 (the "License"); you may not use this file
      16             :  *   except in compliance with the License. You may obtain a copy of
      17             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18             :  */
      19             : #ifndef _SW_DLGFACT_HXX
      20             : #define _SW_DLGFACT_HXX
      21             : 
      22             : #include "swabstdlg.hxx"
      23             : 
      24             : class SwInsertAbstractDlg;
      25             : class SfxSingleTabDialog;
      26             : class SwAsciiFilterDlg;
      27             : class Dialog;
      28             : class SwBreakDlg;
      29             : class SfxTabDialog;
      30             : class SwConvertTableDlg;
      31             : class SwInsertDBColAutoPilot;
      32             : class SwLabDlg;
      33             : class SwSelGlossaryDlg;
      34             : class SwAutoFormatDlg;
      35             : class SwFldDlg;
      36             : class SwRenameXNamedDlg;
      37             : class SwModalRedlineAcceptDlg;
      38             : class SwTOXMark;
      39             : class SwSplitTblDlg;
      40             : 
      41             : #include "itabenum.hxx"
      42             : 
      43             : namespace sw
      44             : {
      45             : class DropDownFieldDialog;
      46             : }
      47             : 
      48             : #define DECL_ABSTDLG_BASE(Class,DialogClass)        \
      49             : protected:                                          \
      50             :     DialogClass*        pDlg;                       \
      51             : public:                                             \
      52             :                     Class( DialogClass* p)          \
      53             :                      : pDlg(p)                      \
      54             :                      {}                             \
      55             :     virtual         ~Class();                       \
      56             :     virtual short   Execute() ;
      57             : 
      58             : #define IMPL_ABSTDLG_BASE(Class)                    \
      59             : Class::~Class()                                     \
      60             : {                                                   \
      61             :     delete pDlg;                                    \
      62             : }                                                   \
      63             : short Class::Execute()                             \
      64             : {                                                   \
      65             :     return pDlg->Execute();                         \
      66             : }
      67             : 
      68             : class SwWordCountFloatDlg;
      69             : class AbstractSwWordCountFloatDlg_Impl : public AbstractSwWordCountFloatDlg
      70             : {
      71           0 :     DECL_ABSTDLG_BASE(AbstractSwWordCountFloatDlg_Impl,SwWordCountFloatDlg)
      72             :     virtual void                UpdateCounts();
      73             :     virtual void                SetCounts(const SwDocStat &rCurrCnt, const SwDocStat &rDocStat);
      74             :     virtual Window *            GetWindow(); //this method is added for return a Window type pointer
      75             : };
      76             : 
      77             : //add for SwInsertAbstractDlg begin
      78             : class AbstractSwInsertAbstractDlg_Impl : public AbstractSwInsertAbstractDlg
      79             : {
      80           0 :     DECL_ABSTDLG_BASE(AbstractSwInsertAbstractDlg_Impl,SwInsertAbstractDlg)
      81             :     virtual sal_uInt8   GetLevel() const ;
      82             :     virtual sal_uInt8   GetPara() const ;
      83             : };
      84             : 
      85             : //add for SwInsertAbstractDlg end
      86             : 
      87             : // add for SwAddrDlg, SwDropCapsDlg, SwBackgroundDlg SwNumFmtDlg  SwWrapDlg SwBorderDlg, SwFldEditDlg  begin
      88             : class SfxSingleTabDialog;
      89             : class SwAbstractSfxDialog_Impl :public SfxAbstractDialog
      90             : {
      91           0 :     DECL_ABSTDLG_BASE(SwAbstractSfxDialog_Impl,SfxModalDialog)
      92             :     virtual const SfxItemSet*   GetOutputItemSet() const;
      93             :     virtual void        SetText( const XubString& rStr );
      94             :     virtual String      GetText() const;
      95             : };
      96             : // add for SwAddrDlg,SwDropCapsDlg , SwBackgroundDlg  SwNumFmtDlg SwWrapDlg SwBorderDlg, SwFldEditDlg  end
      97             : 
      98             : // add for SwAsciiFilterDlg begin
      99             : class AbstractSwAsciiFilterDlg_Impl : public AbstractSwAsciiFilterDlg
     100             : {
     101           0 :     DECL_ABSTDLG_BASE( AbstractSwAsciiFilterDlg_Impl,SwAsciiFilterDlg )
     102             :     virtual void FillOptions( SwAsciiOptions& rOptions );
     103             : 
     104             : };
     105             : // add for SwAsciiFilterDlg end
     106             : 
     107             : // add for SwInsertBookmarkDlg  SwChangeDBDlg, SwTableHeightDlg, SwSplitTblDlg  SwSortDlg   SwTableWidthDlgbegin
     108             : class VclAbstractDialog_Impl : public VclAbstractDialog
     109             : {
     110           0 :     DECL_ABSTDLG_BASE(VclAbstractDialog_Impl,Dialog)
     111             : };
     112             : // add for SwInsertBookmarkDlg SwChangeDBDlg, SwTableHeightDlg SwSplitTblDlg  SwSortDlg   SwTableWidthDlg end
     113             : 
     114             : // add for SwBreakDlg begin
     115             : class AbstractSwBreakDlg_Impl : public AbstractSwBreakDlg // add for SwBreakDlg
     116             : {
     117           0 :     DECL_ABSTDLG_BASE(AbstractSwBreakDlg_Impl,SwBreakDlg)
     118             :     virtual String  GetTemplateName();
     119             :     virtual sal_uInt16  GetKind();
     120             :     virtual sal_uInt16  GetPageNumber();
     121             : 
     122             : };
     123             : class AbstractSplitTableDialog_Impl : public AbstractSplitTableDialog // add for
     124             : {
     125           0 :     DECL_ABSTDLG_BASE(AbstractSplitTableDialog_Impl, SwSplitTblDlg)
     126             :     virtual sal_uInt16 GetSplitMode();
     127             : };
     128             : 
     129             : // add for SwBreakDlg end
     130             : 
     131             : //add for SwCharDlg , SwEnvDlg , SwFootNoteOptionDlg SwParaDlg  SwTableTabDlg begin
     132             : class AbstractTabDialog_Impl : virtual public SfxAbstractTabDialog
     133             : {
     134           0 :     DECL_ABSTDLG_BASE( AbstractTabDialog_Impl,SfxTabDialog )
     135             :     virtual void                SetCurPageId( sal_uInt16 nId );
     136             :     virtual const SfxItemSet*   GetOutputItemSet() const;
     137             :     virtual const sal_uInt16*       GetInputRanges( const SfxItemPool& pItem );
     138             :     virtual void                SetInputSet( const SfxItemSet* pInSet );
     139             :         //From class Window.
     140             :     virtual void        SetText( const XubString& rStr );
     141             :     virtual String      GetText() const;
     142             : };
     143             : //add for SwCharDlg, SwEnvDlg ,SwFootNoteOptionDlg SwParaDlg  SwTableTabDlg end
     144             : 
     145           0 : class AbstractApplyTabDialog_Impl : public AbstractTabDialog_Impl, virtual public SfxAbstractApplyTabDialog
     146             : {
     147             : public:
     148           0 :     AbstractApplyTabDialog_Impl( SfxTabDialog* p)
     149           0 :         : AbstractTabDialog_Impl(p)
     150             :     {
     151           0 :     }
     152             :     DECL_LINK(ApplyHdl, void*);
     153             : private:
     154             :     Link m_aHandler;
     155             :     virtual void                SetApplyHdl( const Link& rLink );
     156             : };
     157             : 
     158             : //add for SwConvertTableDlg begin
     159             : class AbstractSwConvertTableDlg_Impl :  public AbstractSwConvertTableDlg // add for SwConvertTableDlg
     160             : {
     161           0 :     DECL_ABSTDLG_BASE( AbstractSwConvertTableDlg_Impl,SwConvertTableDlg)
     162             :     virtual void GetValues( sal_Unicode& rDelim,SwInsertTableOptions& rInsTblFlags,
     163             :                     SwTableAutoFmt const*& prTAFmt);
     164             : };
     165             : //add for SwConvertTableDlg end
     166             : 
     167             : //add for SwInsertDBColAutoPilot begin
     168             : class AbstractSwInsertDBColAutoPilot_Impl :  public AbstractSwInsertDBColAutoPilot // add for SwInsertDBColAutoPilot
     169             : {
     170           0 :     DECL_ABSTDLG_BASE( AbstractSwInsertDBColAutoPilot_Impl,SwInsertDBColAutoPilot)
     171             :     virtual void DataToDoc( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& rSelection,
     172             :         ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDataSource> rxSource,
     173             :         ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection> xConnection,
     174             :         ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > xResultSet);
     175             : };
     176             : //add for SwInsertDBColAutoPilot end
     177             : 
     178             : //add for DropDownFieldDialog begin
     179             : class AbstractDropDownFieldDialog_Impl : public AbstractDropDownFieldDialog //add for DropDownFieldDialog
     180             : {
     181           0 :     DECL_ABSTDLG_BASE(AbstractDropDownFieldDialog_Impl, sw::DropDownFieldDialog)
     182             :     virtual rtl::OString GetWindowState( sal_uLong nMask = WINDOWSTATE_MASK_ALL ) const; //this method inherit from SystemWindow
     183             :     virtual void         SetWindowState( const rtl::OString& rStr );//this method inherit from SystemWindow
     184             : };
     185             : //add for DropDownFieldDialog end
     186             : 
     187             : 
     188             : class AbstractSwLabDlg_Impl  : public AbstractSwLabDlg
     189             : {
     190           0 :     DECL_ABSTDLG_BASE(AbstractSwLabDlg_Impl,SwLabDlg)
     191             :     virtual void                SetCurPageId( sal_uInt16 nId );
     192             :     virtual const SfxItemSet*   GetOutputItemSet() const;
     193             :     virtual const sal_uInt16*       GetInputRanges( const SfxItemPool& pItem );
     194             :     virtual void                SetInputSet( const SfxItemSet* pInSet );
     195             :         //From class Window.
     196             :     virtual void        SetText( const XubString& rStr );
     197             :     virtual String      GetText() const;
     198             :      virtual const String& GetBusinessCardStr() const;
     199             :      virtual Printer *GetPrt();
     200             : };
     201             : //add for SwLabDlg end
     202             : 
     203             : //add for SwSelGlossaryDlg begin
     204             : class AbstractSwSelGlossaryDlg_Impl : public AbstractSwSelGlossaryDlg
     205             : {
     206           0 :     DECL_ABSTDLG_BASE(AbstractSwSelGlossaryDlg_Impl,SwSelGlossaryDlg)
     207             :     virtual void InsertGlos(const String &rRegion, const String &rGlosName);    // inline
     208             :     virtual sal_uInt16 GetSelectedIdx() const;  // inline
     209             :     virtual void SelectEntryPos(sal_uInt16 nIdx);   // inline
     210             : };
     211             : //add for SwSelGlossaryDlg end
     212             : 
     213             : //add for SwAutoFormatDlg begin
     214             : class AbstractSwAutoFormatDlg_Impl : public AbstractSwAutoFormatDlg
     215             : {
     216           0 :     DECL_ABSTDLG_BASE(AbstractSwAutoFormatDlg_Impl,SwAutoFormatDlg )
     217             :     virtual void FillAutoFmtOfIndex( SwTableAutoFmt*& rToFill ) const;
     218             : };
     219             : //add for SwAutoFormatDlg end
     220             : 
     221             : //add for SwFldDlg begin
     222             : 
     223             : class AbstractSwFldDlg_Impl : public AbstractSwFldDlg //add for SwFldDlg
     224             : {
     225           0 :     DECL_ABSTDLG_BASE(AbstractSwFldDlg_Impl,SwFldDlg )
     226             :     virtual void                SetCurPageId( sal_uInt16 nId );
     227             :     virtual const SfxItemSet*   GetOutputItemSet() const;
     228             :     virtual const sal_uInt16*       GetInputRanges( const SfxItemPool& pItem );
     229             :     virtual void                SetInputSet( const SfxItemSet* pInSet );
     230             :         //From class Window.
     231             :     virtual void        SetText( const XubString& rStr );
     232             :     virtual String      GetText() const;
     233             :     virtual void                Start( sal_Bool bShow = sal_True );  //this method from SfxTabDialog
     234             :     virtual void                ShowPage( sal_uInt16 nId );// this method from SfxTabDialog
     235             :     virtual void                Initialize(SfxChildWinInfo *pInfo);
     236             :     virtual void                ReInitDlg();
     237             :     virtual void                ActivateDatabasePage();
     238             :     virtual Window *            GetWindow(); //this method is added for return a Window type pointer
     239             : };
     240             : //add for SwFldD end
     241             : 
     242             : //add for SwRenameXNamedDlg begin
     243             : class AbstractSwRenameXNamedDlg_Impl : public AbstractSwRenameXNamedDlg
     244             : {
     245           0 :     DECL_ABSTDLG_BASE(AbstractSwRenameXNamedDlg_Impl,SwRenameXNamedDlg )
     246             :     virtual void    SetForbiddenChars( const String& rSet );
     247             :     virtual void SetAlternativeAccess(
     248             :              ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > & xSecond,
     249             :              ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > & xThird );
     250             : };
     251             : //add for SwRenameXNamedDlg end
     252             : //add for SwModalRedlineAcceptDlg begin
     253             : class AbstractSwModalRedlineAcceptDlg_Impl : public AbstractSwModalRedlineAcceptDlg
     254             : {
     255           0 :     DECL_ABSTDLG_BASE(AbstractSwModalRedlineAcceptDlg_Impl,SwModalRedlineAcceptDlg )
     256             :     virtual void            AcceptAll( sal_Bool bAccept );
     257             : };
     258             : //add for SwModalRedlineAcceptDlg end
     259             : 
     260             : //for SwGlossaryDlg begin
     261             : class SwGlossaryDlg;
     262             : class AbstractGlossaryDlg_Impl : public AbstractGlossaryDlg
     263             : {
     264           0 :     DECL_ABSTDLG_BASE(AbstractGlossaryDlg_Impl,SwGlossaryDlg)
     265             :     virtual String          GetCurrGrpName() const;
     266             :     virtual String          GetCurrShortName() const;
     267             : };
     268             : //for SwGlossaryDlg end
     269             : 
     270             : //for SwFldInputDlg begin
     271             : class SwFldInputDlg;
     272             : class AbstractFldInputDlg_Impl : public AbstractFldInputDlg
     273             : {
     274           0 :     DECL_ABSTDLG_BASE(AbstractFldInputDlg_Impl,SwFldInputDlg)
     275             :     //from class SalFrame
     276             :     virtual void         SetWindowState( const rtl::OString & rStr ) ;
     277             :     virtual rtl::OString GetWindowState( sal_uLong nMask = WINDOWSTATE_MASK_ALL ) const ;
     278             : };
     279             : //for SwFldInputDlg end
     280             : 
     281             : //for SwInsFootNoteDlg begin
     282             : class SwInsFootNoteDlg;
     283             : class AbstractInsFootNoteDlg_Impl : public AbstractInsFootNoteDlg
     284             : {
     285           0 :     DECL_ABSTDLG_BASE(AbstractInsFootNoteDlg_Impl,SwInsFootNoteDlg)
     286             :     virtual String          GetFontName();
     287             :     virtual sal_Bool            IsEndNote();
     288             :     virtual String          GetStr();
     289             :     //from class Window
     290             :     virtual void    SetHelpId( const rtl::OString& sHelpId );
     291             :     virtual void    SetText( const XubString& rStr );
     292             : };
     293             : //for SwInsFootNoteDlg end
     294             : 
     295             : //for SwInsTableDlg begin
     296             : class SwInsTableDlg;
     297             : class AbstractInsTableDlg_Impl : public AbstractInsTableDlg
     298             : {
     299           0 :     DECL_ABSTDLG_BASE(AbstractInsTableDlg_Impl,SwInsTableDlg)
     300             :     virtual void            GetValues( String& rName, sal_uInt16& rRow, sal_uInt16& rCol,
     301             :                                 SwInsertTableOptions& rInsTblFlags, String& rTableAutoFmtName,
     302             :                                 SwTableAutoFmt *& prTAFmt );
     303             : };
     304             : //for SwInsTableDlg end
     305             : 
     306             : //for SwJavaEditDialog begin
     307             : class SwJavaEditDialog;
     308             : class AbstractJavaEditDialog_Impl : public AbstractJavaEditDialog
     309             : {
     310           0 :     DECL_ABSTDLG_BASE(AbstractJavaEditDialog_Impl,SwJavaEditDialog)
     311             :     virtual String              GetText();
     312             :     virtual String              GetType();
     313             :     virtual sal_Bool                IsUrl();
     314             :     virtual sal_Bool                IsNew();
     315             :     virtual sal_Bool                IsUpdate();
     316             : };
     317             : //for SwJavaEditDialog end
     318             : 
     319             : //for SwMailMergeDlg begin
     320             : class SwMailMergeDlg;
     321             : class AbstractMailMergeDlg_Impl : public AbstractMailMergeDlg
     322             : {
     323           0 :     DECL_ABSTDLG_BASE(AbstractMailMergeDlg_Impl,SwMailMergeDlg)
     324             :     virtual sal_uInt16  GetMergeType() ;
     325             :     virtual const ::rtl::OUString& GetSaveFilter() const;
     326             :     virtual const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > GetSelection() const ;
     327             :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet> GetResultSet() const;
     328             :     virtual bool IsSaveIndividualDocs() const;
     329             :     virtual bool IsGenerateFromDataBase() const;
     330             :     virtual String GetColumnName() const;
     331             :     virtual String GetPath() const;
     332             : };
     333             : //for SwMailMergeDlg end
     334             : //for SwMailMergeCreateFromDlg begin
     335             : class SwMailMergeCreateFromDlg;
     336             : class AbstractMailMergeCreateFromDlg_Impl : public AbstractMailMergeCreateFromDlg
     337             : {
     338           0 :     DECL_ABSTDLG_BASE(AbstractMailMergeCreateFromDlg_Impl,SwMailMergeCreateFromDlg)
     339             :     virtual sal_Bool    IsThisDocument() const ;
     340             : };
     341             : //for SwMailMergeCreateFromDlg end
     342             : //for SwMailMergeFieldConnectionsDlg begin
     343             : class SwMailMergeFieldConnectionsDlg;
     344             : class AbstractMailMergeFieldConnectionsDlg_Impl : public AbstractMailMergeFieldConnectionsDlg
     345             : {
     346           0 :     DECL_ABSTDLG_BASE(AbstractMailMergeFieldConnectionsDlg_Impl,SwMailMergeFieldConnectionsDlg)
     347             :     virtual sal_Bool    IsUseExistingConnections() const ;
     348             : };
     349             : //for SwMailMergeFieldConnectionsDlg end
     350             : 
     351             : //for SwMultiTOXTabDialog begin
     352             : class SwMultiTOXTabDialog;
     353             : class AbstractMultiTOXTabDialog_Impl : public AbstractMultiTOXTabDialog
     354             : {
     355           0 :     DECL_ABSTDLG_BASE(AbstractMultiTOXTabDialog_Impl,SwMultiTOXTabDialog)
     356             :     virtual SwForm*             GetForm(CurTOXType eType);
     357             :     virtual CurTOXType          GetCurrentTOXType() const ;
     358             :     virtual SwTOXDescription&   GetTOXDescription(CurTOXType eTOXTypes);
     359             :     //from SfxTabDialog
     360             :     virtual const SfxItemSet*   GetOutputItemSet() const;
     361             : };
     362             : //for SwMultiTOXTabDialog end
     363             : 
     364             : //for SwEditRegionDlg begin
     365             : class SwEditRegionDlg;
     366             : class AbstractEditRegionDlg_Impl : public AbstractEditRegionDlg
     367             : {
     368           0 :     DECL_ABSTDLG_BASE(AbstractEditRegionDlg_Impl,SwEditRegionDlg)
     369             :     virtual void    SelectSection(const String& rSectionName);
     370             : };
     371             : //for SwEditRegionDlg end
     372             : //for SwInsertSectionTabDialog begin
     373             : class SwInsertSectionTabDialog;
     374             : class AbstractInsertSectionTabDialog_Impl : public AbstractInsertSectionTabDialog
     375             : {
     376           0 :     DECL_ABSTDLG_BASE(AbstractInsertSectionTabDialog_Impl,SwInsertSectionTabDialog)
     377             :     virtual void        SetSectionData(SwSectionData const& rSect);
     378             : };
     379             : //for SwInsertSectionTabDialog end
     380             : 
     381             : //for SwIndexMarkFloatDlg begin
     382             : class SwIndexMarkFloatDlg;
     383             : class AbstractIndexMarkFloatDlg_Impl : public AbstractMarkFloatDlg
     384             : {
     385           0 :     DECL_ABSTDLG_BASE(AbstractIndexMarkFloatDlg_Impl,SwIndexMarkFloatDlg)
     386             :     virtual void    ReInitDlg(SwWrtShell& rWrtShell);
     387             :     virtual Window *            GetWindow(); //this method is added for return a Window type pointer
     388             : };
     389             : //for SwIndexMarkFloatDlg end
     390             : 
     391             : //for SwAuthMarkFloatDlg begin
     392             : class SwAuthMarkFloatDlg;
     393             : class AbstractAuthMarkFloatDlg_Impl : public AbstractMarkFloatDlg
     394             : {
     395           0 :     DECL_ABSTDLG_BASE(AbstractAuthMarkFloatDlg_Impl,SwAuthMarkFloatDlg)
     396             :     virtual void    ReInitDlg(SwWrtShell& rWrtShell);
     397             :     virtual Window *            GetWindow(); //this method is added for return a Window type pointer
     398             : };
     399             : //for SwAuthMarkFloatDlg end
     400             : 
     401             : class SwMailMergeWizard;
     402             : class AbstractMailMergeWizard_Impl : public AbstractMailMergeWizard
     403             : {
     404             :     SwMailMergeWizard* pDlg;
     405             :     Link               aEndDlgHdl;
     406             : 
     407             :     DECL_LINK( EndDialogHdl, SwMailMergeWizard* );
     408             : public:
     409           0 :                     AbstractMailMergeWizard_Impl( SwMailMergeWizard* p )
     410           0 :                      : pDlg(p)
     411           0 :                      {}
     412             :     virtual         ~AbstractMailMergeWizard_Impl();
     413             :     virtual void    StartExecuteModal( const Link& rEndDialogHdl );
     414             :     virtual long    GetResult();
     415             : 
     416             :     virtual void                SetReloadDocument(const String& rURL);
     417             :     virtual const String&       GetReloadDocument() const;
     418             :     virtual sal_Bool                ShowPage( sal_uInt16 nLevel );
     419             :     virtual sal_uInt16          GetRestartPage() const;
     420             : };
     421             : 
     422             : //------------------------------------------------------------------------
     423             : //AbstractDialogFactory_Impl implementations
     424           0 : class SwAbstractDialogFactory_Impl : public SwAbstractDialogFactory
     425             : {
     426             : 
     427             : public:
     428           0 :     virtual ~SwAbstractDialogFactory_Impl() {}
     429             : 
     430             :     virtual SfxAbstractDialog*              CreateSfxDialog( Window* pParent, //add for SvxMeasureDialog & SvxConnectionDialog
     431             :                                                                         const SfxItemSet& rAttr,
     432             :                                     const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _rxFrame,
     433             :                                                                         sal_uInt32 nResId
     434             :                                                                         );
     435             :     virtual AbstractSwWordCountFloatDlg* CreateSwWordCountDialog(SfxBindings* pBindings,
     436             :         SfxChildWindow* pChild, Window *pParent, SfxChildWinInfo* pInfo);
     437             :     virtual AbstractSwInsertAbstractDlg * CreateSwInsertAbstractDlg(Window* pParent);
     438             :     virtual AbstractSwAsciiFilterDlg*  CreateSwAsciiFilterDlg ( Window* pParent, SwDocShell& rDocSh,
     439             :                                                                 SvStream* pStream, int nResId ); //add for SwAsciiFilterDlg
     440             :     virtual VclAbstractDialog * CreateSwInsertBookmarkDlg( Window *pParent, SwWrtShell &rSh, SfxRequest& rReq, int nResId );//add for SwInsertBookmarkDlg
     441             :     virtual AbstractSwBreakDlg * CreateSwBreakDlg(Window *pParent, SwWrtShell &rSh); // add for SwBreakDlg
     442             :     virtual VclAbstractDialog   * CreateSwChangeDBDlg( SwView& rVw, int nResId  ); //add for SwChangeDBDlg
     443             :     virtual SfxAbstractTabDialog *  CreateSwCharDlg( Window* pParent, SwView& pVw, const SfxItemSet& rCoreSet, int nResId, // add for SwCharDlg
     444             :                                                 const String* pFmtStr = 0, sal_Bool bIsDrwTxtDlg = sal_False);
     445             :     virtual AbstractSwConvertTableDlg* CreateSwConvertTableDlg(SwView& rView, bool bToTable); //add for SwConvertTableDlg
     446             :     virtual VclAbstractDialog * CreateSwCaptionDialog ( Window *pParent, SwView &rV,int nResId); //add for SwCaptionDialog
     447             : 
     448             :     virtual AbstractSwInsertDBColAutoPilot* CreateSwInsertDBColAutoPilot( SwView& rView, // add for SwInsertDBColAutoPilot
     449             :         ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDataSource> rxSource,
     450             :         com::sun::star::uno::Reference<com::sun::star::sdbcx::XColumnsSupplier> xColSupp,
     451             :         const SwDBData& rData,  int nResId);
     452             :     virtual SfxAbstractTabDialog * CreateSwFootNoteOptionDlg( Window *pParent, SwWrtShell &rSh,int nResId);//add for  SwFootNoteOptionDlg
     453             : 
     454             :     virtual AbstractDropDownFieldDialog * CreateDropDownFieldDialog ( Window *pParent, SwWrtShell &rSh, //add for DropDownFieldDialog
     455             :                                 SwField* pField,int nResId, sal_Bool bNextButton = sal_False );
     456             :     virtual SfxAbstractTabDialog* CreateSwEnvDlg ( Window* pParent, const SfxItemSet& rSet, SwWrtShell* pWrtSh, Printer* pPrt, sal_Bool bInsert,int nResId ); //add for SwEnvDlg
     457             :     virtual AbstractSwLabDlg* CreateSwLabDlg ( Window* pParent, const SfxItemSet& rSet, //add for SwLabDlg
     458             :                                                      SwNewDBMgr* pNewDBMgr, sal_Bool bLabel,int nResId  );
     459             : 
     460             :     virtual SwLabDlgMethod GetSwLabDlgStaticMethod (); //add for SwLabDlg
     461             :     virtual SfxAbstractTabDialog* CreateSwParaDlg ( Window *pParent, //add for SwParaDlg
     462             :                                                     SwView& rVw,
     463             :                                                     const SfxItemSet& rCoreSet,
     464             :                                                     sal_uInt8 nDialogMode,
     465             :                                                     int nResId,
     466             :                                                     const String *pCollName = 0,
     467             :                                                     sal_Bool bDraw = sal_False,
     468             :                                                     sal_uInt16 nDefPage = 0);
     469             : 
     470             :     virtual AbstractSwSelGlossaryDlg * CreateSwSelGlossaryDlg ( Window * pParent, const String &rShortName, int nResId ); //add for SwSelGlossaryDlg
     471             :     virtual VclAbstractDialog * CreateVclAbstractDialog ( Window * pParent, SwWrtShell &rSh, int nResId ); //add for  SwTableHeightDlg SwSortDlg
     472             :     virtual AbstractSplitTableDialog * CreateSplitTblDialog ( Window * pParent, SwWrtShell &rSh ); //add for  SwSplitTblDlg
     473             : 
     474             :     virtual AbstractSwAutoFormatDlg * CreateSwAutoFormatDlg( Window* pParent, SwWrtShell* pShell, //add for SwAutoFormatDlg
     475             :                                                             sal_Bool bSetAutoFmt = sal_True,
     476             :                                                             const SwTableAutoFmt* pSelFmt = 0 );
     477             :     virtual SfxAbstractDialog * CreateSwBorderDlg (Window* pParent, SfxItemSet& rSet, sal_uInt16 nType,int nResId );//add for SwBorderDlg
     478             : 
     479             :     virtual SfxAbstractDialog * CreateSwWrapDlg ( Window* pParent, SfxItemSet& rSet, SwWrtShell* pSh, sal_Bool bDrawMode, int nResId ); //add for SwWrapDlg
     480             :     virtual VclAbstractDialog * CreateSwTableWidthDlg(Window *pParent, SwTableFUNC &rFnc);
     481             :     virtual SfxAbstractTabDialog* CreateSwTableTabDlg( Window* pParent, SfxItemPool& Pool,
     482             :                                                         const SfxItemSet* pItemSet, SwWrtShell* pSh,int nResId ); //add for SwTableTabDlg
     483             :     virtual AbstractSwFldDlg * CreateSwFldDlg ( SfxBindings* pB, SwChildWinWrapper* pCW, Window *pParent, int nResId ); //add for SwFldDlg
     484             :     virtual SfxAbstractDialog*   CreateSwFldEditDlg ( SwView& rVw, int nResId ); //add for SwFldEditDlg
     485             :     virtual AbstractSwRenameXNamedDlg * CreateSwRenameXNamedDlg( Window* pParent, //add for SwRenameXNamedDlg
     486             :                                                                 ::com::sun::star::uno::Reference< ::com::sun::star::container::XNamed > & xNamed,
     487             :                                                                 ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > & xNameAccess, int nResId );
     488             :     virtual AbstractSwModalRedlineAcceptDlg * CreateSwModalRedlineAcceptDlg ( Window *pParent, int nResId ); //add for SwModalRedlineAcceptDlg
     489             : 
     490             :     virtual VclAbstractDialog*          CreateSwVclDialog( int nResId,
     491             :                                                 Window* pParent, sal_Bool& rWithPrev ); //add for SwMergeTblDlg
     492             :     virtual SfxAbstractTabDialog*       CreateFrmTabDialog( int nResId,
     493             :                                                 SfxViewFrame *pFrame, Window *pParent,
     494             :                                                 const SfxItemSet& rCoreSet,
     495             :                                                 sal_Bool            bNewFrm  = sal_True,
     496             :                                                 sal_uInt16          nResType = DLG_FRM_STD,
     497             :                                                 sal_Bool            bFmt     = sal_False,
     498             :                                                 sal_uInt16          nDefPage = 0,
     499             :                                                 const String*   pFmtStr  = 0); //add for SwFrmDlg
     500             :     virtual SfxAbstractApplyTabDialog*  CreateTemplateDialog(
     501             :                                                 Window*             pParent,
     502             :                                                 SfxStyleSheetBase&  rBase,
     503             :                                                 sal_uInt16              nRegion,
     504             :                                                 sal_uInt16          nPageId = 0,
     505             :                                                 SwWrtShell*         pActShell = 0,
     506             :                                                 sal_Bool                bNew = sal_False ); //add for SwTemplateDlg
     507             :     virtual AbstractGlossaryDlg*        CreateGlossaryDlg( int nResId,
     508             :                                                 SfxViewFrame* pViewFrame,
     509             :                                                 SwGlossaryHdl* pGlosHdl,
     510             :                                                 SwWrtShell *pWrtShell); //add for SwGlossaryDlg
     511             :     virtual AbstractFldInputDlg*        CreateFldInputDlg( int nResId,
     512             :                                                 Window *pParent, SwWrtShell &rSh,
     513             :                                                 SwField* pField, sal_Bool bNextButton = sal_False ); //add for SwFldInputDlg
     514             :     virtual AbstractInsFootNoteDlg*     CreateInsFootNoteDlg(
     515             :         Window * pParent, SwWrtShell &rSh, sal_Bool bEd = sal_False); //add for SwInsFootNoteDlg
     516             :     virtual VclAbstractDialog *         CreateTitlePageDlg ( Window * pParent );
     517             :     virtual VclAbstractDialog *         CreateVclSwViewDialog(SwView& rView); //add for SwInsRowColDlg, SwLineNumberingDlg
     518             :     virtual AbstractInsTableDlg*        CreateInsTableDlg(SwView& rView); //add for SwInsTableDlg
     519             :     virtual AbstractJavaEditDialog*     CreateJavaEditDialog(Window* pParent,
     520             :         SwWrtShell* pWrtSh); //add for SwJavaEditDialog
     521             :     virtual AbstractMailMergeDlg*       CreateMailMergeDlg( int nResId,
     522             :                                                 Window* pParent, SwWrtShell& rSh,
     523             :                                                  const String& rSourceName,
     524             :                                                 const String& rTblName,
     525             :                                                 sal_Int32 nCommandType,
     526             :                                                 const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& xConnection,
     527             :                                                 ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >* pSelection = 0 ); //add for SwMailMergeDlg
     528             :     virtual AbstractMailMergeCreateFromDlg*     CreateMailMergeCreateFromDlg( int nResId,
     529             :                                                     Window* pParent ); //add for SwMailMergeCreateFromDlg
     530             :     virtual AbstractMailMergeFieldConnectionsDlg*       CreateMailMergeFieldConnectionsDlg( int nResId,
     531             :                                                             Window* pParent ); //add for SwMailMergeFieldConnectionsDlg
     532             :     virtual VclAbstractDialog*          CreateMultiTOXMarkDlg( int nResId,
     533             :                                                 Window* pParent, SwTOXMgr &rTOXMgr ); //add for SwMultiTOXMarkDlg
     534             :     virtual SfxAbstractTabDialog*       CreateSwTabDialog( int nResId,
     535             :                                                 Window* pParent,
     536             :                                                 const SfxItemSet* pSwItemSet,
     537             :                                                 SwWrtShell &); //add for SwSvxNumBulletTabDialog, SwOutlineTabDialog
     538             :     virtual AbstractMultiTOXTabDialog*      CreateMultiTOXTabDialog( int nResId,
     539             :                                                 Window* pParent, const SfxItemSet& rSet,
     540             :                                                 SwWrtShell &rShell,
     541             :                                                 SwTOXBase* pCurTOX, sal_uInt16 nToxType = USHRT_MAX,
     542             :                                                 sal_Bool bGlobal = sal_False); //add for SwMultiTOXTabDialog
     543             :     virtual AbstractEditRegionDlg*      CreateEditRegionDlg( int nResId,
     544             :                                                 Window* pParent, SwWrtShell& rWrtSh ); //add for SwEditRegionDlg
     545             :     virtual AbstractInsertSectionTabDialog*     CreateInsertSectionTabDialog( int nResId,
     546             :                                                     Window* pParent, const SfxItemSet& rSet, SwWrtShell& rSh); //add for SwInsertSectionTabDialog
     547             :     virtual AbstractMarkFloatDlg*       CreateIndexMarkFloatDlg(
     548             :                                                     SfxBindings* pBindings,
     549             :                                                        SfxChildWindow* pChild,
     550             :                                                        Window *pParent,
     551             :                                                     SfxChildWinInfo* pInfo,
     552             :                                                        sal_Bool bNew=sal_True); //add for SwIndexMarkFloatDlg
     553             :     virtual AbstractMarkFloatDlg*       CreateAuthMarkFloatDlg(
     554             :                                                     SfxBindings* pBindings,
     555             :                                                        SfxChildWindow* pChild,
     556             :                                                        Window *pParent,
     557             :                                                     SfxChildWinInfo* pInfo,
     558             :                                                        sal_Bool bNew=sal_True); //add for SwAuthMarkFloatDlg
     559             :     virtual VclAbstractDialog *         CreateIndexMarkModalDlg(
     560             :                                                 Window *pParent, SwWrtShell& rSh, SwTOXMark* pCurTOXMark ); //add for SwIndexMarkModalDlg
     561             : 
     562             :     virtual AbstractMailMergeWizard*    CreateMailMergeWizard(SwView& rView, SwMailMergeConfigItem& rConfigItem);
     563             : 
     564             :     //add for static func in SwGlossaryDlg
     565             :     virtual GlossaryGetCurrGroup        GetGlossaryCurrGroupFunc( sal_uInt16 nId );
     566             :     virtual GlossarySetActGroup         SetGlossaryActGroupFunc( sal_uInt16 nId );
     567             : 
     568             :     // For TabPage
     569             :     virtual CreateTabPage               GetTabPageCreatorFunc( sal_uInt16 nId );
     570             : 
     571             :     virtual GetTabPageRanges            GetTabPageRangesFunc( sal_uInt16 nId );
     572             : 
     573             : };
     574             : 
     575             : #endif
     576             : 
     577             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10