X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FParagraph.h;h=184c9766285293a0b173d1dca1a9b0fa9278d883;hb=0c7bd9a57f2a308bb9659200eda3b7e45f8d5d3c;hp=d0ed94bfb0291cbc830aace8bb43940b5d570d25;hpb=60a648c5729d15f36221924b6a8503f89b96b09e;p=lyx.git diff --git a/src/Paragraph.h b/src/Paragraph.h index d0ed94bfb0..184c976628 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; /// @@ -218,6 +219,8 @@ public: XHTMLStream & xs, OutputParams const & runparams, Font const & outerfont, + bool start_paragraph = true, + bool close_paragraph = true, pos_type initial = 0) const; /// @@ -356,9 +359,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);