LibreOffice Module vcl (master) 1
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
WinSalPrinter Class Reference

#include <salprn.h>

Inheritance diagram for WinSalPrinter:
[legend]
Collaboration diagram for WinSalPrinter:
[legend]

Public Member Functions

 WinSalPrinter ()
 
virtual ~WinSalPrinter () override
 
virtual bool StartJob (const OUString *pFileName, const OUString &rJobName, const OUString &rAppName, sal_uInt32 nCopies, bool bCollate, bool bDirect, ImplJobSetup *pSetupData) override
 
virtual bool EndJob () override
 
virtual SalGraphicsStartPage (ImplJobSetup *pSetupData, bool bNewJobData) override
 
virtual void EndPage () override
 
virtual SalPrinterError GetErrorCode () override
 
void markInvalid ()
 
bool isValid () const
 
virtual bool StartJob (const OUString *pFileName, const OUString &rJobName, const OUString &rAppName, sal_uInt32 nCopies, bool bCollate, bool bDirect, ImplJobSetup *pSetupData)=0
 
virtual bool StartJob (const OUString *pFileName, const OUString &rJobName, const OUString &rAppName, ImplJobSetup *pSetupData, vcl::PrinterController &rController)
 
- Public Member Functions inherited from SalPrinter
 SalPrinter ()
 
virtual ~SalPrinter ()
 
virtual bool StartJob (const OUString *pFileName, const OUString &rJobName, const OUString &rAppName, sal_uInt32 nCopies, bool bCollate, bool bDirect, ImplJobSetup *pSetupData)=0
 
virtual bool StartJob (const OUString *pFileName, const OUString &rJobName, const OUString &rAppName, ImplJobSetup *pSetupData, vcl::PrinterController &rController)
 
virtual bool EndJob ()=0
 
virtual SalGraphicsStartPage (ImplJobSetup *pSetupData, bool bNewJobData)=0
 
virtual void EndPage ()=0
 
virtual SalPrinterError GetErrorCode ()
 

Public Attributes

std::unique_ptr< WinSalGraphicsmxGraphics
 
WinSalInfoPrintermpInfoPrinter
 
WinSalPrintermpNextPrinter
 
HDC mhDC
 
SalPrinterError mnError
 
sal_uInt32 mnCopies
 
bool mbCollate
 
bool mbAbort
 
bool mbValid
 

Protected Member Functions

void DoEndDoc (HDC hDC)
 

Detailed Description

Definition at line 78 of file win/salprn.h.

Constructor & Destructor Documentation

◆ WinSalPrinter()

WinSalPrinter::WinSalPrinter ( )

◆ ~WinSalPrinter()

virtual WinSalPrinter::~WinSalPrinter ( )
overridevirtual

Member Function Documentation

◆ DoEndDoc()

void WinSalPrinter::DoEndDoc ( HDC  hDC)
protected

◆ EndJob()

virtual bool WinSalPrinter::EndJob ( )
overridevirtual

Implements SalPrinter.

◆ EndPage()

virtual void WinSalPrinter::EndPage ( )
overridevirtual

Implements SalPrinter.

◆ GetErrorCode()

virtual SalPrinterError WinSalPrinter::GetErrorCode ( )
overridevirtual

Reimplemented from SalPrinter.

◆ isValid()

bool WinSalPrinter::isValid ( ) const
inline

Definition at line 113 of file win/salprn.h.

References mbValid, and mhDC.

◆ markInvalid()

void WinSalPrinter::markInvalid ( )

◆ StartJob() [1/3]

bool SalPrinter::StartJob ( const OUString *  pFileName,
const OUString &  rJobName,
const OUString &  rAppName,
ImplJobSetup pSetupData,
vcl::PrinterController rController 
)
virtual

Reimplemented from SalPrinter.

Definition at line 107 of file salvtables.cxx.

◆ StartJob() [2/3]

virtual bool WinSalPrinter::StartJob ( const OUString *  pFileName,
const OUString &  rJobName,
const OUString &  rAppName,
sal_uInt32  nCopies,
bool  bCollate,
bool  bDirect,
ImplJobSetup pSetupData 
)
overridevirtual

Implements SalPrinter.

◆ StartJob() [3/3]

virtual bool SalPrinter::StartJob ( const OUString *  pFileName,
const OUString &  rJobName,
const OUString &  rAppName,
sal_uInt32  nCopies,
bool  bCollate,
bool  bDirect,
ImplJobSetup pSetupData 
)
virtual

Implements SalPrinter.

◆ StartPage()

virtual SalGraphics * WinSalPrinter::StartPage ( ImplJobSetup pSetupData,
bool  bNewJobData 
)
overridevirtual

Implements SalPrinter.

Member Data Documentation

◆ mbAbort

bool WinSalPrinter::mbAbort

Definition at line 88 of file win/salprn.h.

◆ mbCollate

bool WinSalPrinter::mbCollate

Definition at line 87 of file win/salprn.h.

◆ mbValid

bool WinSalPrinter::mbValid

Definition at line 90 of file win/salprn.h.

Referenced by isValid().

◆ mhDC

HDC WinSalPrinter::mhDC

Definition at line 84 of file win/salprn.h.

Referenced by isValid().

◆ mnCopies

sal_uInt32 WinSalPrinter::mnCopies

Definition at line 86 of file win/salprn.h.

◆ mnError

SalPrinterError WinSalPrinter::mnError

Definition at line 85 of file win/salprn.h.

◆ mpInfoPrinter

WinSalInfoPrinter* WinSalPrinter::mpInfoPrinter

Definition at line 82 of file win/salprn.h.

◆ mpNextPrinter

WinSalPrinter* WinSalPrinter::mpNextPrinter

Definition at line 83 of file win/salprn.h.

◆ mxGraphics

std::unique_ptr<WinSalGraphics> WinSalPrinter::mxGraphics

Definition at line 81 of file win/salprn.h.


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