Lines Matching refs:pKey
156 const PPDKey* pKey = NULL; in copyJobDataToJobSetup() local
161 pKey = rData.m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "InputSlot" ) ) ); in copyJobDataToJobSetup()
162 if( pKey ) in copyJobDataToJobSetup()
163 pValue = rData.m_aContext.getValue( pKey ); in copyJobDataToJobSetup()
164 if( pKey && pValue ) in copyJobDataToJobSetup()
167 pValue != pKey->getValue( pJobSetup->mnPaperBin ) && in copyJobDataToJobSetup()
168 pJobSetup->mnPaperBin < pKey->countValues(); in copyJobDataToJobSetup()
171 if( pJobSetup->mnPaperBin >= pKey->countValues() ) in copyJobDataToJobSetup()
176 pKey = NULL; in copyJobDataToJobSetup()
181 pKey = rData.m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "Duplex" ) ) ); in copyJobDataToJobSetup()
182 if( pKey ) in copyJobDataToJobSetup()
183 pValue = rData.m_aContext.getValue( pKey ); in copyJobDataToJobSetup()
184 if( pKey && pValue ) in copyJobDataToJobSetup()
531 …const PPDKey* pKey = m_aJobData.m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "PageSize"… in InitPaperFormats() local
532 if( pKey ) in InitPaperFormats()
534 int nValues = pKey->countValues(); in InitPaperFormats()
537 const PPDValue* pValue = pKey->getValue( i ); in InitPaperFormats()
668 const PPDKey* pKey; in SetData() local
694 pKey = aData.m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "PageSize" ) ) ); in SetData()
695 pValue = pKey ? pKey->getValueCaseInsensitive( aPaper ) : NULL; in SetData()
699 if( pKey && ! pValue && pJobSetup->mePaperFormat != PAPER_USER ) in SetData()
705 pValue = pKey->getValueCaseInsensitive( aPaper ); in SetData()
708 if( ! ( pKey && pValue && aData.m_aContext.setValue( pKey, pValue, false ) == pValue ) ) in SetData()
715 pKey = aData.m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "InputSlot" ) ) ); in SetData()
716 if( pKey ) in SetData()
719 if( nPaperBin >= pKey->countValues() ) in SetData()
720 pValue = pKey->getDefaultValue(); in SetData()
722 pValue = pKey->getValue( pJobSetup->mnPaperBin ); in SetData()
726 aData.m_aContext.setValue( pKey, pValue ); in SetData()
739 pKey = aData.m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "Duplex" ) ) ); in SetData()
740 if( pKey ) in SetData()
746 pValue = pKey->getValue( String( RTL_CONSTASCII_USTRINGPARAM( "None" ) ) ); in SetData()
748 … pValue = pKey->getValue( String( RTL_CONSTASCII_USTRINGPARAM( "SimplexNoTumble" ) ) ); in SetData()
751 … pValue = pKey->getValue( String( RTL_CONSTASCII_USTRINGPARAM( "DuplexTumble" ) ) ); in SetData()
754 … pValue = pKey->getValue( String( RTL_CONSTASCII_USTRINGPARAM( "DuplexNoTumble" ) ) ); in SetData()
762 pValue = pKey->getDefaultValue(); in SetData()
763 aData.m_aContext.setValue( pKey, pValue ); in SetData()
829 …const PPDKey* pKey = aData.m_pParser ? aData.m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARA… in GetPaperBinCount() local
830 return pKey ? pKey->countValues() : 0; in GetPaperBinCount()
843 …const PPDKey* pKey = aData.m_pParser ? aData.m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARA… in GetPaperBinName() local
844 if( ! pKey || nPaperBin >= (sal_uLong)pKey->countValues() ) in GetPaperBinName()
848 const PPDValue* pValue = pKey->getValue( nPaperBin ); in GetPaperBinName()
850 aRet = aData.m_pParser->translateOption( pKey->getKey(), pValue->m_aOption ); in GetPaperBinName()
873 …const PPDKey* pKey = aData.m_pParser ? aData.m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARA… in GetCapabilities() local
874 …const PPDValue* pVal = pKey ? pKey->getValue( String( RTL_CONSTASCII_USTRINGPARAM( "True" ) ) ) : … in GetCapabilities()