]> git.lyx.org Git - lyx.git/blobdiff - src/bufferparams.h
Angus insetindex patch + protect patch from Dekel
[lyx.git] / src / bufferparams.h
index aba829a75654d928adffdbe40a2a1a17787123ec..72d601b508ed44675a431ea0adbe3aad39b9063e 100644 (file)
@@ -30,6 +30,9 @@
   work needs to be done on this class to make it nice. Now everything
   is in public.
   */
+
+struct Language;
+
 class BufferParams {
 public:
        ///
@@ -108,7 +111,7 @@ public:
        //@}
 
        ///
-       void writeFile(ostream &) const;
+       void writeFile(std::ostream &) const;
 
        ///
        void useClassDefaults();
@@ -119,9 +122,6 @@ public:
        ///
        void setDefSkip(VSpace const & vs) { defskip = vs; }
 
-       ///
-       LyXDirection getDocumentDirection() const;
-       
        /** Wether paragraphs are separated by using a indent like in
          articles or by using a little skip like in letters.
          */
@@ -133,7 +133,7 @@ public:
        ///
        string fontsize; 
        ///
-       LyXTextClassList::ClassList::size_type textclass;
+       LyXTextClassList::size_type textclass;
 
        /* this are for the PaperLayout */
        ///
@@ -179,6 +179,8 @@ public:
        ///
        string language;
        ///
+       Language const * language_info;
+       ///
        string inputenc;
        ///
        string preamble;
@@ -202,8 +204,6 @@ public:
        void readLanguage(LyXLex &);
        ///
        void readGraphicsDriver(LyXLex &);
-       /// do we allow accents on all chars in this buffer
-       bool allowAccents;
        ///
         bool use_amsmath;
        /// Time ago we agreed that this was a buffer property [ale990407]