LibreOffice Module vcl (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | List of all members
psp::CPDManager Class Reference

#include <cpdmgr.hxx>

Inheritance diagram for psp::CPDManager:
[legend]
Collaboration diagram for psp::CPDManager:
[legend]

Public Member Functions

const PPDParsercreateCPDParser (const OUString &rPrinter)
 
virtual FILE * startSpool (const OUString &rPrinterName, bool bQuickCommand) override
 
virtual bool endSpool (const OUString &rPrinterName, const OUString &rJobTitle, FILE *pFile, const JobData &rDocumentJobData, bool bBanner, const OUString &rFaxNumber) override
 
virtual void setupJobContextData (JobData &rData) override
 
virtual bool checkPrintersChanged (bool bWait) override
 
- Public Member Functions inherited from psp::PrinterInfoManager
Type getType () const
 
void listPrinters (std::vector< OUString > &rVector) const
 
const PrinterInfogetPrinterInfo (const OUString &rPrinter) const
 
const OUString & getDefaultPrinter () const
 
bool getUseIncludeFeature () const
 
bool getUseJobPatch () const
 
bool checkFeatureToken (const OUString &rPrinterName, const char *pToken) const
 
virtual ~PrinterInfoManager ()
 

Static Public Member Functions

static CPDManagertryLoadCPD ()
 
- Static Public Member Functions inherited from psp::PrinterInfoManager
static PrinterInfoManagerget ()
 
static void release ()
 

Private Member Functions

 CPDManager ()
 
virtual ~CPDManager () override
 
virtual void initialize () override
 

Additional Inherited Members

- Public Types inherited from psp::PrinterInfoManager
enum  Type {
  Type::Default = 0,
  Type::CUPS = 1,
  Type::CPD = 2
}
 
- Protected Member Functions inherited from psp::PrinterInfoManager
 PrinterInfoManager (Type eType=Type::Default)
 
void setDefaultPaper (PPDContext &rInfo) const
 
- Protected Attributes inherited from psp::PrinterInfoManager
std::unordered_map< OUString, Printerm_aPrinters
 
PrinterInfo m_aGlobalDefaults
 
std::vector< WatchFilem_aWatchFiles
 
OUString m_aDefaultPrinter
 
OUString m_aSystemPrintCommand
 
std::vector< SystemPrintQueuem_aSystemPrintQueues
 
std::unique_ptr< SystemQueueInfo > m_pQueueInfo
 
Type const m_eType
 
bool m_bUseIncludeFeature
 
bool m_bUseJobPatch
 
OUString m_aSystemDefaultPaper
 

Detailed Description

Definition at line 58 of file cpdmgr.hxx.

Constructor & Destructor Documentation

psp::CPDManager::CPDManager ( )
private
virtual psp::CPDManager::~CPDManager ( )
overrideprivatevirtual

Member Function Documentation

virtual bool psp::CPDManager::checkPrintersChanged ( bool  bWait)
overridevirtual

Reimplemented from psp::PrinterInfoManager.

const PPDParser* psp::CPDManager::createCPDParser ( const OUString &  rPrinter)
virtual bool psp::CPDManager::endSpool ( const OUString &  rPrinterName,
const OUString &  rJobTitle,
FILE *  pFile,
const JobData rDocumentJobData,
bool  bBanner,
const OUString &  rFaxNumber 
)
overridevirtual

Reimplemented from psp::PrinterInfoManager.

virtual void psp::CPDManager::initialize ( )
overrideprivatevirtual

Reimplemented from psp::PrinterInfoManager.

virtual void psp::CPDManager::setupJobContextData ( JobData rData)
overridevirtual

Reimplemented from psp::PrinterInfoManager.

virtual FILE* psp::CPDManager::startSpool ( const OUString &  rPrinterName,
bool  bQuickCommand 
)
overridevirtual

Reimplemented from psp::PrinterInfoManager.

static CPDManager* psp::CPDManager::tryLoadCPD ( )
static

The documentation for this class was generated from the following file: