]> git.lyx.org Git - lyx.git/blobdiff - src/BufferParams.h
Add caching for the QTextLayout objects we use
[lyx.git] / src / BufferParams.h
index ea2cd5dd530e8be505c0eb78e8210fad68e17b62..f1e8eacfec3bb114f1ce717add8806022d43734d 100644 (file)
@@ -178,11 +178,9 @@ public:
        OutputParams::FLAVOR getOutputFlavor(
                  std::string const & format = std::string()) const;
        ///
-       bool isExportable(std::string const & format) const;
+       bool isExportable(std::string const & format, bool need_viewable) const;
        ///
        std::vector<const Format *> const & exportableFormats(bool only_viewable) const;
-       ///
-       bool isExportableFormat(std::string const & format) const;
        /// the backends appropriate for use with this document.
        /// so, e.g., latex is excluded , if we're using non-TeX fonts
        std::vector<std::string> backends() const;
@@ -555,7 +553,7 @@ private:
         *  mathdots, stackrel, stmaryrd and undertilde.
         */
        PackageMap use_packages;
-       
+
        /** Use the Pimpl idiom to hide those member variables that would otherwise
         *  drag in other header files.
         */