#ifndef OUTPUTPARAMS_H
#define OUTPUTPARAMS_H
-#include "support/types.h"
+#include <string>
+#include "support/types.h"
+#include <boost/shared_ptr.hpp>
#include "Changes.h"
-#include <string>
-#include <tr1/memory>
-
namespace lyx {
enum FLAVOR {
LATEX,
PDFLATEX,
+ XETEX,
XML
};
ALIGNED
};
+ enum Float {
+ NONFLOAT,
+ MAINFLOAT,
+ SUBFLOAT
+ };
+
OutputParams(Encoding const *);
~OutputParams();
*/
bool use_babel;
+ /** Are we generating multiple indices?
+ */
+ bool use_indices;
+
/** Are we using japanese (pLaTeX)?
*/
bool use_japanese;
This is a hack: Make it possible to add stuff to constant
OutputParams instances.
*/
- std::tr1::shared_ptr<ExportData> exportdata;
+ boost::shared_ptr<ExportData> exportdata;
/** Whether we are inside a comment inset. Insets that are including
* external files like InsetGraphics, InsetInclude and InsetExternal
*/
TableCell inTableCell;
+ /** Whether we are inside a float or subfloat.
+ * Needed for subfloat detection on the command line.
+ */
+ Float inFloat;
+
/** Whether we are inside an inset that is logically deleted.
* A value > 0 indicates a deleted inset.
*/