* Licence details can be found in the file COPYING.
*
* \author Matthias Ettrich
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
* \author John Levon
*
* Full author contact details are available in file CREDITS.
/// Represents the correspondence between paragraphs and the generated
-//LaTeX file
+/// LaTeX file
class TexRow {
public:
///
- TexRow() : lastid(-1), lastpos(-1) {}
+ TexRow() : lastid(-1), lastpos(-1), started(false) {}
/// Clears structure
void reset();
/// Insert node when line is completed
void newline();
+ /// Insert multiple nodes when zero or more lines are completed
+ void newlines(int num_lines);
+
/**
* getIdFromRow - find pid and position for a given row
* @param row row number to find
int lastid;
/// Last position
int lastpos;
+ /// Is id/pos already registered for current row?
+ bool started;
};