2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1995 Matthias Ettrich
8 * Copyright 1995-2001 The LyX Team.
10 * ====================================================== */
19 #include "support/types.h"
30 void par(Paragraph * p);
34 Paragraph * par() const;
36 void pos(lyx::pos_type p);
38 lyx::pos_type pos() const;
44 void height(unsigned short h);
46 unsigned short height() const;
48 void width(unsigned int w);
50 unsigned int width() const;
52 void ascent_of_text(unsigned short a);
54 unsigned short ascent_of_text() const;
56 void baseline(unsigned int b);
58 unsigned int baseline() const;
64 void previous(Row * r);
66 Row * previous() const;
72 /** what is missing to a full row can be negative.
73 Needed for hfills, flushright, block etc. */
76 unsigned short height_;
80 unsigned short ascent_of_text_;
82 unsigned int baseline_;
91 Paragraph * Row::par()
98 Paragraph * Row::par() const
105 unsigned short Row::height() const
112 Row * Row::next() const