Lines Matching refs:pFile

100     osl::File*    pFile  = NULL;  in CreateSpoolFile()  local
109 pFile = new osl::File (aFileURL); in CreateSpoolFile()
110 nError = pFile->open (OpenFlag_Read | OpenFlag_Write | OpenFlag_Create); in CreateSpoolFile()
113 delete pFile; in CreateSpoolFile()
117 pFile->setAttributes (aFileURL, in CreateSpoolFile()
119 return pFile; in CreateSpoolFile()
778 static bool writeFeature( osl::File* pFile, const PPDKey* pKey, const PPDValue* pValue, bool bUseIn… in writeFeature() argument
801 return pFile->write( aFeature.getStr(), aFeature.getLength(), nWritten ) in writeFeature()
805 bool PrinterJob::writeFeatureList( osl::File* pFile, const JobData& rJob, bool bDocumentSetup ) in writeFeatureList() argument
858 … bSuccess = writeFeature( pFile, pKey, pValue, PrinterInfoManager::get().getUseIncludeFeature() ); in writeFeatureList()
869 bool PrinterJob::writePageSetup( osl::File* pFile, const JobData& rJob, bool bWriteFeatures ) in writePageSetup() argument
873 WritePS (pFile, "%%BeginPageSetup\n%\n"); in writePageSetup()
875 bSuccess = writeFeatureList( pFile, rJob, false ); in writePageSetup()
876 WritePS (pFile, "%%EndPageSetup\n"); in writePageSetup()
910 WritePS (pFile, pTranslate); in writePageSetup()
915 void PrinterJob::writeJobPatch( osl::File* pFile, const JobData& rJobData ) in writeJobPatch() argument
938 WritePS( pFile, "% Warning: left out JobPatchFile option \"" ); in writeJobPatch()
940 WritePS( pFile, aOption.getStr() ); in writeJobPatch()
941 WritePS( pFile, in writeJobPatch()
954 … writeFeature( pFile, pKey, pKey->getValue( OUString::valueOf( patch_order.front() ) ), false ); in writeJobPatch()
959 bool PrinterJob::writeProlog (osl::File* pFile, const JobData& rJobData ) in writeProlog() argument
961 WritePS( pFile, "%%BeginProlog\n" ); in writeProlog()
964 writeJobPatch( pFile, rJobData ); in writeProlog()
1140 …WritePS (pFile, m_pGraphics && m_pGraphics->getStrictSO52Compatibility() ? pSO52CompatProlog : pPr… in writeProlog()
1145 bool PrinterJob::writeSetup( osl::File* pFile, const JobData& rJob ) in writeSetup() argument
1147 WritePS (pFile, "%%BeginSetup\n%\n"); in writeSetup()
1151 m_pGraphics->writeResources( pFile, aFonts[0], aFonts[1] ); in writeSetup()
1165 WritePS ( pFile, aLine.getStr() ); in writeSetup()
1172 WritePS ( pFile, aLine.getStr() ); in writeSetup()
1188 bSuccess = pFile->write( aLine.GetBuffer(), aLine.Len(), nWritten ) in writeSetup()
1192 WritePS (pFile, "<< /NumCopies null /Policies << /NumCopies 1 >> >> setpagedevice\n" ); in writeSetup()
1195 bool bFeatureSuccess = writeFeatureList( pFile, rJob, true ); in writeSetup()
1197 WritePS (pFile, "%%EndSetup\n"); in writeSetup()