]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.h
Routines for calculating numerical labels for BibTeX citations.
[lyx.git] / src / Paragraph.h
index 8bb275576fc4b88c0beba55fec9901f37ca7f03f..761e6e9b5dbfe8b19e764372713eca0c89cc9426 100644 (file)
@@ -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;
@@ -424,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:
        ///