Lines Matching refs:pKey
40 void RTSDialog::insertAllPPDValues( ListBox& rBox, const PPDParser* pParser, const PPDKey* pKey ) in insertAllPPDValues() argument
42 if( ! pKey || ! pParser ) in insertAllPPDValues()
49 for( int i = 0; i < pKey->countValues(); i++ ) in insertAllPPDValues()
51 pValue = pKey->getValue( i ); in insertAllPPDValues()
52 aOptionText = pParser->translateOption( pKey->getKey(), pValue->m_aOption) ; in insertAllPPDValues()
54 if( m_aJobData.m_aContext.checkConstraints( pKey, pValue ) ) in insertAllPPDValues()
68 pValue = m_aJobData.m_aContext.getValue( pKey ); in insertAllPPDValues()
268 const PPDKey* pKey = NULL; in update() local
277 …(pKey = m_pParent->m_aJobData.m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "Duplex" ) )… in update()
279 m_pParent->insertAllPPDValues( m_aDuplexBox, m_pParent->m_aJobData.m_pParser, pKey ); in update()
289 …(pKey = m_pParent->m_aJobData.m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "PageSize" )… in update()
291 m_pParent->insertAllPPDValues( m_aPaperBox, m_pParent->m_aJobData.m_pParser, pKey ); in update()
301 (pKey = m_pParent->m_aJobData.m_pParser->getKey( String::CreateFromAscii( "InputSlot" ) )) ) in update()
303 m_pParent->insertAllPPDValues( m_aSlotBox, m_pParent->m_aJobData.m_pParser, pKey ); in update()
316 const PPDKey* pKey = NULL; in IMPL_LINK() local
320 …pKey = m_pParent->m_aJobData.m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "PageSize" ) … in IMPL_LINK()
325 …pKey = m_pParent->m_aJobData.m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "Duplex" ) ) … in IMPL_LINK()
330 …pKey = m_pParent->m_aJobData.m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "InputSlot" )… in IMPL_LINK()
336 if( pKey ) in IMPL_LINK()
340 m_pParent->m_aJobData.m_aContext.setValue( pKey, pValue ); in IMPL_LINK()
406 const PPDKey* pKey = m_pParent->m_aJobData.m_pParser->getKey( i ); in RTSDevicePage() local
407 if( pKey->isUIKey() && in RTSDevicePage()
408 ! pKey->getKey().EqualsAscii( "PageSize" ) && in RTSDevicePage()
409 ! pKey->getKey().EqualsAscii( "InputSlot" ) && in RTSDevicePage()
410 ! pKey->getKey().EqualsAscii( "PageRegion" ) && in RTSDevicePage()
411 ! pKey->getKey().EqualsAscii( "Duplex" ) in RTSDevicePage()
414 String aEntry( m_pParent->m_aJobData.m_pParser->translateKey( pKey->getKey() ) ); in RTSDevicePage()
416 m_aPPDKeyBox.SetEntryData( nPos, (void*)pKey ); in RTSDevicePage()
456 const PPDKey* pKey = (PPDKey*)m_aPPDKeyBox.GetEntryData( m_aPPDKeyBox.GetSelectEntryPos() ); in IMPL_LINK() local
457 FillValueBox( pKey ); in IMPL_LINK()
461 const PPDKey* pKey = (PPDKey*)m_aPPDKeyBox.GetEntryData( m_aPPDKeyBox.GetSelectEntryPos() ); in IMPL_LINK() local
463 if( pKey && pValue ) in IMPL_LINK()
465 m_pParent->m_aJobData.m_aContext.setValue( pKey, pValue ); in IMPL_LINK()
466 FillValueBox( pKey ); in IMPL_LINK()
474 void RTSDevicePage::FillValueBox( const PPDKey* pKey ) in FillValueBox() argument
478 if( ! pKey ) in FillValueBox()
482 for( int i = 0; i < pKey->countValues(); i++ ) in FillValueBox()
484 pValue = pKey->getValue( i ); in FillValueBox()
485 if( m_pParent->m_aJobData.m_aContext.checkConstraints( pKey, pValue ) && in FillValueBox()
488 …String aEntry( m_pParent->m_aJobData.m_pParser->translateOption( pKey->getKey(), pValue->m_aOption… in FillValueBox()
493 pValue = m_pParent->m_aJobData.m_aContext.getValue( pKey ); in FillValueBox()