20#ifndef INCLUDED_VCL_INC_OSX_SALPRN_H
21#define INCLUDED_VCL_INC_OSX_SALPRN_H
81 Size& rPaperSize )
override;
94 const OUString& rJobName,
125 virtual bool StartJob(
const OUString* i_pFileName,
126 const OUString& i_rJobName,
127 const OUString& i_rAppName,
128 sal_uInt32 i_nCopies,
133 virtual bool StartJob(
const OUString* i_pFileName,
134 const OUString& rJobName,
135 const OUString& i_rAppName,
void setPaperSize(tools::Long i_nWidth, tools::Long i_nHeight, Orientation i_eSetOrientation)
virtual sal_uInt32 GetCapabilities(const ImplJobSetup *i_pSetupData, PrinterCapType i_nType) override
virtual bool SetData(JobSetFlags i_nFlags, ImplJobSetup *i_pSetupData) override
virtual bool SetPrinterData(ImplJobSetup *pSetupData) override
AquaSalInfoPrinter(const AquaSalInfoPrinter &)=delete
virtual bool Setup(weld::Window *i_pFrame, ImplJobSetup *i_pSetupData) override
virtual sal_uInt16 GetPaperBinCount(const ImplJobSetup *i_pSetupData) override
NSPrintInfo * mpPrintInfo
cocoa print info object
virtual void InitPaperFormats(const ImplJobSetup *i_pSetupData) override
sal_Int32 getCurPageRangeCount() const
AquaSalInfoPrinter(const SalPrinterQueueInfo &pInfo)
NSPrintInfo * getPrintInfo() const
AquaSalInfoPrinter & operator=(const AquaSalInfoPrinter &)=delete
sal_Int32 getCurPageRangeStart() const
bool mbGraphics
is Graphics used
virtual void ReleaseGraphics(SalGraphics *i_pGraphics) override
AquaSalGraphics * mpGraphics
Printer graphics.
virtual OUString GetPaperBinName(const ImplJobSetup *i_pSetupData, sal_uInt16 i_nPaperBin) override
virtual SalGraphics * AcquireGraphics() override
virtual ~AquaSalInfoPrinter() override
virtual void GetPageInfo(const ImplJobSetup *i_pSetupData, tools::Long &o_rOutWidth, tools::Long &o_rOutHeight, Point &rPageOffset, Size &rPaperSize) override
void setStartPageOffset(int nOffsetX, int nOffsetY)
NSPrinter * mpPrinter
cocoa printer object
std::unique_ptr< sal_uInt8[]> mpContextMemory
memory for graphics bitmap context for querying metrics
sal_Int32 mnCurPageRangeStart
SalGraphics * StartPage(ImplJobSetup *i_pSetupData, bool i_bNewJobData)
virtual int GetLandscapeAngle(const ImplJobSetup *i_pSetupData) override
Orientation mePageOrientation
void SetupPrinterGraphics(CGContextRef i_xContext) const
const PaperInfo * matchPaper(tools::Long i_nWidth, tools::Long i_nHeight, Orientation &o_rOrientation) const
sal_Int32 mnCurPageRangeCount
bool StartJob(const OUString *i_pFileName, const OUString &rJobName, ImplJobSetup *i_pSetupData, vcl::PrinterController &i_rController)
CGContextRef mrContext
FIXME: get real printer context for infoprinter if possible fake context for info printer graphics co...
virtual ~AquaSalPrinter() override
virtual bool StartJob(const OUString *i_pFileName, const OUString &rJobName, const OUString &i_rAppName, ImplJobSetup *i_pSetupData, vcl::PrinterController &i_rListener) override
virtual void EndPage() override
AquaSalPrinter(const AquaSalPrinter &)=delete
AquaSalInfoPrinter * mpInfoPrinter
virtual bool StartJob(const OUString *i_pFileName, const OUString &i_rJobName, const OUString &i_rAppName, sal_uInt32 i_nCopies, bool i_bCollate, bool i_bDirect, ImplJobSetup *i_pSetupData) override
AquaSalPrinter(AquaSalInfoPrinter *i_pInfoPrinter)
virtual SalGraphics * StartPage(ImplJobSetup *i_pSetupData, bool i_bNewJobData) override
virtual bool EndJob() override
AquaSalPrinter & operator=(const AquaSalPrinter &)=delete
double TenMuToPt(double nUnits)
const double fPtTo100thMM
int PtTo10Mu(double nPoints)