/// A map from a Text to the map of paragraphs metrics
class TextMetrics
{
+ /// noncopyable
+ TextMetrics(TextMetrics const &);
+ void operator=(TextMetrics const &);
public:
/// Default constructor (only here for STL containers).
TextMetrics() : bv_(0), text_(0), max_width_(0) {}
///
Point const & origin() const { return origin_; }
-
///
ParagraphMetrics const & parMetrics(pit_type) const;
+ ///
+ ParagraphMetrics & parMetrics(pit_type);
+
///
void newParMetricsDown();
///
Dimension & dim) const;
private:
- friend class BufferView;
/// The BufferView owner.
BufferView * bv_;