X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FOutputParams.h;h=9ae7c3721cdbee92ecb846eefc189a91a34f9be1;hb=604a3341d9bd6b6bee6f042292f28b89027ca2b5;hp=a3d4fbed983a6032c059635949b62e4a683e3919;hpb=a0043da05f5d32653917d8c551ee50138e639b00;p=lyx.git diff --git a/src/OutputParams.h b/src/OutputParams.h index a3d4fbed98..9ae7c3721c 100644 --- a/src/OutputParams.h +++ b/src/OutputParams.h @@ -12,10 +12,8 @@ #ifndef OUTPUTPARAMS_H #define OUTPUTPARAMS_H -#include -#include "support/types.h" -#include +#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; + shared_ptr 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;