///
LyXFont getFont(Paragraph const & par, pos_type pos) const;
///
+ void applyOuterFont(LyXFont &) const;
+ ///
LyXFont getLayoutFont(pit_type pit) const;
///
LyXFont getLabelFont(Paragraph const & par) const;
/// current text heigth
int height() const;
- /// updates all counters
- void updateCounters();
/// Returns an inset if inset was hit, or 0 if not.
InsetBase * checkInsetHit(int x, int y) const;
LyXFont current_font;
/// the current font
LyXFont real_current_font;
- /// our buffer's default layout font
+ /// our buffer's default layout font. This is textclass specific
LyXFont defaultfont_;
///
int background_color_;
///
ParagraphList pars_;
- /// our 'outermost' Font
+ /// our 'outermost' font. This is handed down from the surrounding
+ // inset through the pi/mi parameter (pi.base.font)
LyXFont font_;
///
/// delete double space or empty paragraphs around old cursor
bool deleteEmptyParagraphMechanism(LCursor & cur, LCursor const & old);
- ///
- void setCounter(Buffer const &, pit_type pit);
///
void deleteWordForward(LCursor & cur);
///
/// return the default height of a row in pixels, considering font zoom
int defaultRowHeight();
-///
-std::string expandLabel(LyXTextClass const & textclass,
- LyXLayout_ptr const & layout, bool appendix);
-
-
#endif // LYXTEXT_H