/trunk/main/sd/source/ui/dlg/ |
H A D | assclass.cxx | 77 while(nPage <= mnPages && !mpPageStatus[nPage-1]) in NextPage() 78 nPage++; in NextPage() 92 while(nPage >= 0 && !mpPageStatus[nPage-1]) in PreviousPage() 93 nPage--; in PreviousPage() 148 while(nPage <= mnPages && !mpPageStatus[nPage-1]) in IsLastPage() 149 nPage++; in IsLastPage() 165 while(nPage > 0 && !mpPageStatus[nPage-1]) in IsFirstPage() 166 nPage--; in IsFirstPage() 193 return (nPage>0) && (nPage <= mnPages && mpPageStatus[nPage-1]); in IsEnabled() 200 if((nPage>0) && (nPage < mnPages && !mpPageStatus[nPage-1])) in EnablePage() [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 | 593 sal_uInt16 nPage = 0; in Fill() local 596 while( nPage < nMaxPages ) in Fill() 609 nPage++; in Fill() 615 nPage = 0; in Fill() 622 nPage++; in Fill() 934 sal_uInt16 nPage = 0; in IsEqualToDoc() local 937 while( nPage < nMaxPages ) in IsEqualToDoc() 976 nPage++; in IsEqualToDoc() 1050 sal_uInt16 nPage = 0; in RequestingChilds() local 1053 while( nPage < nMaxPages ) in RequestingChilds() [all …]
|
/trunk/main/sd/source/core/ |
H A D | drawdoc2.cxx | 122 nPage++; in GetObj() 128 nPage = 0; in GetObj() 149 nPage++; in GetObj() 185 nPage++; in GetPageByName() 190 nPage = 0; in GetPageByName() 203 nPage++; in GetPageByName() 270 for (sal_uInt16 nPage = nStartPos; nPage < nPageCount; nPage++) in UpdatePageObjectsInNotes() local 818 for (nPage = 0; nPage < nNoOfPages; nPage++) in MovePages() 834 nPage--; in MovePages() 1232 for( nPage = 1; nPage < nMaxPages; nPage++ ) in CheckMasterPages() [all …]
|
H A D | drawdoc.cxx | 623 for ( sal_uInt16 nPage = 0; nPage < GetMasterPageCount(); nPage++) in NewOrLoadCompleted() local 626 SdPage* pPage = (SdPage*) GetMasterPage( nPage ); in NewOrLoadCompleted() 682 sal_uInt16 nPage, nPageCount; in NewOrLoadCompleted() local 687 for (nPage = 0; nPage < nPageCount; nPage++) in NewOrLoadCompleted() 689 SdPage* pPage = GetMasterSdPage(nPage, PK_STANDARD); in NewOrLoadCompleted() 694 for (nPage = 0; nPage < GetPageCount(); nPage++) in NewOrLoadCompleted() 696 SdPage* pPage = (SdPage*)GetPage(nPage); in NewOrLoadCompleted() 701 for (nPage = 0; nPage < GetMasterPageCount(); nPage++) in NewOrLoadCompleted() 703 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() 846 for (nPage = 0; nPage < GetMasterPageCount(); nPage++) in StartOnlineSpelling() 1243 sal_uInt16 nPage; in RenameLayoutTemplate() local 1244 for (nPage = 0; nPage < GetPageCount(); nPage++) in RenameLayoutTemplate() 1246 SdPage* pPage = (SdPage*) GetPage(nPage); in RenameLayoutTemplate() 1289 for (nPage = 0; nPage < GetMasterPageCount(); 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()
|
/trunk/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() 255 if (nPage) in exportAll() 348 if (ret != nPage) in exportBackgrounds() 358 return nPage; in exportBackgrounds() 389 if (ret != nPage) in exportBackgrounds() 404 if (ret != nPage) in exportBackgrounds() 414 return nPage; in exportBackgrounds() 491 return nPage; in exportDrawPageBackground() 513 return nPage; in exportDrawPageBackground() [all …]
|
H A D | swffilter.cxx | 211 OUString filename = STR("slide") + VAL(nPage+1) + STR(suffix) + STR(".swf"); 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() 458 if (nPage < nPageCount - 1) in ExportAsMultipleFiles() 465 fullpath = swfdirpath + STR("/slide") + VAL(nPage+1) + STR("s.swf"); in ExportAsMultipleFiles() [all …]
|
/trunk/main/sot/source/sdstor/ |
H A D | stgcache.cxx | 74 nPage = 0; in StgPage() 151 pElem->nPage = nPg; in Create() 178 if( pElem->nPage < p->nPage ) in Create() 186 if( p->nPage < pElem1->nPage ) in Create() 268 StgPage* p = Find( nPage ); in Get() 271 p = Create( nPage ); in Get() 441 if ( nPage > nPages ) in Read() 446 sal_Int32 nPg2 = ( ( nPage + nPg ) > nPages ) ? nPages - nPage : nPg; in Read() 449 if( nPage == -1 ) in Read() 483 if( nPage == -1 ) in Write() [all …]
|
H A D | stgstrms.cxx | 316 nStart = nPage = STG_EOF; in StgStrm() 365 nBgn = nPage; in Pos2Page() 393 nPage = nBgn; in Pos2Page() 403 return rIo.Get( nPage, bForce ); in GetPhysPage() 454 nStart = nPage = nBgn; in SetSize() 501 nPage = nBytePos / nPageSize; in Pos2Page() 504 nPage = GetPage( (short) nPage, sal_False ); in Pos2Page() 505 return sal_Bool( nPage >= 0 ); in Pos2Page() 763 nStart = nPage = nBgn; in Init() 819 if( nPage >= 0 ) in SetSize() [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()
|
/trunk/main/sd/source/ui/unoidl/ |
H A D | unomodel.cxx | 1593 return nPage; in ImplPDFGetBookmarkPage() 2392 for( nPage = 0; nPage < nCount; nPage++ ) in getByName() 2422 sal_uInt16 nPage; in getElementNames() local 2423 for( nPage = 0; nPage < nCount; nPage++ ) in getElementNames() 2441 for( nPage = 0; nPage < nCount; nPage++ ) in hasByName() 2919 for( nPage = 0; nPage < nMaxPages; nPage++ ) in getElementNames() 2923 for( nPage = 0; nPage < nMaxMasterPages; nPage++ ) in getElementNames() 2937 for( nPage = 0; nPage < nMaxPages; nPage++ ) in getElementNames() 2941 for( nPage = 0; nPage < nMaxMasterPages; nPage++ ) in getElementNames() 2993 for( nPage = 0; nPage < nMaxPages; nPage++ ) in FindPage() [all …]
|
/trunk/main/sc/source/ui/view/ |
H A D | prevwsh.cxx | 542 if (nTotal && nPage > 0) in Execute() 543 pPreview->SetPageNo( nPage-1 ); in Execute() 553 pPreview->SetPageNo( nPage+1 ); in Execute() 561 if (nTotal && nPage != 0) in Execute() 573 if (nTotal && nPage+1 != nTotal) in Execute() 763 if (!nTotal || nPage==0) in GetState() 769 if (!nTotal || nPage==nTotal-1) in GetState() 956 if( nPage>0 ) in DoScroll() 979 if( nPage<nTotal-1 ) in DoScroll() 1000 if( nPage>0 ) in DoScroll() [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()
|
/trunk/main/store/source/ |
H A D | stordata.cxx | 606 if (nPage < nLimit) in scope() 609 index0 = nPage; in scope() 617 nPage -= nLimit; in scope() 623 if (nPage < nLimit) in scope() 635 if (n != nPage) in scope() 645 nPage -= nLimit; in scope() 650 if (nPage < nLimit) in scope() 667 if (n != nPage) in scope() 678 nPage -= nLimit; in scope() 683 if (nPage < nLimit) in scope() [all …]
|
/trunk/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 …]
|
/trunk/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()
|
/trunk/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()
|
/trunk/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()
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/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()
|
/trunk/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()
|
/trunk/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()
|
/trunk/main/sd/source/filter/html/ |
H A D | htmlex.cxx | 682 for( sal_uInt16 nPage = 0; nPage < mnSdPageCount; nPage++ ) in InitExportParameters() local 1580 int nPage = nSdPage + 1; in CreateHtmlForPresPages() local 1581 if( nPage == mnSdPageCount ) in CreateHtmlForPresPages() 1582 nPage = 0; in CreateHtmlForPresPages() 1786 sal_uLong nPage = nSdPage; in CreateHtmlForPresPages() local 1788 nPage = 0; in CreateHtmlForPresPages() 1790 nPage = nSdPage - 1; in CreateHtmlForPresPages() 1798 sal_uLong nPage = nSdPage; in CreateHtmlForPresPages() local 1802 nPage = nSdPage + 1; in CreateHtmlForPresPages() 2044 for( int nPage = 0; nPage < (mbImpress?2:1) && bOk; nPage++ ) in CreateOutlinePages() local [all …]
|