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

Generated by: LCOV version 1.10