]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.h
scons/SConstruct: remove non-existent path to make "update_po" work
[lyx.git] / src / Paragraph.h
index 9a5bc37704aae39f73a324014e0586c9ce06e0d2..b76a6fea8557888c5905f63da8d876fe7f08fa09 100644 (file)
@@ -79,8 +79,6 @@ public:
        };
        ///
        typedef char_type value_type;
-       ///
-       typedef std::vector<value_type> TextContainer;
 
        ///
        Paragraph();
@@ -93,7 +91,6 @@ public:
        ///
        int id() const;
 
-
        ///
        Language const * getParLanguage(BufferParams const &) const;
        ///
@@ -119,16 +116,7 @@ public:
        void validate(LaTeXFeatures &) const;
 
        ///
-       int startTeXParParams(BufferParams const &, odocstream &, TexRow &,
-                             bool) const;
-
-       ///
-       int endTeXParParams(BufferParams const &, odocstream &, TexRow &,
-                           bool) const;
-
-
-       ///
-       bool simpleTeXOnePar(Buffer const &, BufferParams const &,
+       bool latex(Buffer const &, BufferParams const &,
                             Font const & outerfont, odocstream &,
                             TexRow & texrow, OutputParams const &) const;
 
@@ -292,6 +280,12 @@ public:
        ///
        void insert(pos_type pos, docstring const & str,
                    Font const & font, Change const & change);
+
+       ///
+       void appendString(docstring const & s, Font const & font,
+               Change const & change);
+       ///
+       void appendChar(value_type c, Font const & font, Change const & change);
        ///
        void insertChar(pos_type pos, value_type c, bool trackChanges);
        ///
@@ -339,9 +333,6 @@ public:
        /// Note that digits in particular are considered as letters
        bool isLetter(pos_type pos) const;
 
-       /// returns -1 if inset not found
-       int getPositionOfInset(Inset const * inset) const;
-
        /// returns true if at least one line break or line separator has been deleted
        /// at the beginning of the paragraph (either physically or logically)
        bool stripLeadingSpaces(bool trackChanges);
@@ -375,15 +366,13 @@ public:
        int numberOfOptArgs() const;
 
 private:
-       ///
-       LayoutPtr layout_;
        /**
         * Keeping this here instead of in the pimpl makes LyX >10% faster
         * for average tasks as buffer loading/switching etc.
         */
+       typedef std::vector<value_type> TextContainer;
+       ///
        TextContainer text_;
-       /// end of label
-       pos_type begin_of_body_;
 
        /// Pimpl away stuff
        class Private;