2
/******************************************************************************
3
* MODULE : stack_border.hpp
4
* DESCRIPTION: Border properties of a stack of page items
5
* COPYRIGHT : (C) 1999 Joris van der Hoeven
6
*******************************************************************************
7
* This software falls under the GNU general public license and comes WITHOUT
8
* ANY WARRANTY WHATSOEVER. See the file $TEXMACS_PATH/LICENSE for more details.
9
* If you don't have this file, write to the Free Software Foundation, Inc.,
10
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
11
******************************************************************************/
13
#ifndef STACK_BORDER_H
14
#define STACK_BORDER_H
17
class stack_border_rep: public concrete_struct {
19
SI height; // default distance between successive base lines
20
SI sep; // minimal separation of ink
21
SI hor_sep; // min. hor. ink sep. when lines are shoved into each other
22
SI bot; // logical bottom of lines
23
SI top; // logical top of lines
25
space vspc_before, vspc_after;
26
bool nobr_before, nobr_after;
28
inline stack_border_rep ():
29
height (0), sep (0), hor_sep (0), bot (0), top (0),
30
vspc_before (0), vspc_after (0),
31
nobr_before (false), nobr_after (false) {}
35
CONCRETE(stack_border);
36
inline stack_border (): rep (new stack_border_rep ()) {}
38
CONCRETE_CODE(stack_border);
40
#endif // defined STACK_BORDER_H