]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph_pimpl.h
add missing typename
[lyx.git] / src / paragraph_pimpl.h
index 38c29bcbeffc026c3d34dada53a4a6ef1aa7a734..c504bc85aa806a0ceb5dda37ce001d2fa1334662 100644 (file)
@@ -1,9 +1,9 @@
 // -*- C++ -*-
 /* This file is part of
- * ====================================================== 
- * 
+ * ======================================================
+ *
  *           LyX, The Document Processor
- *      
+ *
  *         Copyright 1995 Matthias Ettrich
  *          Copyright 1995-2001 The LyX Team.
  *
 
 #include "paragraph.h"
 #include "ParagraphParameters.h"
+
 #include <boost/array.hpp>
 
+class LyXLayout;
+
 struct Paragraph::Pimpl {
        ///
        typedef std::vector<value_type> TextContainer;
@@ -94,12 +97,12 @@ struct Paragraph::Pimpl {
                /// End position of paragraph this font attribute covers
                lyx::pos_type pos_;
                /** Font. Interpretation of the font values:
-                   If a value is LyXFont::INHERIT_*, it means that the font 
+                   If a value is LyXFont::INHERIT_*, it means that the font
                    attribute is inherited from either the layout of this
-                   paragraph or, in the case of nested paragraphs, from the 
-                   layout in the environment one level up until completely 
+                   paragraph or, in the case of nested paragraphs, from the
+                   layout in the environment one level up until completely
                    resolved.
-                   The values LyXFont::IGNORE_* and LyXFont::TOGGLE are NOT 
+                   The values LyXFont::IGNORE_* and LyXFont::TOGGLE are NOT
                    allowed in these font tables.
                */
                boost::shared_ptr<LyXFont> font_;
@@ -148,8 +151,9 @@ struct Paragraph::Pimpl {
        ParagraphParameters params;
 private:
        /// match a string against a particular point in the paragraph
-       bool isTextAt(string const & str, lyx::pos_type pos);
+       bool isTextAt(BufferParams const &,
+                     string const & str, lyx::pos_type pos);
+
        /// Who owns us?
        Paragraph * owner_;
        ///