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 * ====================================================== */
15 #include "lyxparagraph.h"
23 void par(LyXParagraph * p);
27 LyXParagraph * par() const;
29 void pos(LyXParagraph::size_type p);
31 LyXParagraph::size_type pos() const;
37 void height(unsigned short h);
39 unsigned short height() const;
41 void width(unsigned int w);
43 unsigned int width() const;
45 void ascent_of_text(unsigned short a);
47 unsigned short ascent_of_text() const;
49 void baseline(unsigned int b);
51 unsigned int baseline() const;
57 void previous(Row * r);
59 Row * previous() const;
64 LyXParagraph::size_type pos_;
65 /** what is missing to a full row can be negative.
66 Needed for hfills, flushright, block etc. */
69 unsigned short height_;
73 unsigned short ascent_of_text_;
75 unsigned int baseline_;