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

#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
 
virtual void setupJobContextData (JobData &rData)
 
virtual bool checkPrintersChanged (bool bWait)
 
virtual FILE * startSpool (const OUString &rPrinterName, bool bQuickCommand)
 
virtual bool endSpool (const OUString &rPrinterName, const OUString &rJobTitle, FILE *pFile, const JobData &rDocumentJobData, bool bBanner, const OUString &rFaxNumber)
 
bool getUseIncludeFeature () const
 
bool getUseJobPatch () const
 
bool checkFeatureToken (const OUString &rPrinterName, std::string_view pToken) const
 
virtual ~PrinterInfoManager ()
 

Static Public Member Functions

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

Private Member Functions

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

Additional Inherited Members

- Public Types inherited from psp::PrinterInfoManager
enum class  Type {
  Default = 0 ,
  CUPS = 1 ,
  CPD = 2
}
 
- Protected Member Functions inherited from psp::PrinterInfoManager
 PrinterInfoManager (Type eType=Type::Default)
 
virtual void initialize ()
 
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 m_eType
 
bool m_bUseIncludeFeature
 
bool m_bUseJobPatch
 
OUString m_aSystemDefaultPaper
 

Detailed Description

Definition at line 58 of file cpdmgr.hxx.

Constructor & Destructor Documentation

◆ CPDManager()

psp::CPDManager::CPDManager ( )
private

◆ ~CPDManager()

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

Member Function Documentation

◆ checkPrintersChanged()

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

Reimplemented from psp::PrinterInfoManager.

◆ createCPDParser()

const PPDParser * psp::CPDManager::createCPDParser ( const OUString &  rPrinter)

◆ endSpool()

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.

◆ initialize()

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

Reimplemented from psp::PrinterInfoManager.

◆ setupJobContextData()

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

Reimplemented from psp::PrinterInfoManager.

◆ startSpool()

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

Reimplemented from psp::PrinterInfoManager.

References FILE.

◆ tryLoadCPD()

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

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