X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FParagraph.h;h=761e6e9b5dbfe8b19e764372713eca0c89cc9426;hb=2098f1d8c20d51e63e670bcdc9da8996068975bf;hp=94a139ab5edcf9c790a06bd365e8c8896fa256e5;hpb=ad132e2e99f851b42e71397e6a32d86dc8eac43d;p=lyx.git diff --git a/src/Paragraph.h b/src/Paragraph.h index 94a139ab5e..761e6e9b5d 100644 --- a/src/Paragraph.h +++ b/src/Paragraph.h @@ -92,7 +92,7 @@ class Paragraph public: /// Paragraph(); - /// + /// Copy constructor. Paragraph(Paragraph const &); /// Partial copy constructor. /// Copy the Paragraph contents from \p beg to \p end (without end). @@ -103,6 +103,8 @@ public: ~Paragraph(); /// int id() const; + /// + void setId(int id); /// void addChangesToToc(DocIterator const & cdit, Buffer const & buf) const; @@ -166,6 +168,7 @@ public: XHTMLStream & xs, OutputParams const & runparams, Font const & outerfont, + bool fortoc = false, pos_type initial = 0) const; /// @@ -423,6 +426,9 @@ public: /// Spellcheck word at position \p pos. /// \return true if pointed word is misspelled. bool isMisspelled(pos_type pos) const; + /// an automatically generated identifying label for this paragraph. + /// presently used only in the XHTML output routines. + std::string magicLabel() const; private: ///