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

Generated by: LCOV version 1.10