20#ifndef INCLUDED_VCL_PRINTERINFOMANAGER_HXX
21#define INCLUDED_VCL_PRINTERINFOMANAGER_HXX
25#include <unordered_map>
26#include <unordered_set>
109 std::unique_ptr<SystemQueueInfo>
158 virtual bool endSpool(
const OUString& rPrinterName,
const OUString& rJobTitle, FILE* pFile,
const JobData& rDocumentJobData,
bool bBanner,
const OUString &rFaxNumber );
virtual FILE * startSpool(const OUString &rPrinterName, bool bQuickCommand)
virtual void initialize()
bool checkFeatureToken(const OUString &rPrinterName, std::string_view pToken) const
std::vector< WatchFile > m_aWatchFiles
OUString m_aDefaultPrinter
OUString m_aSystemPrintCommand
const OUString & getDefaultPrinter() const
virtual ~PrinterInfoManager()
bool getUseIncludeFeature() const
PrinterInfoManager(Type eType=Type::Default)
std::unique_ptr< SystemQueueInfo > m_pQueueInfo
virtual void setupJobContextData(JobData &rData)
void listPrinters(std::vector< OUString > &rVector) const
bool getUseJobPatch() const
void setDefaultPaper(PPDContext &rInfo) const
std::vector< SystemPrintQueue > m_aSystemPrintQueues
OUString m_aSystemDefaultPaper
virtual bool endSpool(const OUString &rPrinterName, const OUString &rJobTitle, FILE *pFile, const JobData &rDocumentJobData, bool bBanner, const OUString &rFaxNumber)
const PrinterInfo & getPrinterInfo(const OUString &rPrinter) const
static PrinterInfoManager & get()
PrinterInfo m_aGlobalDefaults
bool m_bUseIncludeFeature
std::unordered_map< OUString, Printer > m_aPrinters
virtual bool checkPrintersChanged(bool bWait)
const EnumerationType m_eType
std::unordered_set< OUString > m_aAlternateFiles
PrinterSetupMode meSetupMode
OUString m_aAuthInfoRequired