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"
26 /// A position in the row
27 typedef lyx::pos_type pos_type;
31 void par(Paragraph * p);
35 Paragraph * par() const;
45 void height(unsigned short h);
47 unsigned short height() const;
49 void width(unsigned int w);
51 unsigned int width() const;
53 void ascent_of_text(unsigned short a);
55 unsigned short ascent_of_text() const;
57 void baseline(unsigned int b);
59 unsigned int baseline() const;
65 void previous(Row * r);
67 Row * previous() const;
73 /** what is missing to a full row can be negative.
74 Needed for hfills, flushright, block etc. */
77 unsigned short height_;
81 unsigned short ascent_of_text_;
83 unsigned int baseline_;
92 Paragraph * Row::par()
99 Paragraph * Row::par() const
106 unsigned short Row::height() const
113 Row * Row::next() const