Home
last modified time | relevance | path

Searched refs:nPageNum (Results 1 – 25 of 40) sorted by relevance

12

/trunk/main/sd/source/ui/view/
H A Dtabcontr.cxx307 sal_uInt16 nPageNum = nPageId; in ExecuteDrop() local
308 if ((nPageNumOfCopy <= nPageNum) && (nPageNum != (sal_uInt16)-1)) in ExecuteDrop()
309 nPageNum += 1; in ExecuteDrop()
310 if (pDoc->MovePages(nPageNum)) in ExecuteDrop()
315 if (nPageNumOfCopy >= nPageNum || (nPageNum == (sal_uInt16)-1)) in ExecuteDrop()
316 nPageNum += 1; in ExecuteDrop()
317 SetCurPageId (GetPageId(nPageNum)); in ExecuteDrop()
H A Ddrawview.cxx422 sal_uInt16 nPageNum = (pPage->GetPageNum() - 1) / 2; // Sdr --> Sd in Notify() local
423 mpDrawViewShell->SwitchPage(nPageNum); in Notify()
/trunk/main/sd/source/ui/annotations/
H A Dannotationmanager.cxx1177 sal_uInt16 nPageNum = (pPage->GetPageNum() - 1) >> 1; in GetNextPage() local
1184 if( nPageNum >= mpDoc->GetSdPageCount(PK_STANDARD)-1 ) in GetNextPage()
1189 nPageNum++; in GetNextPage()
1193 if( nPageNum == 0 ) in GetNextPage()
1196 nPageNum--; in GetNextPage()
1198 return mpDoc->GetSdPage(nPageNum, PK_STANDARD); in GetNextPage()
1204 if( nPageNum >= mpDoc->GetMasterSdPageCount(PK_STANDARD)-1 ) in GetNextPage()
1208 nPageNum++; in GetNextPage()
1212 if( nPageNum == (mpDoc->GetDocumentType() == DOCUMENT_TYPE_IMPRESS) ? 0 : 1 ) in GetNextPage()
1218 nPageNum--; in GetNextPage()
[all …]
/trunk/main/sw/inc/
H A Dfmtanchr.hxx44 sal_uInt16 nPageNum; //Seitennummer bei Seitengeb. Rahmen. member in SwFmtAnchor
51 SwFmtAnchor( RndStdIds eRnd = FLY_AT_PAGE, sal_uInt16 nPageNum = 0 );
71 sal_uInt16 GetPageNum() const { return nPageNum; } in GetPageNum()
77 void SetPageNum( sal_uInt16 nNew ) { nPageNum = nNew; } in SetPageNum()
H A Dviewsh.hxx271 Point GetPagePos( sal_uInt16 nPageNum ) const;
274 sal_Bool IsDummyPage( sal_uInt16 nPageNum ) const; // An empty page?
289 const Size GetPageSize( sal_uInt16 nPageNum, bool bSkipEmptyPages ) const;
/trunk/main/sd/source/core/
H A Ddrawdoc2.cxx167 sal_uInt16 nPageNum = SDRPAGE_NOTFOUND; in GetPageByName() local
173 while (nPage < nMaxPages && nPageNum == SDRPAGE_NOTFOUND) in GetPageByName()
182 nPageNum = nPage; in GetPageByName()
192 while (nPage < nMaxMasterPages && nPageNum == SDRPAGE_NOTFOUND) in GetPageByName()
199 nPageNum = nPage; in GetPageByName()
206 return nPageNum; in GetPageByName()
1447 sal_uInt16 SdDrawDocument::DuplicatePage (sal_uInt16 nPageNum) in DuplicatePage() argument
1452 SdPage* pActualPage = GetSdPage(nPageNum, ePageKind); in DuplicatePage()
/trunk/main/sd/source/filter/eppt/
H A Deppt.cxx913 sal_Bool PPTWriter::ImplCreateMaster( sal_uInt32 nPageNum ) in ImplCreateMaster() argument
915 if ( !ImplGetPageByIndex( nPageNum, MASTER ) ) in ImplCreateMaster()
917 ImplSetCurrentStyleSheet( nPageNum ); in ImplCreateMaster()
1014 ImplGetPageByIndex( nPageNum, MASTER ); in ImplCreateMaster()
1199 sal_Bool PPTWriter::ImplCreateSlide( sal_uInt32 nPageNum ) in ImplCreateSlide() argument
1203 if ( !ImplGetPageByIndex( nPageNum, NORMAL ) ) in ImplCreateSlide()
1240 mpPptEscherEx->PtReplaceOrInsert( EPP_Persist_Slide | nPageNum, mpStrm->Tell() ); in ImplCreateSlide()
1648 sal_Bool PPTWriter::ImplCreateNotes( sal_uInt32 nPageNum ) in ImplCreateNotes() argument
1650 if ( !ImplGetPageByIndex( nPageNum, NOTICE ) ) in ImplCreateNotes()
1655 mpPptEscherEx->PtReplaceOrInsert( EPP_Persist_Notes | nPageNum, mpStrm->Tell() ); in ImplCreateNotes()
[all …]
H A Deppt.hxx783 sal_Bool ImplCreateMaster( sal_uInt32 nPageNum );
785 sal_Bool ImplCreateSlide( sal_uInt32 nPageNum );
786 sal_Bool ImplCreateNotes( sal_uInt32 nPageNum );
793 sal_Bool ImplSetCurrentStyleSheet( sal_uInt32 nPageNum );
/trunk/main/svx/source/svdraw/
H A Dsvdpage.cxx1313 nPageNum(0L), in DBG_NAME()
1340 nPageNum(rSrcPage.nPageNum), in SdrPage()
1452 nPageNum = rSrcPage.nPageNum; in operator =()
1701 if(nNew != nPageNum) in SetPageNum()
1704 nPageNum = nNew; in SetPageNum()
1723 return nPageNum; in GetPageNum()
H A Dsvdundo.cxx1608 nPageNum=rNewPg.GetPageNum(); in SdrUndoPageList()
1663 ImpInsertPage(nPageNum); in Undo()
1673 ImpRemovePage(nPageNum); in Redo()
1706 ImpRemovePage(nPageNum); in Undo()
1713 ImpInsertPage(nPageNum); in Redo()
H A Dsvdmodel.cxx1587 sal_uInt16 nPageNum=nFirstPageNum; in CopyPages() local
1593 pPagePtrs[nCopyNum]=GetPage(nPageNum); in CopyPages()
1595 nPageNum--; in CopyPages()
1597 nPageNum++; in CopyPages()
/trunk/main/sw/source/core/doc/
H A Ddoc.cxx1470 sal_Int32 nPageNum = 0; in UpdatePagesForPrintingWithPostItData() local
1472 while( pPageFrm && nPageNum < nPostItDocPageCount ) in UpdatePagesForPrintingWithPostItData()
1475 ++nPageNum; in UpdatePagesForPrintingWithPostItData()
1481 DBG_ASSERT( nPageNum == nPostItDocPageCount, "unexpected number of pages" ); in UpdatePagesForPrintingWithPostItData()
1606 sal_Int32 nPageNum = 0; in CalculatePagePairsForProspectPrinting() local
1608 while( pPageFrm && nPageNum < nDocPageCount ) in CalculatePagePairsForProspectPrinting()
1611 ++nPageNum; in CalculatePagePairsForProspectPrinting()
1612 rValidPagesSet.insert( nPageNum ); in CalculatePagePairsForProspectPrinting()
1613 rValidStartFrms[ nPageNum ] = pPageFrm; in CalculatePagePairsForProspectPrinting()
1616 rPrinterPaperTrays[ nPageNum ] = lcl_GetPaperBin( pStPage ); in CalculatePagePairsForProspectPrinting()
[all …]
/trunk/main/sw/source/core/inc/
H A Drootfrm.hxx254 sal_uInt16 SetCurrPage( SwCursor*, sal_uInt16 nPageNum );
255 Point GetPagePos( sal_uInt16 nPageNum ) const;
261 sal_Bool IsDummyPage( sal_uInt16 nPageNum ) const;
/trunk/main/sw/source/core/layout/
H A Dlaycache.cxx321 sal_uInt16 nPageNum = pPage->GetPhyPageNum(); in Write() local
329 aIo.GetStream() << nPageNum << nOrdNum in Write()
1090 GetFlyCache(nFlyIdx) )->nPageNum < nPgNum) in _CheckFlyCache()
1098 GetFlyCache( nIdx ) )->nPageNum == nPgNum ) in _CheckFlyCache()
1185 nPgNum > (pFlyC = pCache->GetFlyCache( nIdx ))->nPageNum ) in CheckPageFlyCache()
1194 while( pPage && pPage->GetPhyPageNum() < pFlyC->nPageNum ) in CheckPageFlyCache()
H A Dobjectformattertxtfrm.cxx620 const sal_uInt32 nPageNum = pPageFrmOfAnchor->GetPhyPageNum(); in CheckMovedFwdCondition() local
621 if ( nPageNum > _nFromPageNum ) in CheckMovedFwdCondition()
623 _noToPageNum = nPageNum; in CheckMovedFwdCondition()
H A Dtrvlfrm.cxx912 sal_uInt16 SwRootFrm::SetCurrPage( SwCursor* pToSet, sal_uInt16 nPageNum ) in SetCurrPage() argument
918 while ( !bEnd && pPage->GetPhyPageNum() != nPageNum ) in SetCurrPage()
1574 Point SwRootFrm::GetPagePos( sal_uInt16 nPageNum ) const in GetPagePos()
1581 if ( pPage->GetPhyPageNum() >= nPageNum || !pPage->GetNext() ) in GetPagePos()
1619 sal_Bool SwRootFrm::IsDummyPage( sal_uInt16 nPageNum ) const in IsDummyPage()
1621 if( !Lower() || !nPageNum || nPageNum > GetPageNum() ) in IsDummyPage()
1625 while( pPage && nPageNum < pPage->GetPhyPageNum() ) in IsDummyPage()
H A Dlayhelp.hxx223 sal_uInt16 nPageNum; // page number member in SwFlyCache
225 SwRect( nXL, nYL, nWL, nHL ), nOrdNum( nO ), nPageNum( nP ){} in SwFlyCache()
/trunk/main/filter/inc/filter/msfilter/
H A Dsvdfppt.hxx579 sal_uInt32 GetMasterPageId(sal_uInt16 nPageNum, PptPageKind ePageKind) const;
580 sal_uInt32 GetNotesPageId(sal_uInt16 nPageNum ) const;
589 void SetPageNum( sal_uInt16 nPageNum, PptPageKind = PPT_SLIDEPAGE );
594 sal_Bool IsNoteOrHandout( sal_uInt16 nPageNum, PptPageKind ePageKind ) const;
595 sal_Bool HasMasterPage( sal_uInt16 nPageNum, PptPageKind ePageKind = PPT_SLIDEPAGE ) const;
596 …sal_uInt16 GetMasterPageIndex( sal_uInt16 nPageNum, PptPageKind ePageKind = PPT_SLIDEPAGE ) const;
/trunk/main/filter/source/msfilter/
H A Dsvdfppt.cxx884 sal_uInt16 nPageNum = pSdrModel->GetPageCount(); in ProcessObj() local
885 if ( nPageNum > 0 ) in ProcessObj()
886 nPageNum--; in ProcessObj()
1688 for ( sal_uInt16 nPageNum = 0; nPageNum < pPageList->Count(); nPageNum++ ) in SdrPowerPointImport() local
2651 nAktPageNum = nPageNum; in SetPageNum()
2659 nMasterIndex = nPageNum; in SetPageNum()
2662 if ( HasMasterPage( nPageNum, eKind ) ) in SetPageNum()
3178 bNote = ( nPageNum & 1 ) == 0; in IsNoteOrHandout()
3185 if ( pPageList && nPageNum < pPageList->Count() ) in GetMasterPageId()
3193 if ( pPageList && nPageNum < pPageList->Count() ) in GetNotesPageId()
[all …]
/trunk/main/sw/source/ui/uiview/
H A Dpview.cxx480 sal_uInt16 nPageNum; in GetStatusStr() local
483 nPageNum = mpPgPrevwLayout->SelectedPage(); in GetStatusStr()
487 nPageNum = mnSttPage > 1 ? mnSttPage : 1; in GetStatusStr()
489 sal_uInt16 nVirtPageNum = mpPgPrevwLayout->GetVirtPageNumByPageNum( nPageNum ); in GetStatusStr()
490 if( nVirtPageNum && nVirtPageNum != nPageNum ) in GetStatusStr()
495 rStr += String::CreateFromInt32( nPageNum ); in GetStatusStr()
/trunk/main/sw/source/core/view/
H A Dviewsh.cxx623 Point ViewShell::GetPagePos( sal_uInt16 nPageNum ) const in GetPagePos()
625 return GetLayout()->GetPagePos( nPageNum ); in GetPagePos()
644 sal_Bool ViewShell::IsDummyPage( sal_uInt16 nPageNum ) const in IsDummyPage()
646 return GetLayout() ? GetLayout()->IsDummyPage( nPageNum ) : 0; in IsDummyPage()
2643 const Size ViewShell::GetPageSize( sal_uInt16 nPageNum, bool bSkipEmptyPages ) const in GetPageSize() argument
2647 if( pTmpRoot && nPageNum ) in GetPageSize()
2652 while( --nPageNum && pPage->GetNext() ) in GetPageSize()
/trunk/main/sw/source/ui/docvw/
H A DPostItMgr.cxx1539 const unsigned long nPageNum = SwPostItHelper::getPageInfo( aPageFrm, pLayout, aPoint ); in IsHit() local
1540 if( nPageNum ) in IsHit()
1543 DBG_ASSERT(mPages.size()>nPageNum-1,"SwPostitMgr:: page container size wrong"); in IsHit()
1544 aRect = mPages[nPageNum-1]->eSidebarPosition == sw::sidebarwindows::SIDEBAR_LEFT in IsHit()
1551 if (mPages[nPageNum-1]->bScrollbar) in IsHit()
1552 return ScrollbarHit(nPageNum,aPoint); in IsHit()
/trunk/main/sw/source/ui/utlui/
H A Duitool.cxx586 sal_uInt16 nPageNum = 0; in SwToSfxPageDescAttr() local
595 nPageNum = ((SwFmtPageDesc*)pItem)->GetNumOffset(); in SwToSfxPageDescAttr()
608 SfxUInt16Item aPageNum( SID_ATTR_PARA_PAGENUM, nPageNum ); in SwToSfxPageDescAttr()
/trunk/main/sw/source/core/access/
H A Daccframe.cxx451 sal_uInt16 nPageNum = GetFrm()->GetVirtPageNum(); in GetFormattedPageNumber() local
457 String sRet( FormatNumber( nPageNum, nFmt ) ); in GetFormattedPageNumber()
/trunk/main/sw/source/core/frmedt/
H A Dfefly1.cxx2076 sal_uInt16 nPageNum = SwFmtGetPageNum((SwFlyFrmFmt *) &rFmt); in GetConnectableFrmFmts() local
2091 if (nNum1 == nPageNum -1) in GetConnectableFrmFmts()
2093 else if (nNum1 == nPageNum) in GetConnectableFrmFmts()
2095 else if (nNum1 == nPageNum + 1) in GetConnectableFrmFmts()

Completed in 192 milliseconds

12