- /** this calculates the specified parameters. needed when setting
- * the cursor and when creating a visible row */
- void computeRowMetrics(pit_type pit, Row & row, int width) const;
+ /// Aligns properly the row contents (computes spaces and fills)
+ void setRowAlignment(Row & row, int width) const;
+
+ /// Set the height of the row (without space above/below paragraph)
+ void setRowHeight(Row & row) const;
+ // Compute the space on top of a paragraph
+ int parTopSpacing(pit_type pit) const;
+ // Compute the space below a a paragraph
+ int parBottomSpacing(pit_type pit) const;