LibreOffice Module vcl (master) 1
Public Member Functions | Public Attributes | Private Attributes | List of all members
WinSalInfoPrinter Class Referencefinal

#include <salprn.h>

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

Public Member Functions

 WinSalInfoPrinter ()
 
virtual ~WinSalInfoPrinter () override
 
void setHDC (HDC)
 
virtual SalGraphicsAcquireGraphics () override
 
virtual void ReleaseGraphics (SalGraphics *pGraphics) override
 
virtual bool Setup (weld::Window *pFrame, ImplJobSetup *pSetupData) override
 
virtual bool SetPrinterData (ImplJobSetup *pSetupData) override
 
virtual bool SetData (JobSetFlags nFlags, ImplJobSetup *pSetupData) override
 
virtual void GetPageInfo (const ImplJobSetup *pSetupData, tools::Long &rOutWidth, tools::Long &rOutHeight, Point &rPageOffset, Size &rPaperSize) override
 
virtual sal_uInt32 GetCapabilities (const ImplJobSetup *pSetupData, PrinterCapType nType) override
 
virtual sal_uInt16 GetPaperBinCount (const ImplJobSetup *pSetupData) override
 
virtual OUString GetPaperBinName (const ImplJobSetup *pSetupData, sal_uInt16 nPaperBin) override
 
virtual void InitPaperFormats (const ImplJobSetup *pSetupData) override
 
virtual int GetLandscapeAngle (const ImplJobSetup *pSetupData) override
 
- Public Member Functions inherited from SalInfoPrinter
 SalInfoPrinter ()
 
virtual ~SalInfoPrinter ()
 
virtual SalGraphicsAcquireGraphics ()=0
 
virtual void ReleaseGraphics (SalGraphics *pGraphics)=0
 
virtual bool Setup (weld::Window *pFrame, ImplJobSetup *pSetupData)=0
 
virtual bool SetPrinterData (ImplJobSetup *pSetupData)=0
 
virtual bool SetData (JobSetFlags nFlags, ImplJobSetup *pSetupData)=0
 
virtual void GetPageInfo (const ImplJobSetup *pSetupData, tools::Long &rOutWidth, tools::Long &rOutHeight, Point &rPageOffset, Size &rPaperSize)=0
 
virtual sal_uInt32 GetCapabilities (const ImplJobSetup *pSetupData, PrinterCapType nType)=0
 
virtual sal_uInt16 GetPaperBinCount (const ImplJobSetup *pSetupData)=0
 
virtual OUString GetPaperBinName (const ImplJobSetup *pSetupData, sal_uInt16 nPaperBin)=0
 
virtual void InitPaperFormats (const ImplJobSetup *pSetupData)=0
 
virtual int GetLandscapeAngle (const ImplJobSetup *pSetupData)=0
 

Public Attributes

OUString maDriverName
 
OUString maDeviceName
 
OUString maPortName
 
- Public Attributes inherited from SalInfoPrinter
std::vector< PaperInfom_aPaperFormats
 
bool m_bPapersInit
 

Private Attributes

HDC m_hDC
 printer hdc More...
 
WinSalGraphicsm_pGraphics
 current Printer graphics More...
 
bool m_bGraphics
 is Graphics used More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ WinSalInfoPrinter()

WinSalInfoPrinter::WinSalInfoPrinter ( )

◆ ~WinSalInfoPrinter()

virtual WinSalInfoPrinter::~WinSalInfoPrinter ( )
overridevirtual

Member Function Documentation

◆ AcquireGraphics()

virtual SalGraphics * WinSalInfoPrinter::AcquireGraphics ( )
overridevirtual

Implements SalInfoPrinter.

◆ GetCapabilities()

virtual sal_uInt32 WinSalInfoPrinter::GetCapabilities ( const ImplJobSetup pSetupData,
PrinterCapType  nType 
)
overridevirtual

Implements SalInfoPrinter.

◆ GetLandscapeAngle()

virtual int WinSalInfoPrinter::GetLandscapeAngle ( const ImplJobSetup pSetupData)
overridevirtual

Implements SalInfoPrinter.

◆ GetPageInfo()

virtual void WinSalInfoPrinter::GetPageInfo ( const ImplJobSetup pSetupData,
tools::Long rOutWidth,
tools::Long rOutHeight,
Point rPageOffset,
Size rPaperSize 
)
overridevirtual

Implements SalInfoPrinter.

◆ GetPaperBinCount()

virtual sal_uInt16 WinSalInfoPrinter::GetPaperBinCount ( const ImplJobSetup pSetupData)
overridevirtual

Implements SalInfoPrinter.

◆ GetPaperBinName()

virtual OUString WinSalInfoPrinter::GetPaperBinName ( const ImplJobSetup pSetupData,
sal_uInt16  nPaperBin 
)
overridevirtual

Implements SalInfoPrinter.

◆ InitPaperFormats()

virtual void WinSalInfoPrinter::InitPaperFormats ( const ImplJobSetup pSetupData)
overridevirtual

Implements SalInfoPrinter.

◆ ReleaseGraphics()

virtual void WinSalInfoPrinter::ReleaseGraphics ( SalGraphics pGraphics)
overridevirtual

Implements SalInfoPrinter.

◆ SetData()

virtual bool WinSalInfoPrinter::SetData ( JobSetFlags  nFlags,
ImplJobSetup pSetupData 
)
overridevirtual

Implements SalInfoPrinter.

◆ setHDC()

void WinSalInfoPrinter::setHDC ( HDC  )

◆ SetPrinterData()

virtual bool WinSalInfoPrinter::SetPrinterData ( ImplJobSetup pSetupData)
overridevirtual

Implements SalInfoPrinter.

◆ Setup()

virtual bool WinSalInfoPrinter::Setup ( weld::Window pFrame,
ImplJobSetup pSetupData 
)
overridevirtual

Implements SalInfoPrinter.

Member Data Documentation

◆ m_bGraphics

bool WinSalInfoPrinter::m_bGraphics
private

is Graphics used

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

◆ m_hDC

HDC WinSalInfoPrinter::m_hDC
private

printer hdc

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

◆ m_pGraphics

WinSalGraphics* WinSalInfoPrinter::m_pGraphics
private

current Printer graphics

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

◆ maDeviceName

OUString WinSalInfoPrinter::maDeviceName

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

◆ maDriverName

OUString WinSalInfoPrinter::maDriverName

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

◆ maPortName

OUString WinSalInfoPrinter::maPortName

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


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