Lines Matching refs:nPages
414 int nPages = mnRows * mnColumns; in Paint() local
418 …Size aSampleTextSize( GetTextWidth( rtl::OUString::valueOf( sal_Int32(nPages+1) ) ), GetTextHeight… in Paint()
432 for( int i = 0; i < nPages; i++ ) in Paint()
1919 sal_Int32 nPages = maPController->getFilteredPageCount(); in preparePreview() local
1920 mnCachedPages = nPages; in preparePreview()
1922 if( mnCurPage >= nPages ) in preparePreview()
1923 mnCurPage = nPages-1; in preparePreview()
1930 maPageEdit.SetMax( nPages ); in preparePreview()
1937 if( nPages > 0 ) in preparePreview()
1951 nPages > 0 ? rtl::OUString() : maNoPageStr, in preparePreview()
1956 maForwardBtn.Enable( mnCurPage < nPages-1 ); in preparePreview()
1958 maPageEdit.Enable( nPages > 1 ); in preparePreview()
1979 …long nPages = long(maNUpPage.maNupPagesBox.GetEntryData(maNUpPage.maNupPagesBox.GetSelectEntryPos(… in updateNupFromPages() local
1986 if( nPages == 1 ) in updateNupFromPages()
1992 else if( nPages == 2 || nPages == 4 || nPages == 6 || nPages == 9 || nPages == 16 ) in updateNupFromPages()
1996 if( nPages == 2 ) in updateNupFromPages()
2003 else if( nPages == 4 ) in updateNupFromPages()
2005 else if( nPages == 6 ) in updateNupFromPages()
2012 else if( nPages == 9 ) in updateNupFromPages()
2014 else if( nPages == 16 ) in updateNupFromPages()
2022 if( nPages > 1 ) in updateNupFromPages()