X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FParagraph.h;h=b4b806789a1717c0358d2e71ec6821e293749057;hb=45e3a8f82701e981b1ccb2ab8d76f269867d7889;hp=d0ed94bfb0291cbc830aace8bb43940b5d570d25;hpb=60a648c5729d15f36221924b6a8503f89b96b09e;p=lyx.git diff --git a/src/Paragraph.h b/src/Paragraph.h index d0ed94bfb0..b4b806789a 100644 --- a/src/Paragraph.h +++ b/src/Paragraph.h @@ -39,17 +39,14 @@ class DocumentClass; class Inset; class InsetBibitem; class LaTeXFeatures; -class Inset_code; class InsetList; class Language; class Layout; class Font; -class Font_size; class MetricsInfo; class OutputParams; class PainterInfo; class ParagraphParameters; -class Toc; class WordLangTuple; class XHTMLStream; class otexstream; @@ -154,6 +151,10 @@ public: /// void addChangesToToc(DocIterator const & cdit, Buffer const & buf, bool output_active) const; + /// set the buffer flag if there are changes in the paragraph + void addChangesToBuffer(Buffer const & buf) const; + /// + bool isChangeUpdateRequired() const; /// Language const * getParLanguage(BufferParams const &) const; /// @@ -356,9 +357,6 @@ public: char_type getUChar(BufferParams const &, pos_type pos) const; /// pos <= size() (there is a dummy font change at the end of each par) void setFont(pos_type pos, Font const & font); - /// Returns the height of the highest font in range - FontSize highestFontInRange(pos_type startpos, - pos_type endpos, FontSize def_size) const; /// void insert(pos_type pos, docstring const & str, Font const & font, Change const & change);