]> git.lyx.org Git - lyx.git/blobdiff - src/Spacing.h
InsetInfo: Output 'undefined' instead of an error message for undefined shortcut
[lyx.git] / src / Spacing.h
index 8b00a4a327d6720f4158b4d6d471d7d48086019f..a78abb6c5a07668b416ac0840753c30d5f679ae2 100644 (file)
@@ -16,9 +16,9 @@
 #include "tex2lyx/Spacing.h"
 #else
 
-#include <iosfwd>
-#include <string>
+#include "support/strfwd.h"
 
+#include <string>
 
 namespace lyx {
 
@@ -58,10 +58,15 @@ public:
        void set(Spacing::Space sp, std::string const & val);
        ///
        void writeFile(std::ostream &, bool para = false) const;
-       ///
-       std::string const writeEnvirBegin() const;
-       ///
-       std::string const writeEnvirEnd() const;
+       /// useSetSpace is true when using the variant supported by
+       /// the memoir class.
+       std::string const writeEnvirBegin(bool useSetSpace) const;
+       /// useSetSpace is true when using the variant supported by
+       /// the memoir class.
+       std::string const writeEnvirEnd(bool useSetSpace) const;
+       /// useSetSpace is true when using the variant supported by
+       /// the memoir class.
+       std::string const writePreamble(bool useSetSpace) const;
 
 private:
        ///