LibreOffice Module editeng (master) 1
|
#include <paperinf.hxx>
Static Public Member Functions | |
static Size | GetDefaultPaperSize (MapUnit eUnit=MapUnit::MapTwip) |
static Size | GetPaperSize (Paper ePaper, MapUnit eUnit=MapUnit::MapTwip) |
static Size | GetPaperSize (const Printer *pPrinter) |
static Paper | GetSvxPaper (const Size &rSize, MapUnit eUnit) |
static tools::Long | GetSloppyPaperDimension (tools::Long nSize) |
static OUString | GetName (Paper ePaper) |
Definition at line 36 of file paperinf.hxx.
|
static |
Definition at line 102 of file paperinf.cxx.
References PaperInfo::getHeight(), PaperInfo::getSystemDefaultPaper(), PaperInfo::getWidth(), and OutputDevice::LogicToLogic().
|
static |
Definition at line 115 of file paperinf.cxx.
References Printer::GetPaperName().
Definition at line 52 of file paperinf.cxx.
References OutputDevice::GetMapMode(), Printer::GetOrientation(), Printer::GetPaper(), Printer::GetPaperSize(), GetPaperSize(), IsValidPrinter(), PAPER_A4, PAPER_USER, OutputDevice::PixelToLogic(), and Swap().
|
static |
Definition at line 33 of file paperinf.cxx.
References PaperInfo::getHeight(), PaperInfo::getWidth(), and OutputDevice::LogicToLogic().
Referenced by GetPaperSize().
|
static |
Definition at line 94 of file paperinf.cxx.
References o3tl::convert(), o3tl::mm100, PaperInfo::sloppyFitPageDimension(), and o3tl::twip.
Definition at line 85 of file paperinf.cxx.
References PaperInfo::doSloppyFit(), PaperInfo::getPaper(), Size::Height(), OutputDevice::LogicToLogic(), and Size::Width().