]> git.lyx.org Git - lyx.git/blobdiff - src/OutputParams.h
InsetLine.cpp: remove unused include
[lyx.git] / src / OutputParams.h
index a3d4fbed983a6032c059635949b62e4a683e3919..9ae7c3721cdbee92ecb846eefc189a91a34f9be1 100644 (file)
 #ifndef OUTPUTPARAMS_H
 #define OUTPUTPARAMS_H
 
-#include <string>
 
-#include "support/types.h"
-#include <boost/shared_ptr.hpp>
+#include "support/shared_ptr.h"
 #include "Changes.h"
 
 
@@ -39,6 +37,7 @@ public:
        };
        
        enum MathFlavor {
+               NotApplicable,
                MathAsMathML,
                MathAsHTML,
                MathAsImages,
@@ -64,6 +63,8 @@ public:
            compile the file.
        */
        FLAVOR flavor;
+       /// is it some flavor of LaTeX?
+       bool isLaTeX() const;
        
        /// Same, but for math output, which only matter is XHTML output.
        MathFlavor math_flavor;
@@ -164,7 +165,7 @@ public:
            This is a hack: Make it possible to add stuff to constant
            OutputParams instances.
        */
-       boost::shared_ptr<ExportData> exportdata;
+       shared_ptr<ExportData> exportdata;
 
        /** Whether we are inside a comment inset. Insets that are including
         *  external files like InsetGraphics, InsetInclude and InsetExternal
@@ -220,7 +221,7 @@ public:
        bool dryrun;
        
        /// Should we output verbatim or escape LaTeX's special chars?
-       bool verbatim;
+       bool pass_thru;
        
        /// Should we output captions?
        bool html_disable_captions;