]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ExternalTemplate.h
Fix wrongly copy-pasted entries in SpellcheckerUi.ui
[lyx.git] / src / insets / ExternalTemplate.h
index 7afc65715ba7ad5cd75e15ffac56053f42d23382..23f1f78802ffb9d98d7977ac36a10fce38e41ad1 100644 (file)
@@ -23,6 +23,12 @@ namespace support { class FileName; }
 
 class Lexer;
 
+enum PreviewMode {
+       PREVIEW_OFF = 0,
+       PREVIEW_GRAPHICS,
+       PREVIEW_INSTANT
+};
+
 namespace external {
 
 class Template {
@@ -56,6 +62,8 @@ public:
        std::string fileRegExp;
        /// Should we do automatic production of the output?
        bool automaticProduction;
+       /// How should we preview the data in LyX?
+       PreviewMode preview_mode;
        /// A collection of transforms that we can use to transform the data.
        std::vector<TransformID> transformIds;