52 struct PrinterInfoData;
70 o <<
"[" << r.
m_pos[0] <<
" " << r.
m_pos[1] <<
"]";
friend std::ostream & operator<<(std::ostream &o, PrinterRect const &r)
operator <<
Definition: MWAWPrinter.hxx:68
PrinterInfo & operator=(PrinterInfo const &orig)
the AppleŠ printer information : TPrint
Definition: MWAWPrinter.hxx:83
shared_ptr< PrinterInfoData > m_data
internal data
Definition: MWAWPrinter.hxx:101
namespace used to regroup all libwpd functions, enumerations which we have redefined for internal usa...
Definition: libmwaw_internal.cxx:49
~PrinterInfo()
destructor
Definition: MWAWPrinter.cxx:197
MWAWVec2i size() const
returns the size
Definition: MWAWPrinter.hxx:57
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:439
MWAWVec2i pos(int i) const
returns the position ( 0: leftTop, 1:rightBottom )
Definition: MWAWPrinter.hxx:62
MWAWVec2i m_pos[2]
the LT and RB positions
Definition: MWAWPrinter.hxx:79
the AppleŠ rectangle : Rect
Definition: MWAWPrinter.hxx:55
bool read(MWAWInputStreamPtr input, MWAWVec2i const &res)
read value in a file, knowing the resolution
Definition: MWAWPrinter.cxx:54
friend std::ostream & operator<<(std::ostream &o, PrinterInfo const &r)
operator<< for a PrinterInfo
Definition: MWAWPrinter.cxx:211
bool read(MWAWInputStreamPtr input)
reads the struture in a file
Definition: MWAWPrinter.cxx:218
PrinterInfo()
constructor
Definition: MWAWPrinter.cxx:196
PrinterRect page() const
returns the page rectangle
Definition: MWAWPrinter.cxx:201
PrinterRect paper() const
returns the paper rectangle
Definition: MWAWPrinter.cxx:205