]> git.lyx.org Git - lyx.git/blob - src/lyxrow.h
1f7416c02149dcfda244a07589a55ab5f5c6b127
[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-1999 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 #ifdef NEW_TEXT
23         LyXParagraph::size_type pos;
24 #else
25         int pos;
26 #endif
27         ///
28         unsigned short  baseline;
29         /** what is missing to a full row can be negative.
30           Needed for hfills, flushright, block etc. */
31         int fill;
32         ///
33         unsigned short  height;
34         ///
35         unsigned short ascent_of_text;
36         
37         ///
38         Row * next;
39         ///
40         Row * previous;
41 };
42
43 #endif