]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph.h
More ascii-export fixes and when making copy of single tabular cells now the
[lyx.git] / src / paragraph.h
index d97b8c62a42ab75be979b704d4e402384a6adcbc..953b3f96ea124b83be6da3773283057bbe525855 100644 (file)
 #include "LString.h"
 
 #include "insets/inset.h" // Just for Inset::Code
-#include "layout.h"
+#include "lyxfont.h" // Just for LyXFont::FONT_SIZE
 #include "support/types.h"
 
 class ParagraphParameters;
 class BufferParams;
 class TexRow;
-struct LaTeXFeatures;
+class LaTeXFeatures;
 class InsetBibKey;
 class BufferView;
 class Language;
@@ -258,7 +258,7 @@ public:
        /// Returns the height of the highest font in range
        LyXFont::FONT_SIZE highestFontInRange(lyx::pos_type startpos,
                                              lyx::pos_type endpos,
-                                                                                 LyXFont::FONT_SIZE const def_size) const;
+                                             LyXFont::FONT_SIZE const def_size) const;
        ///
        void insertChar(lyx::pos_type pos, value_type c);
        ///
@@ -315,13 +315,13 @@ public:
        int autoDeleteInsets();
 
        /// returns -1 if inset not found
-       int getPositionOfInset(Inset * inset) const;
+       int getPositionOfInset(Inset const * inset) const;
 
        /// some good comment here John?
        Paragraph * getParFromID(int id) const;
 
        ///
-       int stripLeadingSpaces(LyXTextClassList::size_type tclass); 
+       int stripLeadingSpaces(lyx::textclass_type tclass); 
 
 #ifndef NO_PEXTRA_REALLY
        /* If I set a PExtra Indent on one paragraph of a ENV_LIST-TYPE
@@ -334,6 +334,8 @@ public:
 #endif
        ///
        bool sgmlConvertChar(char c, string & sgml_string);
+       ///
+       bool isFreeSpacing() const;
 
        ParagraphParameters & params();
        ParagraphParameters const & params() const;