class FuncStatus;
class Intl;
class Inset;
+class Length;
class PainterInfo;
class ParIterator;
class ParagraphMetrics;
/// left margin
int leftMargin() const;
+ /// return the on-screen size of this length
+ /*
+ * This is a wrapper around Length::inPixels that uses the
+ * bufferview width as width and the EM value of the default
+ * document font.
+ */
+ int inPixels(Length const & len) const;
+
/// \return true if the BufferView is at the top of the document.
bool isTopScreen() const;
/// access to full cursor.
Cursor const & cursor() const;
/// sets cursor.
- /// This will also open all relevant collapsable insets.
+ /// This will also open all relevant collapsible insets.
void setCursor(DocIterator const &);
/// set the selection up to dit.
void setCursorSelectionTo(DocIterator const & dit);