51struct PrinterInfoData;
69 o <<
"[" << r.
m_pos[0] <<
" " << r.
m_pos[1] <<
"]";
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
namespace used to regroup all libwpd functions, enumerations which we have redefined for internal usa...
Definition: libmwaw_internal.cxx:51
the AppleŠ printer information : TPrint
Definition: MWAWPrinter.hxx:82
bool read(MWAWInputStreamPtr input)
reads the struture in a file
Definition: MWAWPrinter.cxx:235
PrinterRect paper() const
returns the paper rectangle
Definition: MWAWPrinter.cxx:222
PrinterInfo(PrinterInfo const &orig)=delete
friend std::ostream & operator<<(std::ostream &o, PrinterInfo const &r)
operator<< for a PrinterInfo
Definition: MWAWPrinter.cxx:228
PrinterRect page() const
returns the page rectangle
Definition: MWAWPrinter.cxx:218
PrinterInfo & operator=(PrinterInfo const &orig)=delete
std::shared_ptr< PrinterInfoData > m_data
internal data
Definition: MWAWPrinter.hxx:100
PrinterInfo()
constructor
Definition: MWAWPrinter.cxx:209
~PrinterInfo()
destructor
Definition: MWAWPrinter.cxx:214
the AppleŠ rectangle : Rect
Definition: MWAWPrinter.hxx:54
friend std::ostream & operator<<(std::ostream &o, PrinterRect const &r)
operator <<
Definition: MWAWPrinter.hxx:67
bool read(MWAWInputStreamPtr input, MWAWVec2i const &res)
read value in a file, knowing the resolution
Definition: MWAWPrinter.cxx:54
MWAWVec2i m_pos[2]
the LT and RB positions
Definition: MWAWPrinter.hxx:78
MWAWVec2i size() const
returns the size
Definition: MWAWPrinter.hxx:56
MWAWVec2i pos(int i) const
returns the position ( 0: leftTop, 1:rightBottom )
Definition: MWAWPrinter.hxx:61