| /AOO42X/main/sd/source/ui/dlg/ |
| H A D | assclass.cxx | 76 int nPage = mnCurrentPage+1; in NextPage() local 77 while(nPage <= mnPages && !mpPageStatus[nPage-1]) in NextPage() 78 nPage++; in NextPage() 80 if(nPage <= mnPages) in NextPage() 81 return GotoPage(nPage); in NextPage() 91 int nPage = mnCurrentPage-1; in PreviousPage() local 92 while(nPage >= 0 && !mpPageStatus[nPage-1]) in PreviousPage() 93 nPage--; in PreviousPage() 95 if(nPage >= 0) in PreviousPage() 96 return GotoPage(nPage); in PreviousPage() [all …]
|
| H A D | headerfooterdlg.cxx | 362 int nPage; in apply() local 363 for( nPage = 0; nPage < nPageCount; nPage++ ) in apply() 365 SdPage* pPage = mpDoc->GetSdPage( (sal_uInt16)nPage, PK_STANDARD ); in apply() 403 int nPage; in apply() local 404 for( nPage = 0; nPage < nPageCount; nPage++ ) in apply() 406 SdPage* pPage = mpDoc->GetSdPage( (sal_uInt16)nPage, PK_NOTES ); in apply() 724 sal_uInt16 nPage; in GetOrSetDateTimeLanguage() local 725 for( nPage = 0; nPage < nPageCount; nPage++ ) in GetOrSetDateTimeLanguage() 727 … GetOrSetDateTimeLanguage( rLanguage, bSet, mpDoc->GetMasterSdPage( nPage, PK_NOTES ) ); in GetOrSetDateTimeLanguage() 740 sal_uInt16 nPage; in GetOrSetDateTimeLanguage() local [all …]
|
| H A D | dlgassim.cxx | 115 sal_uInt16 nPage = 0; in Fill() local 117 while( nPage < nMaxPages ) in Fill() 119 SdPage* pPage = (SdPage*) pDoc->GetPage( nPage ); in Fill() 166 nPage++; in Fill() 175 sal_uInt16 nPage = 0; in GetSelectedPage() local 185 nPage++; in GetSelectedPage() 190 nPage--; in GetSelectedPage() 192 return nPage; in GetSelectedPage() 195 sal_Bool SdPageListControl::IsPageChecked( sal_uInt16 nPage ) in IsPageChecked() argument 197 SvLBoxEntry* pEntry = GetModel()->GetEntry(nPage); in IsPageChecked()
|
| H A D | sdtreelb.cxx | 569 sal_uInt16 nPage = 0; in Fill() local 572 while( nPage < nMaxPages ) in Fill() 574 pPage = (SdPage*) mpDoc->GetPage( nPage ); in Fill() 585 nPage++; in Fill() 591 nPage = 0; in Fill() 594 while( nPage < nMaxMasterPages ) in Fill() 596 pPage = (SdPage*) mpDoc->GetMasterPage( nPage ); in Fill() 598 nPage++; in Fill() 894 sal_uInt16 nPage = 0; in IsEqualToDoc() local 897 while( nPage < nMaxPages ) in IsEqualToDoc() [all …]
|
| /AOO42X/main/sd/source/core/ |
| H A D | drawdoc2.cxx | 101 sal_uInt16 nPage = 0; in GetObj() local 104 while (nPage < nMaxPages && !pObjFound) in GetObj() 106 pPage = (SdPage*) GetPage(nPage); in GetObj() 122 nPage++; in GetObj() 128 nPage = 0; in GetObj() 131 while (nPage < nMaxMasterPages && !pObjFound) in GetObj() 133 pPage = (SdPage*) GetMasterPage(nPage); in GetObj() 149 nPage++; in GetObj() 165 sal_uInt16 nPage = 0; in GetPageByName() local 173 while (nPage < nMaxPages && nPageNum == SDRPAGE_NOTFOUND) in GetPageByName() [all …]
|
| H A D | drawdoc.cxx | 609 for ( sal_uInt16 nPage = 0; nPage < GetMasterPageCount(); nPage++) in NewOrLoadCompleted() local 612 SdPage* pPage = (SdPage*) GetMasterPage( nPage ); in NewOrLoadCompleted() 668 sal_uInt16 nPage, nPageCount; in NewOrLoadCompleted() local 673 for (nPage = 0; nPage < nPageCount; nPage++) in NewOrLoadCompleted() 675 SdPage* pPage = GetMasterSdPage(nPage, PK_STANDARD); in NewOrLoadCompleted() 680 for (nPage = 0; nPage < GetPageCount(); nPage++) in NewOrLoadCompleted() 682 SdPage* pPage = (SdPage*)GetPage(nPage); in NewOrLoadCompleted() 687 for (nPage = 0; nPage < GetMasterPageCount(); nPage++) in NewOrLoadCompleted() 689 SdPage* pPage = (SdPage*)GetMasterPage(nPage); in NewOrLoadCompleted()
|
| H A D | drawdoc4.cxx | 773 sal_uInt16 nPage; in GetMasterPageUserCount() local 776 for (nPage = 0; nPage < nPageCount; nPage++) in GetMasterPageUserCount() 778 const SdrPage* pPage = GetPage(nPage); in GetMasterPageUserCount() 838 sal_uInt16 nPage; in StartOnlineSpelling() local 840 for ( nPage = 0; nPage < GetPageCount(); nPage++ ) in StartOnlineSpelling() 843 FillOnlineSpellingList((SdPage*) GetPage(nPage)); in StartOnlineSpelling() 846 for (nPage = 0; nPage < GetMasterPageCount(); nPage++) in StartOnlineSpelling() 849 FillOnlineSpellingList((SdPage*) GetMasterPage(nPage)); in StartOnlineSpelling() 1243 sal_uInt16 nPage; in RenameLayoutTemplate() local 1244 for (nPage = 0; nPage < GetPageCount(); nPage++) in RenameLayoutTemplate() [all …]
|
| H A D | drawdoc3.cxx | 836 for (sal_uInt16 nPage = nNewMPageCount - 1; nPage >= nMPageCount; nPage--) in InsertBookmarkAsPage() local 838 pRefPage = (SdPage*) GetMasterPage(nPage); in InsertBookmarkAsPage() 856 RemoveMasterPage(nPage); in InsertBookmarkAsPage() 945 for (sal_uInt16 nPage = nMPageCount; nPage < nNewMPageCount; nPage++) in InsertBookmarkAsPage() local 947 pRefPage = (SdPage*) GetMasterPage(nPage); in InsertBookmarkAsPage() 1895 for (sal_uInt16 nPage = 1; nPage < GetPageCount(); nPage++) in SetMasterPage() local 1897 pPage = (SdPage*) GetPage(nPage); in SetMasterPage() 2056 for (sal_uInt16 nPage = 1; nPage < GetPageCount(); nPage++) in SetMasterPage() local 2058 pPage = (SdPage*) GetPage(nPage); in SetMasterPage()
|
| /AOO42X/main/filter/source/flash/ |
| H A D | swfexporter.cxx | 198 sal_uInt16 nPage; in exportAll() local 205 for( nPage = 0; nPage < nPageCount; nPage++) in exportAll() 209 mnPageNumber = nPage + 1; in exportAll() 212 xStatusIndicator->setValue( nPage ); in exportAll() 217 xDrawPages->getByIndex(nPage) >>= xDrawPage; in exportAll() 235 exportBackgrounds( xDrawPage, nPage, false ); in exportAll() 236 exportBackgrounds( xDrawPage, nPage, true ); in exportAll() 239 maPagesMap[nPage].mnForegroundID = mpWriter->startSprite(); in exportAll() 255 if (nPage) in exportAll() 257 if (maPagesMap[nPage].mnBackgroundID != maPagesMap[nPage-1].mnBackgroundID) in exportAll() [all …]
|
| H A D | swffilter.cxx | 209 …ashExporter, Reference< XDrawPage > xDrawPage, OUString sPath, sal_uInt32 nPage, const char* suffi… in exportBackground() argument 211 OUString filename = STR("slide") + VAL(nPage+1) + STR(suffix) + STR(".swf"); in exportBackground() 216 …kgrounds( xDrawPage, xOutputStreamWrap, sal::static_int_cast<sal_uInt16>( nPage ), *suffix == 'o' … in exportBackground() 220 if (nCached != nPage) in exportBackground() 414 for(sal_Int32 nPage = 0; nPage < nPageCount; nPage++) in ExportAsMultipleFiles() local 417 mxStatusIndicator->setValue( nPage ); in ExportAsMultipleFiles() 418 xDrawPages->getByIndex(nPage) >>= xDrawPage; in ExportAsMultipleFiles() 427 … backgroundfilename = exportBackground(aFlashExporter, xDrawPage, swfdirpath, nPage, "b"); in ExportAsMultipleFiles() 432 objectsfilename = exportBackground(aFlashExporter, xDrawPage, swfdirpath, nPage, "o"); in ExportAsMultipleFiles() 437 fullpath = swfdirpath + STR("/slide") + VAL(nPage+1) + STR("p.swf"); in ExportAsMultipleFiles() [all …]
|
| /AOO42X/main/sot/source/sdstor/ |
| H A D | stgcache.cxx | 74 nPage = 0; in StgPage() 151 pElem->nPage = nPg; in Create() 167 (*(UsrStgPagePtr_Impl*)pLRUCache)[pElem->nPage] = pElem; in Create() 178 if( pElem->nPage < p->nPage ) in Create() 186 if( p->nPage < pElem1->nPage ) in Create() 206 ((UsrStgPagePtr_Impl*)pLRUCache)->erase( pElem->nPage ); in Erase() 236 StgPage* StgCache::Find( sal_Int32 nPage ) in Find() argument 240 UsrStgPagePtr_Impl::iterator aIt = ((UsrStgPagePtr_Impl*)pLRUCache)->find( nPage ); in Find() 266 StgPage* StgCache::Get( sal_Int32 nPage, sal_Bool bForce ) in Get() argument 268 StgPage* p = Find( nPage ); in Get() [all …]
|
| H A D | stgstrms.cxx | 316 nStart = nPage = STG_EOF; in StgStrm() 365 nBgn = nPage; in Pos2Page() 393 nPage = nBgn; in Pos2Page() 394 return sal_Bool( nRel == 0 && nPage >= 0 ); in Pos2Page() 403 return rIo.Get( nPage, bForce ); in GetPhysPage() 450 sal_Int32 nBgn = pFat->AllocPages( nPage, ( nNew - nOld ) / nPageSize ); in SetSize() 454 nStart = nPage = nBgn; in SetSize() 459 if( !Pos2Page( nBytes ) || !pFat->FreePages( nPage, bAll ) ) in SetSize() 462 nStart = nPage = STG_EOF; in SetSize() 501 nPage = nBytePos / nPageSize; in Pos2Page() [all …]
|
| H A D | stgio.cxx | 169 sal_uLong Mark( sal_Int32 nPage, sal_Int32 nCount, sal_Int32 nExpect ); 183 for( sal_Int32 nPage = 0; nPage < nPages; nPage++ ) in EasyFat() local 185 if( ! (nPage % nFatPageSize) ) in EasyFat() 187 pFatStream->Pos2Page( nPage << 2 ); in EasyFat() 192 pFat[ nPage ] = pPage->GetPage( short( nPage % nFatPageSize ) ); in EasyFat() 193 pFree[ nPage ] = sal_True; in EasyFat() 199 for( sal_Int32 nPage = 0; nPage < nPages; nPage++ ) in HasUnrefChains() local 201 if( pFree[ nPage ] && pFat[ nPage ] != -1 ) in HasUnrefChains() 207 sal_uLong EasyFat::Mark( sal_Int32 nPage, sal_Int32 nCount, sal_Int32 nExpect ) in Mark() argument 212 sal_Int32 nCurPage = nPage; in Mark()
|
| /AOO42X/main/sd/source/ui/unoidl/ |
| H A D | unomodel.cxx | 500 SdPage* SdXImpressDocument::InsertSdPage( sal_uInt16 nPage, sal_Bool bDuplicate ) throw() in InsertSdPage() argument 521 …SdPage* pPreviousStandardPage = mpDoc->GetSdPage( Min( (sal_uInt16)(nPageCount - 1), nPage ), PK_S… in InsertSdPage() 1599 sal_Int32 nPage = -1; in ImplPDFGetBookmarkPage() local 1622 nPage = ( nPgNum - 1 ) / 2; in ImplPDFGetBookmarkPage() 1623 return nPage; in ImplPDFGetBookmarkPage() 1757 sal_Int32 nPage = ImplPDFGetBookmarkPage( aBookmark, rDoc ); in ImplPDFExportShapeInteraction() local 1758 if ( nPage != -1 ) in ImplPDFExportShapeInteraction() 1760 …sal_Int32 nDestId = rPDFExtOutDevData.CreateDest( aPageRect, nPage, vcl::PDFWriter::FitRectangle ); in ImplPDFExportShapeInteraction() 2138 … sal_Int32 nPage = ImplPDFGetBookmarkPage( aIBeg->aBookmark, *mpDoc ); in render() local 2139 if ( nPage != -1 ) in render() [all …]
|
| /AOO42X/main/sc/source/ui/view/ |
| H A D | prevwsh.cxx | 540 long nPage = pPreview->GetPageNo(); in Execute() local 542 if (nTotal && nPage > 0) in Execute() 543 pPreview->SetPageNo( nPage-1 ); in Execute() 550 long nPage = pPreview->GetPageNo(); in Execute() local 552 if (nTotal && (nPage+1 < nTotal || !bAllTested)) in Execute() 553 pPreview->SetPageNo( nPage+1 ); in Execute() 559 long nPage = pPreview->GetPageNo(); in Execute() local 561 if (nTotal && nPage != 0) in Execute() 571 long nPage = pPreview->GetPageNo(); in Execute() local 573 if (nTotal && nPage+1 != nTotal) in Execute() [all …]
|
| H A D | pfuncache.cxx | 119 for ( long nPage=0; nPage<nPages[nTab]; nPage++ ) in InitLocations() local 163 SCTAB ScPrintFuncCache::GetTabForPage( long nPage ) const in GetTabForPage() 168 while ( nTab < nTabCount && nPage >= nPages[nTab] ) in GetTabForPage() 169 nPage -= nPages[nTab++]; in GetTabForPage()
|
| /AOO42X/main/store/source/ |
| H A D | stordata.cxx | 595 sal_uInt32 nPage, in scope() argument 606 if (nPage < nLimit) in scope() 609 index0 = nPage; in scope() 617 nPage -= nLimit; in scope() 623 if (nPage < nLimit) in scope() 626 sal_uInt32 n = nPage; in scope() 634 OSL_POSTCOND(n == nPage, "wrong math on indirect indices"); in scope() 635 if (n != nPage) in scope() 645 nPage -= nLimit; in scope() 650 if (nPage < nLimit) in scope() [all …]
|
| /AOO42X/main/sc/source/filter/qpro/ |
| H A D | qproform.cxx | 36 void QProToSc::ReadSRD( ScSingleRefData& rSRD, sal_Int8 nPage, sal_Int8 nCol, sal_uInt16 nRelBit ) in ReadSRD() argument 64 rSRD.nRelTab = nPage; in ReadSRD() 67 rSRD.nTab = aEingPos.Tab() + nPage; in ReadSRD() 71 rSRD.nTab = nPage; in ReadSRD() 198 sal_Int8 nCol, nPage; in Convert() local 311 maIn >> nNote >> nCol >> nPage >> nRelBits; in Convert() 312 ReadSRD( aSRD, nPage, nCol, nRelBits ); in Convert() 317 maIn >> nNote >> nCol >> nPage >> nRelBits; in Convert() 318 ReadSRD( aCRD.Ref1, nPage, nCol, nRelBits ); in Convert() 319 maIn >> nCol >> nPage >> nRelBits; in Convert() [all …]
|
| /AOO42X/main/sw/source/ui/vba/ |
| H A D | vbaselection.cxx | 473 sal_Int32 nPage = 0; in GoTo() local 478 nPage = nLastPage; in GoTo() 483 nPage = nCurrPage + 1; in GoTo() 488 nPage = nCurrPage - 1; in GoTo() 493 nPage = nCount; in GoTo() 496 if( nPage <= 0 ) in GoTo() 497 nPage = 1; in GoTo() 498 if( nPage > nLastPage ) in GoTo() 499 nPage = nLastPage; in GoTo() 500 xPageCursor->jumpToPage( ( sal_Int16 )( nPage ) ); in GoTo()
|
| /AOO42X/main/sd/source/ui/slidesorter/controller/ |
| H A D | SlsClipboard.cxx | 712 sal_uInt16 nPage, in AcceptDrop() argument 763 nPage, in AcceptDrop() 783 sal_uInt16 nPage, in ExecuteDrop() argument 872 nPage, in ExecuteDrop() 988 sal_uInt16 nPage, in ExecuteOrAcceptShapeDrop() argument 1009 if (nPage == SDRPAGE_NOTFOUND) in ExecuteOrAcceptShapeDrop() 1015 nPage = pDescriptor->GetPageIndex(); in ExecuteOrAcceptShapeDrop() 1021 if (nPage != SDRPAGE_NOTFOUND) in ExecuteOrAcceptShapeDrop() 1029 nPage, in ExecuteOrAcceptShapeDrop() 1038 nPage, in ExecuteOrAcceptShapeDrop()
|
| /AOO42X/main/sw/source/ui/dbui/ |
| H A D | mailmergewizard.cxx | 261 for(sal_uInt16 nPage = MM_DOCUMENTSELECTPAGE; nPage <= MM_OUTPUTPAGE; ++nPage) in UpdateRoadmap() local 263 switch(nPage) in UpdateRoadmap() 287 if(MM_LAYOUTPAGE == nPage) in UpdateRoadmap() 293 enableState( nPage, bEnable ); in UpdateRoadmap()
|
| /AOO42X/main/qadevOOo/runner/graphical/ |
| H A D | JPEGComparator.java | 56 int nPage = -1; in interpret() local 76 nPage = Integer.valueOf(sPage).intValue(); in interpret() 89 return new NameDPIPage(sName, nDPI, nPage); in interpret() 466 int nPage = aNameDPIPage.Page; in compareJPEG() local 467 if (nPage < 0) in compareJPEG() 469 nPage = 0; in compareJPEG() 486 int nMaxPage = Math.max(nPage, aResultIni.getIntValue("global", "pages", 0)); in compareJPEG() 503 String sSection = "page" + String.valueOf(nPage); in compareJPEG()
|
| /AOO42X/main/sd/source/ui/func/ |
| H A D | fusldlg.cxx | 86 long nPage; in DoExecute() local 88 for( nPage = mpDoc->GetSdPageCount( PK_STANDARD ) - 1L; nPage >= 0L; nPage-- ) in DoExecute() 90 pPage = mpDoc->GetSdPage( (sal_uInt16) nPage, PK_STANDARD ); in DoExecute() 96 (*pStr).Append( UniString::CreateFromInt32( nPage + 1 ) ); in DoExecute()
|
| /AOO42X/main/sd/source/filter/html/ |
| H A D | htmlex.cxx | 682 for( sal_uInt16 nPage = 0; nPage < mnSdPageCount; nPage++ ) in InitExportParameters() local 684 pPage = mpDoc->GetSdPage( nPage, PK_STANDARD ); in InitExportParameters() 689 maNotesPages.push_back( mpDoc->GetSdPage( nPage, PK_NOTES ) ); in InitExportParameters() 1580 int nPage = nSdPage + 1; in CreateHtmlForPresPages() local 1581 if( nPage == mnSdPageCount ) in CreateHtmlForPresPages() 1582 nPage = 0; in CreateHtmlForPresPages() 1584 aStr += StringToURL(*mpHTMLFiles[nPage]); in CreateHtmlForPresPages() 1786 sal_uLong nPage = nSdPage; in CreateHtmlForPresPages() local 1788 nPage = 0; in CreateHtmlForPresPages() 1790 nPage = nSdPage - 1; in CreateHtmlForPresPages() [all …]
|
| /AOO42X/main/sw/source/core/view/ |
| H A D | vprint.cxx | 528 const sal_Int32 nPage = rPrintData.GetRenderData().GetPagesToPrint()[ nRenderer ]; in PrintOrPDFExport() local 530 …DBG_ASSERT( nPage == 0 || rPrintData.GetRenderData().GetValidPagesSet().count( nPage ) == 1, "nPag… in PrintOrPDFExport() 533 if (nPage > 0) // a 'regular' page, not one from the post-it document in PrintOrPDFExport() 536 SwRenderData::ValidStartFramesMap_t::const_iterator aIt( rFrms.find( nPage ) ); in PrintOrPDFExport() 544 DBG_ASSERT( nPage == 0, "unexpected page number. 0 for post-it pages expected" ); in PrintOrPDFExport() 551 ViewShell *pViewSh2 = nPage == 0 ? /* post-it page? */ in PrintOrPDFExport() 570 pViewSh2 = nPage == 0 ? /* post-it page? */ in PrintOrPDFExport()
|