LCOV - code coverage report
Current view: top level - libreoffice/sd/source/ui/dlg - sddlgfact.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 215 0.0 %
Date: 2012-12-27 Functions: 0 148 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             : 
      21             : #ifdef SD_DLLIMPLEMENTATION
      22             : #undef SD_DLLIMPLEMENTATION
      23             : #endif
      24             : 
      25             : #include <sfx2/objsh.hxx>
      26             : #include "sddlgfact.hxx"
      27             : #include "strings.hrc"
      28             : #include "BreakDlg.hxx"
      29             : #include "copydlg.hxx"
      30             : #include "custsdlg.hxx"
      31             : #include "dlg_char.hxx"
      32             : #include "dlgpage.hxx"
      33             : #include "dlgass.hxx"
      34             : #include "dlgfield.hxx"
      35             : #include "dlgsnap.hxx"
      36             : #include "layeroptionsdlg.hxx"
      37             : #include "ins_paste.hxx"
      38             : #include "inspagob.hxx"
      39             : #include "morphdlg.hxx"
      40             : #include "OutlineBulletDlg.hxx"
      41             : #include "paragr.hxx"
      42             : #include "present.hxx"
      43             : #include "RemoteDialog.hxx"
      44             : #include "prltempl.hxx"
      45             : #include "sdpreslt.hxx"
      46             : #include "tabtempl.hxx"
      47             : #include "tpaction.hxx"
      48             : #include "vectdlg.hxx"
      49             : #include "tpoption.hxx"
      50             : #include "prntopts.hxx"
      51             : #include "pubdlg.hxx"
      52             : #include "masterlayoutdlg.hxx"
      53             : #include "headerfooterdlg.hxx"
      54             : 
      55           0 : IMPL_ABSTDLG_BASE(SdVclAbstractDialog_Impl);
      56           0 : IMPL_ABSTDLG_BASE(AbstractCopyDlg_Impl);
      57           0 : IMPL_ABSTDLG_BASE(AbstractSdCustomShowDlg_Impl);
      58           0 : IMPL_ABSTDLG_BASE(SdAbstractTabDialog_Impl);
      59           0 : IMPL_ABSTDLG_BASE(SdPresLayoutTemplateDlg_Impl);
      60           0 : IMPL_ABSTDLG_BASE(AbstractAssistentDlg_Impl);
      61           0 : IMPL_ABSTDLG_BASE(AbstractSdModifyFieldDlg_Impl);
      62           0 : IMPL_ABSTDLG_BASE(AbstractSdSnapLineDlg_Impl);
      63           0 : IMPL_ABSTDLG_BASE(AbstractSdInsertLayerDlg_Impl);
      64           0 : IMPL_ABSTDLG_BASE(AbstractSdInsertPasteDlg_Impl);
      65           0 : IMPL_ABSTDLG_BASE(AbstractSdInsertPagesObjsDlg_Impl);
      66           0 : IMPL_ABSTDLG_BASE(AbstractMorphDlg_Impl);
      67           0 : IMPL_ABSTDLG_BASE(AbstractSdStartPresDlg_Impl);
      68           0 : IMPL_ABSTDLG_BASE(AbstractSdPresLayoutDlg_Impl);
      69           0 : IMPL_ABSTDLG_BASE(SdAbstractSfxDialog_Impl);
      70           0 : IMPL_ABSTDLG_BASE(AbstractSdVectorizeDlg_Impl);
      71           0 : IMPL_ABSTDLG_BASE(AbstractSdPublishingDlg_Impl);
      72           0 : IMPL_ABSTDLG_BASE(AbstractHeaderFooterDialog_Impl);
      73           0 : IMPL_ABSTDLG_BASE(AbstractBulletDialog_Impl);
      74             : 
      75             : //AbstractCopyDlg_Impl begin
      76           0 : void AbstractCopyDlg_Impl::GetAttr( SfxItemSet& rOutAttrs )
      77             : {
      78           0 :     pDlg->GetAttr( rOutAttrs );
      79           0 : }
      80             : // AbstractCopyDlg_Impl end
      81             : 
      82             : //AbstractSdCustomShowDlg_Impl begin
      83           0 : sal_Bool AbstractSdCustomShowDlg_Impl::IsModified() const
      84             : {
      85           0 :     return pDlg->IsModified();
      86             : }
      87           0 : sal_Bool AbstractSdCustomShowDlg_Impl::IsCustomShow() const
      88             : {
      89           0 :     return pDlg->IsCustomShow();
      90             : }
      91             : // AbstractSdCustomShowDlg_Impl end
      92             : 
      93             : // SdAbstractTabDialog_Impl begin
      94           0 : void SdAbstractTabDialog_Impl::SetCurPageId( sal_uInt16 nId )
      95             : {
      96           0 :     pDlg->SetCurPageId( nId );
      97           0 : }
      98           0 : const SfxItemSet* SdAbstractTabDialog_Impl::GetOutputItemSet() const
      99             : {
     100           0 :     return pDlg->GetOutputItemSet();
     101             : }
     102           0 : const sal_uInt16* SdAbstractTabDialog_Impl::GetInputRanges(const SfxItemPool& pItem )
     103             : {
     104           0 :     return pDlg->GetInputRanges( pItem );
     105             : }
     106           0 : void SdAbstractTabDialog_Impl::SetInputSet( const SfxItemSet* pInSet )
     107             : {
     108           0 :      pDlg->SetInputSet( pInSet );
     109           0 : }
     110             : //From class Window.
     111           0 : void SdAbstractTabDialog_Impl::SetText( const XubString& rStr )
     112             : {
     113           0 :     pDlg->SetText( rStr );
     114           0 : }
     115           0 : String SdAbstractTabDialog_Impl::GetText() const
     116             : {
     117           0 :     return pDlg->GetText();
     118             : }
     119             : //add for SdAbstractTabDialog_Impl end
     120             : 
     121             : // --------------------------------------------------------------------
     122             : 
     123             : // AbstractBulletDialog_Impl begin
     124           0 : void AbstractBulletDialog_Impl::SetCurPageId( sal_uInt16 nId )
     125             : {
     126           0 :     static_cast< ::sd::OutlineBulletDlg*>(pDlg)->SetCurPageId( nId );
     127           0 : }
     128           0 : const SfxItemSet* AbstractBulletDialog_Impl::GetOutputItemSet() const
     129             : {
     130           0 :     return static_cast< ::sd::OutlineBulletDlg*>(pDlg)->GetOutputItemSet();
     131             : }
     132           0 : const sal_uInt16* AbstractBulletDialog_Impl::GetInputRanges(const SfxItemPool& pItem )
     133             : {
     134           0 :     return static_cast< ::sd::OutlineBulletDlg*>(pDlg)->GetInputRanges( pItem );
     135             : }
     136           0 : void AbstractBulletDialog_Impl::SetInputSet( const SfxItemSet* pInSet )
     137             : {
     138           0 :      static_cast< ::sd::OutlineBulletDlg*>(pDlg)->SetInputSet( pInSet );
     139           0 : }
     140             : //From class Window.
     141           0 : void AbstractBulletDialog_Impl::SetText( const XubString& rStr )
     142             : {
     143           0 :     static_cast< ::sd::OutlineBulletDlg*>(pDlg)->SetText( rStr );
     144           0 : }
     145           0 : String AbstractBulletDialog_Impl::GetText() const
     146             : {
     147           0 :     return static_cast< ::sd::OutlineBulletDlg*>(pDlg)->GetText();
     148             : }
     149             : //add for AbstractBulletDialog_Impl end
     150             : 
     151             : // --------------------------------------------------------------------
     152             : 
     153           0 : void SdPresLayoutTemplateDlg_Impl::SetCurPageId( sal_uInt16 nId )
     154             : {
     155           0 :     pDlg->SetCurPageId( nId );
     156           0 : }
     157             : 
     158           0 : const SfxItemSet* SdPresLayoutTemplateDlg_Impl::GetOutputItemSet() const
     159             : {
     160           0 :     return pDlg->GetOutputItemSet();
     161             : }
     162             : 
     163           0 : const sal_uInt16* SdPresLayoutTemplateDlg_Impl::GetInputRanges(const SfxItemPool& pItem )
     164             : {
     165           0 :     return pDlg->GetInputRanges( pItem );
     166             : }
     167             : 
     168           0 : void SdPresLayoutTemplateDlg_Impl::SetInputSet( const SfxItemSet* pInSet )
     169             : {
     170           0 :      pDlg->SetInputSet( pInSet );
     171           0 : }
     172             : 
     173           0 : void SdPresLayoutTemplateDlg_Impl::SetText( const XubString& rStr )
     174             : {
     175           0 :     pDlg->SetText( rStr );
     176           0 : }
     177             : 
     178           0 : String SdPresLayoutTemplateDlg_Impl::GetText() const
     179             : {
     180           0 :     return pDlg->GetText();
     181             : }
     182             : 
     183             : // --------------------------------------------------------------------
     184             : 
     185             : //AbstractAssistentDlg_Impl begin
     186           0 : SfxObjectShellLock AbstractAssistentDlg_Impl::GetDocument()
     187             : {
     188           0 :     return pDlg->GetDocument();
     189             : }
     190           0 : OutputType AbstractAssistentDlg_Impl::GetOutputMedium() const
     191             : {
     192           0 :     return pDlg->GetOutputMedium();
     193             : }
     194           0 : sal_Bool AbstractAssistentDlg_Impl::IsSummary() const
     195             : {
     196           0 :     return pDlg->IsSummary();
     197             : }
     198           0 : StartType AbstractAssistentDlg_Impl::GetStartType() const
     199             : {
     200           0 :     return pDlg->GetStartType();
     201             : }
     202           0 : String AbstractAssistentDlg_Impl::GetDocPath() const
     203             : {
     204           0 :     return pDlg->GetDocPath();
     205             : }
     206           0 : sal_Bool AbstractAssistentDlg_Impl::GetStartWithFlag() const
     207             : {
     208           0 :     return pDlg->GetStartWithFlag();
     209             : }
     210           0 : sal_Bool AbstractAssistentDlg_Impl::IsDocEmpty() const
     211             : {
     212           0 :     return pDlg->IsDocEmpty();
     213             : }
     214           0 : com::sun::star::uno::Sequence< com::sun::star::beans::NamedValue > AbstractAssistentDlg_Impl::GetPassword()
     215             : {
     216           0 :     return pDlg->GetPassword();
     217             : }
     218             : // AbstractAssistentDlg_Impl end
     219             : 
     220             : //AbstractSdModifyFieldDlg_Impl begin
     221           0 : SvxFieldData* AbstractSdModifyFieldDlg_Impl::GetField()
     222             : {
     223           0 :     return pDlg->GetField();
     224             : }
     225           0 : SfxItemSet AbstractSdModifyFieldDlg_Impl::GetItemSet()
     226             : {
     227           0 :     return pDlg->GetItemSet();
     228             : }
     229             : // AbstractSdModifyFieldDlg_Impl end
     230             : 
     231             : //AbstractSdSnapLineDlg_Impl begin
     232           0 : void AbstractSdSnapLineDlg_Impl::GetAttr(SfxItemSet& rOutAttrs)
     233             : {
     234           0 :     pDlg->GetAttr(rOutAttrs);
     235           0 : }
     236           0 : void AbstractSdSnapLineDlg_Impl::HideRadioGroup()
     237             : {
     238           0 :     pDlg->HideRadioGroup();
     239           0 : }
     240           0 : void AbstractSdSnapLineDlg_Impl::HideDeleteBtn()
     241             : {
     242           0 :     pDlg->HideDeleteBtn();
     243           0 : }
     244           0 : void AbstractSdSnapLineDlg_Impl::SetInputFields(sal_Bool bEnableX, sal_Bool bEnableY)
     245             : {
     246           0 :     pDlg->SetInputFields(bEnableX, bEnableY);
     247           0 : }
     248           0 : void AbstractSdSnapLineDlg_Impl::SetText( const XubString& rStr )
     249             : {
     250           0 :     pDlg->SetText( rStr );
     251           0 : }
     252             : // AbstractSdSnapLineDlg_Impl end
     253             : 
     254             : //AbstractSdInsertLayerDlg_Impl begin
     255           0 : void AbstractSdInsertLayerDlg_Impl::GetAttr( SfxItemSet& rOutAttrs )
     256             : {
     257           0 :     pDlg->GetAttr( rOutAttrs );
     258           0 : }
     259           0 : void AbstractSdInsertLayerDlg_Impl::SetHelpId( const rtl::OString& rHelpId )
     260             : {
     261           0 :     pDlg->SetHelpId( rHelpId );
     262           0 : }
     263             : // AbstractSdInsertLayerDlg_Impl end
     264             : 
     265             : //AbstractSdInsertPasteDlg_Impl begin
     266           0 : sal_Bool AbstractSdInsertPasteDlg_Impl::IsInsertBefore() const
     267             : {
     268           0 :     return pDlg->IsInsertBefore();
     269             : }
     270             : // AbstractSdInsertPasteDlg_Impl end
     271             : 
     272             : //AbstractSdInsertPagesObjsDlg_Impl begin
     273           0 : ::Window* AbstractSdInsertPagesObjsDlg_Impl::GetWindow()
     274             : {
     275           0 :     return (::Window*)pDlg;
     276             : }
     277             : 
     278           0 : std::vector<rtl::OUString> AbstractSdInsertPagesObjsDlg_Impl::GetList(const sal_uInt16 nType)
     279             : {
     280           0 :     return pDlg->GetList(nType);
     281             : }
     282             : 
     283           0 : sal_Bool AbstractSdInsertPagesObjsDlg_Impl::IsLink()
     284             : {
     285           0 :     return pDlg->IsLink();
     286             : }
     287           0 : sal_Bool AbstractSdInsertPagesObjsDlg_Impl::IsRemoveUnnessesaryMasterPages() const
     288             : {
     289           0 :     return pDlg->IsRemoveUnnessesaryMasterPages();
     290             : }
     291             : // AbstractSdInsertPagesObjsDlg_Impl end
     292             : 
     293             : //AbstractMorphDlg_Impl begin
     294           0 : void AbstractMorphDlg_Impl::SaveSettings() const
     295             : {
     296           0 :     pDlg->SaveSettings();
     297           0 : }
     298           0 : sal_uInt16 AbstractMorphDlg_Impl::GetFadeSteps() const
     299             : {
     300           0 :     return pDlg->GetFadeSteps();
     301             : }
     302           0 : sal_Bool AbstractMorphDlg_Impl::IsAttributeFade() const
     303             : {
     304           0 :     return pDlg->IsAttributeFade();
     305             : }
     306           0 : sal_Bool AbstractMorphDlg_Impl::IsOrientationFade() const
     307             : {
     308           0 :     return pDlg->IsOrientationFade();
     309             : }
     310             : // AbstractMorphDlg_Impl end
     311             : 
     312             : //AbstractSdStartPresDlg_Impl begin
     313           0 : void AbstractSdStartPresDlg_Impl::GetAttr( SfxItemSet& rOutAttrs )
     314             : {
     315           0 :     pDlg->GetAttr( rOutAttrs );
     316           0 : }
     317             : 
     318             : //AbstractSdPresLayoutDlg_Impl begin
     319           0 : void AbstractSdPresLayoutDlg_Impl::GetAttr( SfxItemSet& rOutAttrs )
     320             : {
     321           0 :     pDlg->GetAttr( rOutAttrs );
     322           0 : }
     323             : // AbstractSdPresLayoutDlg_Impl end
     324             : 
     325             : //SfxAbstractDialog_Impl begin
     326           0 : const SfxItemSet* SdAbstractSfxDialog_Impl::GetOutputItemSet() const
     327             : {
     328           0 :     return pDlg->GetOutputItemSet();
     329             : }
     330           0 : void SdAbstractSfxDialog_Impl::SetText( const XubString& rStr )
     331             : {
     332           0 :     pDlg->SetText( rStr );
     333           0 : }
     334           0 : String SdAbstractSfxDialog_Impl::GetText() const
     335             : {
     336           0 :     return pDlg->GetText();
     337             : }
     338             : 
     339             : //AbstractSfxSingleTabDialog_Impl end
     340             : 
     341             : //AbstractSdVectorizeDlg_Impl begin
     342           0 : const GDIMetaFile& AbstractSdVectorizeDlg_Impl::GetGDIMetaFile() const
     343             : {
     344           0 :     return pDlg->GetGDIMetaFile();
     345             : }
     346             : //AbstractSdVectorizeDlg_Impl end
     347             : 
     348             : //AbstractSdPublishingDlg_Impl begin
     349           0 : void AbstractSdPublishingDlg_Impl::GetParameterSequence( ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& rParams )
     350             : {
     351           0 :     pDlg->GetParameterSequence( rParams );
     352           0 : }
     353             : //AbstractSdPublishingDlg_Impl end
     354             : 
     355             : //AbstractHeaderFooterDialog_Impl
     356           0 : void AbstractHeaderFooterDialog_Impl::ApplyToAll( TabPage* pPage )
     357             : {
     358           0 :   pDlg->ApplyToAll( pPage );
     359           0 : }
     360             : 
     361           0 : void AbstractHeaderFooterDialog_Impl::Apply( TabPage* pPage )
     362             : {
     363           0 :   pDlg->Apply( pPage );
     364           0 : }
     365             : 
     366           0 : void AbstractHeaderFooterDialog_Impl::Cancel( TabPage* pPage )
     367             : {
     368           0 :   pDlg->Cancel( pPage );
     369           0 : }
     370             : //AbstractHeaderFooterDialog_Impl
     371             : 
     372             : //-------------- SdAbstractDialogFactory implementation--------------
     373             : 
     374             : //add for BreakDlg begin
     375           0 : VclAbstractDialog * SdAbstractDialogFactory_Impl::CreateBreakDlg(
     376             :                                             ::Window* pWindow,
     377             :                                             ::sd::DrawView* pDrView,
     378             :                                             ::sd::DrawDocShell* pShell,
     379             :                                             sal_uLong nSumActionCount,
     380             :                                             sal_uLong nObjCount ) //add for BreakDlg
     381             : {
     382           0 :     return new SdVclAbstractDialog_Impl( new ::sd::BreakDlg( pWindow, pDrView, pShell, nSumActionCount, nObjCount ) );
     383             : }
     384             : //add for BreakDlg end
     385             : 
     386             : //add for CopyDlg begin
     387           0 : AbstractCopyDlg * SdAbstractDialogFactory_Impl::CreateCopyDlg(
     388             :                                             ::Window* pWindow, const SfxItemSet& rInAttrs,
     389             :                                             const rtl::Reference<XColorList> &pColTab,
     390             :                                             ::sd::View* pView ) //add for CopyDlg
     391             : {
     392           0 :     return new AbstractCopyDlg_Impl( new ::sd::CopyDlg( pWindow, rInAttrs, pColTab, pView ) );
     393             : }
     394             : //add for CopyDlg end
     395             : 
     396             : //add for SdCustomShowDlg begin
     397           0 : AbstractSdCustomShowDlg * SdAbstractDialogFactory_Impl::CreateSdCustomShowDlg( ::Window* pWindow, SdDrawDocument& rDrawDoc ) //add for SdCustomShowDlg
     398             : {
     399           0 :     return new AbstractSdCustomShowDlg_Impl( new SdCustomShowDlg( pWindow, rDrawDoc ) );
     400             : }
     401             : //add for SdCustomShowDlg end
     402             : 
     403             : // add for SdCharDlg begin
     404           0 : SfxAbstractTabDialog *  SdAbstractDialogFactory_Impl::CreateSdTabCharDialog( ::Window* pParent, const SfxItemSet* pAttr, SfxObjectShell* pDocShell )
     405             : {
     406           0 :     return new SdAbstractTabDialog_Impl( new SdCharDlg( pParent, pAttr, pDocShell ) );
     407             : }
     408             : 
     409             : 
     410           0 : SfxAbstractTabDialog *  SdAbstractDialogFactory_Impl::CreateSdTabPageDialog( ::Window* pParent, const SfxItemSet* pAttr, SfxObjectShell* pDocShell, sal_Bool bAreaPage )
     411             : {
     412           0 :     return new SdAbstractTabDialog_Impl( new SdPageDlg( pDocShell, pParent, pAttr, bAreaPage ) );
     413             : }
     414             : // add for SdCharDlg end
     415             : 
     416             : //add for AssistentDlg begin
     417           0 : AbstractAssistentDlg * SdAbstractDialogFactory_Impl::CreateAssistentDlg( ::Window* pParent, sal_Bool bAutoPilot)
     418             : {
     419           0 :     return new AbstractAssistentDlg_Impl( new AssistentDlg( pParent, bAutoPilot ) );
     420             : }
     421             : //add for AssistentDlg end
     422             : 
     423             : //add for SdModifyFieldDlg begin
     424           0 : AbstractSdModifyFieldDlg * SdAbstractDialogFactory_Impl::CreateSdModifyFieldDlg( ::Window* pWindow, const SvxFieldData* pInField, const SfxItemSet& rSet )
     425             : {
     426           0 :     return new AbstractSdModifyFieldDlg_Impl( new SdModifyFieldDlg( pWindow, pInField, rSet ) );
     427             : }
     428             : //add for SdModifyFieldDlg end
     429             : 
     430             : //add for SdSnapLineDlg begin
     431           0 : AbstractSdSnapLineDlg * SdAbstractDialogFactory_Impl::CreateSdSnapLineDlg( ::Window* pWindow, const SfxItemSet& rInAttrs, ::sd::View* pView)
     432             : {
     433           0 :     return new AbstractSdSnapLineDlg_Impl( new SdSnapLineDlg( pWindow, rInAttrs, pView ) );
     434             : }
     435             : //add for SdSnapLineDlg end
     436             : 
     437             : //add for SdInsertLayerDlg begin
     438           0 : AbstractSdInsertLayerDlg * SdAbstractDialogFactory_Impl::CreateSdInsertLayerDlg( ::Window* pWindow, const SfxItemSet& rInAttrs, bool bDeletable, String aStr ) //add for SdInsertLayerDlg
     439             : {
     440           0 :     return new AbstractSdInsertLayerDlg_Impl( new SdInsertLayerDlg( pWindow, rInAttrs, bDeletable, aStr ) );
     441             : }
     442             : //add for SdInsertLayerDlg end
     443             : 
     444             : //add for SdInsertPasteDlg begin
     445           0 : AbstractSdInsertPasteDlg * SdAbstractDialogFactory_Impl::CreateSdInsertPasteDlg( ::Window* pWindow )
     446             : {
     447           0 :     return new AbstractSdInsertPasteDlg_Impl( new SdInsertPasteDlg( pWindow ) );
     448             : }
     449             : //add for SdInsertPasteDlg end
     450             : 
     451             : //add for SdInsertPagesObjsDlg begin
     452           0 : AbstractSdInsertPagesObjsDlg * SdAbstractDialogFactory_Impl::CreateSdInsertPagesObjsDlg( ::Window* pParent, const SdDrawDocument* pDoc, SfxMedium* pSfxMedium, const String& rFileName )
     453             : {
     454           0 :     return new AbstractSdInsertPagesObjsDlg_Impl( new SdInsertPagesObjsDlg( pParent, pDoc, pSfxMedium, rFileName ) );
     455             : }
     456             : //add for SdInsertPagesObjsDlg end
     457             : 
     458             : //add for MorphDlg begin
     459           0 : AbstractMorphDlg * SdAbstractDialogFactory_Impl::CreateMorphDlg( ::Window* pParent, const SdrObject* pObj1, const SdrObject* pObj2)
     460             : {
     461           0 :     return new AbstractMorphDlg_Impl( new ::sd::MorphDlg( pParent, pObj1, pObj2 ) );
     462             : }
     463             : //add for MorphDlg end
     464             : 
     465             : // add for OutlineBulletDlg begin
     466           0 : SfxAbstractTabDialog *  SdAbstractDialogFactory_Impl::CreateSdOutlineBulletTabDlg( ::Window* pParent, const SfxItemSet* pAttr, ::sd::View* pView )
     467             : {
     468           0 :     return new AbstractBulletDialog_Impl( new ::sd::OutlineBulletDlg( pParent, pAttr, pView ) );
     469             : }
     470             : 
     471           0 : SfxAbstractTabDialog *  SdAbstractDialogFactory_Impl::CreateSdParagraphTabDlg( ::Window* pParent, const SfxItemSet* pAttr )
     472             : {
     473           0 :     return new SdAbstractTabDialog_Impl( new SdParagraphDlg( pParent, pAttr ) );
     474             : }
     475             : // add for OutlineBulletDlg end
     476             : 
     477             : // add for SdStartPresentationDlg begin
     478           0 : AbstractSdStartPresDlg *  SdAbstractDialogFactory_Impl::CreateSdStartPresentationDlg( ::Window* pWindow, const SfxItemSet& rInAttrs,
     479             :                                                                                      const std::vector<String> &rPageNames, SdCustomShowList* pCSList )
     480             : {
     481           0 :     return new AbstractSdStartPresDlg_Impl( new SdStartPresentationDlg( pWindow, rInAttrs, rPageNames, pCSList ) );
     482             : }
     483             : // add for SdStartPresentationDlg end
     484             : 
     485             : // add for SdRemoteDlg begin
     486           0 : VclAbstractDialog * SdAbstractDialogFactory_Impl::CreateRemoteDialog( ::Window* pWindow )
     487             : {
     488           0 :      return new SdVclAbstractDialog_Impl( new ::sd::RemoteDialog( pWindow ) );
     489             : }
     490             : // add for SdRemoteDlg end
     491             : 
     492             : // add for SdPresLayoutTemplateDlg begin
     493           0 : SfxAbstractTabDialog *  SdAbstractDialogFactory_Impl::CreateSdPresLayoutTemplateDlg( SfxObjectShell* pDocSh, ::Window* pParent, SdResId DlgId, SfxStyleSheetBase& rStyleBase, PresentationObjects ePO, SfxStyleSheetBasePool* pSSPool )
     494             : {
     495           0 :     return new SdPresLayoutTemplateDlg_Impl( new SdPresLayoutTemplateDlg( pDocSh, pParent, DlgId, rStyleBase, ePO, pSSPool ) );
     496             : }
     497             : 
     498             : // add for SdPresLayoutDlg begin
     499           0 : AbstractSdPresLayoutDlg *  SdAbstractDialogFactory_Impl::CreateSdPresLayoutDlg(  ::sd::DrawDocShell* pDocShell, ::Window* pWindow, const SfxItemSet& rInAttrs)
     500             : {
     501           0 :     return new AbstractSdPresLayoutDlg_Impl( new SdPresLayoutDlg( pDocShell, pWindow, rInAttrs ) );
     502             : }
     503             : // add for SdPresLayoutDlg end
     504             : 
     505             : // add for SdTabTemplateDlg begin
     506           0 : SfxAbstractTabDialog *  SdAbstractDialogFactory_Impl::CreateSdTabTemplateDlg( ::Window* pParent, const SfxObjectShell* pDocShell, SfxStyleSheetBase& rStyleBase, SdrModel* pModel, SdrView* pView )
     507             : {
     508           0 :     return new SdAbstractTabDialog_Impl( new SdTabTemplateDlg( pParent, pDocShell, rStyleBase, pModel, pView ) );
     509             : }
     510             : // add for SdTabTemplateDlg end
     511             : 
     512           0 : SfxAbstractDialog* SdAbstractDialogFactory_Impl::CreatSdActionDialog( ::Window* pParent, const SfxItemSet* pAttr, ::sd::View* pView )
     513             : {
     514           0 :     return new SdAbstractSfxDialog_Impl( new SdActionDlg( pParent, pAttr, pView ) );
     515             : }
     516             : 
     517             : // add for SdVectorizeDlg begin
     518           0 : AbstractSdVectorizeDlg *  SdAbstractDialogFactory_Impl::CreateSdVectorizeDlg( ::Window* pParent, const Bitmap& rBmp, ::sd::DrawDocShell* pDocShell )
     519             : {
     520           0 :     return new AbstractSdVectorizeDlg_Impl( new SdVectorizeDlg( pParent, rBmp, pDocShell ) );
     521             : }
     522             : // add for SdVectorizeDlg end
     523             : 
     524             : // add for SdPublishingDlg begin
     525           0 : AbstractSdPublishingDlg *  SdAbstractDialogFactory_Impl::CreateSdPublishingDlg( ::Window* pWindow, DocumentType eDocType)
     526             : {
     527           0 :     return new AbstractSdPublishingDlg_Impl( new SdPublishingDlg( pWindow, eDocType ) );
     528             : }
     529             : // add for SdPublishingDlg end
     530             : 
     531             : // Factories for TabPages
     532           0 : CreateTabPage SdAbstractDialogFactory_Impl::GetSdOptionsContentsTabPageCreatorFunc()
     533             : {
     534           0 :     return SdTpOptionsContents::Create;
     535             : }
     536             : 
     537           0 : CreateTabPage SdAbstractDialogFactory_Impl::GetSdPrintOptionsTabPageCreatorFunc()
     538             : {
     539           0 :     return SdPrintOptions::Create;
     540             : }
     541             : 
     542           0 : CreateTabPage SdAbstractDialogFactory_Impl::GetSdOptionsMiscTabPageCreatorFunc()
     543             : {
     544           0 :     return SdTpOptionsMisc::Create;
     545             : }
     546             : 
     547           0 : CreateTabPage SdAbstractDialogFactory_Impl::GetSdOptionsSnapTabPageCreatorFunc()
     548             : {
     549           0 :     return SdTpOptionsSnap::Create;
     550             : }
     551             : 
     552           0 : VclAbstractDialog* SdAbstractDialogFactory_Impl::CreateMasterLayoutDialog( ::Window* pParent,
     553             :     SdDrawDocument* pDoc, SdPage* pCurrentPage )
     554             : {
     555           0 :   return new SdVclAbstractDialog_Impl( new ::sd::MasterLayoutDialog( pParent, pDoc, pCurrentPage ));
     556             : }
     557             : 
     558           0 : AbstractHeaderFooterDialog* SdAbstractDialogFactory_Impl::CreateHeaderFooterDialog( ViewShell* pViewShell,
     559             :   ::Window* pParent, SdDrawDocument* pDoc, SdPage* pCurrentPage )
     560             : {
     561           0 :     return new AbstractHeaderFooterDialog_Impl( new ::sd::HeaderFooterDialog( (::sd::ViewShell*)pViewShell, pParent, pDoc, pCurrentPage ));
     562           0 : }
     563             : 
     564             : 
     565             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10