LCOV - code coverage report
Current view: top level - sw/source/ui/dialog - swdlgfact.cxx (source / functions) Hit Total Coverage
Test: commit 0e63ca4fde4e446f346e35849c756a30ca294aab Lines: 0 535 0.0 %
Date: 2014-04-11 Functions: 0 253 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             : 
      20             : #include "swdlgfact.hxx"
      21             : #include <svl/style.hxx>
      22             : #include <svx/svxids.hrc>
      23             : #include "dialog.hrc"
      24             : #include "misc.hrc"
      25             : #include "chrdlg.hrc"
      26             : #include "table.hrc"
      27             : #include "frmui.hrc"
      28             : #include "dbui.hrc"
      29             : #include "globals.hrc"
      30             : #include "fldui.hrc"
      31             : #include "envelp.hrc"
      32             : #include "dochdl.hrc"
      33             : #include <index.hrc>
      34             : #include <../../core/uibase/dialog/regionsw.hrc>
      35             : 
      36             : #include <wordcountdialog.hxx>
      37             : #include "abstract.hxx"
      38             : #include "addrdlg.hxx"
      39             : #include "ascfldlg.hxx"
      40             : #include "bookmark.hxx"
      41             : #include "break.hxx"
      42             : #include "changedb.hxx"
      43             : #include "chrdlg.hxx"
      44             : #include "convert.hxx"
      45             : #include "cption.hxx"
      46             : #include "dbinsdlg.hxx"
      47             : #include "docfnote.hxx"
      48             : #include "docstdlg.hxx"
      49             : #include "DropDownFieldDialog.hxx"
      50             : #include "envlop.hxx"
      51             : #include "label.hxx"
      52             : #include "drpcps.hxx"
      53             : #include "swuipardlg.hxx"
      54             : #include "pattern.hxx"
      55             : #include "rowht.hxx"
      56             : #include "selglos.hxx"
      57             : #include "splittbl.hxx"
      58             : #include "srtdlg.hxx"
      59             : #include "tautofmt.hxx"
      60             : #include "tblnumfm.hxx"
      61             : #include "wrap.hxx"
      62             : #include "colwd.hxx"
      63             : #include "tabledlg.hxx"
      64             : #include "fldtdlg.hxx"
      65             : #include "fldedt.hxx"
      66             : #include "swrenamexnameddlg.hxx"
      67             : #include "swmodalredlineacceptdlg.hxx"
      68             : #include <frmdlg.hxx>
      69             : #include <tmpdlg.hxx>
      70             : #include <glossary.hxx>
      71             : #include <inpdlg.hxx>
      72             : #include <insfnote.hxx>
      73             : #include <instable.hxx>
      74             : #include <javaedit.hxx>
      75             : #include <linenum.hxx>
      76             : #include <titlepage.hxx>
      77             : #include <mailmrge.hxx>
      78             : #include <mergetbl.hxx>
      79             : #include <multmrk.hxx>
      80             : #include <num.hxx>
      81             : #include <outline.hxx>
      82             : #include <column.hxx>
      83             : #include <cnttab.hxx>
      84             : #include <swuicnttab.hxx>
      85             : #include <regionsw.hxx>
      86             : #include <optcomp.hxx>
      87             : #include <optload.hxx>
      88             : #include <optpage.hxx>
      89             : #include <swuiidxmrk.hxx>
      90             : #include <svx/dialogs.hrc>
      91             : #include <mailmergewizard.hxx>
      92             : #include <mailconfigpage.hxx>
      93             : #include <uiborder.hxx>
      94             : 
      95             : using namespace ::com::sun::star;
      96             : 
      97           0 : IMPL_ABSTDLG_BASE(AbstractSwWordCountFloatDlg_Impl);
      98           0 : IMPL_ABSTDLG_BASE(AbstractSwInsertAbstractDlg_Impl);
      99           0 : IMPL_ABSTDLG_BASE(SwAbstractSfxDialog_Impl);
     100           0 : IMPL_ABSTDLG_BASE(AbstractSwAsciiFilterDlg_Impl);
     101           0 : IMPL_ABSTDLG_BASE(VclAbstractDialog_Impl);
     102           0 : IMPL_ABSTDLG_BASE(AbstractSplitTableDialog_Impl);
     103           0 : IMPL_ABSTDLG_BASE(AbstractSwBreakDlg_Impl);
     104           0 : IMPL_ABSTDLG_BASE(AbstractTabDialog_Impl);
     105           0 : IMPL_ABSTDLG_BASE(AbstractSwConvertTableDlg_Impl);
     106           0 : IMPL_ABSTDLG_BASE(AbstractSwInsertDBColAutoPilot_Impl);
     107           0 : IMPL_ABSTDLG_BASE(AbstractDropDownFieldDialog_Impl);
     108           0 : IMPL_ABSTDLG_BASE(AbstractSwLabDlg_Impl);
     109           0 : IMPL_ABSTDLG_BASE(AbstractSwSelGlossaryDlg_Impl);
     110           0 : IMPL_ABSTDLG_BASE(AbstractSwAutoFormatDlg_Impl);
     111           0 : IMPL_ABSTDLG_BASE(AbstractSwFldDlg_Impl);
     112           0 : IMPL_ABSTDLG_BASE(AbstractSwRenameXNamedDlg_Impl);
     113           0 : IMPL_ABSTDLG_BASE(AbstractSwModalRedlineAcceptDlg_Impl);
     114           0 : IMPL_ABSTDLG_BASE(AbstractGlossaryDlg_Impl);
     115           0 : IMPL_ABSTDLG_BASE(AbstractFldInputDlg_Impl);
     116           0 : IMPL_ABSTDLG_BASE(AbstractInsFootNoteDlg_Impl);
     117           0 : IMPL_ABSTDLG_BASE(AbstractInsTableDlg_Impl);
     118           0 : IMPL_ABSTDLG_BASE(AbstractJavaEditDialog_Impl);
     119           0 : IMPL_ABSTDLG_BASE(AbstractMailMergeDlg_Impl);
     120           0 : IMPL_ABSTDLG_BASE(AbstractMailMergeCreateFromDlg_Impl);
     121           0 : IMPL_ABSTDLG_BASE(AbstractMailMergeFieldConnectionsDlg_Impl);
     122           0 : IMPL_ABSTDLG_BASE(AbstractMultiTOXTabDialog_Impl);
     123           0 : IMPL_ABSTDLG_BASE(AbstractEditRegionDlg_Impl);
     124           0 : IMPL_ABSTDLG_BASE(AbstractInsertSectionTabDialog_Impl);
     125           0 : IMPL_ABSTDLG_BASE(AbstractIndexMarkFloatDlg_Impl);
     126           0 : IMPL_ABSTDLG_BASE(AbstractAuthMarkFloatDlg_Impl);
     127             : 
     128           0 : void AbstractTabDialog_Impl::SetCurPageId( sal_uInt16 nId )
     129             : {
     130           0 :     pDlg->SetCurPageId( nId );
     131           0 : }
     132             : 
     133           0 : void AbstractTabDialog_Impl::SetCurPageId( const OString &rName )
     134             : {
     135           0 :     pDlg->SetCurPageId( rName );
     136           0 : }
     137             : 
     138           0 : const SfxItemSet* AbstractTabDialog_Impl::GetOutputItemSet() const
     139             : {
     140           0 :     return pDlg->GetOutputItemSet();
     141             : }
     142             : 
     143           0 : const sal_uInt16* AbstractTabDialog_Impl::GetInputRanges(const SfxItemPool& pItem )
     144             : {
     145           0 :     return pDlg->GetInputRanges( pItem );
     146             : }
     147             : 
     148           0 : void AbstractTabDialog_Impl::SetInputSet( const SfxItemSet* pInSet )
     149             : {
     150           0 :      pDlg->SetInputSet( pInSet );
     151           0 : }
     152             : 
     153             : //From class Window.
     154           0 : void AbstractTabDialog_Impl::SetText( const OUString& rStr )
     155             : {
     156           0 :     pDlg->SetText( rStr );
     157           0 : }
     158             : 
     159           0 : OUString AbstractTabDialog_Impl::GetText() const
     160             : {
     161           0 :     return pDlg->GetText();
     162             : }
     163             : 
     164           0 : IMPL_LINK_NOARG(AbstractApplyTabDialog_Impl, ApplyHdl)
     165             : {
     166           0 :     if (pDlg->Apply())
     167           0 :         m_aHandler.Call(NULL);
     168           0 :     return 0;
     169             : }
     170             : 
     171           0 : void AbstractApplyTabDialog_Impl::SetApplyHdl( const Link& rLink )
     172             : {
     173           0 :     m_aHandler = rLink;
     174           0 :     pDlg->SetApplyHandler(LINK(this, AbstractApplyTabDialog_Impl, ApplyHdl));
     175           0 : }
     176             : 
     177           0 : sal_uInt8 AbstractSwInsertAbstractDlg_Impl::GetLevel() const
     178             : {
     179           0 :     return pDlg->GetLevel();
     180             : }
     181             : 
     182           0 : sal_uInt8 AbstractSwInsertAbstractDlg_Impl::GetPara() const
     183             : {
     184           0 :     return pDlg->GetPara();
     185             : }
     186             : 
     187           0 : const SfxItemSet* SwAbstractSfxDialog_Impl::GetOutputItemSet() const
     188             : {
     189           0 :     return pDlg->GetOutputItemSet();
     190             : }
     191             : 
     192           0 : void SwAbstractSfxDialog_Impl::SetText( const OUString& rStr )
     193             : {
     194           0 :     pDlg->SetText( rStr );
     195           0 : }
     196             : 
     197           0 : OUString SwAbstractSfxDialog_Impl::GetText() const
     198             : {
     199           0 :     return pDlg->GetText();
     200             : }
     201             : 
     202           0 : void AbstractSwAsciiFilterDlg_Impl::FillOptions( SwAsciiOptions& rOptions )
     203             : {
     204           0 :     pDlg->FillOptions(rOptions);
     205           0 : }
     206             : 
     207           0 : sal_uInt16 AbstractSplitTableDialog_Impl::GetSplitMode()
     208             : {
     209           0 :     return pDlg->GetSplitMode();
     210             : }
     211             : 
     212           0 : OUString AbstractSwBreakDlg_Impl::GetTemplateName()
     213             : {
     214           0 :     return pDlg->GetTemplateName();
     215             : }
     216             : 
     217           0 : sal_uInt16 AbstractSwBreakDlg_Impl:: GetKind()
     218             : {
     219           0 :     return pDlg->GetKind();
     220             : }
     221             : 
     222           0 : ::boost::optional<sal_uInt16> AbstractSwBreakDlg_Impl:: GetPageNumber()
     223             : {
     224           0 :     return pDlg->GetPageNumber();
     225             : }
     226             : 
     227           0 : void AbstractSwConvertTableDlg_Impl::GetValues( sal_Unicode& rDelim,SwInsertTableOptions& rInsTblFlags,
     228             :                                                 SwTableAutoFmt const*& prTAFmt)
     229             : {
     230           0 :     pDlg->GetValues(rDelim,rInsTblFlags, prTAFmt);
     231           0 : }
     232             : 
     233           0 : void AbstractSwInsertDBColAutoPilot_Impl::DataToDoc( const uno::Sequence< uno::Any >& rSelection,
     234             :         uno::Reference< sdbc::XDataSource> rxSource,
     235             :         uno::Reference< sdbc::XConnection> xConnection,
     236             :         uno::Reference< sdbc::XResultSet > xResultSet)
     237             : {
     238           0 :     pDlg->DataToDoc(rSelection, rxSource, xConnection, xResultSet);
     239           0 : }
     240             : 
     241           0 : OString AbstractDropDownFieldDialog_Impl::GetWindowState( sal_uLong nMask  ) const
     242             : {
     243           0 :     return pDlg->GetWindowState(nMask);
     244             : }
     245             : 
     246           0 : void AbstractDropDownFieldDialog_Impl::SetWindowState( const OString& rStr )
     247             : {
     248           0 :     pDlg->SetWindowState(rStr);
     249           0 : }
     250             : 
     251           0 : void AbstractSwLabDlg_Impl::SetCurPageId( sal_uInt16 nId )
     252             : {
     253           0 :     pDlg->SetCurPageId( nId );
     254           0 : }
     255             : 
     256           0 : void AbstractSwLabDlg_Impl::SetCurPageId( const OString &rName )
     257             : {
     258           0 :     pDlg->SetCurPageId( rName );
     259           0 : }
     260             : 
     261           0 : const SfxItemSet* AbstractSwLabDlg_Impl::GetOutputItemSet() const
     262             : {
     263           0 :     return pDlg->GetOutputItemSet();
     264             : }
     265             : 
     266           0 : const sal_uInt16* AbstractSwLabDlg_Impl::GetInputRanges(const SfxItemPool& pItem )
     267             : {
     268           0 :     return pDlg->GetInputRanges( pItem );
     269             : }
     270             : 
     271           0 : void AbstractSwLabDlg_Impl::SetInputSet( const SfxItemSet* pInSet )
     272             : {
     273           0 :      pDlg->SetInputSet( pInSet );
     274           0 : }
     275             : 
     276           0 : void AbstractSwLabDlg_Impl::SetText( const OUString& rStr )
     277             : {
     278           0 :     pDlg->SetText( rStr );
     279           0 : }
     280             : 
     281           0 : OUString AbstractSwLabDlg_Impl::GetText() const
     282             : {
     283           0 :     return pDlg->GetText();
     284             : }
     285             : 
     286           0 : const OUString& AbstractSwLabDlg_Impl::GetBusinessCardStr() const
     287             : {
     288           0 :     return pDlg->GetBusinessCardStr();
     289             : }
     290             : 
     291           0 : Printer * AbstractSwLabDlg_Impl::GetPrt()
     292             : {
     293           0 :     return pDlg->GetPrt();
     294             : }
     295             : 
     296           0 : void AbstractSwSelGlossaryDlg_Impl::InsertGlos(const OUString &rRegion, const OUString &rGlosName)
     297             : {
     298           0 :     pDlg->InsertGlos( rRegion, rGlosName );
     299           0 : }
     300             : 
     301           0 : sal_Int32 AbstractSwSelGlossaryDlg_Impl::GetSelectedIdx() const
     302             : {
     303           0 :     return pDlg->GetSelectedIdx();
     304             : }
     305             : 
     306           0 : void AbstractSwSelGlossaryDlg_Impl::SelectEntryPos(sal_Int32 nIdx)
     307             : {
     308           0 :     pDlg->SelectEntryPos( nIdx );
     309           0 : }
     310             : 
     311           0 : void AbstractSwAutoFormatDlg_Impl::FillAutoFmtOfIndex( SwTableAutoFmt*& rToFill ) const
     312             : {
     313           0 :     pDlg->FillAutoFmtOfIndex(rToFill);
     314           0 : }
     315             : 
     316           0 : void AbstractSwFldDlg_Impl::SetCurPageId( sal_uInt16 nId )
     317             : {
     318           0 :     pDlg->SetCurPageId( nId );
     319           0 : }
     320             : 
     321           0 : void AbstractSwFldDlg_Impl::SetCurPageId( const OString &rName )
     322             : {
     323           0 :     pDlg->SetCurPageId( rName );
     324           0 : }
     325             : 
     326           0 : const SfxItemSet* AbstractSwFldDlg_Impl::GetOutputItemSet() const
     327             : {
     328           0 :     return pDlg->GetOutputItemSet();
     329             : }
     330             : 
     331           0 : const sal_uInt16* AbstractSwFldDlg_Impl::GetInputRanges(const SfxItemPool& pItem )
     332             : {
     333           0 :     return pDlg->GetInputRanges( pItem );
     334             : }
     335             : 
     336           0 : void AbstractSwFldDlg_Impl::SetInputSet( const SfxItemSet* pInSet )
     337             : {
     338           0 :      pDlg->SetInputSet( pInSet );
     339           0 : }
     340             : 
     341           0 : void AbstractSwFldDlg_Impl::SetText( const OUString& rStr )
     342             : {
     343           0 :     pDlg->SetText( rStr );
     344           0 : }
     345             : 
     346           0 : OUString AbstractSwFldDlg_Impl::GetText() const
     347             : {
     348           0 :     return pDlg->GetText();
     349             : }
     350             : 
     351           0 : void AbstractSwFldDlg_Impl::Start( sal_Bool bShowl )
     352             : {
     353           0 :     pDlg->Start( bShowl );
     354           0 : }
     355             : 
     356           0 : void AbstractSwFldDlg_Impl::Initialize(SfxChildWinInfo *pInfo)
     357             : {
     358           0 :     pDlg->Initialize( pInfo );
     359           0 : }
     360             : 
     361           0 : void AbstractSwFldDlg_Impl::ReInitDlg()
     362             : {
     363           0 :     pDlg->ReInitDlg();
     364           0 : }
     365             : 
     366           0 : void AbstractSwFldDlg_Impl::ActivateDatabasePage()
     367             : {
     368           0 :     pDlg->ActivateDatabasePage();
     369           0 : }
     370             : 
     371           0 : Window* AbstractSwFldDlg_Impl::GetWindow()
     372             : {
     373           0 :     return (Window*)pDlg;
     374             : }
     375             : 
     376           0 : void AbstractSwFldDlg_Impl::ShowReferencePage()
     377             : {
     378           0 :     pDlg->ShowReferencePage();
     379           0 : }
     380             : 
     381           0 : void AbstractSwRenameXNamedDlg_Impl::SetForbiddenChars( const OUString& rSet )
     382             : {
     383           0 :     pDlg->SetForbiddenChars( rSet );
     384           0 : }
     385             : 
     386           0 : void    AbstractSwRenameXNamedDlg_Impl::SetAlternativeAccess(
     387             :              ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > & xSecond,
     388             :              ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > & xThird )
     389             : {
     390           0 :     pDlg->SetAlternativeAccess( xSecond, xThird);
     391           0 : }
     392             : 
     393           0 : void    AbstractSwModalRedlineAcceptDlg_Impl::AcceptAll( sal_Bool bAccept )
     394             : {
     395           0 :     pDlg->AcceptAll( bAccept);
     396           0 : }
     397             : 
     398           0 : OUString AbstractGlossaryDlg_Impl::GetCurrGrpName() const
     399             : {
     400           0 :     return pDlg->GetCurrGrpName();
     401             : }
     402             : 
     403           0 : OUString AbstractGlossaryDlg_Impl::GetCurrShortName() const
     404             : {
     405           0 :     return pDlg->GetCurrShortName();
     406             : }
     407             : 
     408           0 : void AbstractFldInputDlg_Impl::SetWindowState( const OString& rStr )
     409             : {
     410           0 :     pDlg->SetWindowState( rStr );
     411           0 : }
     412             : 
     413           0 : OString AbstractFldInputDlg_Impl::GetWindowState( sal_uLong nMask ) const
     414             : {
     415           0 :     return pDlg->GetWindowState( nMask );
     416             : }
     417             : 
     418           0 : void AbstractFldInputDlg_Impl::EndDialog(long n)
     419             : {
     420           0 :     pDlg->EndDialog(n);
     421           0 : }
     422             : 
     423           0 : OUString AbstractInsFootNoteDlg_Impl::GetFontName()
     424             : {
     425           0 :     return pDlg->GetFontName();
     426             : }
     427             : 
     428           0 : sal_Bool AbstractInsFootNoteDlg_Impl::IsEndNote()
     429             : {
     430           0 :     return pDlg->IsEndNote();
     431             : }
     432             : 
     433           0 : OUString AbstractInsFootNoteDlg_Impl::GetStr()
     434             : {
     435           0 :     return pDlg->GetStr();
     436             : }
     437             : 
     438           0 : void AbstractInsFootNoteDlg_Impl::SetHelpId( const OString& sHelpId )
     439             : {
     440           0 :     pDlg->SetHelpId( sHelpId );
     441           0 : }
     442             : 
     443           0 : void AbstractInsFootNoteDlg_Impl::SetText( const OUString& rStr )
     444             : {
     445           0 :     pDlg->SetText( rStr );
     446           0 : }
     447             : 
     448           0 : void AbstractInsTableDlg_Impl::GetValues( OUString& rName, sal_uInt16& rRow, sal_uInt16& rCol,
     449             :                                 SwInsertTableOptions& rInsTblFlags, OUString& rTableAutoFmtName,
     450             :                                 SwTableAutoFmt *& prTAFmt )
     451             : {
     452           0 :     pDlg->GetValues( rName, rRow, rCol, rInsTblFlags, rTableAutoFmtName, prTAFmt);
     453           0 : }
     454             : 
     455           0 : OUString AbstractJavaEditDialog_Impl::GetScriptText() const
     456             : {
     457           0 :     return pDlg->GetScriptText();
     458             : }
     459             : 
     460           0 : OUString AbstractJavaEditDialog_Impl::GetScriptType() const
     461             : {
     462           0 :     return pDlg->GetScriptType();
     463             : }
     464             : 
     465           0 : sal_Bool AbstractJavaEditDialog_Impl::IsUrl() const
     466             : {
     467           0 :     return pDlg->IsUrl();
     468             : }
     469             : 
     470           0 : sal_Bool AbstractJavaEditDialog_Impl::IsNew() const
     471             : {
     472           0 :     return pDlg->IsNew();
     473             : }
     474             : 
     475           0 : bool AbstractJavaEditDialog_Impl::IsUpdate() const
     476             : {
     477           0 :     return pDlg->IsUpdate();
     478             : }
     479             : 
     480           0 : sal_uInt16 AbstractMailMergeDlg_Impl::GetMergeType()
     481             : {
     482           0 :     return pDlg->GetMergeType();
     483             : }
     484             : 
     485           0 : const OUString& AbstractMailMergeDlg_Impl::GetSaveFilter() const
     486             : {
     487           0 :     return pDlg->GetSaveFilter();
     488             : }
     489             : 
     490           0 : const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > AbstractMailMergeDlg_Impl::GetSelection() const
     491             : {
     492           0 :     return pDlg->GetSelection();
     493             : }
     494             : 
     495           0 : uno::Reference< sdbc::XResultSet> AbstractMailMergeDlg_Impl::GetResultSet() const
     496             : {
     497           0 :     return pDlg->GetResultSet();
     498             : }
     499             : 
     500           0 : bool AbstractMailMergeDlg_Impl::IsSaveIndividualDocs() const
     501             : {
     502           0 :     return pDlg->IsSaveIndividualDocs();
     503             : }
     504             : 
     505           0 : bool AbstractMailMergeDlg_Impl::IsGenerateFromDataBase() const
     506             : {
     507           0 :     return pDlg->IsGenerateFromDataBase();
     508             : }
     509             : 
     510           0 : OUString AbstractMailMergeDlg_Impl::GetColumnName() const
     511             : {
     512           0 :     return pDlg->GetColumnName();
     513             : }
     514             : 
     515           0 : OUString AbstractMailMergeDlg_Impl::GetPath() const
     516             : {
     517           0 :     return pDlg->GetPath();
     518             : }
     519             : 
     520           0 : sal_Bool AbstractMailMergeCreateFromDlg_Impl::IsThisDocument() const
     521             : {
     522           0 :     return pDlg->IsThisDocument();
     523             : }
     524             : 
     525           0 : sal_Bool AbstractMailMergeFieldConnectionsDlg_Impl::IsUseExistingConnections() const
     526             : {
     527           0 :     return pDlg->IsUseExistingConnections();
     528             : }
     529             : 
     530           0 : SwForm* AbstractMultiTOXTabDialog_Impl::GetForm(CurTOXType eType)
     531             : {
     532           0 :     return pDlg->GetForm(eType);
     533             : }
     534             : 
     535           0 : CurTOXType AbstractMultiTOXTabDialog_Impl::GetCurrentTOXType() const
     536             : {
     537           0 :     return pDlg->GetCurrentTOXType();
     538             : }
     539             : 
     540           0 : SwTOXDescription& AbstractMultiTOXTabDialog_Impl::GetTOXDescription(CurTOXType eTOXTypes)
     541             : {
     542           0 :     return pDlg->GetTOXDescription(eTOXTypes);
     543             : }
     544             : 
     545           0 : const SfxItemSet* AbstractMultiTOXTabDialog_Impl::GetOutputItemSet() const
     546             : {
     547           0 :     return pDlg->GetOutputItemSet();
     548             : }
     549             : 
     550           0 : void AbstractEditRegionDlg_Impl::SelectSection(const OUString& rSectionName)
     551             : {
     552           0 :     pDlg->SelectSection(rSectionName);
     553           0 : }
     554             : 
     555             : void
     556           0 : AbstractInsertSectionTabDialog_Impl::SetSectionData(SwSectionData const& rSect)
     557             : {
     558           0 :     pDlg->SetSectionData(rSect);
     559           0 : }
     560             : 
     561           0 : void AbstractIndexMarkFloatDlg_Impl::ReInitDlg(SwWrtShell& rWrtShell)
     562             : {
     563           0 :     pDlg->ReInitDlg( rWrtShell);
     564           0 : }
     565             : 
     566           0 : Window* AbstractIndexMarkFloatDlg_Impl::GetWindow()
     567             : {
     568           0 :     return (Window*)pDlg;
     569             : }
     570             : 
     571           0 : void AbstractAuthMarkFloatDlg_Impl::ReInitDlg(SwWrtShell& rWrtShell)
     572             : {
     573           0 :     pDlg->ReInitDlg( rWrtShell);
     574           0 : }
     575             : 
     576           0 : Window* AbstractAuthMarkFloatDlg_Impl::GetWindow()
     577             : {
     578           0 :     return (Window*)pDlg;
     579             : }
     580             : 
     581           0 : Window* AbstractSwWordCountFloatDlg_Impl::GetWindow()
     582             : {
     583           0 :     return (Window*)pDlg;
     584             : }
     585             : 
     586           0 : void AbstractSwWordCountFloatDlg_Impl::UpdateCounts()
     587             : {
     588           0 :     pDlg->UpdateCounts();
     589           0 : }
     590             : 
     591           0 : void AbstractSwWordCountFloatDlg_Impl::SetCounts(const SwDocStat &rCurrCnt, const SwDocStat &rDocStat)
     592             : {
     593           0 :     pDlg->SetCounts(rCurrCnt, rDocStat);
     594           0 : }
     595             : 
     596           0 : AbstractMailMergeWizard_Impl::~AbstractMailMergeWizard_Impl()
     597             : {
     598           0 :     delete pDlg;
     599           0 : }
     600             : 
     601           0 : void AbstractMailMergeWizard_Impl::StartExecuteModal( const Link& rEndDialogHdl )
     602             : {
     603           0 :     aEndDlgHdl = rEndDialogHdl;
     604             :     pDlg->StartExecuteModal(
     605           0 :         LINK( this, AbstractMailMergeWizard_Impl, EndDialogHdl ) );
     606           0 : }
     607             : 
     608           0 : long AbstractMailMergeWizard_Impl::GetResult()
     609             : {
     610           0 :     return pDlg->GetResult();
     611             : }
     612             : 
     613           0 : IMPL_LINK( AbstractMailMergeWizard_Impl, EndDialogHdl, SwMailMergeWizard*, pDialog )
     614             : {
     615             :     OSL_ENSURE( pDialog == pDlg, "wrong dialog passed to EndDialogHdl!" );
     616             :     (void) pDialog; // unused in non-debug
     617             : 
     618           0 :     aEndDlgHdl.Call( this );
     619           0 :     aEndDlgHdl = Link();
     620             : 
     621           0 :     return 0L;
     622             : }
     623             : 
     624           0 : void AbstractMailMergeWizard_Impl::SetReloadDocument(const OUString& rURL)
     625             : {
     626           0 :     pDlg->SetReloadDocument(rURL);
     627           0 : }
     628             : 
     629           0 : OUString AbstractMailMergeWizard_Impl::GetReloadDocument() const
     630             : {
     631           0 :     return pDlg->GetReloadDocument();
     632             : }
     633             : 
     634           0 : sal_Bool AbstractMailMergeWizard_Impl::ShowPage( sal_uInt16 nLevel )
     635             : {
     636           0 :     return pDlg->skipUntil(nLevel);
     637             : }
     638             : 
     639           0 : sal_uInt16 AbstractMailMergeWizard_Impl::GetRestartPage() const
     640             : {
     641           0 :     return pDlg->GetRestartPage();
     642             : }
     643             : 
     644           0 : AbstractSwInsertAbstractDlg * SwAbstractDialogFactory_Impl::CreateSwInsertAbstractDlg(Window* pParent)
     645             : {
     646           0 :     SwInsertAbstractDlg* pDlg = new SwInsertAbstractDlg( pParent);
     647           0 :     return new AbstractSwInsertAbstractDlg_Impl(pDlg);
     648             : }
     649             : 
     650           0 : SfxAbstractDialog* SwAbstractDialogFactory_Impl::CreateSfxDialog( Window* pParent,
     651             :                                                                         const SfxItemSet& rSet,
     652             :                                     const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >&,
     653             :                                                                         sal_uInt32 nResId
     654             :                                                                 )
     655             : {
     656           0 :     SfxModalDialog* pDlg=NULL;
     657           0 :     switch ( nResId )
     658             :     {
     659             :         case RC_DLG_ADDR :
     660           0 :             pDlg = new SwAddrDlg( pParent, rSet );
     661           0 :             break;
     662             :         case DLG_SWDROPCAPS :
     663           0 :             pDlg = new SwDropCapsDlg( pParent, rSet );
     664           0 :             break;
     665             :         case RC_SWDLG_BACKGROUND :
     666           0 :             pDlg = new SwBackgroundDlg( pParent, rSet );
     667           0 :             break;
     668             :         case RC_DLG_SWNUMFMTDLG :
     669           0 :             pDlg = new SwNumFmtDlg( pParent, rSet );
     670           0 :             break;
     671             :         default:
     672           0 :             break;
     673             :     }
     674             : 
     675           0 :     if ( pDlg )
     676           0 :         return new SwAbstractSfxDialog_Impl( pDlg );
     677           0 :     return 0;
     678             : }
     679             : 
     680           0 : AbstractSwAsciiFilterDlg* SwAbstractDialogFactory_Impl::CreateSwAsciiFilterDlg( Window* pParent,
     681             :                                                                                SwDocShell& rDocSh,
     682             :                                                                                 SvStream* pStream )
     683             : {
     684           0 :     SwAsciiFilterDlg* pDlg = new SwAsciiFilterDlg( pParent, rDocSh, pStream );
     685           0 :     return new AbstractSwAsciiFilterDlg_Impl( pDlg );
     686             : }
     687             : 
     688           0 : VclAbstractDialog* SwAbstractDialogFactory_Impl::CreateSwInsertBookmarkDlg( Window *pParent,
     689             :                                                                            SwWrtShell &rSh,
     690             :                                                                            SfxRequest& rReq,
     691             :                                                                            int nResId )
     692             : {
     693           0 :     Dialog* pDlg=NULL;
     694           0 :     switch ( nResId )
     695             :     {
     696             :         case DLG_INSERT_BOOKMARK :
     697           0 :             pDlg = new SwInsertBookmarkDlg( pParent, rSh, rReq );
     698           0 :             break;
     699             : 
     700             :         default:
     701           0 :             break;
     702             :     }
     703             : 
     704           0 :     if ( pDlg )
     705           0 :         return new VclAbstractDialog_Impl( pDlg );
     706           0 :     return 0;
     707             : }
     708             : 
     709           0 : AbstractSwBreakDlg * SwAbstractDialogFactory_Impl::CreateSwBreakDlg(Window *pParent,
     710             :                                                                      SwWrtShell &rSh)
     711             : {
     712           0 :     SwBreakDlg* pDlg = new SwBreakDlg(pParent, rSh);
     713           0 :     return new AbstractSwBreakDlg_Impl(pDlg);
     714             : }
     715             : 
     716           0 : VclAbstractDialog   * SwAbstractDialogFactory_Impl::CreateSwChangeDBDlg(SwView& rVw)
     717             : {
     718           0 :     Dialog* pDlg = new SwChangeDBDlg(rVw);
     719           0 :     return new VclAbstractDialog_Impl(pDlg);
     720             : }
     721             : 
     722           0 : SfxAbstractTabDialog *  SwAbstractDialogFactory_Impl::CreateSwCharDlg(Window* pParent, SwView& pVw,
     723             :     const SfxItemSet& rCoreSet, sal_uInt8 nDialogMode, const OUString* pFmtStr)
     724             : {
     725             : 
     726           0 :     SfxTabDialog* pDlg = new SwCharDlg(pParent, pVw, rCoreSet, nDialogMode, pFmtStr);
     727           0 :     return new AbstractTabDialog_Impl(pDlg);
     728             : }
     729             : 
     730           0 : AbstractSwConvertTableDlg* SwAbstractDialogFactory_Impl::CreateSwConvertTableDlg(SwView& rView, bool bToTable)
     731             : {
     732           0 :     SwConvertTableDlg* pDlg = new SwConvertTableDlg(rView, bToTable);
     733           0 :     return new AbstractSwConvertTableDlg_Impl(pDlg);
     734             : }
     735             : 
     736           0 : VclAbstractDialog * SwAbstractDialogFactory_Impl::CreateSwCaptionDialog ( Window *pParent, SwView &rV,int nResId)
     737             : {
     738           0 :     Dialog* pDlg=NULL;
     739           0 :     switch ( nResId )
     740             :     {
     741             :         case DLG_CAPTION :
     742           0 :             pDlg = new SwCaptionDialog( pParent, rV );
     743           0 :             break;
     744             : 
     745             :         default:
     746           0 :             break;
     747             :     }
     748             : 
     749           0 :     if ( pDlg )
     750           0 :         return new VclAbstractDialog_Impl( pDlg );
     751           0 :     return 0;
     752             : }
     753             : 
     754           0 : AbstractSwInsertDBColAutoPilot* SwAbstractDialogFactory_Impl::CreateSwInsertDBColAutoPilot( SwView& rView,
     755             :         uno::Reference< sdbc::XDataSource> rxSource,
     756             :         uno::Reference<sdbcx::XColumnsSupplier> xColSupp,
     757             :         const SwDBData& rData)
     758             : {
     759           0 :     SwInsertDBColAutoPilot* pDlg = new SwInsertDBColAutoPilot( rView, rxSource, xColSupp, rData );
     760           0 :     return new AbstractSwInsertDBColAutoPilot_Impl( pDlg );
     761             : }
     762             : 
     763           0 : SfxAbstractTabDialog *  SwAbstractDialogFactory_Impl::CreateSwFootNoteOptionDlg(Window *pParent, SwWrtShell &rSh)
     764             : {
     765           0 :     SfxTabDialog* pDlg = new SwFootNoteOptionDlg( pParent, rSh );
     766           0 :     return new AbstractTabDialog_Impl( pDlg );
     767             : }
     768             : 
     769           0 : AbstractDropDownFieldDialog *  SwAbstractDialogFactory_Impl::CreateDropDownFieldDialog(Window *pParent,
     770             :     SwWrtShell &rSh, SwField* pField, sal_Bool bNextButton)
     771             : {
     772           0 :     sw::DropDownFieldDialog* pDlg = new sw::DropDownFieldDialog(pParent, rSh, pField, bNextButton);
     773           0 :     return new AbstractDropDownFieldDialog_Impl( pDlg );
     774             : }
     775             : 
     776           0 : SfxAbstractTabDialog* SwAbstractDialogFactory_Impl::CreateSwEnvDlg ( Window* pParent, const SfxItemSet& rSet,
     777             :                                                                  SwWrtShell* pWrtSh, Printer* pPrt,
     778             :                                                                  sal_Bool bInsert )
     779             : {
     780           0 :     SfxTabDialog* pDlg = new SwEnvDlg( pParent, rSet, pWrtSh,pPrt, bInsert  );
     781           0 :     return new AbstractTabDialog_Impl( pDlg );
     782             : }
     783             : 
     784           0 : AbstractSwLabDlg* SwAbstractDialogFactory_Impl::CreateSwLabDlg(Window* pParent, const SfxItemSet& rSet,
     785             :                                                      SwNewDBMgr* pNewDBMgr, bool bLabel)
     786             : {
     787           0 :     SwLabDlg* pDlg = new SwLabDlg(pParent, rSet, pNewDBMgr, bLabel);
     788           0 :     return new AbstractSwLabDlg_Impl(pDlg);
     789             : }
     790             : 
     791           0 : SwLabDlgMethod SwAbstractDialogFactory_Impl::GetSwLabDlgStaticMethod ()
     792             : {
     793           0 :     return SwLabDlg::UpdateFieldInformation;
     794             : }
     795             : 
     796           0 : SfxAbstractTabDialog* SwAbstractDialogFactory_Impl::CreateSwParaDlg ( Window *pParent, SwView& rVw,
     797             :                                                     const SfxItemSet& rCoreSet  ,
     798             :                                                     sal_uInt8 nDialogMode,
     799             :                                                     const OUString *pCollName,
     800             :                                                     sal_Bool bDraw ,
     801             :                                                     const OString& sDefPage)
     802             : {
     803           0 :     SfxTabDialog* pDlg = new SwParaDlg( pParent, rVw, rCoreSet,nDialogMode, pCollName, bDraw, sDefPage );
     804           0 :     return new AbstractTabDialog_Impl( pDlg );
     805             : }
     806             : 
     807           0 : VclAbstractDialog * SwAbstractDialogFactory_Impl::CreateVclAbstractDialog ( Window *pParent, SwWrtShell &rSh, int nResId )
     808             : {
     809           0 :     Dialog* pDlg=NULL;
     810           0 :     switch ( nResId )
     811             :     {
     812             :         case DLG_ROW_HEIGHT :
     813           0 :             pDlg = new SwTableHeightDlg( pParent, rSh);
     814           0 :             break;
     815             :         case DLG_SORTING :
     816           0 :             pDlg = new SwSortDlg( pParent, rSh);
     817           0 :             break;
     818             :         case DLG_COLUMN :
     819           0 :             pDlg = new SwColumnDlg( pParent, rSh );
     820           0 :             break;
     821             :         case DLG_EDIT_AUTHMARK :
     822           0 :             pDlg = new SwAuthMarkModalDlg( pParent, rSh );
     823           0 :             break;
     824             :         default:
     825           0 :             break;
     826             :     }
     827             : 
     828           0 :     if ( pDlg )
     829           0 :         return new VclAbstractDialog_Impl( pDlg );
     830           0 :     return 0;
     831             : }
     832             : 
     833           0 : AbstractSplitTableDialog * SwAbstractDialogFactory_Impl::CreateSplitTblDialog ( Window *pParent, SwWrtShell &rSh )
     834             : {
     835           0 :     return new AbstractSplitTableDialog_Impl( new SwSplitTblDlg( pParent, rSh) );
     836             : }
     837             : 
     838           0 : AbstractSwSelGlossaryDlg * SwAbstractDialogFactory_Impl::CreateSwSelGlossaryDlg(Window * pParent, const OUString &rShortName)
     839             : {
     840           0 :     SwSelGlossaryDlg* pDlg = new SwSelGlossaryDlg(pParent, rShortName);
     841           0 :     return new AbstractSwSelGlossaryDlg_Impl(pDlg);
     842             : }
     843             : 
     844           0 : AbstractSwAutoFormatDlg * SwAbstractDialogFactory_Impl::CreateSwAutoFormatDlg(Window* pParent,
     845             :     SwWrtShell* pShell, sal_Bool bSetAutoFmt, const SwTableAutoFmt* pSelFmt)
     846             : {
     847           0 :     SwAutoFormatDlg* pDlg = new SwAutoFormatDlg(pParent, pShell, bSetAutoFmt, pSelFmt);
     848           0 :     return new AbstractSwAutoFormatDlg_Impl(pDlg);
     849             : }
     850             : 
     851           0 : SfxAbstractDialog * SwAbstractDialogFactory_Impl::CreateSwBorderDlg(Window* pParent, SfxItemSet& rSet, sal_uInt16 nType, int nResId )
     852             : {
     853           0 :     SfxModalDialog* pDlg=NULL;
     854           0 :     switch ( nResId )
     855             :     {
     856             :         case RC_DLG_SWBORDERDLG :
     857           0 :             pDlg = new SwBorderDlg( pParent, rSet, nType );
     858           0 :             break;
     859             :         default:
     860           0 :             break;
     861             :     }
     862             : 
     863           0 :     if ( pDlg )
     864           0 :         return new SwAbstractSfxDialog_Impl( pDlg );
     865           0 :     return 0;
     866             : }
     867             : 
     868           0 : SfxAbstractDialog* SwAbstractDialogFactory_Impl::CreateSwWrapDlg ( Window* pParent, SfxItemSet& rSet, SwWrtShell* pSh, sal_Bool bDrawMode, int nResId )
     869             : {
     870           0 :     SfxModalDialog* pDlg=NULL;
     871           0 :     switch ( nResId )
     872             :     {
     873             :         case RC_DLG_SWWRAPDLG :
     874           0 :             pDlg = new SwWrapDlg( pParent, rSet, pSh, bDrawMode );
     875           0 :             break;
     876             :         default:
     877           0 :             break;
     878             :     }
     879             : 
     880           0 :     if ( pDlg )
     881           0 :         return new SwAbstractSfxDialog_Impl( pDlg );
     882           0 :     return 0;
     883             : }
     884             : 
     885           0 : VclAbstractDialog * SwAbstractDialogFactory_Impl::CreateSwTableWidthDlg(Window *pParent, SwTableFUNC &rFnc)
     886             : {
     887           0 :     Dialog* pDlg = new SwTableWidthDlg(pParent, rFnc);
     888           0 :     return new VclAbstractDialog_Impl( pDlg );
     889             : }
     890             : 
     891           0 : SfxAbstractTabDialog* SwAbstractDialogFactory_Impl::CreateSwTableTabDlg(Window* pParent, SfxItemPool& Pool,
     892             :     const SfxItemSet* pItemSet, SwWrtShell* pSh)
     893             : {
     894           0 :     SfxTabDialog* pDlg = new SwTableTabDlg(pParent, Pool, pItemSet, pSh);
     895           0 :     return new AbstractTabDialog_Impl(pDlg);
     896             : }
     897             : 
     898           0 : AbstractSwFldDlg * SwAbstractDialogFactory_Impl::CreateSwFldDlg(SfxBindings* pB, SwChildWinWrapper* pCW, Window *pParent)
     899             : {
     900           0 :     SwFldDlg* pDlg = new SwFldDlg(pB, pCW, pParent);
     901           0 :     return new AbstractSwFldDlg_Impl(pDlg);
     902             : }
     903             : 
     904           0 : SfxAbstractDialog*   SwAbstractDialogFactory_Impl::CreateSwFldEditDlg ( SwView& rVw, int nResId )
     905             : {
     906           0 :     SfxModalDialog* pDlg=NULL;
     907           0 :     switch ( nResId )
     908             :     {
     909             :         case RC_DLG_SWFLDEDITDLG :
     910           0 :             pDlg = new SwFldEditDlg( rVw );
     911           0 :             break;
     912             :         default:
     913           0 :             break;
     914             :     }
     915             : 
     916           0 :     if ( pDlg )
     917           0 :         return new SwAbstractSfxDialog_Impl( pDlg );
     918           0 :     return 0;
     919             : }
     920             : 
     921           0 : AbstractSwRenameXNamedDlg * SwAbstractDialogFactory_Impl::CreateSwRenameXNamedDlg(Window* pParent,
     922             :     ::com::sun::star::uno::Reference< ::com::sun::star::container::XNamed > & xNamed,
     923             :     ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > & xNameAccess)
     924             : {
     925           0 :     SwRenameXNamedDlg* pDlg = new SwRenameXNamedDlg( pParent,xNamed, xNameAccess);
     926           0 :     return new AbstractSwRenameXNamedDlg_Impl( pDlg );
     927             : }
     928             : 
     929           0 : AbstractSwModalRedlineAcceptDlg * SwAbstractDialogFactory_Impl::CreateSwModalRedlineAcceptDlg(Window *pParent)
     930             : {
     931           0 :     SwModalRedlineAcceptDlg* pDlg = new SwModalRedlineAcceptDlg( pParent );
     932           0 :     return new AbstractSwModalRedlineAcceptDlg_Impl( pDlg );
     933             : }
     934             : 
     935           0 : VclAbstractDialog * SwAbstractDialogFactory_Impl::CreateTblMergeDialog(Window* pParent, sal_Bool& rWithPrev)
     936             : {
     937           0 :     Dialog* pDlg = new SwMergeTblDlg( pParent, rWithPrev );
     938           0 :     return new VclAbstractDialog_Impl( pDlg );
     939             : }
     940             : 
     941           0 : SfxAbstractTabDialog* SwAbstractDialogFactory_Impl::CreateFrmTabDialog(const OString &rDialogType,
     942             :                                                 SfxViewFrame *pFrame, Window *pParent,
     943             :                                                 const SfxItemSet& rCoreSet,
     944             :                                                 bool        bNewFrm,
     945             :                                                 bool        bFmt,
     946             :                                                 const OString&  sDefPage,
     947             :                                                 const OUString* pFmtStr )
     948             : {
     949           0 :     SfxTabDialog* pDlg = new SwFrmDlg(pFrame, pParent, rCoreSet, bNewFrm, rDialogType, bFmt, sDefPage, pFmtStr);
     950           0 :     return new AbstractTabDialog_Impl(pDlg);
     951             : }
     952             : 
     953           0 : SfxAbstractApplyTabDialog* SwAbstractDialogFactory_Impl::CreateTemplateDialog(
     954             :                                                 Window*             pParent,
     955             :                                                 SfxStyleSheetBase&  rBase,
     956             :                                                 sal_uInt16          nRegion,
     957             :                                                 const OString&      sPage,
     958             :                                                 SwWrtShell*         pActShell,
     959             :                                                 bool                bNew )
     960             : {
     961           0 :     SfxTabDialog* pDlg = new SwTemplateDlg( pParent, rBase, nRegion, sPage, pActShell, bNew );
     962           0 :     return new AbstractApplyTabDialog_Impl( pDlg );
     963             : }
     964             : 
     965           0 : AbstractGlossaryDlg* SwAbstractDialogFactory_Impl::CreateGlossaryDlg(SfxViewFrame* pViewFrame,
     966             :                                                 SwGlossaryHdl* pGlosHdl,
     967             :                                                 SwWrtShell *pWrtShell)
     968             : {
     969           0 :     SwGlossaryDlg* pDlg = new SwGlossaryDlg(pViewFrame, pGlosHdl, pWrtShell);
     970           0 :     return new AbstractGlossaryDlg_Impl( pDlg );
     971             : }
     972             : 
     973           0 : AbstractFldInputDlg* SwAbstractDialogFactory_Impl::CreateFldInputDlg(Window *pParent,
     974             :     SwWrtShell &rSh, SwField* pField, bool bNextButton)
     975             : {
     976           0 :     SwFldInputDlg* pDlg = new SwFldInputDlg( pParent, rSh, pField, bNextButton );
     977           0 :     return new AbstractFldInputDlg_Impl( pDlg );
     978             : }
     979             : 
     980           0 : AbstractInsFootNoteDlg* SwAbstractDialogFactory_Impl::CreateInsFootNoteDlg(
     981             :     Window * pParent, SwWrtShell &rSh, sal_Bool bEd )
     982             : {
     983           0 :     SwInsFootNoteDlg* pDlg = new SwInsFootNoteDlg(pParent, rSh, bEd);
     984           0 :     return new AbstractInsFootNoteDlg_Impl( pDlg );
     985             : }
     986             : 
     987           0 : VclAbstractDialog * SwAbstractDialogFactory_Impl::CreateTitlePageDlg ( Window *pParent )
     988             : {
     989           0 :     Dialog* pDlg = new SwTitlePageDlg( pParent );
     990           0 :     if ( pDlg )
     991           0 :         return new VclAbstractDialog_Impl( pDlg );
     992           0 :     return 0;
     993             : }
     994             : 
     995           0 : VclAbstractDialog * SwAbstractDialogFactory_Impl::CreateVclSwViewDialog(SwView& rView)
     996             : {
     997           0 :     Dialog* pDlg = new SwLineNumberingDlg( &rView );
     998           0 :     return new VclAbstractDialog_Impl( pDlg );
     999             : }
    1000             : 
    1001           0 : AbstractInsTableDlg * SwAbstractDialogFactory_Impl::CreateInsTableDlg(SwView& rView)
    1002             : {
    1003           0 :     SwInsTableDlg* pDlg = new SwInsTableDlg(rView);
    1004           0 :     return new AbstractInsTableDlg_Impl( pDlg );
    1005             : }
    1006             : 
    1007           0 : AbstractJavaEditDialog * SwAbstractDialogFactory_Impl::CreateJavaEditDialog(
    1008             :     Window* pParent, SwWrtShell* pWrtSh)
    1009             : {
    1010           0 :     SwJavaEditDialog* pDlg = new SwJavaEditDialog(pParent, pWrtSh);
    1011           0 :     return new AbstractJavaEditDialog_Impl( pDlg );
    1012             : }
    1013             : 
    1014           0 : AbstractMailMergeDlg * SwAbstractDialogFactory_Impl::CreateMailMergeDlg( int nResId,
    1015             :                                                 Window* pParent, SwWrtShell& rSh,
    1016             :                                                 const OUString& rSourceName,
    1017             :                                                 const OUString& rTblName,
    1018             :                                                 sal_Int32 nCommandType,
    1019             :                                                 const uno::Reference< sdbc::XConnection>& xConnection,
    1020             :                                                 uno::Sequence< uno::Any >* pSelection )
    1021             : {
    1022           0 :     SwMailMergeDlg* pDlg=NULL;
    1023           0 :     switch ( nResId )
    1024             :     {
    1025             :         case DLG_MAILMERGE :
    1026           0 :             pDlg = new SwMailMergeDlg( pParent, rSh, rSourceName, rTblName, nCommandType, xConnection, pSelection );
    1027           0 :             break;
    1028             :         default:
    1029           0 :             break;
    1030             :     }
    1031           0 :     if ( pDlg )
    1032           0 :         return new AbstractMailMergeDlg_Impl( pDlg );
    1033           0 :     return 0;
    1034             : }
    1035             : 
    1036           0 : AbstractMailMergeCreateFromDlg * SwAbstractDialogFactory_Impl::CreateMailMergeCreateFromDlg(Window* pParent)
    1037             : {
    1038           0 :     SwMailMergeCreateFromDlg* pDlg = new SwMailMergeCreateFromDlg(pParent);
    1039           0 :     return new AbstractMailMergeCreateFromDlg_Impl(pDlg);
    1040             : }
    1041             : 
    1042           0 : AbstractMailMergeFieldConnectionsDlg * SwAbstractDialogFactory_Impl::CreateMailMergeFieldConnectionsDlg(Window* pParent)
    1043             : {
    1044           0 :     SwMailMergeFieldConnectionsDlg* pDlg = new SwMailMergeFieldConnectionsDlg( pParent );
    1045           0 :     return new AbstractMailMergeFieldConnectionsDlg_Impl( pDlg );
    1046             : }
    1047             : 
    1048           0 : VclAbstractDialog * SwAbstractDialogFactory_Impl::CreateMultiTOXMarkDlg(Window* pParent, SwTOXMgr &rTOXMgr)
    1049             : {
    1050           0 :     Dialog* pDlg = new SwMultiTOXMarkDlg(pParent, rTOXMgr);
    1051           0 :     return new VclAbstractDialog_Impl(pDlg);
    1052             : }
    1053             : 
    1054           0 : SfxAbstractTabDialog* SwAbstractDialogFactory_Impl::CreateSwTabDialog( int nResId,
    1055             :                                                 Window* pParent,
    1056             :                                                 const SfxItemSet* pSwItemSet,
    1057             :                                                 SwWrtShell & rWrtSh )
    1058             : {
    1059           0 :     SfxTabDialog* pDlg=NULL;
    1060           0 :     switch ( nResId )
    1061             :     {
    1062             :         case DLG_SVXTEST_NUM_BULLET :
    1063           0 :             pDlg = new SwSvxNumBulletTabDialog( pParent, pSwItemSet, rWrtSh );
    1064           0 :             break;
    1065             :         case DLG_TAB_OUTLINE :
    1066           0 :             pDlg = new SwOutlineTabDialog( pParent, pSwItemSet, rWrtSh );
    1067           0 :             break;
    1068             : 
    1069             :         default:
    1070           0 :             break;
    1071             :     }
    1072           0 :     if ( pDlg )
    1073           0 :         return new AbstractTabDialog_Impl( pDlg );
    1074           0 :     return 0;
    1075             : }
    1076             : 
    1077           0 : AbstractMultiTOXTabDialog * SwAbstractDialogFactory_Impl::CreateMultiTOXTabDialog(
    1078             :                                                 Window* pParent, const SfxItemSet& rSet,
    1079             :                                                 SwWrtShell &rShell,
    1080             :                                                 SwTOXBase* pCurTOX, sal_uInt16 nToxType,
    1081             :                                                 sal_Bool bGlobal)
    1082             : {
    1083           0 :     SwMultiTOXTabDialog* pDlg = new SwMultiTOXTabDialog( pParent, rSet, rShell, pCurTOX, nToxType, bGlobal );
    1084           0 :     return new AbstractMultiTOXTabDialog_Impl( pDlg );
    1085             : }
    1086             : 
    1087           0 : AbstractEditRegionDlg * SwAbstractDialogFactory_Impl::CreateEditRegionDlg(Window* pParent, SwWrtShell& rWrtSh)
    1088             : {
    1089           0 :     SwEditRegionDlg* pDlg = new SwEditRegionDlg( pParent, rWrtSh );
    1090           0 :     return new AbstractEditRegionDlg_Impl( pDlg );
    1091             : }
    1092             : 
    1093           0 : AbstractInsertSectionTabDialog * SwAbstractDialogFactory_Impl::CreateInsertSectionTabDialog(
    1094             :                                                     Window* pParent, const SfxItemSet& rSet, SwWrtShell& rSh)
    1095             : {
    1096           0 :     SwInsertSectionTabDialog* pDlg = new SwInsertSectionTabDialog(pParent, rSet, rSh);
    1097           0 :     return new AbstractInsertSectionTabDialog_Impl(pDlg);
    1098             : }
    1099             : 
    1100           0 : AbstractMarkFloatDlg * SwAbstractDialogFactory_Impl::CreateIndexMarkFloatDlg(
    1101             :                                                     SfxBindings* pBindings,
    1102             :                                                        SfxChildWindow* pChild,
    1103             :                                                        Window *pParent,
    1104             :                                                     SfxChildWinInfo* pInfo,
    1105             :                                                        sal_Bool bNew )
    1106             : {
    1107           0 :     SwIndexMarkFloatDlg* pDlg = new SwIndexMarkFloatDlg(pBindings, pChild, pParent, pInfo, bNew);
    1108           0 :     return new AbstractIndexMarkFloatDlg_Impl(pDlg);
    1109             : }
    1110             : 
    1111           0 : AbstractMarkFloatDlg * SwAbstractDialogFactory_Impl::CreateAuthMarkFloatDlg(
    1112             :                                                     SfxBindings* pBindings,
    1113             :                                                        SfxChildWindow* pChild,
    1114             :                                                        Window *pParent,
    1115             :                                                     SfxChildWinInfo* pInfo,
    1116             :                                                        sal_Bool bNew)
    1117             : {
    1118           0 :     SwAuthMarkFloatDlg* pDlg = new SwAuthMarkFloatDlg( pBindings, pChild, pParent, pInfo, bNew );
    1119           0 :     return new AbstractAuthMarkFloatDlg_Impl( pDlg );
    1120             : }
    1121             : 
    1122           0 : AbstractSwWordCountFloatDlg * SwAbstractDialogFactory_Impl::CreateSwWordCountDialog(
    1123             :                                                                               SfxBindings* pBindings,
    1124             :                                                                               SfxChildWindow* pChild,
    1125             :                                                                               Window *pParent,
    1126             :                                                                               SfxChildWinInfo* pInfo)
    1127             : {
    1128           0 :     SwWordCountFloatDlg* pDlg = new SwWordCountFloatDlg( pBindings, pChild, pParent, pInfo );
    1129           0 :     return new AbstractSwWordCountFloatDlg_Impl( pDlg );
    1130             : }
    1131             : 
    1132           0 : VclAbstractDialog * SwAbstractDialogFactory_Impl::CreateIndexMarkModalDlg(
    1133             :                                                 Window *pParent, SwWrtShell& rSh, SwTOXMark* pCurTOXMark )
    1134             : {
    1135           0 :     Dialog* pDlg = new SwIndexMarkModalDlg( pParent, rSh, pCurTOXMark );
    1136           0 :     return new VclAbstractDialog_Impl( pDlg );
    1137             : }
    1138             : 
    1139           0 : AbstractMailMergeWizard*    SwAbstractDialogFactory_Impl::CreateMailMergeWizard(
    1140             :                                     SwView& rView, SwMailMergeConfigItem& rConfigItem)
    1141             : {
    1142           0 :     return new AbstractMailMergeWizard_Impl( new SwMailMergeWizard(rView, rConfigItem));
    1143             : }
    1144             : 
    1145           0 : GlossaryGetCurrGroup    SwAbstractDialogFactory_Impl::GetGlossaryCurrGroupFunc()
    1146             : {
    1147           0 :     return SwGlossaryDlg::GetCurrGroup;
    1148             : }
    1149             : 
    1150           0 : GlossarySetActGroup SwAbstractDialogFactory_Impl::SetGlossaryActGroupFunc()
    1151             : {
    1152           0 :     return SwGlossaryDlg::SetActGroup;
    1153             : }
    1154             : 
    1155             : //------------------ Factories for TabPages
    1156           0 : CreateTabPage SwAbstractDialogFactory_Impl::GetTabPageCreatorFunc( sal_uInt16 nId )
    1157             : {
    1158           0 :     CreateTabPage pRet = 0;
    1159           0 :     switch ( nId )
    1160             :     {
    1161             :         case RID_SW_TP_OPTCOMPATIBILITY_PAGE :
    1162           0 :             pRet = SwCompatibilityOptPage::Create;
    1163           0 :             break;
    1164             :         case RID_SW_TP_OPTLOAD_PAGE :
    1165           0 :             pRet = SwLoadOptPage::Create;
    1166           0 :             break;
    1167             :         case RID_SW_TP_OPTCAPTION_PAGE:
    1168           0 :             return SwCaptionOptPage::Create;
    1169             :         case RID_SW_TP_CONTENT_OPT:
    1170             :         case RID_SW_TP_HTML_CONTENT_OPT:
    1171           0 :             pRet = SwContentOptPage::Create;
    1172           0 :             break;
    1173             :         case RID_SW_TP_OPTSHDWCRSR:
    1174             :         case RID_SW_TP_HTML_OPTSHDWCRSR:
    1175           0 :             pRet = SwShdwCrsrOptionsTabPage::Create;
    1176           0 :             break;
    1177             :         case RID_SW_TP_REDLINE_OPT :
    1178           0 :             pRet = SwRedlineOptionsTabPage::Create;
    1179           0 :             break;
    1180             :         case RID_SW_TP_OPTTEST_PAGE :
    1181             : #ifdef DBG_UTIL
    1182             :             pRet = SwTestTabPage::Create;
    1183             : #endif
    1184           0 :             break;
    1185             :         case TP_OPTPRINT_PAGE :
    1186             :         case RID_SW_TP_HTML_OPTPRINT_PAGE:
    1187             :         case RID_SW_TP_OPTPRINT_PAGE:
    1188           0 :             pRet = SwAddPrinterTabPage::Create;
    1189           0 :             break;
    1190             :         case RID_SW_TP_STD_FONT:
    1191             :         case RID_SW_TP_STD_FONT_CJK:
    1192             :         case RID_SW_TP_STD_FONT_CTL:
    1193           0 :             pRet = SwStdFontTabPage::Create;
    1194           0 :             break;
    1195             :         case RID_SW_TP_HTML_OPTTABLE_PAGE:
    1196             :         case RID_SW_TP_OPTTABLE_PAGE:
    1197           0 :             pRet = SwTableOptionsTabPage::Create;
    1198           0 :             break;
    1199             :         case TP_DOC_STAT :
    1200           0 :             pRet = SwDocStatPage::Create;
    1201           0 :             break;
    1202             :         case RID_SW_TP_MAILCONFIG:
    1203           0 :             pRet = SwMailConfigPage::Create;
    1204           0 :         break;
    1205             :         case RID_SW_TP_COMPARISON_OPT :
    1206           0 :             pRet = SwCompareOptionsTabPage::Create;
    1207           0 :         break;
    1208             :     }
    1209             : 
    1210           0 :     return pRet;
    1211             : }
    1212             : 
    1213           0 : GetTabPageRanges SwAbstractDialogFactory_Impl::GetTabPageRangesFunc( sal_uInt16 nId )
    1214             : {
    1215           0 :     switch ( nId )
    1216             :     {
    1217             :     case 1 : //RID_SVXPAGE_TEXTANIMATION :
    1218             :             //return SvxTextAnimationPage::GetRanges;
    1219           0 :             break;
    1220             :         default:
    1221           0 :             break;
    1222             :     }
    1223             : 
    1224           0 :     return 0;
    1225           0 : }
    1226             : 
    1227             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10