29 return !pPtr->
GetName().isEmpty();
37 return eUnit == MapUnit::Map100thMM
63 const Size aInvalidSize;
65 if ( aPaperSize == aInvalidSize )
79 if ( eOrient == Orientation::Landscape )
106 return eUnit == MapUnit::Map100thMM
SAL_WARN_UNUSED_RESULT Point PixelToLogic(const Point &rDevicePt) const
SAL_WARN_UNUSED_RESULT Point LogicToLogic(const Point &rPtSource, const MapMode *pMapModeSource, const MapMode *pMapModeDest) const
const MapMode & GetMapMode() const
static PaperInfo getSystemDefaultPaper()
tools::Long getWidth() const
static tools::Long sloppyFitPageDimension(tools::Long nDimension)
void doSloppyFit(bool bAlsoTryRotated=false)
tools::Long getHeight() const
Size GetPaperSize() const
static OUString GetPaperName(Paper ePaper)
const OUString & GetName() const
Orientation GetOrientation() const
constexpr tools::Long Height() const
constexpr tools::Long Width() const
static OUString GetName(Paper ePaper)
static Size GetDefaultPaperSize(MapUnit eUnit=MapUnit::MapTwip)
static Paper GetSvxPaper(const Size &rSize, MapUnit eUnit)
static tools::Long GetSloppyPaperDimension(tools::Long nSize)
static Size GetPaperSize(Paper ePaper, MapUnit eUnit=MapUnit::MapTwip)
constexpr Point convert(const Point &rPoint, o3tl::Length eFrom, o3tl::Length eTo)
static bool IsValidPrinter(const Printer *pPtr)