52 struct PrinterInfoData;
67 o <<
"[" << r.
m_pos[0] <<
" " << r.
m_pos[1] <<
"]";
friend std::ostream & operator<<(std::ostream &o, PrinterRect const &r)
operator <<
Definition: MWAWPrinter.hxx:66
Vec2i pos(int i) const
returns the position ( 0: leftTop, 1:rightBottom )
Definition: MWAWPrinter.hxx:61
PrinterInfo & operator=(PrinterInfo const &orig)
the AppleŠ printer information : TPrint
Definition: MWAWPrinter.hxx:80
Vec2i m_pos[2]
the LT and RB positions
Definition: MWAWPrinter.hxx:76
shared_ptr< PrinterInfoData > m_data
internal data
Definition: MWAWPrinter.hxx:98
bool read(MWAWInputStreamPtr input, Vec2i const &res)
read value in a file, knowing the resolution
Definition: MWAWPrinter.cxx:54
~PrinterInfo()
destructor
Definition: MWAWPrinter.cxx:189
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:348
the AppleŠ rectangle : Rect
Definition: MWAWPrinter.hxx:55
friend std::ostream & operator<<(std::ostream &o, PrinterInfo const &r)
operator<< for a PrinterInfo
Definition: MWAWPrinter.cxx:203
bool read(MWAWInputStreamPtr input)
reads the struture in a file
Definition: MWAWPrinter.cxx:210
Vec2i size() const
returns the size
Definition: MWAWPrinter.hxx:57
PrinterInfo()
constructor
Definition: MWAWPrinter.cxx:188
PrinterRect page() const
returns the page rectangle
Definition: MWAWPrinter.cxx:193
PrinterRect paper() const
returns the paper rectangle
Definition: MWAWPrinter.cxx:197