]> git.lyx.org Git - lyx.git/blobdiff - src/BufferParams.h
Keep dialog connected to cross-ref inset after Apply.
[lyx.git] / src / BufferParams.h
index 031524fe1a667a95dbf04a10ec3c61248c457564..4980f212b79f5910096597719450c3a3279c912f 100644 (file)
@@ -52,7 +52,7 @@ class PDFOptions;
 class Spacing;
 class VSpace;
 
-enum class FLAVOR : int;
+enum class Flavor : int;
 enum class QuoteStyle : int;
 
 /** Buffer parameters.
@@ -151,7 +151,7 @@ public:
        /// on to class BufferView::updateDocumentClass(). The exception, of course,
        /// is in GuiDocument, where we use a BufferParams simply to hold a copy of
        /// the parameters from the active Buffer.
-       void makeDocumentClass(bool const clone = false);
+       void makeDocumentClass(bool clone = false, bool internal = false);
        /// Returns the DocumentClass currently in use: the BaseClass as modified
        /// by modules.
        DocumentClass const & documentClass() const;
@@ -198,7 +198,7 @@ public:
        /// return the default output format of the current backend
        std::string getDefaultOutputFormat() const;
        /// return the output flavor of \p format or the default
-       FLAVOR getOutputFlavor(std::string const & format = std::string()) const;
+       Flavor getOutputFlavor(std::string const & format = std::string()) const;
        ///
        bool isExportable(std::string const & format, bool need_viewable) const;
        ///
@@ -617,7 +617,7 @@ private:
        ///
        void readIncludeonly(Lexer &);
        /// A cache for the default flavors
-       typedef std::map<std::string, FLAVOR> DefaultFlavorCache;
+       typedef std::map<std::string, Flavor> DefaultFlavorCache;
        ///
        mutable DefaultFlavorCache default_flavors_;
        /// the cite engine