LibreOffice Module editeng (master) 1
Static Public Member Functions | List of all members
SvxPaperInfo Class Reference

#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)
 

Detailed Description

Definition at line 36 of file paperinf.hxx.

Member Function Documentation

◆ GetDefaultPaperSize()

Size SvxPaperInfo::GetDefaultPaperSize ( MapUnit  eUnit = MapUnit::MapTwip)
static

◆ GetName()

OUString SvxPaperInfo::GetName ( Paper  ePaper)
static

Definition at line 115 of file paperinf.cxx.

References Printer::GetPaperName().

◆ GetPaperSize() [1/2]

Size SvxPaperInfo::GetPaperSize ( const Printer pPrinter)
static

◆ GetPaperSize() [2/2]

Size SvxPaperInfo::GetPaperSize ( Paper  ePaper,
MapUnit  eUnit = MapUnit::MapTwip 
)
static

Definition at line 33 of file paperinf.cxx.

References PaperInfo::getHeight(), PaperInfo::getWidth(), and OutputDevice::LogicToLogic().

Referenced by GetPaperSize().

◆ GetSloppyPaperDimension()

tools::Long SvxPaperInfo::GetSloppyPaperDimension ( tools::Long  nSize)
static

◆ GetSvxPaper()

Paper SvxPaperInfo::GetSvxPaper ( const Size rSize,
MapUnit  eUnit 
)
static

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