52 :
FuPoor(pViewSh, pWin, pView, pDoc, rReq)
59 xFunc->DoExecute(rReq);
65 std::unique_ptr<SdOutliner> pOutl;
69 sal_uInt16 nSelectedPages = 0;
72 while (
i <
nCount && nSelectedPages <= 1)
92 bool bBegUndo =
false;
100 if (nSelectedPages <= 1 || pActualPage->IsSelected())
122 pSummaryPage->SetSize(pActualPage->
GetSize() );
137 pSummaryPage->TRG_SetMasterPageVisibleLayers(aVisibleLayers);
142 pNotesPage->SetSize(pActualNotesPage->
GetSize());
157 pNotesPage->SetLayoutName(pActualNotesPage->
GetLayoutName());
158 pNotesPage->SetAutoLayout(pActualNotesPage->
GetAutoLayout(),
true);
159 pNotesPage->TRG_SetMasterPageVisibleLayers(aVisibleLayers);
163 pOutl->SetUpdateLayout(
false);
164 pOutl->EnableUndo(
false);
167 pOutl->SetRefDevice(
SD_MOD()->GetVirtualRefDevice());
172 pOutl->SetStyleSheet( 0, pStyle );
181 pOutl->AddText(*pParaObj);
197 sal_Int32 nParaCount = pOutl->GetParagraphCount();
199 for (sal_Int32 nPara = 0; nPara < nParaCount; nPara++)
201 pOutl->SetStyleSheet( nPara, pStyle );
202 pOutl->RemoveCharAttribs(nPara);
203 pOutl->SetParaAttribs(nPara, aEmptyEEAttr);
204 pOutl->SetDepth(pOutl->GetParagraph(nPara), 0);
223 pDrawViewShell->
SwitchPage( (pSummaryPage->GetPageNum() - 1) / 2);
void SetOutlinerMode(OutlinerMode nNew)
SAL_DLLPRIVATE SfxItemPool & GetPool()
SdPage * GetSdPage(sal_uInt16 nPgNum, PageKind ePgKind) const
SAL_DLLPRIVATE void InsertPage(SdrPage *pPage, sal_uInt16 nPos=0xFFFF) override
SAL_DLLPRIVATE rtl::Reference< SdPage > AllocSdPage(bool bMasterPage)
sal_uInt16 GetSdPageCount(PageKind ePgKind) const
The main purpose of this class is searching and replacing as well as spelling of impress documents.
SdrObject * GetPresObj(PresObjKind eObjKind, int nIndex=1, bool bFuzzySearch=false)
returns the nIndex'th object from the given PresObjKind, index starts with 1
const sd::HeaderFooterSettings & getHeaderFooterSettings() const
virtual OUString GetLayoutName() const override
AutoLayout GetAutoLayout() const
bool IsUndoEnabled() const
void AddUndo(std::unique_ptr< SdrUndoAction > pUndo)
sal_uInt16 GetDefaultTabulator() const
SfxStyleSheetBasePool * GetStyleSheetPool() const
SdrUndoFactory & GetSdrUndoFactory() const
void SetOutlinerParaObject(std::optional< OutlinerParaObject > pTextObject)
void SetEmptyPresObj(bool bEpt)
bool IsEmptyPresObj() const
void SetMergedItemSet(const SfxItemSet &rSet, bool bClearAllItems=false)
SdrPage & TRG_GetMasterPage() const
sal_Int32 GetUpperBorder() const
sal_Int32 GetRightBorder() const
sal_Int32 GetLeftBorder() const
const SdrLayerIDSet & TRG_GetMasterPageVisibleLayers() const
sal_Int32 GetLowerBorder() const
virtual OutlinerParaObject * GetOutlinerParaObject() const override
virtual std::unique_ptr< SdrUndoAction > CreateUndoNewPage(SdrPage &rPage)
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
Base class of the stacked shells that provide graphical views to Draw and Impress documents and editi...
bool SwitchPage(sal_uInt16 nPage, bool bAllowChangeFocus=true)
Switch to desired page.
Base class for all functions.
FuSummaryPage(ViewShell *pViewSh, ::sd::Window *pWin, ::sd::View *pView, SdDrawDocument *pDoc, SfxRequest &rReq)
virtual void DoExecute(SfxRequest &rReq) override
static rtl::Reference< FuPoor > Create(ViewShell *pViewSh, ::sd::Window *pWin, ::sd::View *pView, SdDrawDocument *pDoc, SfxRequest &rReq)
Base class of the stacked shell hierarchy.
An SdWindow contains the actual working area of ViewShell.
OUString SdResId(TranslateId aId)