]> git.lyx.org Git - features.git/blobdiff - src/LaTeXFeatures.h
Bug 5562: Fix command line output of subfigure insets by introducing new OutputParams...
[features.git] / src / LaTeXFeatures.h
index 1a484f730c470921b08b27ba5c96123e8de7dcf9..a381e62ef79174f9c2aa97f85bcb98b962e27691 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  * \author Jean-Marc Lasgouttes
  *
  * Full author contact details are available in file CREDITS.
@@ -103,6 +103,10 @@ public:
        BufferParams const & bufferParams() const;
        /// the return value is dependent upon both LyXRC and LaTeXFeatures.
        bool useBabel() const;
+       /// are we in a float?
+       bool inFloat() const { return in_float_; }
+       /// are we in a float?
+       void inFloat(bool const b) { in_float_ = b; }
        /// Runparams that will be used for exporting this file.
        OutputParams const & runparams() const { return runparams_; }
 
@@ -145,6 +149,8 @@ private:
         *  in validate().
         */
        OutputParams const & runparams_;
+       ///
+       bool in_float_;
 };