/trunk/main/sd/source/core/ |
H A D | PageListWatcher.cxx | 87 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 D | drawdoc2.cxx | 417 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 …]
|
/trunk/main/svx/source/svdraw/ |
H A D | svdmodel.cxx | 1446 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 D | svdedtv.cxx | 243 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 D | svdmrkv.cxx | 1830 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()
|
/trunk/main/svx/source/form/ |
H A D | fmmodel.cxx | 157 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()
|
/trunk/main/svx/inc/svx/ |
H A D | svdmodel.hxx | 451 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 D | fmmodel.hxx | 62 virtual SdrPage* RemovePage(sal_uInt16 nPgNum); 63 virtual void MovePage(sal_uInt16 nPgNum, sal_uInt16 nNewPos); 65 virtual SdrPage* RemoveMasterPage(sal_uInt16 nPgNum);
|
/trunk/main/sd/source/ui/docshell/ |
H A D | docshel4.cxx | 960 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 …]
|
/trunk/main/sw/source/core/layout/ |
H A D | laycache.cxx | 155 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 D | newfrm.cxx | 544 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 D | ftnfrm.cxx | 1206 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 D | flylay.cxx | 598 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()
|
/trunk/main/sd/inc/ |
H A D | drawdoc.hxx | 268 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);
|
/trunk/main/sd/source/ui/app/ |
H A D | sdmod2.cxx | 110 int nPgNum = 0; in GetCurrentPage() local 118 nPgNum++; in GetCurrentPage() 121 pPage = pViewSh->GetDoc()->GetSdPage( (sal_uInt16)nPgNum, PK_STANDARD ); in GetCurrentPage() 248 int nPgNum; in IMPL_LINK() local 252 nPgNum = pViewSh->GetPrintedHandoutPageNum(); in IMPL_LINK() 256 nPgNum = (pPage->GetPageNum() - 1) / 2 + 1; in IMPL_LINK() 258 aRepresentation = pDoc->CreatePageNumValue((sal_uInt16)nPgNum); in IMPL_LINK()
|
/trunk/main/sd/source/filter/html/ |
H A D | htmlex.cxx | 1687 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 …]
|
/trunk/main/sd/source/ui/slideshow/ |
H A D | slideshowimpl.cxx | 979 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 …]
|
/trunk/main/sd/source/ui/func/ |
H A D | fuprlout.cxx | 250 sal_uInt16 nPgNum = pSelectedPage->TRG_GetMasterPage().GetPageNum(); in DoExecute() local 253 nPgNum++; in DoExecute() 256 pView->ShowSdrPage(pView->GetModel()->GetMasterPage(nPgNum)); in DoExecute()
|
/trunk/main/sw/source/ui/uiview/ |
H A D | viewport.cxx | 69 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()
|
/trunk/main/sw/source/ui/inc/ |
H A D | break.hxx | 64 sal_uInt16 nPgNum; member in SwBreakDlg 84 sal_uInt16 GetPageNumber() { return nPgNum; } in GetPageNumber()
|
/trunk/main/sd/source/ui/unoidl/ |
H A D | unopage.cxx | 1105 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()
|
/trunk/main/reportdesign/source/core/sdr/ |
H A D | RptModel.cxx | 129 SdrPage* OReportModel::RemovePage(sal_uInt16 nPgNum) in RemovePage() argument 131 OReportPage* pPage = dynamic_cast<OReportPage*>(SdrModel::RemovePage(nPgNum)); in RemovePage()
|
/trunk/main/sw/source/ui/chrdlg/ |
H A D | break.cxx | 77 nPgNum = aPageNumBox.IsChecked() ? (sal_uInt16)aPageNumEdit.GetValue() : 0; in Apply() 173 nPgNum(0), in SwBreakDlg()
|
/trunk/main/sw/source/core/doc/ |
H A D | docfly.cxx | 197 sal_uInt16 nPgNum = rAnch.GetPageNum(); in lcl_FindAnchorLayPos() local 199 for( sal_uInt16 i = 1; (i <= nPgNum) && pPage; ++i, in lcl_FindAnchorLayPos() 201 if( i == nPgNum ) in lcl_FindAnchorLayPos()
|
/trunk/main/sw/source/core/frmedt/ |
H A D | fecopy.cxx | 1312 for ( sal_uInt16 nPgNum = 0; nPgNum < _pModel->GetPageCount(); ++nPgNum ) in lcl_ConvertSdrOle2ObjsToSdrGrafObjs() local 1316 SdrObjListIter aIter(*(_pModel->GetPage( nPgNum ))); in lcl_ConvertSdrOle2ObjsToSdrGrafObjs()
|