LibreOffice Module vcl (master) 1
|
#include <jobset.h>
Public Member Functions | |
ImplJobSetup () | |
ImplJobSetup (const ImplJobSetup &rJobSetup) | |
~ImplJobSetup () | |
bool | operator== (const ImplJobSetup &rImplJobSetup) const |
sal_uInt16 | GetSystem () const |
void | SetSystem (sal_uInt16 nSystem) |
const OUString & | GetPrinterName () const |
void | SetPrinterName (const OUString &rPrinterName) |
const OUString & | GetDriver () const |
void | SetDriver (const OUString &rDriver) |
Orientation | GetOrientation () const |
void | SetOrientation (Orientation eOrientation) |
DuplexMode | GetDuplexMode () const |
void | SetDuplexMode (DuplexMode eDuplexMode) |
sal_uInt16 | GetPaperBin () const |
void | SetPaperBin (sal_uInt16 nPaperBin) |
Paper | GetPaperFormat () const |
void | SetPaperFormat (Paper ePaperFormat) |
tools::Long | GetPaperWidth () const |
void | SetPaperWidth (tools::Long nWidth) |
tools::Long | GetPaperHeight () const |
void | SetPaperHeight (tools::Long nHeight) |
sal_uInt32 | GetDriverDataLen () const |
void | SetDriverDataLen (sal_uInt32 nDriverDataLen) |
const sal_uInt8 * | GetDriverData () const |
void | SetDriverData (sal_uInt8 *pDriverData) |
bool | GetPapersizeFromSetup () const |
void | SetPapersizeFromSetup (bool bPapersizeFromSetup) |
PrinterSetupMode | GetPrinterSetupMode () const |
void | SetPrinterSetupMode (PrinterSetupMode eMode) |
const std::unordered_map< OUString, OUString > & | GetValueMap () const |
void | SetValueMap (const OUString &rKey, const OUString &rValue) |
Private Attributes | |
sal_uInt16 | mnSystem |
OUString | maPrinterName |
OUString | maDriver |
Orientation | meOrientation |
DuplexMode | meDuplexMode |
sal_uInt16 | mnPaperBin |
Paper | mePaperFormat |
tools::Long | mnPaperWidth |
tools::Long | mnPaperHeight |
sal_uInt32 | mnDriverDataLen |
sal_uInt8 * | mpDriverData |
bool | mbPapersizeFromSetup |
PrinterSetupMode | meSetupMode |
std::unordered_map< OUString, OUString > | maValueMap |
ImplJobSetup::ImplJobSetup | ( | ) |
Definition at line 58 of file jobset.cxx.
References DocumentGlobal, mbPapersizeFromSetup, meDuplexMode, meOrientation, mePaperFormat, meSetupMode, mnDriverDataLen, mnPaperBin, mnPaperHeight, mnPaperWidth, mnSystem, mpDriverData, PAPER_USER, Portrait, and Unknown.
ImplJobSetup::ImplJobSetup | ( | const ImplJobSetup & | rJobSetup | ) |
Definition at line 73 of file jobset.cxx.
References GetDriverData(), mnDriverDataLen, and mpDriverData.
ImplJobSetup::~ImplJobSetup | ( | ) |
Definition at line 97 of file jobset.cxx.
References mpDriverData.
|
inline |
Definition at line 67 of file jobset.h.
Referenced by Printer::ImplInit(), and Printer::Printer().
|
inline |
Definition at line 91 of file jobset.h.
Referenced by Printer::ImplInit(), and ImplJobSetup().
|
inline |
Definition at line 73 of file jobset.h.
Referenced by Printer::GetDuplexMode(), and Printer::SetDuplexMode().
|
inline |
Definition at line 70 of file jobset.h.
Referenced by Printer::GetOrientation(), and Printer::SetOrientation().
|
inline |
Definition at line 76 of file jobset.h.
Referenced by Printer::GetPaperBin(), and Printer::SetPaperBin().
|
inline |
Definition at line 79 of file jobset.h.
Referenced by Printer::GetPaper(), Printer::ImplFindPaperFormatForUserSize(), ImplUpdateJobSetupPaper(), Printer::SetPaper(), and Printer::SetPaperSizeUser().
|
inline |
Definition at line 85 of file jobset.h.
Referenced by Printer::GetSizeOfPaper(), Printer::ImplFindPaperFormatForUserSize(), ImplUpdateJobSetupPaper(), and Printer::SetPaperSizeUser().
|
inline |
Definition at line 94 of file jobset.h.
Referenced by Printer::GetPrinterSettingsPreferred(), and Printer::SetPrinterSettingsPreferred().
|
inline |
Definition at line 82 of file jobset.h.
Referenced by Printer::GetSizeOfPaper(), Printer::ImplFindPaperFormatForUserSize(), ImplUpdateJobSetupPaper(), and Printer::SetPaperSizeUser().
|
inline |
Definition at line 64 of file jobset.h.
Referenced by Printer::ImplInit(), and Printer::Printer().
|
inline |
|
inline |
bool ImplJobSetup::operator== | ( | const ImplJobSetup & | rImplJobSetup | ) | const |
Definition at line 176 of file jobset.cxx.
References maDriver, maPrinterName, maValueMap, mbPapersizeFromSetup, meDuplexMode, meOrientation, mePaperFormat, mnDriverDataLen, mnPaperBin, mnPaperHeight, mnPaperWidth, mnSystem, and mpDriverData.
void ImplJobSetup::SetDriver | ( | const OUString & | rDriver | ) |
void ImplJobSetup::SetDriverData | ( | sal_uInt8 * | pDriverData | ) |
Definition at line 152 of file jobset.cxx.
References mpDriverData.
Referenced by Printer::ImplInit().
void ImplJobSetup::SetDriverDataLen | ( | sal_uInt32 | nDriverDataLen | ) |
Definition at line 147 of file jobset.cxx.
References mnDriverDataLen.
Referenced by Printer::ImplInit().
void ImplJobSetup::SetDuplexMode | ( | DuplexMode | eDuplexMode | ) |
Definition at line 122 of file jobset.cxx.
References meDuplexMode.
Referenced by Printer::SetDuplexMode().
void ImplJobSetup::SetOrientation | ( | Orientation | eOrientation | ) |
Definition at line 117 of file jobset.cxx.
References meOrientation.
Referenced by Printer::ImplFindPaperFormatForUserSize(), Printer::SetOrientation(), and Printer::SetPaperSizeUser().
void ImplJobSetup::SetPaperBin | ( | sal_uInt16 | nPaperBin | ) |
Definition at line 127 of file jobset.cxx.
References mnPaperBin.
Referenced by Printer::SetPaperBin().
void ImplJobSetup::SetPaperFormat | ( | Paper | ePaperFormat | ) |
Definition at line 132 of file jobset.cxx.
References mePaperFormat.
Referenced by Printer::ImplFindPaperFormatForUserSize(), ImplUpdateJobSetupPaper(), Printer::SetPaper(), and Printer::SetPaperSizeUser().
void ImplJobSetup::SetPaperHeight | ( | tools::Long | nHeight | ) |
Definition at line 142 of file jobset.cxx.
References mnPaperHeight.
Referenced by ImplUpdateJobSetupPaper(), Printer::SetPaper(), and Printer::SetPaperSizeUser().
void ImplJobSetup::SetPapersizeFromSetup | ( | bool | bPapersizeFromSetup | ) |
Definition at line 157 of file jobset.cxx.
References mbPapersizeFromSetup.
Referenced by Printer::SetPrinterSettingsPreferred().
void ImplJobSetup::SetPaperWidth | ( | tools::Long | nWidth | ) |
Definition at line 137 of file jobset.cxx.
References mnPaperWidth.
Referenced by ImplUpdateJobSetupPaper(), Printer::SetPaper(), and Printer::SetPaperSizeUser().
void ImplJobSetup::SetPrinterName | ( | const OUString & | rPrinterName | ) |
Definition at line 107 of file jobset.cxx.
References maPrinterName.
Referenced by Printer::ImplInit().
void ImplJobSetup::SetPrinterSetupMode | ( | PrinterSetupMode | eMode | ) |
Definition at line 162 of file jobset.cxx.
References eMode, and meSetupMode.
Referenced by Printer::Setup().
void ImplJobSetup::SetSystem | ( | sal_uInt16 | nSystem | ) |
Definition at line 102 of file jobset.cxx.
References mnSystem.
void ImplJobSetup::SetValueMap | ( | const OUString & | rKey, |
const OUString & | rValue | ||
) |
Definition at line 167 of file jobset.cxx.
References maValueMap.
|
private |
Definition at line 39 of file jobset.h.
Referenced by operator==(), and SetDriver().
|
private |
Definition at line 38 of file jobset.h.
Referenced by operator==(), and SetPrinterName().
|
private |
Definition at line 52 of file jobset.h.
Referenced by operator==(), and SetValueMap().
|
private |
Definition at line 48 of file jobset.h.
Referenced by ImplJobSetup(), operator==(), and SetPapersizeFromSetup().
|
private |
Definition at line 41 of file jobset.h.
Referenced by ImplJobSetup(), operator==(), and SetDuplexMode().
|
private |
Definition at line 40 of file jobset.h.
Referenced by ImplJobSetup(), operator==(), and SetOrientation().
|
private |
Definition at line 43 of file jobset.h.
Referenced by ImplJobSetup(), operator==(), and SetPaperFormat().
|
private |
Definition at line 50 of file jobset.h.
Referenced by ImplJobSetup(), and SetPrinterSetupMode().
|
private |
Definition at line 46 of file jobset.h.
Referenced by ImplJobSetup(), operator==(), and SetDriverDataLen().
|
private |
Definition at line 42 of file jobset.h.
Referenced by ImplJobSetup(), operator==(), and SetPaperBin().
|
private |
Definition at line 45 of file jobset.h.
Referenced by ImplJobSetup(), operator==(), and SetPaperHeight().
|
private |
Definition at line 44 of file jobset.h.
Referenced by ImplJobSetup(), operator==(), and SetPaperWidth().
|
private |
Definition at line 37 of file jobset.h.
Referenced by ImplJobSetup(), operator==(), and SetSystem().
|
private |
Definition at line 47 of file jobset.h.
Referenced by ImplJobSetup(), operator==(), SetDriverData(), and ~ImplJobSetup().