LibreOffice Module vcl (master) 1
|
#include <salprn.h>
Public Member Functions | |
AquaSalInfoPrinter (const SalPrinterQueueInfo &pInfo) | |
virtual | ~AquaSalInfoPrinter () override |
void | SetupPrinterGraphics (CGContextRef i_xContext) const |
virtual SalGraphics * | AcquireGraphics () override |
virtual void | ReleaseGraphics (SalGraphics *i_pGraphics) override |
virtual bool | Setup (weld::Window *i_pFrame, ImplJobSetup *i_pSetupData) override |
virtual bool | SetPrinterData (ImplJobSetup *pSetupData) override |
virtual bool | SetData (JobSetFlags i_nFlags, ImplJobSetup *i_pSetupData) override |
virtual void | GetPageInfo (const ImplJobSetup *i_pSetupData, tools::Long &o_rOutWidth, tools::Long &o_rOutHeight, Point &rPageOffset, Size &rPaperSize) override |
virtual sal_uInt32 | GetCapabilities (const ImplJobSetup *i_pSetupData, PrinterCapType i_nType) override |
virtual sal_uInt16 | GetPaperBinCount (const ImplJobSetup *i_pSetupData) override |
virtual OUString | GetPaperBinName (const ImplJobSetup *i_pSetupData, sal_uInt16 i_nPaperBin) override |
virtual void | InitPaperFormats (const ImplJobSetup *i_pSetupData) override |
virtual int | GetLandscapeAngle (const ImplJobSetup *i_pSetupData) override |
bool | StartJob (const OUString *i_pFileName, const OUString &rJobName, ImplJobSetup *i_pSetupData, vcl::PrinterController &i_rController) |
bool | EndJob () |
bool | AbortJob () |
SalGraphics * | StartPage (ImplJobSetup *i_pSetupData, bool i_bNewJobData) |
bool | EndPage () |
NSPrintInfo * | getPrintInfo () const |
void | setStartPageOffset (int nOffsetX, int nOffsetY) |
sal_Int32 | getCurPageRangeStart () const |
sal_Int32 | getCurPageRangeCount () const |
const PaperInfo * | matchPaper (tools::Long i_nWidth, tools::Long i_nHeight, Orientation &o_rOrientation) const |
void | setPaperSize (tools::Long i_nWidth, tools::Long i_nHeight, Orientation i_eSetOrientation) |
Public Member Functions inherited from SalInfoPrinter | |
SalInfoPrinter () | |
virtual | ~SalInfoPrinter () |
virtual SalGraphics * | AcquireGraphics ()=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 |
Private Member Functions | |
AquaSalInfoPrinter (const AquaSalInfoPrinter &)=delete | |
AquaSalInfoPrinter & | operator= (const AquaSalInfoPrinter &)=delete |
Private Attributes | |
AquaSalGraphics * | mpGraphics |
Printer graphics. More... | |
bool | mbGraphics |
is Graphics used More... | |
bool | mbJob |
job active ? More... | |
NSPrinter * | mpPrinter |
cocoa printer object More... | |
NSPrintInfo * | mpPrintInfo |
cocoa print info object More... | |
CGContextRef | mrContext |
FIXME: get real printer context for infoprinter if possible fake context for info printer graphics context for Quartz 2D. More... | |
std::unique_ptr< sal_uInt8[]> | mpContextMemory |
memory for graphics bitmap context for querying metrics More... | |
Orientation | mePageOrientation |
int | mnStartPageOffsetX |
int | mnStartPageOffsetY |
sal_Int32 | mnCurPageRangeStart |
sal_Int32 | mnCurPageRangeCount |
Additional Inherited Members | |
Public Attributes inherited from SalInfoPrinter | |
std::vector< PaperInfo > | m_aPaperFormats |
bool | m_bPapersInit |
Definition at line 35 of file osx/salprn.h.
AquaSalInfoPrinter::AquaSalInfoPrinter | ( | const SalPrinterQueueInfo & | pInfo | ) |
|
overridevirtual |
|
privatedelete |
bool AquaSalInfoPrinter::AbortJob | ( | ) |
|
overridevirtual |
Implements SalInfoPrinter.
bool AquaSalInfoPrinter::EndJob | ( | ) |
bool AquaSalInfoPrinter::EndPage | ( | ) |
|
overridevirtual |
Implements SalInfoPrinter.
|
inline |
Definition at line 105 of file osx/salprn.h.
References mnCurPageRangeCount.
|
inline |
Definition at line 104 of file osx/salprn.h.
References mnCurPageRangeStart.
|
overridevirtual |
Implements SalInfoPrinter.
|
overridevirtual |
Implements SalInfoPrinter.
|
overridevirtual |
Implements SalInfoPrinter.
|
overridevirtual |
Implements SalInfoPrinter.
|
inline |
Definition at line 102 of file osx/salprn.h.
References mpPrintInfo.
|
overridevirtual |
Implements SalInfoPrinter.
const PaperInfo * AquaSalInfoPrinter::matchPaper | ( | tools::Long | i_nWidth, |
tools::Long | i_nHeight, | ||
Orientation & | o_rOrientation | ||
) | const |
|
privatedelete |
|
overridevirtual |
Implements SalInfoPrinter.
|
overridevirtual |
Implements SalInfoPrinter.
void AquaSalInfoPrinter::setPaperSize | ( | tools::Long | i_nWidth, |
tools::Long | i_nHeight, | ||
Orientation | i_eSetOrientation | ||
) |
|
overridevirtual |
Implements SalInfoPrinter.
Definition at line 103 of file osx/salprn.h.
References mnStartPageOffsetX, and mnStartPageOffsetY.
|
overridevirtual |
Implements SalInfoPrinter.
void AquaSalInfoPrinter::SetupPrinterGraphics | ( | CGContextRef | i_xContext | ) | const |
bool AquaSalInfoPrinter::StartJob | ( | const OUString * | i_pFileName, |
const OUString & | rJobName, | ||
ImplJobSetup * | i_pSetupData, | ||
vcl::PrinterController & | i_rController | ||
) |
SalGraphics * AquaSalInfoPrinter::StartPage | ( | ImplJobSetup * | i_pSetupData, |
bool | i_bNewJobData | ||
) |
|
private |
is Graphics used
Definition at line 40 of file osx/salprn.h.
|
private |
job active ?
Definition at line 42 of file osx/salprn.h.
|
private |
Definition at line 60 of file osx/salprn.h.
|
private |
Definition at line 65 of file osx/salprn.h.
Referenced by getCurPageRangeCount().
|
private |
Definition at line 64 of file osx/salprn.h.
Referenced by getCurPageRangeStart().
|
private |
Definition at line 62 of file osx/salprn.h.
Referenced by setStartPageOffset().
|
private |
Definition at line 63 of file osx/salprn.h.
Referenced by setStartPageOffset().
|
private |
memory for graphics bitmap context for querying metrics
Definition at line 54 of file osx/salprn.h.
|
private |
Printer graphics.
Definition at line 38 of file osx/salprn.h.
|
private |
cocoa printer object
Definition at line 45 of file osx/salprn.h.
|
private |
|
private |
FIXME: get real printer context for infoprinter if possible fake context for info printer graphics context for Quartz 2D.
Definition at line 52 of file osx/salprn.h.