Lines Matching refs:pPaperSizes

857 			POINT*	pPaperSizes = NULL;  in ImplDevModeToJobSetup()  local
865 pPaperSizes = (POINT*)rtl_allocateZeroMemory(nPaperSizeCount*sizeof(POINT)); in ImplDevModeToJobSetup()
866 ImplDeviceCaps( pPrinter, DC_PAPERSIZE, (BYTE*)pPaperSizes, pSetupData ); in ImplDevModeToJobSetup()
868 if( nPaperSizeCount == nPaperCount && pPaperSizes && pPapers ) in ImplDevModeToJobSetup()
874 pSetupData->mnPaperWidth = pPaperSizes[ i ].x*10; in ImplDevModeToJobSetup()
875 pSetupData->mnPaperHeight = pPaperSizes[ i ].y*10; in ImplDevModeToJobSetup()
882 if( pPaperSizes ) in ImplDevModeToJobSetup()
883 rtl_freeMemory( pPaperSizes ); in ImplDevModeToJobSetup()
1272 POINT* pPaperSizes = NULL; in ImplJobSetupToDevMode() local
1281 pPaperSizes = (POINT*)rtl_allocateZeroMemory(nPaperSizeCount*sizeof(POINT)); in ImplJobSetupToDevMode()
1282 ImplDeviceCaps( pPrinter, DC_PAPERSIZE, (BYTE*)pPaperSizes, pSetupData ); in ImplJobSetupToDevMode()
1284 if ( (nPaperSizeCount == nPaperCount) && pPapers && pPaperSizes ) in ImplJobSetupToDevMode()
1290 if ( aInfo.sloppyEqual(PaperInfo(pPaperSizes[i].x*10, pPaperSizes[i].y*10))) in ImplJobSetupToDevMode()
1305 if ( aRotatedInfo.sloppyEqual(PaperInfo(pPaperSizes[i].x*10, pPaperSizes[i].y*10)) ) in ImplJobSetupToDevMode()
1327 if ( pPaperSizes ) in ImplJobSetupToDevMode()
1328 rtl_freeMemory(pPaperSizes); in ImplJobSetupToDevMode()
1551 POINT* pPaperSizes = NULL; in InitPaperFormats() local
1554 pPaperSizes = (POINT*)rtl_allocateZeroMemory(nCount*sizeof(POINT)); in InitPaperFormats()
1555 ImplDeviceCaps( this, DC_PAPERSIZE, (BYTE*)pPaperSizes, pSetupData ); in InitPaperFormats()
1563 PaperInfo aInfo(pPaperSizes[i].x * 10, pPaperSizes[i].y * 10); in InitPaperFormats()
1574 PaperInfo aInfo(pPaperSizes[i].x * 10, pPaperSizes[i].y * 10); in InitPaperFormats()
1579 rtl_freeMemory( pPaperSizes ); in InitPaperFormats()