Lines Matching refs:pOs2SalInfoPrinter

539 static void ImplFreeFormAndTrayList( Os2SalInfoPrinter* pOs2SalInfoPrinter )  in ImplFreeFormAndTrayList()  argument
541 if ( pOs2SalInfoPrinter->mnFormCount ) in ImplFreeFormAndTrayList()
543 for ( USHORT i = 0; i < pOs2SalInfoPrinter->mnFormCount; i++ ) in ImplFreeFormAndTrayList()
544 delete pOs2SalInfoPrinter->mpFormArray[i]; in ImplFreeFormAndTrayList()
545 delete [] pOs2SalInfoPrinter->mpFormArray; in ImplFreeFormAndTrayList()
546 pOs2SalInfoPrinter->mnFormCount = 0; in ImplFreeFormAndTrayList()
549 if ( pOs2SalInfoPrinter->mnTrayCount ) in ImplFreeFormAndTrayList()
551 for ( USHORT i = 0; i < pOs2SalInfoPrinter->mnTrayCount; i++ ) in ImplFreeFormAndTrayList()
552 delete pOs2SalInfoPrinter->mpTrayArray[i]; in ImplFreeFormAndTrayList()
553 delete [] pOs2SalInfoPrinter->mpTrayArray; in ImplFreeFormAndTrayList()
554 pOs2SalInfoPrinter->mnTrayCount = 0; in ImplFreeFormAndTrayList()
560 static void ImplGetFormAndTrayList( Os2SalInfoPrinter* pOs2SalInfoPrinter, const ImplJobSetup* pSet… in ImplGetFormAndTrayList() argument
565 ImplFreeFormAndTrayList( pOs2SalInfoPrinter ); in ImplGetFormAndTrayList()
586 rc = DevEscape( pOs2SalInfoPrinter->mhDC, in ImplGetFormAndTrayList()
607 rc = DevEscape( pOs2SalInfoPrinter->mhDC, in ImplGetFormAndTrayList()
638 pOs2SalInfoPrinter->mnFormCount = pDJP->ulNumReturned; in ImplGetFormAndTrayList()
639 pOs2SalInfoPrinter->mpFormArray = new PIMPLFORMINFO[pOs2SalInfoPrinter->mnFormCount]; in ImplGetFormAndTrayList()
659 pOs2SalInfoPrinter->mpFormArray[i] = pInfo; in ImplGetFormAndTrayList()
669 pOs2SalInfoPrinter->mnTrayCount = pDJP->ulNumReturned; in ImplGetFormAndTrayList()
670 pOs2SalInfoPrinter->mpTrayArray = new PIMPLTRAYINFO[pOs2SalInfoPrinter->mnTrayCount]; in ImplGetFormAndTrayList()
675 pOs2SalInfoPrinter->mpTrayArray[i] = pInfo; in ImplGetFormAndTrayList()
690 static sal_Bool ImplGetCurrentSettings( Os2SalInfoPrinter* pOs2SalInfoPrinter, ImplJobSetup* pSetup… in ImplGetCurrentSettings() argument
693 if ( !pOs2SalInfoPrinter->mnFormCount ) in ImplGetCurrentSettings()
694 ImplGetFormAndTrayList( pOs2SalInfoPrinter, pSetupData ); in ImplGetCurrentSettings()
715 rc = DevEscape( pOs2SalInfoPrinter->mhDC, in ImplGetCurrentSettings()
735 rc = DevEscape( pOs2SalInfoPrinter->mhDC, in ImplGetCurrentSettings()
811 for ( j = 0; j < pOs2SalInfoPrinter->mnTrayCount; j++ ) in ImplGetCurrentSettings()
813 if ( (pOs2SalInfoPrinter->mpTrayArray[j]->mnId == pElm->djpttTrayID) && in ImplGetCurrentSettings()
814 (pOs2SalInfoPrinter->mpTrayArray[j]->maName == pElm->szTrayname) ) in ImplGetCurrentSettings()
823 for ( j = 0; j < pOs2SalInfoPrinter->mnTrayCount; j++ ) in ImplGetCurrentSettings()
825 if ( pOs2SalInfoPrinter->mpTrayArray[j]->mnId == pElm->djpttTrayID ) in ImplGetCurrentSettings()