Lines Matching refs:String

392 void PPDParser::scanPPDDir( const String& rDir )  in scanPPDDir()
503 String PPDParser::getPPDFile( const String& rFile ) in getPPDFile()
544 String aRet; in getPPDFile()
566 String PPDParser::getPPDPrinterName( const String& rFile ) in getPPDPrinterName()
568 String aPath = getPPDFile( rFile ); in getPPDPrinterName()
569 String aName; in getPPDPrinterName()
575 String aCurLine; in getPPDPrinterName()
580 aCurLine = String( aByteLine, RTL_TEXTENCODING_MS_1252 ); in getPPDPrinterName()
608 const PPDParser* PPDParser::getParser( const String& rFile ) in getParser()
613 String aFile = rFile; in getParser()
661 PPDParser::PPDParser( const String& rFile ) : in PPDParser()
702 aStream.Open( getPPDFile( String( aCurLine, m_aFileEncoding ) ) ); in PPDParser()
794 m_pImageableAreas = getKey( String( RTL_CONSTASCII_USTRINGPARAM( "ImageableArea" ) ) ); in PPDParser()
800 m_pPaperDimensions = getKey( String( RTL_CONSTASCII_USTRINGPARAM( "PaperDimension" ) ) ); in PPDParser()
806 m_pResolutions = getKey( String( RTL_CONSTASCII_USTRINGPARAM( "Resolution" ) ) ); in PPDParser()
812 m_pInputSlots = getKey( String( RTL_CONSTASCII_USTRINGPARAM( "InputSlot" ) ) ); in PPDParser()
818 m_pDuplexTypes = getKey( String( RTL_CONSTASCII_USTRINGPARAM( "Duplex" ) ) ); in PPDParser()
822 m_pFontList = getKey( String( RTL_CONSTASCII_USTRINGPARAM( "Font" ) ) ); in PPDParser()
826 if( (pKey = getKey( String( RTL_CONSTASCII_USTRINGPARAM( "ModelName" ) ) )) ) in PPDParser()
828 if( (pKey = getKey( String( RTL_CONSTASCII_USTRINGPARAM( "NickName" ) ) )) ) in PPDParser()
830 if( (pKey = getKey( String( RTL_CONSTASCII_USTRINGPARAM( "ColorDevice" ) ) )) ) in PPDParser()
833 if( (pKey = getKey( String( RTL_CONSTASCII_USTRINGPARAM( "LanguageLevel" ) ) )) ) in PPDParser()
835 if( (pKey = getKey( String( RTL_CONSTASCII_USTRINGPARAM( "TTRasterizer" ) ) )) ) in PPDParser()
846 void PPDParser::insertKey( const String& rKey, PPDKey* pKey ) in insertKey()
857 const PPDKey* PPDParser::getKey( const String& rKey ) const in getKey()
883 String PPDParser::handleTranslation( const ByteString& i_rString, bool bIsGlobalized ) in handleTranslation()
957 String aUniKey( aKey, RTL_TEXTENCODING_MS_1252 ); in parse()
978 String aOption; in parse()
982 aOption = String( aCurrentLine.Copy( 1, nPos-1 ), RTL_TEXTENCODING_MS_1252 ); in parse()
990 String aValue; in parse()
1033 aValue = String( aLine.Copy( 0, nTransPos ), RTL_TEXTENCODING_MS_1252 ); in parse()
1047 aValue = String( aLine, RTL_TEXTENCODING_MS_1252 ); in parse()
1060 aValue = String( aLine.Copy( 0, nTransPos ), RTL_TEXTENCODING_MS_1252 ); in parse()
1123 String aKey( aLine.Copy( 8 ), RTL_TEXTENCODING_MS_1252 ); in parse()
1128String aOption( WhitespaceToSpace( aLine.Copy( nPos+9 ) ), RTL_TEXTENCODING_MS_1252 ); in parse()
1159 String aTranslation; in parseOpenUI()
1174 String aUniKey( aKey, RTL_TEXTENCODING_MS_1252 ); in parseOpenUI()
1206 String aKey( GetCommandLineToken( 2, aLine ), RTL_TEXTENCODING_MS_1252 ); in parseOrderDependency()
1240 String aLine( rLine, RTL_TEXTENCODING_MS_1252 ); in parseConstraint()
1246 String aToken = GetCommandLineToken( i, aLine ); in parseConstraint()
1284 String PPDParser::getDefaultPaperDimension() const in getDefaultPaperDimension()
1289 return String(); in getDefaultPaperDimension()
1293 const String& rPaperName, in getMargins()
1312 String aArea = m_pImageableAreas->getValue( nImArea )->m_aValue; in getMargins()
1333 const String& rPaperName, in getPaperDimension()
1347 String aArea = m_pPaperDimensions->getValue( nPDim )->m_aValue; in getPaperDimension()
1356 String PPDParser::matchPaper( int nWidth, int nHeight ) const in matchPaper()
1359 return String(); in matchPaper()
1367 String aArea = m_pPaperDimensions->getValue( i )->m_aValue; in matchPaper()
1393 String rRet = matchPaper( nHeight, nWidth ); in matchPaper()
1398 return nPDim != -1 ? m_pPaperDimensions->getValue( nPDim )->m_aOption : String(); in matchPaper()
1401 String PPDParser::getDefaultInputSlot() const in getDefaultInputSlot()
1405 return String(); in getDefaultInputSlot()
1408 String PPDParser::getSlot( int nSlot ) const in getSlot()
1411 return String(); in getSlot()
1418 return String(); in getSlot()
1421 String PPDParser::getSlotCommand( int nSlot ) const in getSlotCommand()
1424 return String(); in getSlotCommand()
1431 return String(); in getSlotCommand()
1434 String PPDParser::getSlotCommand( const String& rSlot ) const in getSlotCommand()
1437 return String(); in getSlotCommand()
1445 return String(); in getSlotCommand()
1448 String PPDParser::getPaperDimension( int nPaperDimension ) const in getPaperDimension()
1451 return String(); in getPaperDimension()
1458 return String(); in getPaperDimension()
1461 String PPDParser::getPaperDimensionCommand( int nPaperDimension ) const in getPaperDimensionCommand()
1464 return String(); in getPaperDimensionCommand()
1471 return String(); in getPaperDimensionCommand()
1474 String PPDParser::getPaperDimensionCommand( const String& rPaperDimension ) const in getPaperDimensionCommand()
1477 return String(); in getPaperDimensionCommand()
1485 return String(); in getPaperDimensionCommand()
1489 const String& rString, in getResolutionFromString()
1543 String PPDParser::getResolutionCommand( int nXRes, int nYRes ) const in getResolutionCommand()
1549 return String(); in getResolutionCommand()
1559 return String(); in getResolutionCommand()
1562 String PPDParser::getDefaultDuplexType() const in getDefaultDuplexType()
1566 return String(); in getDefaultDuplexType()
1569 String PPDParser::getDuplex( int nDuplex ) const in getDuplex()
1572 return String(); in getDuplex()
1579 return String(); in getDuplex()
1582 String PPDParser::getDuplexCommand( int nDuplex ) const in getDuplexCommand()
1585 return String(); in getDuplexCommand()
1592 return String(); in getDuplexCommand()
1595 String PPDParser::getDuplexCommand( const String& rDuplex ) const in getDuplexCommand()
1598 return String(); in getDuplexCommand()
1606 return String(); in getDuplexCommand()
1611 String& rEncoding, in getFontAttributes()
1612 String& rCharset ) const in getFontAttributes()
1616 String aAttribs = in getFontAttributes()
1624 const String& rFont, in getFontAttributes()
1625 String& rEncoding, in getFontAttributes()
1626 String& rCharset ) const in getFontAttributes()
1636 String PPDParser::getFont( int nFont ) const in getFont()
1639 return String(); in getFont()
1643 return String(); in getFont()
1680 PPDKey::PPDKey( const String& rKey ) : in PPDKey()
1706 const PPDValue* PPDKey::getValue( const String& rOption ) const in getValue()
1714 const PPDValue* PPDKey::getValueCaseInsensitive( const String& rOption ) const in getValueCaseInsensitive()
1729 void PPDKey::eraseValue( const String& rOption ) in eraseValue()
1748 PPDValue* PPDKey::insertValue( const String& rOption ) in insertValue()
1912 const PPDValue* pResetValue = pKey->getValue( String( RTL_CONSTASCII_USTRINGPARAM( "None" ) ) ); in resetValue()
1914 pResetValue = pKey->getValue( String( RTL_CONSTASCII_USTRINGPARAM( "False" ) ) ); in resetValue()
2092 …const PPDKey* pKey = m_pParser->getKey( String( aLine.Copy( 0, nPos ), RTL_TEXTENCODING_MS_1252 ) … in rebuildFromStreamBuffer()
2096 String aOption( aLine.Copy( nPos+1 ), RTL_TEXTENCODING_MS_1252 ); in rebuildFromStreamBuffer()
2119 … const PPDKey* pKey = m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "Resolution" ) ) ); in getRenderResolution()
2138 void PPDContext::getPageSize( String& rPaper, int& rWidth, int& rHeight ) const in getPageSize()
2141 rPaper = String( RTL_CONSTASCII_USTRINGPARAM( "A4" ) ); in getPageSize()
2146 … const PPDKey* pKey = m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "PageSize" ) ) ); in getPageSize()