]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph.h
the spellcheck cleanup
[lyx.git] / src / paragraph.h
index bcc8ac63a2ce2b37d795ece26fa0c0786bacb005..d0338cd4c45656e29003c0cbbb8e7efeaa400735 100644 (file)
@@ -71,8 +71,6 @@ public:
 
        ///
        int id() const;
-       ///
-       void id(int i);
 
        ///
        Language const * getParLanguage(BufferParams const &) const;
@@ -84,11 +82,23 @@ public:
        ///
        bool isMultiLingual(BufferParams const &);
 
+       ///
+       std::string const asString(Buffer const &,
+                                  LatexRunParams const & runparams,
+                                  bool label) const;
        ///
        std::string const asString(Buffer const &, bool label) const;
        ///
-       std::string const asString(Buffer const &, lyx::pos_type beg, lyx::pos_type end,
-                             bool label) const;
+       std::string const Paragraph::asString(Buffer const & buffer,
+                                             lyx::pos_type beg,
+                                             lyx::pos_type end,
+                                             bool label) const;
+       ///
+       std::string const asString(Buffer const &,
+                                  LatexRunParams const & runparams,
+                                  lyx::pos_type beg,
+                                  lyx::pos_type end,
+                                  bool label) const;
 
        ///
        void write(Buffer const &, std::ostream &, BufferParams const &,
@@ -108,6 +118,21 @@ public:
                             LyXFont const & outerfont, std::ostream &,
                             TexRow & texrow, LatexRunParams const &);
 
+       ///
+       void simpleLinuxDocOnePar(Buffer const & buf,
+                                 std::ostream & os,
+                                 LyXFont const & outerfont,
+                                 LatexRunParams const & runparams,
+                                 lyx::depth_type depth) const;
+
+       ///
+       void simpleDocBookOnePar(Buffer const & buf,
+                                std::ostream &,
+                                LyXFont const & outerfont,
+                                int & desc_on,
+                                LatexRunParams const & runparams,
+                                lyx::depth_type depth) const;
+
        ///
        bool hasSameLayout(Paragraph const & par) const;
 
@@ -246,6 +271,9 @@ public:
                                        lyx::pos_type endpos,
                                        LyXFont_size def_size) const;
        ///
+       void insert(lyx::pos_type pos, std::string const & str,
+                   LyXFont const & font);
+       ///
        void insertChar(lyx::pos_type pos, value_type c);
        ///
        void insertChar(lyx::pos_type pos, value_type c, LyXFont const &, Change change = Change(Change::INSERTED));