Lines Matching refs:m_aInfo
396 aPrinter.m_aInfo = m_aGlobalDefaults; in initialize()
400 aPrinter.m_aInfo.m_aFontSubstitutes.clear(); in initialize()
401 aPrinter.m_aInfo.m_aFontSubstitutions.clear(); in initialize()
404 aPrinter.m_aInfo.m_aPrinterName = aPrinterName; in initialize()
405 … aPrinter.m_aInfo.m_aDriverName = String( aValue.Copy( 0, nNamePos ), RTL_TEXTENCODING_UTF8 ); in initialize()
410 if( aPrinter.m_aInfo.m_aDriverName.compareToAscii( "CUPS:", 5 ) != 0 ) in initialize()
412 … aPrinter.m_aInfo.m_pParser = PPDParser::getParser( aPrinter.m_aInfo.m_aDriverName ); in initialize()
413 aPrinter.m_aInfo.m_aContext.setParser( aPrinter.m_aInfo.m_pParser ); in initialize()
417 if( ! aPrinter.m_aInfo.m_pParser ) in initialize()
429 …const PPDKey* pPrinterKey = pDefKey ? aPrinter.m_aInfo.m_pParser->getKey( pDefKey->getKey() ) : NU… in initialize()
438 aPrinter.m_aInfo.m_aContext.setValue( pPrinterKey, pPrinterValue ); in initialize()
441 aPrinter.m_aInfo.m_aContext.setValue( pPrinterKey, NULL ); in initialize()
459 aPrinter.m_aInfo.m_aCommand = String( aValue, RTL_TEXTENCODING_UTF8 ); in initialize()
463 aPrinter.m_aInfo.m_aQuickCommand = String( aValue, RTL_TEXTENCODING_UTF8 ); in initialize()
466 aPrinter.m_aInfo.m_aFeatures = String( aValue, RTL_TEXTENCODING_UTF8 ); in initialize()
474 aPrinter.m_aInfo.m_aLocation = String( aValue, RTL_TEXTENCODING_UTF8 ); in initialize()
477 aPrinter.m_aInfo.m_aComment = String( aValue, RTL_TEXTENCODING_UTF8 ); in initialize()
481 aPrinter.m_aInfo.m_nCopies = aValue.ToInt32(); in initialize()
485 …aPrinter.m_aInfo.m_eOrientation = aValue.EqualsIgnoreCaseAscii( "Landscape" ) ? orientation::Lands… in initialize()
490 aPrinter.m_aInfo.m_nLeftMarginAdjust = aValue.GetToken( 0, ',' ).ToInt32(); in initialize()
491 aPrinter.m_aInfo.m_nRightMarginAdjust = aValue.GetToken( 1, ',' ).ToInt32(); in initialize()
492 aPrinter.m_aInfo.m_nTopMarginAdjust = aValue.GetToken( 2, ',' ).ToInt32(); in initialize()
493 aPrinter.m_aInfo.m_nBottomMarginAdjust = aValue.GetToken( 3, ',' ).ToInt32(); in initialize()
498 aPrinter.m_aInfo.m_nColorDepth = aValue.ToInt32(); in initialize()
502 aPrinter.m_aInfo.m_nColorDevice = aValue.ToInt32(); in initialize()
506 aPrinter.m_aInfo.m_nPSLevel = aValue.ToInt32(); in initialize()
510 aPrinter.m_aInfo.m_nPDFDevice = aValue.ToInt32(); in initialize()
514 aPrinter.m_aInfo.m_bPerformFontSubstitution = true; in initialize()
516 aPrinter.m_aInfo.m_bPerformFontSubstitution = false; in initialize()
524 if( aKey.CompareTo( "PPD_", 4 ) == COMPARE_EQUAL && aPrinter.m_aInfo.m_pParser ) in initialize()
527 …const PPDKey* pKey = aPrinter.m_aInfo.m_pParser->getKey( String( aKey.Copy( 4 ), RTL_TEXTENCODING_… in initialize()
530 aPrinter.m_aInfo.m_aContext. in initialize()
539 …aPrinter.m_aInfo.m_aFontSubstitutes[ OStringToOUString( aKey.Copy( 10 ), RTL_TEXTENCODING_ISO_8859… in initialize()
543 setDefaultPaper( aPrinter.m_aInfo.m_aContext ); in initialize()
544 fillFontSubstitutions( aPrinter.m_aInfo ); in initialize()
613 aPrinter.m_aInfo = aMergeInfo; in initialize()
614 aPrinter.m_aInfo.m_aPrinterName = aPrinterName; in initialize()
615 aPrinter.m_aInfo.m_aCommand = aCmd; in initialize()
616 aPrinter.m_aInfo.m_aComment = it->m_aComment; in initialize()
617 aPrinter.m_aInfo.m_aLocation = it->m_aLocation; in initialize()
644 return it != m_aPrinters.end() ? it->second.m_aInfo : aEmptyInfo; in getPrinterInfo()
657 it->second.m_aInfo = rNewInfo; in changePrinterInfo()
659 fillFontSubstitutions( it->second.m_aInfo ); in changePrinterInfo()
714 OUString aToken( it->second.m_aInfo.m_aFeatures.getToken( 0, ',', nIndex ) ); in writePrinterConfig()
763 ByteString aValue( String( it->second.m_aInfo.m_aDriverName ), RTL_TEXTENCODING_UTF8 ); in writePrinterConfig()
768 …pConfig->WriteKey( "Location", ByteString( String( it->second.m_aInfo.m_aLocation ), RTL_TEXTENCOD… in writePrinterConfig()
769 …pConfig->WriteKey( "Comment", ByteString( String( it->second.m_aInfo.m_aComment ), RTL_TEXTENCODIN… in writePrinterConfig()
770 …pConfig->WriteKey( "Command", ByteString( String( it->second.m_aInfo.m_aCommand ), RTL_TEXTENCODIN… in writePrinterConfig()
771 …pConfig->WriteKey( "QuickCommand", ByteString( String( it->second.m_aInfo.m_aQuickCommand ), RTL_T… in writePrinterConfig()
772 …pConfig->WriteKey( "Features", ByteString( String( it->second.m_aInfo.m_aFeatures ), RTL_TEXTENCOD… in writePrinterConfig()
773 … pConfig->WriteKey( "Copies", ByteString::CreateFromInt32( it->second.m_aInfo.m_nCopies ) ); in writePrinterConfig()
774 …pConfig->WriteKey( "Orientation", it->second.m_aInfo.m_eOrientation == orientation::Landscape ? "L… in writePrinterConfig()
775 … pConfig->WriteKey( "PSLevel", ByteString::CreateFromInt32( it->second.m_aInfo.m_nPSLevel ) ); in writePrinterConfig()
776 … pConfig->WriteKey( "PDFDevice", ByteString::CreateFromInt32( it->second.m_aInfo.m_nPDFDevice ) ); in writePrinterConfig()
777 …pConfig->WriteKey( "ColorDevice", ByteString::CreateFromInt32( it->second.m_aInfo.m_nColorDevice )… in writePrinterConfig()
778 …pConfig->WriteKey( "ColorDepth", ByteString::CreateFromInt32( it->second.m_aInfo.m_nColorDepth ) ); in writePrinterConfig()
779 aValue = ByteString::CreateFromInt32( it->second.m_aInfo.m_nLeftMarginAdjust ); in writePrinterConfig()
781 aValue += ByteString::CreateFromInt32( it->second.m_aInfo.m_nRightMarginAdjust ); in writePrinterConfig()
783 aValue += ByteString::CreateFromInt32( it->second.m_aInfo.m_nTopMarginAdjust ); in writePrinterConfig()
785 aValue += ByteString::CreateFromInt32( it->second.m_aInfo.m_nBottomMarginAdjust ); in writePrinterConfig()
788 if( it->second.m_aInfo.m_aDriverName.compareToAscii( "CUPS:", 5 ) != 0 ) in writePrinterConfig()
791 for( int i = 0; i < it->second.m_aInfo.m_aContext.countValuesModified(); i++ ) in writePrinterConfig()
793 const PPDKey* pKey = it->second.m_aInfo.m_aContext.getModifiedKey( i ); in writePrinterConfig()
797 const PPDValue* pValue = it->second.m_aInfo.m_aContext.getValue( pKey ); in writePrinterConfig()
804 …pConfig->WriteKey( "PerformFontSubstitution", it->second.m_aInfo.m_bPerformFontSubstitution ? "tru… in writePrinterConfig()
805 …p< OUString, OUString, OUStringHash >::const_iterator subst = it->second.m_aInfo.m_aFontSubstitute… in writePrinterConfig()
806 subst != it->second.m_aInfo.m_aFontSubstitutes.end(); ++subst ) in writePrinterConfig()
833 aPrinter.m_aInfo = m_aGlobalDefaults; in addPrinter()
834 aPrinter.m_aInfo.m_aDriverName = rDriverName; in addPrinter()
835 aPrinter.m_aInfo.m_pParser = pParser; in addPrinter()
836 aPrinter.m_aInfo.m_aContext.setParser( pParser ); in addPrinter()
837 aPrinter.m_aInfo.m_aPrinterName = rPrinterName; in addPrinter()
839 fillFontSubstitutions( aPrinter.m_aInfo ); in addPrinter()
845 …const PPDKey* pPrinterKey = pDefKey ? aPrinter.m_aInfo.m_pParser->getKey( pDefKey->getKey() ) : NU… in addPrinter()
854 aPrinter.m_aInfo.m_aContext.setValue( pPrinterKey, pPrinterValue ); in addPrinter()
857 aPrinter.m_aInfo.m_aContext.setValue( pPrinterKey, NULL ); in addPrinter()
866 m_aPrinters[rPrinterName].m_aInfo.m_nPSLevel, in addPrinter()
867 m_aPrinters[rPrinterName].m_aInfo.m_nPDFDevice, in addPrinter()
868 m_aPrinters[rPrinterName].m_aInfo.m_nColorDevice, in addPrinter()
869 m_aPrinters[rPrinterName].m_aInfo.m_nColorDepth ); in addPrinter()
1126 rData.m_pParser = it->second.m_aInfo.m_pParser; in setupJobContextData()
1127 rData.m_aContext = it->second.m_aInfo.m_aContext; in setupJobContextData()