Lines Matching refs:pValue
758 const PPDValue* pValue = pKey->getValue( j ); in PPDParser() local
759 if( pValue == pKey->m_pDefaultValue ) in PPDParser()
762 switch( pValue->m_eType ) in PPDParser()
772 BSTRING( pValue->m_aOption ).GetBuffer(), in PPDParser()
773 BSTRING( pValue->m_aOptionTranslation ).GetBuffer(), in PPDParser()
775 BSTRING( pValue->m_aValue ).GetBuffer(), in PPDParser()
776 BSTRING( pValue->m_aValueTranslation ).GetBuffer() ); in PPDParser()
1097 PPDValue* pValue = pKey->insertValue( aOption ); in parse() local
1098 if( ! pValue ) in parse()
1100 pValue->m_eType = eType; in parse()
1101 pValue->m_aValue = aValue; in parse()
1111 pKey->m_aQueryValue = *pValue; in parse()
1113 pKey->eraseValue( pValue->m_aOption ); in parse()
1441 const PPDValue* pValue = m_pInputSlots->getValue( i ); in getSlotCommand() local
1442 if( pValue->m_aOption == rSlot ) in getSlotCommand()
1443 return pValue->m_aValue; in getSlotCommand()
1481 const PPDValue* pValue = m_pPaperDimensions->getValue( i ); in getPaperDimensionCommand() local
1482 if( pValue->m_aOption == rPaperDimension ) in getPaperDimensionCommand()
1483 return pValue->m_aValue; in getPaperDimensionCommand()
1602 const PPDValue* pValue = m_pDuplexTypes->getValue( i ); in getDuplexCommand() local
1603 if( pValue->m_aOption == rDuplex ) in getDuplexCommand()
1604 return pValue->m_aValue; in getDuplexCommand()
1716 const PPDValue* pValue = getValue( rOption ); in getValueCaseInsensitive() local
1717 if( ! pValue ) in getValueCaseInsensitive()
1719 for( size_t n = 0; n < m_aOrderedValues.size() && ! pValue; n++ ) in getValueCaseInsensitive()
1721 pValue = m_aOrderedValues[n]; in getValueCaseInsensitive()
1724 return pValue; in getValueCaseInsensitive()
1756 PPDValue* pValue = &m_aValues[rOption]; in insertValue() local
1757 m_aOrderedValues.push_back( pValue ); in insertValue()
1758 return pValue; in insertValue()
1823 const PPDValue* pValue = pKey->getDefaultValue(); in getValue() local
1824 if( ! pValue ) in getValue()
1825 pValue = pKey->getValue( 0 ); in getValue()
1827 return pValue; in getValue()
1832 const PPDValue* PPDContext::setValue( const PPDKey* pKey, const PPDValue* pValue, bool bDontCareFor… in setValue() argument
1843 if( pValue ) in setValue()
1847 m_aCurrentValues[ pKey ] = pValue; in setValue()
1849 else if( checkConstraints( pKey, pValue, true ) ) in setValue()
1851 m_aCurrentValues[ pKey ] = pValue; in setValue()
1865 pValue->m_aOption.GetStr() ); in setValue()
1878 return pValue; in setValue()
1883 bool PPDContext::checkConstraints( const PPDKey* pKey, const PPDValue* pValue ) in checkConstraints() argument
1885 if( ! m_pParser || ! pKey || ! pValue ) in checkConstraints()
1890 return checkConstraints( pKey, pValue, false ); in checkConstraints()
1898 bRet = checkConstraints( pKey, pValue, false ); in checkConstraints()
2023 const PPDValue* pValue = pKey->getValue( i ); in getUnconstrainedValues() local
2024 if( checkConstraints( pKey, pValue ) ) in getUnconstrainedValues()
2025 rValues.push_back( pValue ); in getUnconstrainedValues()
2095 const PPDValue* pValue = NULL; in rebuildFromStreamBuffer() local
2098 pValue = pKey->getValue( aOption ); in rebuildFromStreamBuffer()
2099 m_aCurrentValues[ pKey ] = pValue; in rebuildFromStreamBuffer()
2122 const PPDValue* pValue = getValue( pKey ); in getRenderResolution() local
2123 if( pValue ) in getRenderResolution()
2124 m_pParser->getResolutionFromString( pValue->m_aOption, nDPIx, nDPIy ); in getRenderResolution()
2149 const PPDValue* pValue = getValue( pKey ); in getPageSize() local
2150 if( pValue ) in getPageSize()
2152 rPaper = pValue->m_aOption; in getPageSize()