LCOV - code coverage report
Current view: top level - usr/local/src/libreoffice/sw/source/ui/dialog - swdlgfact.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 39 0.0 %
Date: 2013-07-09 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 SfxNoLayoutSingleTabDialog;
      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 SfxNoLayoutSingleTabDialog;
      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 OUString& rStr );
      94             :     virtual OUString    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 void                SetCurPageId( const OString &rName );
     137             :     virtual const SfxItemSet*   GetOutputItemSet() const;
     138             :     virtual const sal_uInt16*       GetInputRanges( const SfxItemPool& pItem );
     139             :     virtual void                SetInputSet( const SfxItemSet* pInSet );
     140             :         //From class Window.
     141             :     virtual void        SetText( const OUString& rStr );
     142             :     virtual OUString    GetText() const;
     143             : };
     144             : //add for SwCharDlg, SwEnvDlg ,SwFootNoteOptionDlg SwParaDlg  SwTableTabDlg end
     145             : 
     146           0 : class AbstractApplyTabDialog_Impl : public AbstractTabDialog_Impl, virtual public SfxAbstractApplyTabDialog
     147             : {
     148             : public:
     149           0 :     AbstractApplyTabDialog_Impl( SfxTabDialog* p)
     150           0 :         : AbstractTabDialog_Impl(p)
     151             :     {
     152           0 :     }
     153             :     DECL_LINK(ApplyHdl, void*);
     154             : private:
     155             :     Link m_aHandler;
     156             :     virtual void                SetApplyHdl( const Link& rLink );
     157             : };
     158             : 
     159             : //add for SwConvertTableDlg begin
     160             : class AbstractSwConvertTableDlg_Impl :  public AbstractSwConvertTableDlg // add for SwConvertTableDlg
     161             : {
     162           0 :     DECL_ABSTDLG_BASE( AbstractSwConvertTableDlg_Impl,SwConvertTableDlg)
     163             :     virtual void GetValues( sal_Unicode& rDelim,SwInsertTableOptions& rInsTblFlags,
     164             :                     SwTableAutoFmt const*& prTAFmt);
     165             : };
     166             : //add for SwConvertTableDlg end
     167             : 
     168             : //add for SwInsertDBColAutoPilot begin
     169             : class AbstractSwInsertDBColAutoPilot_Impl :  public AbstractSwInsertDBColAutoPilot // add for SwInsertDBColAutoPilot
     170             : {
     171           0 :     DECL_ABSTDLG_BASE( AbstractSwInsertDBColAutoPilot_Impl,SwInsertDBColAutoPilot)
     172             :     virtual void DataToDoc( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& rSelection,
     173             :         ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDataSource> rxSource,
     174             :         ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection> xConnection,
     175             :         ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > xResultSet);
     176             : };
     177             : //add for SwInsertDBColAutoPilot end
     178             : 
     179             : //add for DropDownFieldDialog begin
     180             : class AbstractDropDownFieldDialog_Impl : public AbstractDropDownFieldDialog //add for DropDownFieldDialog
     181             : {
     182           0 :     DECL_ABSTDLG_BASE(AbstractDropDownFieldDialog_Impl, sw::DropDownFieldDialog)
     183             :     virtual OString GetWindowState( sal_uLong nMask = WINDOWSTATE_MASK_ALL ) const; //this method inherit from SystemWindow
     184             :     virtual void         SetWindowState( const OString& rStr );//this method inherit from SystemWindow
     185             : };
     186             : //add for DropDownFieldDialog end
     187             : 
     188             : 
     189             : class AbstractSwLabDlg_Impl  : public AbstractSwLabDlg
     190             : {
     191           0 :     DECL_ABSTDLG_BASE(AbstractSwLabDlg_Impl,SwLabDlg)
     192             :     virtual void                SetCurPageId( sal_uInt16 nId );
     193             :     virtual void                SetCurPageId( const OString &rName );
     194             :     virtual const SfxItemSet*   GetOutputItemSet() const;
     195             :     virtual const sal_uInt16*       GetInputRanges( const SfxItemPool& pItem );
     196             :     virtual void                SetInputSet( const SfxItemSet* pInSet );
     197             :         //From class Window.
     198             :     virtual void        SetText( const OUString& rStr );
     199             :     virtual OUString    GetText() const;
     200             :      virtual const String& GetBusinessCardStr() const;
     201             :      virtual Printer *GetPrt();
     202             : };
     203             : //add for SwLabDlg end
     204             : 
     205             : //add for SwSelGlossaryDlg begin
     206             : class AbstractSwSelGlossaryDlg_Impl : public AbstractSwSelGlossaryDlg
     207             : {
     208           0 :     DECL_ABSTDLG_BASE(AbstractSwSelGlossaryDlg_Impl,SwSelGlossaryDlg)
     209             :     virtual void InsertGlos(const String &rRegion, const String &rGlosName);    // inline
     210             :     virtual sal_uInt16 GetSelectedIdx() const;  // inline
     211             :     virtual void SelectEntryPos(sal_uInt16 nIdx);   // inline
     212             : };
     213             : //add for SwSelGlossaryDlg end
     214             : 
     215             : //add for SwAutoFormatDlg begin
     216             : class AbstractSwAutoFormatDlg_Impl : public AbstractSwAutoFormatDlg
     217             : {
     218           0 :     DECL_ABSTDLG_BASE(AbstractSwAutoFormatDlg_Impl,SwAutoFormatDlg )
     219             :     virtual void FillAutoFmtOfIndex( SwTableAutoFmt*& rToFill ) const;
     220             : };
     221             : //add for SwAutoFormatDlg end
     222             : 
     223             : //add for SwFldDlg begin
     224             : 
     225             : class AbstractSwFldDlg_Impl : public AbstractSwFldDlg //add for SwFldDlg
     226             : {
     227           0 :     DECL_ABSTDLG_BASE(AbstractSwFldDlg_Impl,SwFldDlg )
     228             :     virtual void                SetCurPageId( sal_uInt16 nId );
     229             :     virtual void                SetCurPageId( const OString &rName );
     230             :     virtual const SfxItemSet*   GetOutputItemSet() const;
     231             :     virtual const sal_uInt16*       GetInputRanges( const SfxItemPool& pItem );
     232             :     virtual void                SetInputSet( const SfxItemSet* pInSet );
     233             :         //From class Window.
     234             :     virtual void        SetText( const OUString& rStr );
     235             :     virtual OUString    GetText() const;
     236             :     virtual void                Start( sal_Bool bShow = sal_True );  //this method from SfxTabDialog
     237             :     virtual void                ShowPage( sal_uInt16 nId );// this method from SfxTabDialog
     238             :     virtual void                Initialize(SfxChildWinInfo *pInfo);
     239             :     virtual void                ReInitDlg();
     240             :     virtual void                ActivateDatabasePage();
     241             :     virtual Window *            GetWindow(); //this method is added for return a Window type pointer
     242             : };
     243             : //add for SwFldD end
     244             : 
     245             : //add for SwRenameXNamedDlg begin
     246             : class AbstractSwRenameXNamedDlg_Impl : public AbstractSwRenameXNamedDlg
     247             : {
     248           0 :     DECL_ABSTDLG_BASE(AbstractSwRenameXNamedDlg_Impl,SwRenameXNamedDlg )
     249             :     virtual void    SetForbiddenChars( const String& rSet );
     250             :     virtual void SetAlternativeAccess(
     251             :              ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > & xSecond,
     252             :              ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > & xThird );
     253             : };
     254             : //add for SwRenameXNamedDlg end
     255             : //add for SwModalRedlineAcceptDlg begin
     256             : class AbstractSwModalRedlineAcceptDlg_Impl : public AbstractSwModalRedlineAcceptDlg
     257             : {
     258           0 :     DECL_ABSTDLG_BASE(AbstractSwModalRedlineAcceptDlg_Impl,SwModalRedlineAcceptDlg )
     259             :     virtual void            AcceptAll( sal_Bool bAccept );
     260             : };
     261             : //add for SwModalRedlineAcceptDlg end
     262             : 
     263             : //for SwGlossaryDlg begin
     264             : class SwGlossaryDlg;
     265             : class AbstractGlossaryDlg_Impl : public AbstractGlossaryDlg
     266             : {
     267           0 :     DECL_ABSTDLG_BASE(AbstractGlossaryDlg_Impl,SwGlossaryDlg)
     268             :     virtual String          GetCurrGrpName() const;
     269             :     virtual String          GetCurrShortName() const;
     270             : };
     271             : //for SwGlossaryDlg end
     272             : 
     273             : //for SwFldInputDlg begin
     274             : class SwFldInputDlg;
     275             : class AbstractFldInputDlg_Impl : public AbstractFldInputDlg
     276             : {
     277           0 :     DECL_ABSTDLG_BASE(AbstractFldInputDlg_Impl,SwFldInputDlg)
     278             :     //from class SalFrame
     279             :     virtual void         SetWindowState( const OString & rStr ) ;
     280             :     virtual OString GetWindowState( sal_uLong nMask = WINDOWSTATE_MASK_ALL ) const ;
     281             : };
     282             : //for SwFldInputDlg end
     283             : 
     284             : //for SwInsFootNoteDlg begin
     285             : class SwInsFootNoteDlg;
     286             : class AbstractInsFootNoteDlg_Impl : public AbstractInsFootNoteDlg
     287             : {
     288           0 :     DECL_ABSTDLG_BASE(AbstractInsFootNoteDlg_Impl,SwInsFootNoteDlg)
     289             :     virtual String          GetFontName();
     290             :     virtual sal_Bool            IsEndNote();
     291             :     virtual String          GetStr();
     292             :     //from class Window
     293             :     virtual void    SetHelpId( const OString& sHelpId );
     294             :     virtual void    SetText( const OUString& rStr );
     295             : };
     296             : //for SwInsFootNoteDlg end
     297             : 
     298             : //for SwInsTableDlg begin
     299             : class SwInsTableDlg;
     300             : class AbstractInsTableDlg_Impl : public AbstractInsTableDlg
     301             : {
     302           0 :     DECL_ABSTDLG_BASE(AbstractInsTableDlg_Impl,SwInsTableDlg)
     303             :     virtual void            GetValues( String& rName, sal_uInt16& rRow, sal_uInt16& rCol,
     304             :                                 SwInsertTableOptions& rInsTblFlags, String& rTableAutoFmtName,
     305             :                                 SwTableAutoFmt *& prTAFmt );
     306             : };
     307             : //for SwInsTableDlg end
     308             : 
     309             : //for SwJavaEditDialog begin
     310             : class SwJavaEditDialog;
     311             : class AbstractJavaEditDialog_Impl : public AbstractJavaEditDialog
     312             : {
     313           0 :     DECL_ABSTDLG_BASE(AbstractJavaEditDialog_Impl,SwJavaEditDialog)
     314             :     virtual OUString                GetText();
     315             :     virtual String              GetType();
     316             :     virtual sal_Bool                IsUrl();
     317             :     virtual sal_Bool                IsNew();
     318             :     virtual bool                IsUpdate();
     319             : };
     320             : //for SwJavaEditDialog end
     321             : 
     322             : //for SwMailMergeDlg begin
     323             : class SwMailMergeDlg;
     324             : class AbstractMailMergeDlg_Impl : public AbstractMailMergeDlg
     325             : {
     326           0 :     DECL_ABSTDLG_BASE(AbstractMailMergeDlg_Impl,SwMailMergeDlg)
     327             :     virtual sal_uInt16  GetMergeType() ;
     328             :     virtual const OUString& GetSaveFilter() const;
     329             :     virtual const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > GetSelection() const ;
     330             :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet> GetResultSet() const;
     331             :     virtual bool IsSaveIndividualDocs() const;
     332             :     virtual bool IsGenerateFromDataBase() const;
     333             :     virtual String GetColumnName() const;
     334             :     virtual String GetPath() const;
     335             : };
     336             : //for SwMailMergeDlg end
     337             : //for SwMailMergeCreateFromDlg begin
     338             : class SwMailMergeCreateFromDlg;
     339             : class AbstractMailMergeCreateFromDlg_Impl : public AbstractMailMergeCreateFromDlg
     340             : {
     341           0 :     DECL_ABSTDLG_BASE(AbstractMailMergeCreateFromDlg_Impl,SwMailMergeCreateFromDlg)
     342             :     virtual sal_Bool    IsThisDocument() const ;
     343             : };
     344             : //for SwMailMergeCreateFromDlg end
     345             : //for SwMailMergeFieldConnectionsDlg begin
     346             : class SwMailMergeFieldConnectionsDlg;
     347             : class AbstractMailMergeFieldConnectionsDlg_Impl : public AbstractMailMergeFieldConnectionsDlg
     348             : {
     349           0 :     DECL_ABSTDLG_BASE(AbstractMailMergeFieldConnectionsDlg_Impl,SwMailMergeFieldConnectionsDlg)
     350             :     virtual sal_Bool    IsUseExistingConnections() const ;
     351             : };
     352             : //for SwMailMergeFieldConnectionsDlg end
     353             : 
     354             : //for SwMultiTOXTabDialog begin
     355             : class SwMultiTOXTabDialog;
     356             : class AbstractMultiTOXTabDialog_Impl : public AbstractMultiTOXTabDialog
     357             : {
     358           0 :     DECL_ABSTDLG_BASE(AbstractMultiTOXTabDialog_Impl,SwMultiTOXTabDialog)
     359             :     virtual SwForm*             GetForm(CurTOXType eType);
     360             :     virtual CurTOXType          GetCurrentTOXType() const ;
     361             :     virtual SwTOXDescription&   GetTOXDescription(CurTOXType eTOXTypes);
     362             :     //from SfxTabDialog
     363             :     virtual const SfxItemSet*   GetOutputItemSet() const;
     364             : };
     365             : //for SwMultiTOXTabDialog end
     366             : 
     367             : //for SwEditRegionDlg begin
     368             : class SwEditRegionDlg;
     369             : class AbstractEditRegionDlg_Impl : public AbstractEditRegionDlg
     370             : {
     371           0 :     DECL_ABSTDLG_BASE(AbstractEditRegionDlg_Impl,SwEditRegionDlg)
     372             :     virtual void    SelectSection(const String& rSectionName);
     373             : };
     374             : //for SwEditRegionDlg end
     375             : //for SwInsertSectionTabDialog begin
     376             : class SwInsertSectionTabDialog;
     377             : class AbstractInsertSectionTabDialog_Impl : public AbstractInsertSectionTabDialog
     378             : {
     379           0 :     DECL_ABSTDLG_BASE(AbstractInsertSectionTabDialog_Impl,SwInsertSectionTabDialog)
     380             :     virtual void        SetSectionData(SwSectionData const& rSect);
     381             : };
     382             : //for SwInsertSectionTabDialog end
     383             : 
     384             : //for SwIndexMarkFloatDlg begin
     385             : class SwIndexMarkFloatDlg;
     386             : class AbstractIndexMarkFloatDlg_Impl : public AbstractMarkFloatDlg
     387             : {
     388           0 :     DECL_ABSTDLG_BASE(AbstractIndexMarkFloatDlg_Impl,SwIndexMarkFloatDlg)
     389             :     virtual void    ReInitDlg(SwWrtShell& rWrtShell);
     390             :     virtual Window *            GetWindow(); //this method is added for return a Window type pointer
     391             : };
     392             : //for SwIndexMarkFloatDlg end
     393             : 
     394             : //for SwAuthMarkFloatDlg begin
     395             : class SwAuthMarkFloatDlg;
     396             : class AbstractAuthMarkFloatDlg_Impl : public AbstractMarkFloatDlg
     397             : {
     398           0 :     DECL_ABSTDLG_BASE(AbstractAuthMarkFloatDlg_Impl,SwAuthMarkFloatDlg)
     399             :     virtual void    ReInitDlg(SwWrtShell& rWrtShell);
     400             :     virtual Window *            GetWindow(); //this method is added for return a Window type pointer
     401             : };
     402             : //for SwAuthMarkFloatDlg end
     403             : 
     404             : class SwMailMergeWizard;
     405             : class AbstractMailMergeWizard_Impl : public AbstractMailMergeWizard
     406             : {
     407             :     SwMailMergeWizard* pDlg;
     408             :     Link               aEndDlgHdl;
     409             : 
     410             :     DECL_LINK( EndDialogHdl, SwMailMergeWizard* );
     411             : public:
     412           0 :                     AbstractMailMergeWizard_Impl( SwMailMergeWizard* p )
     413           0 :                      : pDlg(p)
     414           0 :                      {}
     415             :     virtual         ~AbstractMailMergeWizard_Impl();
     416             :     virtual void    StartExecuteModal( const Link& rEndDialogHdl );
     417             :     virtual long    GetResult();
     418             : 
     419             :     virtual void                SetReloadDocument(const String& rURL);
     420             :     virtual const String&       GetReloadDocument() const;
     421             :     virtual sal_Bool                ShowPage( sal_uInt16 nLevel );
     422             :     virtual sal_uInt16          GetRestartPage() const;
     423             : };
     424             : 
     425             : //------------------------------------------------------------------------
     426             : //AbstractDialogFactory_Impl implementations
     427           0 : class SwAbstractDialogFactory_Impl : public SwAbstractDialogFactory
     428             : {
     429             : 
     430             : public:
     431           0 :     virtual ~SwAbstractDialogFactory_Impl() {}
     432             : 
     433             :     virtual SfxAbstractDialog*              CreateSfxDialog( Window* pParent, //add for SvxMeasureDialog & SvxConnectionDialog
     434             :                                                                         const SfxItemSet& rAttr,
     435             :                                     const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _rxFrame,
     436             :                                                                         sal_uInt32 nResId
     437             :                                                                         );
     438             :     virtual AbstractSwWordCountFloatDlg* CreateSwWordCountDialog(SfxBindings* pBindings,
     439             :         SfxChildWindow* pChild, Window *pParent, SfxChildWinInfo* pInfo);
     440             :     virtual AbstractSwInsertAbstractDlg * CreateSwInsertAbstractDlg(Window* pParent);
     441             :     virtual AbstractSwAsciiFilterDlg*  CreateSwAsciiFilterDlg ( Window* pParent, SwDocShell& rDocSh,
     442             :                                                                 SvStream* pStream ); //add for SwAsciiFilterDlg
     443             :     virtual VclAbstractDialog * CreateSwInsertBookmarkDlg( Window *pParent, SwWrtShell &rSh, SfxRequest& rReq, int nResId );//add for SwInsertBookmarkDlg
     444             :     virtual AbstractSwBreakDlg * CreateSwBreakDlg(Window *pParent, SwWrtShell &rSh); // add for SwBreakDlg
     445             :     virtual VclAbstractDialog   * CreateSwChangeDBDlg(SwView& rVw); //add for SwChangeDBDlg
     446             :     virtual SfxAbstractTabDialog *  CreateSwCharDlg(Window* pParent, SwView& pVw, const SfxItemSet& rCoreSet,
     447             :         const String* pFmtStr = 0, sal_Bool bIsDrwTxtDlg = sal_False); // add for SwCharDlg
     448             :     virtual AbstractSwConvertTableDlg* CreateSwConvertTableDlg(SwView& rView, bool bToTable); //add for SwConvertTableDlg
     449             :     virtual VclAbstractDialog * CreateSwCaptionDialog ( Window *pParent, SwView &rV,int nResId); //add for SwCaptionDialog
     450             : 
     451             :     virtual AbstractSwInsertDBColAutoPilot* CreateSwInsertDBColAutoPilot( SwView& rView, // add for SwInsertDBColAutoPilot
     452             :         ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDataSource> rxSource,
     453             :         com::sun::star::uno::Reference<com::sun::star::sdbcx::XColumnsSupplier> xColSupp,
     454             :         const SwDBData& rData,  int nResId);
     455             :     virtual SfxAbstractTabDialog * CreateSwFootNoteOptionDlg(Window *pParent, SwWrtShell &rSh);//add for  SwFootNoteOptionDlg
     456             : 
     457             :     //add for DropDownFieldDialog
     458             :     virtual AbstractDropDownFieldDialog * CreateDropDownFieldDialog (Window *pParent, SwWrtShell &rSh,
     459             :         SwField* pField, sal_Bool bNextButton = sal_False);
     460             :     virtual SfxAbstractTabDialog* CreateSwEnvDlg ( Window* pParent, const SfxItemSet& rSet, SwWrtShell* pWrtSh, Printer* pPrt, sal_Bool bInsert,int nResId ); //add for SwEnvDlg
     461             :     virtual AbstractSwLabDlg* CreateSwLabDlg ( Window* pParent, const SfxItemSet& rSet, //add for SwLabDlg
     462             :                                                      SwNewDBMgr* pNewDBMgr, sal_Bool bLabel,int nResId  );
     463             : 
     464             :     virtual SwLabDlgMethod GetSwLabDlgStaticMethod (); //add for SwLabDlg
     465             :     virtual SfxAbstractTabDialog* CreateSwParaDlg ( Window *pParent, //add for SwParaDlg
     466             :                                                     SwView& rVw,
     467             :                                                     const SfxItemSet& rCoreSet,
     468             :                                                     sal_uInt8 nDialogMode,
     469             :                                                     int nResId,
     470             :                                                     const String *pCollName = 0,
     471             :                                                     sal_Bool bDraw = sal_False,
     472             :                                                     sal_uInt16 nDefPage = 0);
     473             : 
     474             :     virtual AbstractSwSelGlossaryDlg * CreateSwSelGlossaryDlg ( Window * pParent, const String &rShortName, int nResId ); //add for SwSelGlossaryDlg
     475             :     virtual VclAbstractDialog * CreateVclAbstractDialog ( Window * pParent, SwWrtShell &rSh, int nResId ); //add for  SwTableHeightDlg SwSortDlg
     476             :     virtual AbstractSplitTableDialog * CreateSplitTblDialog ( Window * pParent, SwWrtShell &rSh ); //add for  SwSplitTblDlg
     477             : 
     478             :     virtual AbstractSwAutoFormatDlg * CreateSwAutoFormatDlg( Window* pParent, SwWrtShell* pShell, //add for SwAutoFormatDlg
     479             :                                                             sal_Bool bSetAutoFmt = sal_True,
     480             :                                                             const SwTableAutoFmt* pSelFmt = 0 );
     481             :     virtual SfxAbstractDialog * CreateSwBorderDlg (Window* pParent, SfxItemSet& rSet, sal_uInt16 nType,int nResId );//add for SwBorderDlg
     482             : 
     483             :     virtual SfxAbstractDialog * CreateSwWrapDlg ( Window* pParent, SfxItemSet& rSet, SwWrtShell* pSh, sal_Bool bDrawMode, int nResId ); //add for SwWrapDlg
     484             :     virtual VclAbstractDialog * CreateSwTableWidthDlg(Window *pParent, SwTableFUNC &rFnc);
     485             :     virtual SfxAbstractTabDialog* CreateSwTableTabDlg(Window* pParent, SfxItemPool& Pool,
     486             :         const SfxItemSet* pItemSet, SwWrtShell* pSh); //add for SwTableTabDlg
     487             :     virtual AbstractSwFldDlg * CreateSwFldDlg ( SfxBindings* pB, SwChildWinWrapper* pCW, Window *pParent, int nResId ); //add for SwFldDlg
     488             :     virtual SfxAbstractDialog*   CreateSwFldEditDlg ( SwView& rVw, int nResId ); //add for SwFldEditDlg
     489             :     virtual AbstractSwRenameXNamedDlg * CreateSwRenameXNamedDlg(Window* pParent, //add for SwRenameXNamedDlg
     490             :         ::com::sun::star::uno::Reference< ::com::sun::star::container::XNamed > & xNamed,
     491             :         ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > & xNameAccess);
     492             :     virtual AbstractSwModalRedlineAcceptDlg * CreateSwModalRedlineAcceptDlg(Window *pParent); //add for SwModalRedlineAcceptDlg
     493             : 
     494             :     virtual VclAbstractDialog*          CreateTblMergeDialog(Window* pParent, sal_Bool& rWithPrev); //add for SwMergeTblDlg
     495             :     virtual SfxAbstractTabDialog*       CreateFrmTabDialog( int nResId,
     496             :                                                 SfxViewFrame *pFrame, Window *pParent,
     497             :                                                 const SfxItemSet& rCoreSet,
     498             :                                                 sal_Bool            bNewFrm  = sal_True,
     499             :                                                 sal_uInt16          nResType = DLG_FRM_STD,
     500             :                                                 sal_Bool            bFmt     = sal_False,
     501             :                                                 sal_uInt16          nDefPage = 0,
     502             :                                                 const String*   pFmtStr  = 0); //add for SwFrmDlg
     503             :     virtual SfxAbstractApplyTabDialog*  CreateTemplateDialog(
     504             :                                                 Window*             pParent,
     505             :                                                 SfxStyleSheetBase&  rBase,
     506             :                                                 sal_uInt16              nRegion,
     507             :                                                 const sal_uInt16 nSlot = 0,
     508             :                                                 SwWrtShell*         pActShell = 0,
     509             :                                                 sal_Bool                bNew = sal_False ); //add for SwTemplateDlg
     510             :     virtual AbstractGlossaryDlg*        CreateGlossaryDlg(SfxViewFrame* pViewFrame,
     511             :                                                 SwGlossaryHdl* pGlosHdl,
     512             :                                                 SwWrtShell *pWrtShell); //add for SwGlossaryDlg
     513             :     virtual AbstractFldInputDlg*        CreateFldInputDlg(Window *pParent,
     514             :         SwWrtShell &rSh, SwField* pField, bool bNextButton = false); //add for SwFldInputDlg
     515             :     virtual AbstractInsFootNoteDlg*     CreateInsFootNoteDlg(
     516             :         Window * pParent, SwWrtShell &rSh, sal_Bool bEd = sal_False); //add for SwInsFootNoteDlg
     517             :     virtual VclAbstractDialog *         CreateTitlePageDlg ( Window * pParent );
     518             :     virtual VclAbstractDialog *         CreateVclSwViewDialog(SwView& rView); //add for SwInsRowColDlg, SwLineNumberingDlg
     519             :     virtual AbstractInsTableDlg*        CreateInsTableDlg(SwView& rView); //add for SwInsTableDlg
     520             :     virtual AbstractJavaEditDialog*     CreateJavaEditDialog(Window* pParent,
     521             :         SwWrtShell* pWrtSh); //add for SwJavaEditDialog
     522             :     virtual AbstractMailMergeDlg*       CreateMailMergeDlg( int nResId,
     523             :                                                 Window* pParent, SwWrtShell& rSh,
     524             :                                                  const String& rSourceName,
     525             :                                                 const String& rTblName,
     526             :                                                 sal_Int32 nCommandType,
     527             :                                                 const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& xConnection,
     528             :                                                 ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >* pSelection = 0 ); //add for SwMailMergeDlg
     529             :     virtual AbstractMailMergeCreateFromDlg*     CreateMailMergeCreateFromDlg(Window* pParent);
     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(Window* pParent, SwWrtShell& rWrtSh); //add for SwEditRegionDlg
     544             :     virtual AbstractInsertSectionTabDialog*     CreateInsertSectionTabDialog( int nResId,
     545             :                                                     Window* pParent, const SfxItemSet& rSet, SwWrtShell& rSh); //add for SwInsertSectionTabDialog
     546             :     virtual AbstractMarkFloatDlg*       CreateIndexMarkFloatDlg(
     547             :                                                     SfxBindings* pBindings,
     548             :                                                        SfxChildWindow* pChild,
     549             :                                                        Window *pParent,
     550             :                                                     SfxChildWinInfo* pInfo,
     551             :                                                        sal_Bool bNew=sal_True); //add for SwIndexMarkFloatDlg
     552             :     virtual AbstractMarkFloatDlg*       CreateAuthMarkFloatDlg(
     553             :                                                     SfxBindings* pBindings,
     554             :                                                        SfxChildWindow* pChild,
     555             :                                                        Window *pParent,
     556             :                                                     SfxChildWinInfo* pInfo,
     557             :                                                        sal_Bool bNew=sal_True); //add for SwAuthMarkFloatDlg
     558             :     virtual VclAbstractDialog *         CreateIndexMarkModalDlg(
     559             :                                                 Window *pParent, SwWrtShell& rSh, SwTOXMark* pCurTOXMark ); //add for SwIndexMarkModalDlg
     560             : 
     561             :     virtual AbstractMailMergeWizard*    CreateMailMergeWizard(SwView& rView, SwMailMergeConfigItem& rConfigItem);
     562             : 
     563             :     //add for static func in SwGlossaryDlg
     564             :     virtual GlossaryGetCurrGroup        GetGlossaryCurrGroupFunc();
     565             :     virtual GlossarySetActGroup         SetGlossaryActGroupFunc();
     566             : 
     567             :     // For TabPage
     568             :     virtual CreateTabPage               GetTabPageCreatorFunc( sal_uInt16 nId );
     569             : 
     570             :     virtual GetTabPageRanges            GetTabPageRangesFunc( sal_uInt16 nId );
     571             : 
     572             : };
     573             : 
     574             : #endif
     575             : 
     576             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10