7 /** The physical structure of a row and aditional information is stored here.
8 It allows to manage the extra info independently of the paragraph data.
9 Only used for multiline paragraphs.
16 typedef std::vector<int> Widths;
20 MathedRowStruct(int n)
21 : asc_(0), desc_(0), y_(0), widths_(n + 1, 0),
25 string const & getLabel() const;
27 bool isNumbered() const;
29 int getBaseline() const;
31 void setBaseline(int b);
41 int getTab(int i) const;
43 void setLabel(string const & l);
45 void setNumbered(bool nf);
47 void setTab(int i, int t);
49 friend class MathedRowSt;
65 class MathedRowSt : public MathedRowStruct {
68 explicit MathedRowSt(int n)
69 : MathedRowStruct(n), next_(0)
71 /// Should be const but...
72 MathedRowSt * getNext() const;
73 /// ...we couldn't use this.
74 void setNext(MathedRowSt * n);
82 MathedRowSt * MathedRowSt::getNext() const
89 void MathedRowSt::setNext(MathedRowSt * n)
96 string const & MathedRowStruct::getLabel() const
103 bool MathedRowStruct::isNumbered() const
110 int MathedRowStruct::getBaseline() const
117 void MathedRowStruct::setBaseline(int b)
124 int MathedRowStruct::ascent() const
131 int MathedRowStruct::descent() const
138 void MathedRowStruct::ascent(int a)
145 void MathedRowStruct::descent(int d)
152 int MathedRowStruct::getTab(int i) const
159 void MathedRowStruct::setLabel(string const & l)
166 void MathedRowStruct::setNumbered(bool nf)
173 void MathedRowStruct::setTab(int i, int t)