Lines Matching refs:rInfo
1444 PrintInfo& rInfo) in SetupPaperOrientation() argument
1447 rInfo.meOrientation = ORIENTATION_PORTRAIT; in SetupPaperOrientation()
1451 rInfo.meOrientation = pDocument->GetSdPage(0, ePageKind)->GetOrientation(); in SetupPaperOrientation()
1453 else if (rInfo.maPageSize.Width() < rInfo.maPageSize.Height()) in SetupPaperOrientation()
1454 rInfo.meOrientation = ORIENTATION_LANDSCAPE; in SetupPaperOrientation()
1456 const Size aPaperSize (rInfo.mpPrinter->GetPaperSize()); in SetupPaperOrientation()
1457 if( (rInfo.meOrientation == ORIENTATION_LANDSCAPE && in SetupPaperOrientation()
1460 (rInfo.meOrientation == ORIENTATION_PORTRAIT && in SetupPaperOrientation()
1655 bool ContainsTransparency (const PrintInfo& rInfo) const in ContainsTransparency()
1666 SdPage* pPage = GetFilteredPage(nIndex, PK_STANDARD, rInfo); in ContainsTransparency()
1689 const PrintInfo& rInfo) const in GetFilteredPage()
1693 if ( ! rInfo.maSelection.IsSelected(nPageIndex)) in GetFilteredPage()
1715 void PrepareOutline (PrintInfo& rInfo) in PrepareOutline() argument
1717 MapMode aMap (rInfo.maMap); in PrepareOutline()
1718 Point aPageOfs (rInfo.mpPrinter->GetPageOffset() ); in PrepareOutline()
1724 Rectangle aOutRect(aPageOfs, rInfo.mpPrinter->GetOutputSize()); in PrepareOutline()
1727 …Size aPaperSize( rInfo.mpPrinter->PixelToLogic( rInfo.mpPrinter->GetPaperSizePixel(), MapMode( MAP… in PrepareOutline()
1759 SdPage* pPage = GetFilteredPage(nIndex, PK_STANDARD, rInfo); in PrepareOutline()
1852 rInfo.msTimeDate, in PrepareOutline()
1854 rInfo.mnDrawMode, in PrepareOutline()
1855 rInfo.meOrientation, in PrepareOutline()
1856 rInfo.mpPrinter->GetPaperBin()))); in PrepareOutline()
1870 void PrepareHandout (PrintInfo& rInfo) in PrepareHandout() argument
1882 nPaperBin = rInfo.mpPrinter->GetPaperBin(); in PrepareHandout()
1886 rInfo.meOrientation = rMaster.GetOrientation(); in PrepareHandout()
1888 const Size aPaperSize (rInfo.mpPrinter->GetPaperSize()); in PrepareHandout()
1889 if( (rInfo.meOrientation == ORIENTATION_LANDSCAPE && in PrepareHandout()
1892 (rInfo.meOrientation == ORIENTATION_PORTRAIT && in PrepareHandout()
1903 MapMode aMap (rInfo.maMap); in PrepareHandout()
1904 const Point aPageOfs (rInfo.mpPrinter->GetPageOffset()); in PrepareHandout()
1912 const Size aPrintSize (rInfo.mpPrinter->GetOutputSize()); in PrepareHandout()
1957 if (GetFilteredPage(nIndex, PK_STANDARD, rInfo) == NULL) in PrepareHandout()
1972 rInfo.msTimeDate, in PrepareHandout()
1974 rInfo.mnDrawMode, in PrepareHandout()
1975 rInfo.meOrientation, in PrepareHandout()
1989 PrintInfo& rInfo) in PrepareStdOrNotes() argument
1991 OSL_ASSERT(rInfo.mpPrinter != NULL); in PrepareStdOrNotes()
1998 rInfo.maPageSize = pRefPage->GetSize(); in PrepareStdOrNotes()
2000 if ( ! SetupPaperOrientation(ePageKind, rInfo)) in PrepareStdOrNotes()
2003 MapMode aMap (rInfo.maMap); in PrepareStdOrNotes()
2005 rInfo.maMap = aMap; in PrepareStdOrNotes()
2008 PrepareBooklet(ePageKind, rInfo); in PrepareStdOrNotes()
2010 PrepareRegularPages(ePageKind, rInfo); in PrepareStdOrNotes()
2021 PrintInfo& rInfo) in PrepareRegularPages() argument
2033 SdPage* pPage = GetFilteredPage(nIndex, ePageKind, rInfo); in PrepareRegularPages()
2037 MapMode aMap (rInfo.maMap); in PrepareRegularPages()
2043 const double fHorz ((double) rInfo.maPrintSize.Width() / aPageSize.Width()); in PrepareRegularPages()
2044 const double fVert ((double) rInfo.maPrintSize.Height() / aPageSize.Height()); in PrepareRegularPages()
2048 aFract = Fraction(rInfo.maPrintSize.Width(), aPageSize.Width()); in PrepareRegularPages()
2050 aFract = Fraction(rInfo.maPrintSize.Height(), aPageSize.Height()); in PrepareRegularPages()
2059 rInfo.msPageString = pPage->GetName(); in PrepareRegularPages()
2060 rInfo.msPageString += ::rtl::OUString(sal_Unicode(' ')); in PrepareRegularPages()
2063 rInfo.msPageString = ::rtl::OUString(); in PrepareRegularPages()
2064 rInfo.msPageString += rInfo.msTimeDate; in PrepareRegularPages()
2072 if( ( rInfo.maPrintSize.Width() > rInfo.maPrintSize.Height() in PrepareRegularPages()
2074 || ( rInfo.maPrintSize.Width() < rInfo.maPrintSize.Height() in PrepareRegularPages()
2078 const sal_Int32 nTmp (rInfo.maPrintSize.Width()); in PrepareRegularPages()
2079 rInfo.maPrintSize.Width() = rInfo.maPrintSize.Height(); in PrepareRegularPages()
2080 rInfo.maPrintSize.Height() = nTmp; in PrepareRegularPages()
2084 && aPageWidth < rInfo.maPrintSize.Width() in PrepareRegularPages()
2085 && aPageHeight < rInfo.maPrintSize.Height()) in PrepareRegularPages()
2088 PrepareTiledPage(nIndex, *pPage, ePageKind, rInfo); in PrepareRegularPages()
2092 rInfo.maMap = aMap; in PrepareRegularPages()
2093 PrepareScaledPage(nIndex, *pPage, ePageKind, rInfo); in PrepareRegularPages()
2105 const PrintInfo& rInfo) in PrepareBooklet() argument
2107 MapMode aStdMap (rInfo.maMap); in PrepareBooklet()
2109 Size aPrintSize_2 (rInfo.maPrintSize); in PrepareBooklet()
2110 Size aPageSize_2 (rInfo.maPageSize); in PrepareBooklet()
2112 if (rInfo.meOrientation == ORIENTATION_LANDSCAPE) in PrepareBooklet()
2131 MapMode aMap (rInfo.maMap); in PrepareBooklet()
2132 aMap.SetScaleX( Fraction( aPageSize_2.Width(), rInfo.maPageSize.Width() ) ); in PrepareBooklet()
2133 aMap.SetScaleY( Fraction( aPageSize_2.Height(), rInfo.maPageSize.Height() ) ); in PrepareBooklet()
2137 rInfo.maPrintSize, in PrepareBooklet()
2141 if (rInfo.meOrientation == ORIENTATION_LANDSCAPE) in PrepareBooklet()
2143 aOffset.X() = ( ( aAdjustedPrintSize.Width() >> 1 ) - rInfo.maPageSize.Width() ) >> 1; in PrepareBooklet()
2144 aOffset.Y() = ( aAdjustedPrintSize.Height() - rInfo.maPageSize.Height() ) >> 1; in PrepareBooklet()
2148 aOffset.X() = ( aAdjustedPrintSize.Width() - rInfo.maPageSize.Width() ) >> 1; in PrepareBooklet()
2149 aOffset.Y() = ( ( aAdjustedPrintSize.Height() >> 1 ) - rInfo.maPageSize.Height() ) >> 1; in PrepareBooklet()
2160 SdPage* pPage = GetFilteredPage(nIndex, ePageKind, rInfo); in PrepareBooklet()
2198 if (rInfo.meOrientation == ORIENTATION_LANDSCAPE) in PrepareBooklet()
2211 rInfo.mbPrintMarkedOnly, in PrepareBooklet()
2212 rInfo.mnDrawMode, in PrepareBooklet()
2213 rInfo.meOrientation, in PrepareBooklet()
2214 rInfo.mpPrinter->GetPaperBin()))); in PrepareBooklet()
2230 const PrintInfo& rInfo) in PrepareTiledPage() argument
2236 nPaperBin = rInfo.mpPrinter->GetPaperBin(); in PrepareTiledPage()
2244 rInfo.mbPrintMarkedOnly, in PrepareTiledPage()
2245 rInfo.msPageString, in PrepareTiledPage()
2246 rInfo.mpPrinter->GetPageOffset(), in PrepareTiledPage()
2247 rInfo.mnDrawMode, in PrepareTiledPage()
2248 rInfo.meOrientation, in PrepareTiledPage()
2262 const PrintInfo& rInfo) in PrepareScaledPage() argument
2264 const Point aPageOffset (rInfo.mpPrinter->GetPageOffset()); in PrepareScaledPage()
2270 nPaperBin = rInfo.mpPrinter->GetPaperBin(); in PrepareScaledPage()
2281 MapMode aMap (rInfo.maMap); in PrepareScaledPage()
2300 rInfo.mbPrintMarkedOnly, in PrepareScaledPage()
2301 rInfo.msPageString, in PrepareScaledPage()
2303 rInfo.mnDrawMode, in PrepareScaledPage()
2304 rInfo.meOrientation, in PrepareScaledPage()
2315 rInfo.maPageSize.Width() - rPage.GetLftBorder() - rPage.GetRgtBorder()); in PrepareScaledPage()
2317 rInfo.maPageSize.Height() - rPage.GetUppBorder() - rPage.GetLwrBorder()); in PrepareScaledPage()
2320 nPageWidth < rInfo.maPrintSize.Width() ? -aPageOffset.X() : 0, in PrepareScaledPage()
2321 nPageHeight < rInfo.maPrintSize.Height() ? -aPageOffset.Y() : 0); in PrepareScaledPage()
2327 aPageOrigin.Y() -= rInfo.maPrintSize.Height()) in PrepareScaledPage()
2331 aPageOrigin.X() -= rInfo.maPrintSize.Width()) in PrepareScaledPage()
2340 rInfo.mbPrintMarkedOnly, in PrepareScaledPage()
2341 rInfo.msPageString, in PrepareScaledPage()
2343 rInfo.mnDrawMode, in PrepareScaledPage()
2344 rInfo.meOrientation, in PrepareScaledPage()