32 m_paperType(
te::layout::
A4),
53 m_paperType = paperType;
136 m_paperOrientationType = orientation;
141 return m_paperOrientationType;
virtual ~PaperConfig()
Destructor.
LayoutAbstractPaperType
Enum TdkAbstractComponentType. This is the enumeration of the components types.
virtual void setPaperSizeCustom(double w, double h)
Custom paper size.
Class responsible for paper setting. Size, orientation, custom size, etc.
virtual LayoutOrientationType getPaperOrientantion()
Returns paper orientation type enum.
PaperConfig()
Constructor.
LayoutAbstractPaperType m_paperType
paper type enum. Ex.: A4
virtual void getPaperSize(double &w, double &h)
Returns paper size. Height and Width.
virtual LayoutAbstractPaperType getPaperType()
Returns paper type.
virtual void setPaperOrientation(LayoutOrientationType orientation)
Sets paper orientation type enum. Ex.: Portrait.
virtual void setPaperType(LayoutAbstractPaperType paperType)
Sets paper type enum. Ex.: A4.