mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 09:15:50 +00:00
82fa210ea8
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@694 a592a061-630c-0410-9148-cb99ea01b6c8
44 lines
827 B
C++
44 lines
827 B
C++
// -*- C++ -*-
|
|
/* This file is part of
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright 1995 Matthias Ettrich
|
|
* Copyright 1995-2000 The LyX Team.
|
|
*
|
|
* ====================================================== */
|
|
|
|
#ifndef LYXROW_H
|
|
#define LYXROW_H
|
|
|
|
#include "lyxparagraph.h"
|
|
|
|
///
|
|
struct Row {
|
|
///
|
|
LyXParagraph * par;
|
|
///
|
|
LyXParagraph::size_type pos;
|
|
/** what is missing to a full row can be negative.
|
|
Needed for hfills, flushright, block etc. */
|
|
mutable int fill;
|
|
///
|
|
unsigned short height;
|
|
///
|
|
unsigned short ascent_of_text;
|
|
///
|
|
unsigned int baseline;
|
|
///
|
|
Row()
|
|
: par(0), pos(0), fill(0), height(0),
|
|
ascent_of_text(0), baseline(0), next(0), previous(0)
|
|
{}
|
|
///
|
|
Row * next;
|
|
///
|
|
Row * previous;
|
|
};
|
|
|
|
#endif
|