Lines Matching refs:pPage
606 SdPage* pPage = (SdPage*)mpDoc->AllocPage(sal_False); in InsertSlideForParagraph() local
608 pPage->SetLayoutName(pExample->GetLayoutName()); in InsertSlideForParagraph()
611 mpDoc->InsertPage(pPage, (sal_uInt16)(nTarget) * 2 + 1); in InsertSlideForParagraph()
613 AddUndo(mpDoc->GetSdrUndoFactory().CreateUndoNewPage(*pPage)); in InsertSlideForParagraph()
616 pPage->TRG_SetMasterPage(pExample->TRG_GetMasterPage()); in InsertSlideForParagraph()
619 pPage->SetSize(pExample->GetSize()); in InsertSlideForParagraph()
620 pPage->SetBorder( pExample->GetLftBorder(), in InsertSlideForParagraph()
632 pPage->SetAutoLayout(AUTOLAYOUT_ENUM, sal_True); in InsertSlideForParagraph()
636 pPage->SetAutoLayout(pExample->GetAutoLayout(), sal_True); in InsertSlideForParagraph()
669 return pPage; in InsertSlideForParagraph()
697 SdrPage* pPage = mpDoc->GetPage(nAbsPos); in IMPL_LINK() local
699 AddUndo(mpDoc->GetSdrUndoFactory().CreateUndoDeletePage(*pPage)); in IMPL_LINK()
703 pPage = mpDoc->GetPage(nAbsPos); in IMPL_LINK()
705 AddUndo(mpDoc->GetSdrUndoFactory().CreateUndoDeletePage(*pPage)); in IMPL_LINK()
834 SdrPage* pPage = mpDoc->GetPage(nAbsPos); in IMPL_LINK() local
836 AddUndo(mpDoc->GetSdrUndoFactory().CreateUndoDeletePage(*pPage)); in IMPL_LINK()
840 pPage = mpDoc->GetPage(nAbsPos); in IMPL_LINK()
842 AddUndo(mpDoc->GetSdrUndoFactory().CreateUndoDeletePage(*pPage)); in IMPL_LINK()
845 pPage = GetPageForParagraph( pPara ); in IMPL_LINK()
847 …mpOutliner->SetDepth( pPara, (pPage && (static_cast<SdPage*>(pPage)->GetAutoLayout() == AUTOLAYOUT… in IMPL_LINK()
884 SdPage*pPage = (SdPage*)mpDoc->GetSdPage( (sal_uInt16) nPos, PK_STANDARD); in IMPL_LINK() local
886 if(pPage && pPage->GetPresObj(PRESOBJ_TEXT)) in IMPL_LINK()
904 SdPage* pPage = (SdPage*) mpDoc->GetSdPage( (sal_uInt16) nPos, PK_STANDARD ); in IMPL_LINK() local
906 if( pPage ) in IMPL_LINK()
911 bool bSubTitle = pPage->GetPresObj(PRESOBJ_TEXT) != NULL; in IMPL_LINK()
915 pStyleSheet = pPage->GetStyleSheetForPresObj( PRESOBJ_TITLE ); in IMPL_LINK()
919 pStyleSheet = pPage->GetStyleSheetForPresObj( PRESOBJ_TEXT ); in IMPL_LINK()
923 pStyleSheet = pPage->GetStyleSheetForPresObj( PRESOBJ_OUTLINE ); in IMPL_LINK()
1047 SdPage* pPage = mpDoc->GetSdPage(nPos, PK_STANDARD); in IMPL_LINK() local
1048 pPage->SetSelected(sal_False); in IMPL_LINK()
1051 pPage->SetSelected(sal_True); in IMPL_LINK()
1111 SdPage* pPage = mpDoc->GetSdPage(nPosNewOrder, PK_STANDARD); in IMPL_LINK() local
1112 pPage->SetSelected(sal_False); in IMPL_LINK()
1135 SdrTextObj* OutlineView::GetTitleTextObject(SdrPage* pPage) in GetTitleTextObject() argument
1137 sal_uLong nObjectCount = pPage->GetObjCount(); in GetTitleTextObject()
1143 pObject = pPage->GetObj(nObject); in GetTitleTextObject()
1161 SdrTextObj* OutlineView::GetOutlineTextObject(SdrPage* pPage) in GetOutlineTextObject() argument
1163 sal_uLong nObjectCount = pPage->GetObjCount(); in GetOutlineTextObject()
1169 pObject = pPage->GetObj(nObject); in GetOutlineTextObject()
1180 SdrTextObj* OutlineView::CreateTitleTextObject(SdPage* pPage) in CreateTitleTextObject() argument
1182 …DBG_ASSERT( GetTitleTextObject(pPage) == 0, "sd::OutlineView::CreateTitleTextObject(), there is al… in CreateTitleTextObject()
1184 if( pPage->GetAutoLayout() == AUTOLAYOUT_NONE ) in CreateTitleTextObject()
1187 pPage->SetAutoLayout( AUTOLAYOUT_ONLY_TITLE, true ); in CreateTitleTextObject()
1193 pPage->InsertAutoLayoutShape( 0, PRESOBJ_TITLE, false, pPage->GetTitleRect(), true ); in CreateTitleTextObject()
1196 return GetTitleTextObject(pPage); in CreateTitleTextObject()
1199 SdrTextObj* OutlineView::CreateOutlineTextObject(SdPage* pPage) in CreateOutlineTextObject() argument
1201 …DBG_ASSERT( GetOutlineTextObject(pPage) == 0, "sd::OutlineView::CreateOutlineTextObject(), there i… in CreateOutlineTextObject()
1203 AutoLayout eNewLayout = pPage->GetAutoLayout(); in CreateOutlineTextObject()
1219 if( eNewLayout != pPage->GetAutoLayout() ) in CreateOutlineTextObject()
1221 pPage->SetAutoLayout( eNewLayout, true ); in CreateOutlineTextObject()
1227 pPage->InsertAutoLayoutShape( 0, in CreateOutlineTextObject()
1229 false, pPage->GetLayoutRect(), true ); in CreateOutlineTextObject()
1232 return GetOutlineTextObject(pPage); in CreateOutlineTextObject()
1306 SdPage* pPage = (SdPage*)mpDoc->GetSdPage(nPage, PK_STANDARD); in FillOutliner() local
1310 SdrTextObj* pTO = GetTitleTextObject(pPage); in FillOutliner()
1333 …mpOutliner->SetStyleSheet( mpOutliner->GetAbsPos( pPara ), pPage->GetStyleSheetForPresObj( PRESOBJ… in FillOutliner()
1343 if (pPage->IsSelected()) in FillOutliner()
1347 pTO = static_cast<SdrTextObj*>(pPage->GetPresObj(PRESOBJ_TEXT)); in FillOutliner()
1351 pTO = GetOutlineTextObject(pPage); in FillOutliner()
1478 Paragraph* OutlineView::GetParagraphForPage( ::Outliner* pOutl, SdPage* pPage ) in GetParagraphForPage() argument
1482 sal_uInt32 nPagesToSkip = (pPage->GetPageNum() - 1) >> 1; in GetParagraphForPage()
1569 SdPage* pPage = mpDoc->GetSdPage(nPos, PK_STANDARD); in SetSelectedPages() local
1570 DBG_ASSERT(pPage!=NULL, in SetSelectedPages()
1572 if (pPage != NULL) in SetSelectedPages()
1574 pPage->SetSelected(sal_False); in SetSelectedPages()
1577 pPage->SetSelected(sal_True); in SetSelectedPages()
1813 SdPage* pPage = mpDoc->GetSdPage( (sal_uInt16)nPage, PK_STANDARD); in UpdateDocument() local
1814 mpDoc->SetSelected(pPage, sal_False); in UpdateDocument()
1816 mpOutlineViewShell->UpdateTitleObject( pPage, pPara ); in UpdateDocument()
1817 mpOutlineViewShell->UpdateOutlineObject( pPage, pPara ); in UpdateDocument()
1826 SdPage* pPage = InsertSlideForParagraph( pPara ); in UpdateDocument() local
1827 mpDoc->SetSelected(pPage, sal_False); in UpdateDocument()
1829 mpOutlineViewShell->UpdateTitleObject( pPage, pPara ); in UpdateDocument()
1830 mpOutlineViewShell->UpdateOutlineObject( pPage, pPara ); in UpdateDocument()
2090 SdPage* pPage = 0; in OnEndPasteOrDrop() local
2116 pPage = InsertSlideForParagraph( pPara ); in OnEndPasteOrDrop()
2121 if( !pPage ) in OnEndPasteOrDrop()
2122 pPage = GetPageForParagraph( pPara ); in OnEndPasteOrDrop()
2124 if( pPage ) in OnEndPasteOrDrop()
2126 … SfxStyleSheet* pStyle = pPage->GetStyleSheetForPresObj( bPage ? PRESOBJ_TITLE : PRESOBJ_OUTLINE ); in OnEndPasteOrDrop()