Home
last modified time | relevance | path

Searched refs:nPgNum (Results 1 – 25 of 35) sorted by relevance

12

/aoo41x/main/sd/source/core/
H A DPageListWatcher.cxx87 SdPage* ImpPageListWatcher::GetSdPage(PageKind ePgKind, sal_uInt32 nPgNum) in GetSdPage() argument
100 if( nPgNum < (sal_uInt32)maPageVectorStandard.size() ) in GetSdPage()
101 pRetval = maPageVectorStandard[nPgNum]; in GetSdPage()
104 DBG_ASSERT(nPgNum <= maPageVectorStandard.size(), in GetSdPage()
107 nPgNum, nPgNum<maPageVectorStandard.size()); in GetSdPage()
113 if( nPgNum < (sal_uInt32)maPageVectorNotes.size() ) in GetSdPage()
114 pRetval = maPageVectorNotes[nPgNum]; in GetSdPage()
117 DBG_ASSERT(nPgNum <= maPageVectorNotes.size(), in GetSdPage()
120 nPgNum, nPgNum<maPageVectorNotes.size()); in GetSdPage()
130 if (nPgNum == 0) in GetSdPage()
[all …]
H A Ddrawdoc2.cxx417 FmFormModel::MovePage(nPgNum, nNewPos); in MovePage()
419 sal_uInt16 nMin = Min(nPgNum, nNewPos); in MovePage()
451 void SdDrawDocument::DeletePage(sal_uInt16 nPgNum) in DeletePage() argument
453 FmFormModel::DeletePage(nPgNum); in DeletePage()
455 UpdatePageObjectsInNotes(nPgNum); in DeletePage()
464 SdrPage* SdDrawDocument::RemovePage(sal_uInt16 nPgNum) in RemovePage() argument
466 SdrPage* pPage = FmFormModel::RemovePage(nPgNum); in RemovePage()
468 bool bLast = ((nPgNum+1)/2 == (GetPageCount()+1)/2); in RemovePage()
472 UpdatePageObjectsInNotes(nPgNum); in RemovePage()
475 UpdatePageRelativeURLs((SdPage*)pPage, nPgNum, -1); in RemovePage()
[all …]
/aoo41x/main/svx/source/svdraw/
H A Dsvdmodel.cxx1446 void SdrModel::DeletePage(sal_uInt16 nPgNum) in DeletePage() argument
1448 SdrPage* pPg=RemovePage(nPgNum); in DeletePage()
1454 SdrPage* pPg=(SdrPage*)maPages.Remove(nPgNum); in RemovePage()
1470 SdrPage* pPg=(SdrPage*)maPages.Remove(nPgNum); in MovePage()
1500 SdrPage* pPg=RemoveMasterPage(nPgNum); in DeleteMasterPage()
1533 SdrPage* pPg=(SdrPage*)maMaPag.Remove(nPgNum); in MoveMasterPage()
2020 return (SdrPage*)(maPages.GetObject(nPgNum)); in GetPage()
2023 SdrPage* SdrModel::GetPage(sal_uInt16 nPgNum) in GetPage() argument
2026 return (SdrPage*)(maPages.GetObject(nPgNum)); in GetPage()
2041 return (SdrPage*)(maMaPag.GetObject(nPgNum)); in GetMasterPage()
[all …]
H A Dsvdedtv.cxx243 for(sal_uInt16 nPgNum(0); nPgNum < nPgAnz; nPgNum++) in DeleteLayer() local
246 SdrPage* pPage = (bMaPg) ? pMod->GetMasterPage(nPgNum) : pMod->GetPage(nPgNum); in DeleteLayer()
H A Dsvdmrkv.cxx1830 sal_uInt16 nPgNum=bBack ? 0 : nPgAnz; in PickObj() local
1831 while (pHitObj==NULL && (bBack ? nPgNum<nPgAnz : nPgNum>0)) { in PickObj()
1833 if (!bBack) nPgNum--; in PickObj()
1837 if (nPgNum>=nPgAnz-1 || (bExtraPassForWholePage && nPgNum>=nPgAnz-2)) in PickObj()
1840 if (bExtraPassForWholePage && nPgNum==nPgAnz-2) { in PickObj()
1856 if (bBack) nPgNum++; in PickObj()
/aoo41x/main/svx/source/form/
H A Dfmmodel.cxx157 void FmFormModel::MovePage( sal_uInt16 nPgNum, sal_uInt16 nNewPos ) in MovePage() argument
164 SdrModel::MovePage( nPgNum, nNewPos ); in MovePage()
176 SdrPage* FmFormModel::RemovePage(sal_uInt16 nPgNum) in RemovePage() argument
178 FmFormPage* pToBeRemovedPage = dynamic_cast< FmFormPage* >( GetPage( nPgNum ) ); in RemovePage()
190 FmFormPage* pRemovedPage = (FmFormPage*)SdrModel::RemovePage(nPgNum); in RemovePage()
216 SdrPage* FmFormModel::RemoveMasterPage(sal_uInt16 nPgNum) in RemoveMasterPage() argument
218 FmFormPage* pPage = (FmFormPage*)SdrModel::RemoveMasterPage(nPgNum); in RemoveMasterPage()
/aoo41x/main/svx/inc/svx/
H A Dsvdmodel.hxx451 virtual void DeletePage(sal_uInt16 nPgNum);
453 virtual SdrPage* RemovePage(sal_uInt16 nPgNum);
454 virtual void MovePage(sal_uInt16 nPgNum, sal_uInt16 nNewPos);
455 const SdrPage* GetPage(sal_uInt16 nPgNum) const;
456 SdrPage* GetPage(sal_uInt16 nPgNum);
463 virtual void DeleteMasterPage(sal_uInt16 nPgNum);
465 virtual SdrPage* RemoveMasterPage(sal_uInt16 nPgNum);
466 virtual void MoveMasterPage(sal_uInt16 nPgNum, sal_uInt16 nNewPos);
467 const SdrPage* GetMasterPage(sal_uInt16 nPgNum) const;
468 SdrPage* GetMasterPage(sal_uInt16 nPgNum);
H A Dfmmodel.hxx62 virtual SdrPage* RemovePage(sal_uInt16 nPgNum);
63 virtual void MovePage(sal_uInt16 nPgNum, sal_uInt16 nNewPos);
65 virtual SdrPage* RemoveMasterPage(sal_uInt16 nPgNum);
/aoo41x/main/sd/source/ui/docshell/
H A Ddocshel4.cxx960 sal_uInt16 nPgNum = mpDoc->GetPageByName( aBookmark, bIsMasterPage ); in GetObjectIsmarked() local
963 if (nPgNum == SDRPAGE_NOTFOUND) in GetObjectIsmarked()
970 nPgNum = pObj->GetPage()->GetPageNum(); in GetObjectIsmarked()
974 if (nPgNum != SDRPAGE_NOTFOUND) in GetObjectIsmarked()
980 SdPage* pPage = (SdPage*) mpDoc->GetPage(nPgNum); in GetObjectIsmarked()
1012 sal_uInt16 nSdPgNum = (nPgNum - 1) / 2; in GetObjectIsmarked()
1070 if (nPgNum == SDRPAGE_NOTFOUND) in GotoTreeBookmark()
1077 nPgNum = pObj->GetPage()->GetPageNum(); in GotoTreeBookmark()
1081 if (nPgNum != SDRPAGE_NOTFOUND) in GotoTreeBookmark()
1087 SdPage* pPage = (SdPage*) mpDoc->GetPage(nPgNum); in GotoTreeBookmark()
[all …]
/aoo41x/main/sw/source/core/layout/
H A Dlaycache.cxx155 sal_uInt16 nPgNum; in Read() local
156 aIo.GetStream() >> nPgNum >> nIndex in Read()
158 SwFlyCache* pFly = new SwFlyCache( nPgNum, nIndex, nX, nY, nW, nH ); in Read()
645 sal_uInt16 nPgNum = 0; in CheckInsertPage() local
650 if ( 0 != (nPgNum = rDesc.GetNumOffset()) ) in CheckInsertPage()
655 if( nPgNum && bNextPageOdd != ( ( nPgNum % 2 ) != 0 ) ) in CheckInsertPage()
1028 sal_uInt16 nPgNum = pPage->GetPhyPageNum(); in _CheckFlyCache() local
1090 GetFlyCache(nFlyIdx) )->nPageNum < nPgNum) in _CheckFlyCache()
1098 GetFlyCache( nIdx ) )->nPageNum == nPgNum ) in _CheckFlyCache()
1177 sal_uInt16 nPgNum = rpPage->GetPhyPageNum(); in CheckPageFlyCache() local
[all …]
H A Dnewfrm.cxx544 sal_uInt16 nPgNum = 1; in Init() local
551 bIsVirtPageNum = 0 != ( nPgNum = rDesc.GetNumOffset() ); in Init()
558 bIsVirtPageNum = 0 != ( nPgNum = rDesc.GetNumOffset() ); in Init()
565 const sal_Bool bOdd = !nPgNum || 0 != ( nPgNum % 2 ); in Init()
H A Dftnfrm.cxx1206 sal_uInt16 nPgNum, nColNum; //Seitennummer, Spaltennummer in FindFirstFtn() local
1216 nPgNum = pPage->GetPhyPageNum(); in FindFirstFtn()
1217 if ( nPgNum == nRefNum ) in FindFirstFtn()
1225 else if ( nPgNum > nRefNum ) in FindFirstFtn()
1253 nPgNum = pPage->GetPhyPageNum(); in FindFirstFtn()
1254 if ( nPgNum == nRefNum ) in FindFirstFtn()
1262 else if ( nPgNum > nRefNum ) in FindFirstFtn()
H A Dflylay.cxx598 sal_uInt16 nPgNum = pAnch->GetPageNum(); in Modify() local
601 for ( sal_uInt16 i = 1; (i <= nPgNum) && pTmpPage; ++i, in Modify()
604 if ( i == nPgNum ) in Modify()
/aoo41x/main/sd/inc/
H A Ddrawdoc.hxx268 void MovePage(sal_uInt16 nPgNum, sal_uInt16 nNewPos);
270 void DeletePage(sal_uInt16 nPgNum);
271 SdrPage* RemovePage(sal_uInt16 nPgNum);
274 virtual SdrPage* RemoveMasterPage(sal_uInt16 nPgNum);
364 SD_DLLPUBLIC SdPage*GetSdPage(sal_uInt16 nPgNum, PageKind ePgKind) const;
370 SD_DLLPUBLIC SdPage*GetMasterSdPage(sal_uInt16 nPgNum, PageKind ePgKind);
/aoo41x/main/sd/source/ui/app/
H A Dsdmod2.cxx110 int nPgNum = 0; in GetCurrentPage() local
118 nPgNum++; in GetCurrentPage()
121 pPage = pViewSh->GetDoc()->GetSdPage( (sal_uInt16)nPgNum, PK_STANDARD ); in GetCurrentPage()
250 int nPgNum; in IMPL_LINK() local
254 nPgNum = pViewSh->GetPrintedHandoutPageNum(); in IMPL_LINK()
258 nPgNum = (pPage->GetPageNum() - 1) / 2 + 1; in IMPL_LINK()
260 aRepresentation = pDoc->CreatePageNumValue((sal_uInt16)nPgNum); in IMPL_LINK()
/aoo41x/main/sd/source/filter/html/
H A Dhtmlex.cxx1687 nPgNum = pObj->GetPage()->GetPageNum(); in CreateHtmlForPresPages()
1689 if (nPgNum != SDRPAGE_NOTFOUND) in CreateHtmlForPresPages()
1691 nPgNum = (nPgNum - 1) / 2; // SdrPageNum --> SdPageNum in CreateHtmlForPresPages()
1692 aURL = CreatePageURL(nPgNum); in CreateHtmlForPresPages()
1767 if( nPgNum == SDRPAGE_NOTFOUND ) in CreateHtmlForPresPages()
1772 nPgNum = pObj->GetPage()->GetPageNum(); in CreateHtmlForPresPages()
1775 if( SDRPAGE_NOTFOUND != nPgNum ) in CreateHtmlForPresPages()
1776 aHRef = CreatePageURL(( nPgNum - 1 ) / 2 ); in CreateHtmlForPresPages()
2908 String HtmlExport::CreatePageURL( sal_uInt16 nPgNum ) in CreatePageURL() argument
2913 aUrl += String::CreateFromInt32(nPgNum); in CreatePageURL()
[all …]
/aoo41x/main/sd/source/ui/slideshow/
H A Dslideshowimpl.cxx979 const sal_uInt16 nPgNum = ( pStartPage->GetPageNum() - 2 ) >> 1; in startShow() local
980 pStartPage = mpDoc->GetSdPage( nPgNum, PK_STANDARD ); in startShow()
1757 if( nPgNum == SDRPAGE_NOTFOUND ) in getSlideNumberForBookmark()
1764 nPgNum = pObj->GetPage()->GetPageNum(); in getSlideNumberForBookmark()
1769 …if( (nPgNum == SDRPAGE_NOTFOUND) || bIsMasterPage || static_cast<SdPage*>(mpDoc->GetPage(nPgNum))-… in getSlideNumberForBookmark()
1772 return ( nPgNum - 1) >> 1; in getSlideNumberForBookmark()
2931 if( nPgNum == SDRPAGE_NOTFOUND ) in receiveRequest()
2937 nPgNum = pObj->GetPage()->GetPageNum(); in receiveRequest()
2940 if( nPgNum != SDRPAGE_NOTFOUND ) in receiveRequest()
2942 nPgNum = ( nPgNum - 1 ) >> 1; in receiveRequest()
[all …]
/aoo41x/main/sd/source/ui/func/
H A Dfuprlout.cxx250 sal_uInt16 nPgNum = pSelectedPage->TRG_GetMasterPage().GetPageNum(); in DoExecute() local
253 nPgNum++; in DoExecute()
256 pView->ShowSdrPage(pView->GetModel()->GetMasterPage(nPgNum)); in DoExecute()
/aoo41x/main/sw/source/ui/inc/
H A Dbreak.hxx64 sal_uInt16 nPgNum; member in SwBreakDlg
84 sal_uInt16 GetPageNumber() { return nPgNum; } in GetPageNumber()
/aoo41x/main/sw/source/ui/uiview/
H A Dviewport.cxx69 static sal_uInt16 nPgNum = 0; variable
740 if( !nPgNum || nPgNum != nPhNum ) in IMPL_LINK()
765 nPgNum = nPhNum; in IMPL_LINK()
786 if(nPgNum) in IMPL_LINK()
788 nPgNum = 0; in IMPL_LINK()
/aoo41x/main/reportdesign/source/core/sdr/
H A DRptModel.cxx129 SdrPage* OReportModel::RemovePage(sal_uInt16 nPgNum) in RemovePage() argument
131 OReportPage* pPage = dynamic_cast<OReportPage*>(SdrModel::RemovePage(nPgNum)); in RemovePage()
/aoo41x/main/sw/source/ui/chrdlg/
H A Dbreak.cxx77 nPgNum = aPageNumBox.IsChecked() ? (sal_uInt16)aPageNumEdit.GetValue() : 0; in Apply()
173 nPgNum(0), in SwBreakDlg()
/aoo41x/main/sd/source/ui/unoidl/
H A Dunopage.cxx1105 sal_uInt16 nPgNum = 0; in getPropertyValue() local
1108 while( nPgNum < nPageCount ) in getPropertyValue()
1110 pDoc->SetSelected( pDoc->GetSdPage( nPgNum, PK_STANDARD ), nPgNum == nPageNumber ); in getPropertyValue()
1111 nPgNum++; in getPropertyValue()
1142 sal_uInt16 nPgNum = 0; in getPropertyValue() local
1145 while( nPgNum < nPageCount ) in getPropertyValue()
1147 pDoc->SetSelected( pDoc->GetSdPage( nPgNum, PK_STANDARD ), nPgNum == nPageNumber ); in getPropertyValue()
1148 nPgNum++; in getPropertyValue()
/aoo41x/main/sw/source/core/doc/
H A Ddocfly.cxx194 sal_uInt16 nPgNum = rAnch.GetPageNum(); in lcl_FindAnchorLayPos() local
196 for( sal_uInt16 i = 1; (i <= nPgNum) && pPage; ++i, in lcl_FindAnchorLayPos()
198 if( i == nPgNum ) in lcl_FindAnchorLayPos()
/aoo41x/main/sw/source/core/frmedt/
H A Dfecopy.cxx1312 for ( sal_uInt16 nPgNum = 0; nPgNum < _pModel->GetPageCount(); ++nPgNum ) in lcl_ConvertSdrOle2ObjsToSdrGrafObjs() local
1316 SdrObjListIter aIter(*(_pModel->GetPage( nPgNum ))); in lcl_ConvertSdrOle2ObjsToSdrGrafObjs()

Completed in 190 milliseconds

12