54 :
FuPoor(pViewSh, pWin, pView, pDoc, rReq)
61 xFunc->DoExecute(rReq);
68 DBG_ASSERT( pOutlineViewShell,
"sd::FuPresentationObjects::DoExecute(), does not work without an OutlineViewShell!");
69 if( !pOutlineViewShell )
76 OUString aLayoutName = aSet.
Get(SID_STATUS_LAYOUT).GetValue();
77 DBG_ASSERT(!aLayoutName.isEmpty(),
"Layout not defined");
80 sal_Int16 nDepth, nTmp;
85 std::vector<Paragraph*> aSelList;
88 Paragraph* pPara = aSelList.empty() ? nullptr : aSelList.front();
93 for(
const auto& rpPara : aSelList )
130 DBG_ASSERT(pStyleSheet,
"StyleSheet missing");
139 false, rStyleSheet, ePO, pStyleSheetPool));
140 if( pDlg->Execute() ==
RET_OK )
142 const SfxItemSet* pOutSet = pDlg->GetOutputItemSet();
145 std::make_unique<StyleSheetUndoAction>(
mpDoc,
static_cast<SfxStyleSheet*
>(pStyleSheet), pOutSet));
void CreateSelectionList(std::vector< Paragraph * > &aSelList)
Outliner * GetOutliner() const
static bool HasParaFlag(const Paragraph *pPara, ParaFlag nFlag)
sal_Int16 GetDepth(sal_Int32 nPara) const
sal_Int32 GetAbsPos(Paragraph const *pPara) const
virtual VclPtr< SfxAbstractTabDialog > CreateSdPresLayoutTemplateDlg(SfxObjectShell *pDocSh, weld::Window *pParent, bool bBackgroundDlg, SfxStyleSheetBase &rStyleBase, PresentationObjects ePO, SfxStyleSheetBasePool *pSSPool)=0
static SD_DLLPUBLIC SdAbstractDialogFactory * Create()
const SfxItemPool & GetItemPool() const
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
const SfxPoolItem & Get(sal_uInt16 nWhich, bool bSrchInParent=true) const
virtual SfxStyleSheetBase * Find(const OUString &, SfxStyleFamily eFam, SfxStyleSearchBits n=SfxStyleSearchBits::All)
virtual SfxItemSet & GetItemSet()
virtual void AddUndoAction(std::unique_ptr< SfxUndoAction > pAction, bool bTryMerg=false)
virtual SfxStyleSheetBasePool * GetStyleSheetPool() override
virtual SfxUndoManager * GetUndoManager() override
Base class for all functions.
VclPtr< ::sd::Window > mpWindow
FuPresentationObjects(ViewShell *pViewSh, ::sd::Window *pWin, ::sd::View *pView, SdDrawDocument *pDoc, SfxRequest &rReq)
static rtl::Reference< FuPoor > Create(ViewShell *pViewSh, ::sd::Window *pWin, ::sd::View *pView, SdDrawDocument *pDoc, SfxRequest &rReq)
virtual void DoExecute(SfxRequest &rReq) override
Show a textual overview of the text contents of all slides.
void GetStatusBarState(SfxItemSet &rSet)
Derivative of sd::View for the outline mode |* .
OutlinerView * GetViewByWindow(vcl::Window const *pWin) const
Return a pointer to the OutlinerView corresponding to the window.
Base class of the stacked shell hierarchy.
::sd::View * GetView() const
SD_DLLPUBLIC weld::Window * GetFrameWeld() const
An SdWindow contains the actual working area of ViewShell.
#define DBG_ASSERT(sCon, aError)
constexpr OUStringLiteral SD_LT_SEPARATOR
constexpr OUStringLiteral STR_LAYOUT_TITLE
constexpr OUStringLiteral STR_LAYOUT_OUTLINE