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"
29 void par(Paragraph * p);
33 Paragraph * par() const;
35 void pos(lyx::pos_type p);
37 lyx::pos_type pos() const;
43 void height(unsigned short h);
45 unsigned short height() const;
47 void width(unsigned int w);
49 unsigned int width() const;
51 void ascent_of_text(unsigned short a);
53 unsigned short ascent_of_text() const;
55 void baseline(unsigned int b);
57 unsigned int baseline() const;
63 void previous(Row * r);
65 Row * previous() const;
71 /** what is missing to a full row can be negative.
72 Needed for hfills, flushright, block etc. */
75 unsigned short height_;
79 unsigned short ascent_of_text_;
81 unsigned int baseline_;
90 Paragraph * Row::par()
97 Paragraph * Row::par() const
104 unsigned short Row::height() const
111 Row * Row::next() const