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 ascent_of_text(unsigned short a);
43 unsigned short ascent_of_text() const;
45 void baseline(unsigned int b);
47 unsigned int baseline() const;
53 void previous(Row * r);
55 Row * previous() const;
60 LyXParagraph::size_type pos_;
61 /** what is missing to a full row can be negative.
62 Needed for hfills, flushright, block etc. */
65 unsigned short height_;
67 unsigned short ascent_of_text_;
69 unsigned int baseline_;