]> git.lyx.org Git - lyx.git/blob - src/lyxrow.h
4909a3dcddea1b3feeb268c327488518e41ce32a
[lyx.git] / src / lyxrow.h
1 // -*- C++ -*-
2 /* This file is part of
3  * ====================================================== 
4  * 
5  *           LyX, The Document Processor
6  *       
7  *           Copyright 1995 Matthias Ettrich
8  *           Copyright 1995-2000 The LyX Team.
9  *
10  * ====================================================== */
11
12 #ifndef LYXROW_H
13 #define LYXROW_H
14
15 #include "lyxparagraph.h"
16
17 ///
18 struct Row {
19         ///
20         LyXParagraph * par;
21         ///
22         LyXParagraph::size_type pos;
23         /** what is missing to a full row can be negative.
24           Needed for hfills, flushright, block etc. */
25         mutable int fill;
26         ///
27         unsigned short  height;
28         ///
29         unsigned short ascent_of_text;
30         ///
31         unsigned int  baseline;
32         ///
33         Row()
34                 : par(0), pos(0), fill(0), height(0),
35                   ascent_of_text(0), baseline(0), next(0), previous(0)
36                 {}
37         ///
38         Row * next;
39         ///
40         Row * previous;
41 };
42
43 #endif