2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1995 Matthias Ettrich
8 * Copyright 1995-2000 The LyX Team.
10 * ====================================================== */
19 #include "lyxparagraph.h"
27 void par(LyXParagraph * p);
31 LyXParagraph * par() const;
33 void pos(LyXParagraph::size_type p);
35 LyXParagraph::size_type pos() const;
41 void height(unsigned short h);
43 unsigned short height() const;
45 void width(unsigned int w);
47 unsigned int width() const;
49 void ascent_of_text(unsigned short a);
51 unsigned short ascent_of_text() const;
53 void baseline(unsigned int b);
55 unsigned int baseline() const;
61 void previous(Row * r);
63 Row * previous() const;
68 LyXParagraph::size_type pos_;
69 /** what is missing to a full row can be negative.
70 Needed for hfills, flushright, block etc. */
73 unsigned short height_;
77 unsigned short ascent_of_text_;
79 unsigned int baseline_;