]> git.lyx.org Git - lyx.git/blobdiff - src/BufferParams.h
Best to use braces when there are comments.
[lyx.git] / src / BufferParams.h
index 5b5a16f67fcfbbbc774cd0e6707b17114719ebec..4e176c945e7dddd0b031c2f9c971f0218dcec37c 100644 (file)
@@ -184,8 +184,6 @@ public:
 
        /// returns \c true if the buffer contains a LaTeX document
        bool isLatex() const;
-       /// returns \c true if the buffer contains a DocBook document
-       bool isDocBook() const;
        /// returns \c true if the buffer contains a Wed document
        bool isLiterate() const;
 
@@ -214,7 +212,12 @@ public:
        void clearIncludedChildren() { included_children_.clear(); }
 
        /// update aux files of unincluded children (with \includeonly)
-       bool maintain_unincluded_children;
+       enum ChildrenMaintenance {
+               CM_None,
+               CM_Mostly,
+               CM_Strict
+       };
+       ChildrenMaintenance maintain_unincluded_children;
 
        /// returns the main font for the buffer (document)
        Font const getFont() const;
@@ -437,6 +440,8 @@ public:
        bool change_bars;
        ///
        bool compressed;
+       ///
+       bool postpone_fragile_content;
 
        /// the author list for the document
        AuthorList & authors();