1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
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"
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"
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"
47 #include "masterlayoutdlg.hxx"
48 #include "headerfooterdlg.hxx"
49 #include "PhotoAlbumDialog.hxx"
51 IMPL_ABSTDLG_BASE(SdVclAbstractDialog_Impl
);
52 IMPL_ABSTDLG_BASE(AbstractCopyDlg_Impl
);
53 IMPL_ABSTDLG_BASE(AbstractSdCustomShowDlg_Impl
);
54 IMPL_ABSTDLG_BASE(SdAbstractTabDialog_Impl
);
55 IMPL_ABSTDLG_BASE(SdPresLayoutTemplateDlg_Impl
);
56 IMPL_ABSTDLG_BASE(AbstractAssistentDlg_Impl
);
57 IMPL_ABSTDLG_BASE(AbstractSdModifyFieldDlg_Impl
);
58 IMPL_ABSTDLG_BASE(AbstractSdSnapLineDlg_Impl
);
59 IMPL_ABSTDLG_BASE(AbstractSdInsertLayerDlg_Impl
);
60 IMPL_ABSTDLG_BASE(AbstractSdInsertPasteDlg_Impl
);
61 IMPL_ABSTDLG_BASE(AbstractSdInsertPagesObjsDlg_Impl
);
62 IMPL_ABSTDLG_BASE(AbstractMorphDlg_Impl
);
63 IMPL_ABSTDLG_BASE(AbstractSdStartPresDlg_Impl
);
64 IMPL_ABSTDLG_BASE(AbstractSdPresLayoutDlg_Impl
);
65 IMPL_ABSTDLG_BASE(SdAbstractSfxDialog_Impl
);
66 IMPL_ABSTDLG_BASE(AbstractSdVectorizeDlg_Impl
);
67 IMPL_ABSTDLG_BASE(AbstractSdPublishingDlg_Impl
);
68 IMPL_ABSTDLG_BASE(AbstractHeaderFooterDialog_Impl
);
69 IMPL_ABSTDLG_BASE(AbstractBulletDialog_Impl
);
71 //AbstractCopyDlg_Impl begin
72 void AbstractCopyDlg_Impl::GetAttr( SfxItemSet
& rOutAttrs
)
74 pDlg
->GetAttr( rOutAttrs
);
76 // AbstractCopyDlg_Impl end
78 //AbstractSdCustomShowDlg_Impl begin
79 sal_Bool
AbstractSdCustomShowDlg_Impl::IsModified() const
81 return pDlg
->IsModified();
83 sal_Bool
AbstractSdCustomShowDlg_Impl::IsCustomShow() const
85 return pDlg
->IsCustomShow();
87 // AbstractSdCustomShowDlg_Impl end
89 // SdAbstractTabDialog_Impl begin
90 void SdAbstractTabDialog_Impl::SetCurPageId( sal_uInt16 nId
)
92 pDlg
->SetCurPageId( nId
);
95 void SdAbstractTabDialog_Impl::SetCurPageId( const OString
& rName
)
97 pDlg
->SetCurPageId( rName
);
100 const SfxItemSet
* SdAbstractTabDialog_Impl::GetOutputItemSet() const
102 return pDlg
->GetOutputItemSet();
104 const sal_uInt16
* SdAbstractTabDialog_Impl::GetInputRanges(const SfxItemPool
& pItem
)
106 return pDlg
->GetInputRanges( pItem
);
108 void SdAbstractTabDialog_Impl::SetInputSet( const SfxItemSet
* pInSet
)
110 pDlg
->SetInputSet( pInSet
);
113 void SdAbstractTabDialog_Impl::SetText( const OUString
& rStr
)
115 pDlg
->SetText( rStr
);
117 OUString
SdAbstractTabDialog_Impl::GetText() const
119 return pDlg
->GetText();
121 //add for SdAbstractTabDialog_Impl end
123 // --------------------------------------------------------------------
125 // AbstractBulletDialog_Impl begin
126 void AbstractBulletDialog_Impl::SetCurPageId( sal_uInt16 nId
)
128 static_cast< ::sd::OutlineBulletDlg
*>(pDlg
)->SetCurPageId( nId
);
131 void AbstractBulletDialog_Impl::SetCurPageId( const OString
& rName
)
133 static_cast< ::sd::OutlineBulletDlg
*>(pDlg
)->SetCurPageId( rName
);
136 const SfxItemSet
* AbstractBulletDialog_Impl::GetOutputItemSet() const
138 return static_cast< ::sd::OutlineBulletDlg
*>(pDlg
)->GetOutputItemSet();
140 const sal_uInt16
* AbstractBulletDialog_Impl::GetInputRanges(const SfxItemPool
& pItem
)
142 return static_cast< ::sd::OutlineBulletDlg
*>(pDlg
)->GetInputRanges( pItem
);
144 void AbstractBulletDialog_Impl::SetInputSet( const SfxItemSet
* pInSet
)
146 static_cast< ::sd::OutlineBulletDlg
*>(pDlg
)->SetInputSet( pInSet
);
149 void AbstractBulletDialog_Impl::SetText( const OUString
& rStr
)
151 static_cast< ::sd::OutlineBulletDlg
*>(pDlg
)->SetText( rStr
);
153 OUString
AbstractBulletDialog_Impl::GetText() const
155 return static_cast< ::sd::OutlineBulletDlg
*>(pDlg
)->GetText();
157 //add for AbstractBulletDialog_Impl end
159 // --------------------------------------------------------------------
161 void SdPresLayoutTemplateDlg_Impl::SetCurPageId( sal_uInt16 nId
)
163 pDlg
->SetCurPageId( nId
);
166 void SdPresLayoutTemplateDlg_Impl::SetCurPageId( const OString
& rName
)
168 pDlg
->SetCurPageId( rName
);
171 const SfxItemSet
* SdPresLayoutTemplateDlg_Impl::GetOutputItemSet() const
173 return pDlg
->GetOutputItemSet();
176 const sal_uInt16
* SdPresLayoutTemplateDlg_Impl::GetInputRanges(const SfxItemPool
& pItem
)
178 return pDlg
->GetInputRanges( pItem
);
181 void SdPresLayoutTemplateDlg_Impl::SetInputSet( const SfxItemSet
* pInSet
)
183 pDlg
->SetInputSet( pInSet
);
186 void SdPresLayoutTemplateDlg_Impl::SetText( const OUString
& rStr
)
188 pDlg
->SetText( rStr
);
191 OUString
SdPresLayoutTemplateDlg_Impl::GetText() const
193 return pDlg
->GetText();
196 // --------------------------------------------------------------------
198 //AbstractAssistentDlg_Impl begin
199 SfxObjectShellLock
AbstractAssistentDlg_Impl::GetDocument()
201 return pDlg
->GetDocument();
203 OutputType
AbstractAssistentDlg_Impl::GetOutputMedium() const
205 return pDlg
->GetOutputMedium();
207 sal_Bool
AbstractAssistentDlg_Impl::IsSummary() const
209 return pDlg
->IsSummary();
211 StartType
AbstractAssistentDlg_Impl::GetStartType() const
213 return pDlg
->GetStartType();
215 String
AbstractAssistentDlg_Impl::GetDocPath() const
217 return pDlg
->GetDocPath();
219 sal_Bool
AbstractAssistentDlg_Impl::GetStartWithFlag() const
221 return pDlg
->GetStartWithFlag();
223 sal_Bool
AbstractAssistentDlg_Impl::IsDocEmpty() const
225 return pDlg
->IsDocEmpty();
227 com::sun::star::uno::Sequence
< com::sun::star::beans::NamedValue
> AbstractAssistentDlg_Impl::GetPassword()
229 return pDlg
->GetPassword();
231 // AbstractAssistentDlg_Impl end
233 //AbstractSdModifyFieldDlg_Impl begin
234 SvxFieldData
* AbstractSdModifyFieldDlg_Impl::GetField()
236 return pDlg
->GetField();
238 SfxItemSet
AbstractSdModifyFieldDlg_Impl::GetItemSet()
240 return pDlg
->GetItemSet();
242 // AbstractSdModifyFieldDlg_Impl end
244 //AbstractSdSnapLineDlg_Impl begin
245 void AbstractSdSnapLineDlg_Impl::GetAttr(SfxItemSet
& rOutAttrs
)
247 pDlg
->GetAttr(rOutAttrs
);
249 void AbstractSdSnapLineDlg_Impl::HideRadioGroup()
251 pDlg
->HideRadioGroup();
253 void AbstractSdSnapLineDlg_Impl::HideDeleteBtn()
255 pDlg
->HideDeleteBtn();
257 void AbstractSdSnapLineDlg_Impl::SetInputFields(sal_Bool bEnableX
, sal_Bool bEnableY
)
259 pDlg
->SetInputFields(bEnableX
, bEnableY
);
261 void AbstractSdSnapLineDlg_Impl::SetText( const OUString
& rStr
)
263 pDlg
->SetText( rStr
);
265 // AbstractSdSnapLineDlg_Impl end
267 //AbstractSdInsertLayerDlg_Impl begin
268 void AbstractSdInsertLayerDlg_Impl::GetAttr( SfxItemSet
& rOutAttrs
)
270 pDlg
->GetAttr( rOutAttrs
);
272 void AbstractSdInsertLayerDlg_Impl::SetHelpId( const OString
& rHelpId
)
274 pDlg
->SetHelpId( rHelpId
);
276 // AbstractSdInsertLayerDlg_Impl end
278 //AbstractSdInsertPasteDlg_Impl begin
279 sal_Bool
AbstractSdInsertPasteDlg_Impl::IsInsertBefore() const
281 return pDlg
->IsInsertBefore();
283 // AbstractSdInsertPasteDlg_Impl end
285 //AbstractSdInsertPagesObjsDlg_Impl begin
286 ::Window
* AbstractSdInsertPagesObjsDlg_Impl::GetWindow()
288 return (::Window
*)pDlg
;
291 std::vector
<OUString
> AbstractSdInsertPagesObjsDlg_Impl::GetList(const sal_uInt16 nType
)
293 return pDlg
->GetList(nType
);
296 sal_Bool
AbstractSdInsertPagesObjsDlg_Impl::IsLink()
298 return pDlg
->IsLink();
300 sal_Bool
AbstractSdInsertPagesObjsDlg_Impl::IsRemoveUnnessesaryMasterPages() const
302 return pDlg
->IsRemoveUnnessesaryMasterPages();
304 // AbstractSdInsertPagesObjsDlg_Impl end
306 //AbstractMorphDlg_Impl begin
307 void AbstractMorphDlg_Impl::SaveSettings() const
309 pDlg
->SaveSettings();
311 sal_uInt16
AbstractMorphDlg_Impl::GetFadeSteps() const
313 return pDlg
->GetFadeSteps();
315 sal_Bool
AbstractMorphDlg_Impl::IsAttributeFade() const
317 return pDlg
->IsAttributeFade();
319 sal_Bool
AbstractMorphDlg_Impl::IsOrientationFade() const
321 return pDlg
->IsOrientationFade();
323 // AbstractMorphDlg_Impl end
325 //AbstractSdStartPresDlg_Impl begin
326 void AbstractSdStartPresDlg_Impl::GetAttr( SfxItemSet
& rOutAttrs
)
328 pDlg
->GetAttr( rOutAttrs
);
331 //AbstractSdPresLayoutDlg_Impl begin
332 void AbstractSdPresLayoutDlg_Impl::GetAttr( SfxItemSet
& rOutAttrs
)
334 pDlg
->GetAttr( rOutAttrs
);
336 // AbstractSdPresLayoutDlg_Impl end
338 //SfxAbstractDialog_Impl begin
339 const SfxItemSet
* SdAbstractSfxDialog_Impl::GetOutputItemSet() const
341 return pDlg
->GetOutputItemSet();
343 void SdAbstractSfxDialog_Impl::SetText( const OUString
& rStr
)
345 pDlg
->SetText( rStr
);
347 OUString
SdAbstractSfxDialog_Impl::GetText() const
349 return pDlg
->GetText();
352 //AbstractSfxNoLayoutSingleTabDialog_Impl end
354 //AbstractSdVectorizeDlg_Impl begin
355 const GDIMetaFile
& AbstractSdVectorizeDlg_Impl::GetGDIMetaFile() const
357 return pDlg
->GetGDIMetaFile();
359 //AbstractSdVectorizeDlg_Impl end
361 //AbstractSdPublishingDlg_Impl begin
362 void AbstractSdPublishingDlg_Impl::GetParameterSequence( ::com::sun::star::uno::Sequence
< ::com::sun::star::beans::PropertyValue
>& rParams
)
364 pDlg
->GetParameterSequence( rParams
);
366 //AbstractSdPublishingDlg_Impl end
368 //AbstractHeaderFooterDialog_Impl
369 void AbstractHeaderFooterDialog_Impl::ApplyToAll( TabPage
* pPage
)
371 pDlg
->ApplyToAll( pPage
);
374 void AbstractHeaderFooterDialog_Impl::Apply( TabPage
* pPage
)
376 pDlg
->Apply( pPage
);
379 void AbstractHeaderFooterDialog_Impl::Cancel( TabPage
* pPage
)
381 pDlg
->Cancel( pPage
);
383 //AbstractHeaderFooterDialog_Impl
385 //-------------- SdAbstractDialogFactory implementation--------------
387 //add for BreakDlg begin
388 VclAbstractDialog
* SdAbstractDialogFactory_Impl::CreateBreakDlg(
390 ::sd::DrawView
* pDrView
,
391 ::sd::DrawDocShell
* pShell
,
392 sal_uLong nSumActionCount
,
393 sal_uLong nObjCount
) //add for BreakDlg
395 return new SdVclAbstractDialog_Impl( new ::sd::BreakDlg( pWindow
, pDrView
, pShell
, nSumActionCount
, nObjCount
) );
397 //add for BreakDlg end
399 //add for CopyDlg begin
400 AbstractCopyDlg
* SdAbstractDialogFactory_Impl::CreateCopyDlg(
401 ::Window
* pWindow
, const SfxItemSet
& rInAttrs
,
402 const rtl::Reference
<XColorList
> &pColTab
,
403 ::sd::View
* pView
) //add for CopyDlg
405 return new AbstractCopyDlg_Impl( new ::sd::CopyDlg( pWindow
, rInAttrs
, pColTab
, pView
) );
407 //add for CopyDlg end
409 //add for SdCustomShowDlg begin
410 AbstractSdCustomShowDlg
* SdAbstractDialogFactory_Impl::CreateSdCustomShowDlg( ::Window
* pWindow
, SdDrawDocument
& rDrawDoc
) //add for SdCustomShowDlg
412 return new AbstractSdCustomShowDlg_Impl( new SdCustomShowDlg( pWindow
, rDrawDoc
) );
414 //add for SdCustomShowDlg end
416 // add for SdCharDlg begin
417 SfxAbstractTabDialog
* SdAbstractDialogFactory_Impl::CreateSdTabCharDialog( ::Window
* pParent
, const SfxItemSet
* pAttr
, SfxObjectShell
* pDocShell
)
419 return new SdAbstractTabDialog_Impl( new SdCharDlg( pParent
, pAttr
, pDocShell
) );
423 SfxAbstractTabDialog
* SdAbstractDialogFactory_Impl::CreateSdTabPageDialog( ::Window
* pParent
, const SfxItemSet
* pAttr
, SfxObjectShell
* pDocShell
, sal_Bool bAreaPage
)
425 return new SdAbstractTabDialog_Impl( new SdPageDlg( pDocShell
, pParent
, pAttr
, bAreaPage
) );
427 // add for SdCharDlg end
429 //add for AssistentDlg begin
430 AbstractAssistentDlg
* SdAbstractDialogFactory_Impl::CreateAssistentDlg( ::Window
* pParent
, sal_Bool bAutoPilot
)
432 return new AbstractAssistentDlg_Impl( new AssistentDlg( pParent
, bAutoPilot
) );
434 //add for AssistentDlg end
436 //add for SdModifyFieldDlg begin
437 AbstractSdModifyFieldDlg
* SdAbstractDialogFactory_Impl::CreateSdModifyFieldDlg( ::Window
* pWindow
, const SvxFieldData
* pInField
, const SfxItemSet
& rSet
)
439 return new AbstractSdModifyFieldDlg_Impl( new SdModifyFieldDlg( pWindow
, pInField
, rSet
) );
441 //add for SdModifyFieldDlg end
443 //add for SdSnapLineDlg begin
444 AbstractSdSnapLineDlg
* SdAbstractDialogFactory_Impl::CreateSdSnapLineDlg( ::Window
* pWindow
, const SfxItemSet
& rInAttrs
, ::sd::View
* pView
)
446 return new AbstractSdSnapLineDlg_Impl( new SdSnapLineDlg( pWindow
, rInAttrs
, pView
) );
448 //add for SdSnapLineDlg end
450 //add for SdInsertLayerDlg begin
451 AbstractSdInsertLayerDlg
* SdAbstractDialogFactory_Impl::CreateSdInsertLayerDlg( ::Window
* pWindow
, const SfxItemSet
& rInAttrs
, bool bDeletable
, String aStr
) //add for SdInsertLayerDlg
453 return new AbstractSdInsertLayerDlg_Impl( new SdInsertLayerDlg( pWindow
, rInAttrs
, bDeletable
, aStr
) );
455 //add for SdInsertLayerDlg end
457 //add for SdInsertPasteDlg begin
458 AbstractSdInsertPasteDlg
* SdAbstractDialogFactory_Impl::CreateSdInsertPasteDlg( ::Window
* pWindow
)
460 return new AbstractSdInsertPasteDlg_Impl( new SdInsertPasteDlg( pWindow
) );
462 //add for SdInsertPasteDlg end
464 //add for SdInsertPagesObjsDlg begin
465 AbstractSdInsertPagesObjsDlg
* SdAbstractDialogFactory_Impl::CreateSdInsertPagesObjsDlg( ::Window
* pParent
, const SdDrawDocument
* pDoc
, SfxMedium
* pSfxMedium
, const String
& rFileName
)
467 return new AbstractSdInsertPagesObjsDlg_Impl( new SdInsertPagesObjsDlg( pParent
, pDoc
, pSfxMedium
, rFileName
) );
469 //add for SdInsertPagesObjsDlg end
471 //add for MorphDlg begin
472 AbstractMorphDlg
* SdAbstractDialogFactory_Impl::CreateMorphDlg( ::Window
* pParent
, const SdrObject
* pObj1
, const SdrObject
* pObj2
)
474 return new AbstractMorphDlg_Impl( new ::sd::MorphDlg( pParent
, pObj1
, pObj2
) );
476 //add for MorphDlg end
478 // add for OutlineBulletDlg begin
479 SfxAbstractTabDialog
* SdAbstractDialogFactory_Impl::CreateSdOutlineBulletTabDlg( ::Window
* pParent
, const SfxItemSet
* pAttr
, ::sd::View
* pView
)
481 return new AbstractBulletDialog_Impl( new ::sd::OutlineBulletDlg( pParent
, pAttr
, pView
) );
484 SfxAbstractTabDialog
* SdAbstractDialogFactory_Impl::CreateSdParagraphTabDlg( ::Window
* pParent
, const SfxItemSet
* pAttr
)
486 return new SdAbstractTabDialog_Impl( new SdParagraphDlg( pParent
, pAttr
) );
488 // add for OutlineBulletDlg end
490 // add for SdStartPresentationDlg begin
491 AbstractSdStartPresDlg
* SdAbstractDialogFactory_Impl::CreateSdStartPresentationDlg( ::Window
* pWindow
, const SfxItemSet
& rInAttrs
,
492 const std::vector
<String
> &rPageNames
, SdCustomShowList
* pCSList
)
494 return new AbstractSdStartPresDlg_Impl( new SdStartPresentationDlg( pWindow
, rInAttrs
, rPageNames
, pCSList
) );
496 // add for SdStartPresentationDlg end
498 // add for SdRemoteDlg begin
499 VclAbstractDialog
* SdAbstractDialogFactory_Impl::CreateRemoteDialog( ::Window
* pWindow
)
501 return new SdVclAbstractDialog_Impl( new ::sd::RemoteDialog( pWindow
) );
503 // add for SdRemoteDlg end
505 // add for SdPresLayoutTemplateDlg begin
506 SfxAbstractTabDialog
* SdAbstractDialogFactory_Impl::CreateSdPresLayoutTemplateDlg( SfxObjectShell
* pDocSh
, ::Window
* pParent
, SdResId DlgId
, SfxStyleSheetBase
& rStyleBase
, PresentationObjects ePO
, SfxStyleSheetBasePool
* pSSPool
)
508 return new SdPresLayoutTemplateDlg_Impl( new SdPresLayoutTemplateDlg( pDocSh
, pParent
, DlgId
, rStyleBase
, ePO
, pSSPool
) );
511 // add for SdPresLayoutDlg begin
512 AbstractSdPresLayoutDlg
* SdAbstractDialogFactory_Impl::CreateSdPresLayoutDlg( ::sd::DrawDocShell
* pDocShell
, ::Window
* pWindow
, const SfxItemSet
& rInAttrs
)
514 return new AbstractSdPresLayoutDlg_Impl( new SdPresLayoutDlg( pDocShell
, pWindow
, rInAttrs
) );
516 // add for SdPresLayoutDlg end
518 // add for SdTabTemplateDlg begin
519 SfxAbstractTabDialog
* SdAbstractDialogFactory_Impl::CreateSdTabTemplateDlg( ::Window
* pParent
, const SfxObjectShell
* pDocShell
, SfxStyleSheetBase
& rStyleBase
, SdrModel
* pModel
, SdrView
* pView
)
521 return new SdAbstractTabDialog_Impl( new SdTabTemplateDlg( pParent
, pDocShell
, rStyleBase
, pModel
, pView
) );
523 // add for SdTabTemplateDlg end
525 SfxAbstractDialog
* SdAbstractDialogFactory_Impl::CreatSdActionDialog( ::Window
* pParent
, const SfxItemSet
* pAttr
, ::sd::View
* pView
)
527 return new SdAbstractSfxDialog_Impl( new SdActionDlg( pParent
, pAttr
, pView
) );
530 // add for SdVectorizeDlg begin
531 AbstractSdVectorizeDlg
* SdAbstractDialogFactory_Impl::CreateSdVectorizeDlg( ::Window
* pParent
, const Bitmap
& rBmp
, ::sd::DrawDocShell
* pDocShell
)
533 return new AbstractSdVectorizeDlg_Impl( new SdVectorizeDlg( pParent
, rBmp
, pDocShell
) );
535 // add for SdVectorizeDlg end
537 // add for SdPublishingDlg begin
538 AbstractSdPublishingDlg
* SdAbstractDialogFactory_Impl::CreateSdPublishingDlg( ::Window
* pWindow
, DocumentType eDocType
)
540 return new AbstractSdPublishingDlg_Impl( new SdPublishingDlg( pWindow
, eDocType
) );
542 // add for SdPublishingDlg end
544 // Factories for TabPages
545 CreateTabPage
SdAbstractDialogFactory_Impl::GetSdOptionsContentsTabPageCreatorFunc()
547 return SdTpOptionsContents::Create
;
550 CreateTabPage
SdAbstractDialogFactory_Impl::GetSdPrintOptionsTabPageCreatorFunc()
552 return SdPrintOptions::Create
;
555 CreateTabPage
SdAbstractDialogFactory_Impl::GetSdOptionsMiscTabPageCreatorFunc()
557 return SdTpOptionsMisc::Create
;
560 CreateTabPage
SdAbstractDialogFactory_Impl::GetSdOptionsSnapTabPageCreatorFunc()
562 return SdTpOptionsSnap::Create
;
565 VclAbstractDialog
* SdAbstractDialogFactory_Impl::CreateMasterLayoutDialog( ::Window
* pParent
,
566 SdDrawDocument
* pDoc
, SdPage
* pCurrentPage
)
568 return new SdVclAbstractDialog_Impl( new ::sd::MasterLayoutDialog( pParent
, pDoc
, pCurrentPage
));
571 AbstractHeaderFooterDialog
* SdAbstractDialogFactory_Impl::CreateHeaderFooterDialog( ViewShell
* pViewShell
,
572 ::Window
* pParent
, SdDrawDocument
* pDoc
, SdPage
* pCurrentPage
)
574 return new AbstractHeaderFooterDialog_Impl( new ::sd::HeaderFooterDialog( (::sd::ViewShell
*)pViewShell
, pParent
, pDoc
, pCurrentPage
));
577 VclAbstractDialog
* SdAbstractDialogFactory_Impl::CreateSdPhotoAlbumDialog( ::Window
* pWindow
, SdDrawDocument
* pDoc
)
579 return new SdVclAbstractDialog_Impl( new ::sd::SdPhotoAlbumDialog( pWindow
, pDoc
) );
582 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */