]> git.lyx.org Git - lyx.git/blobdiff - src/VSpace.h
#11756 Respect system preferences for tabbing on Mac
[lyx.git] / src / VSpace.h
index b982b939f9bbab10e53e4ee147f15b0f663243a3..7cd1a2b131e51bca386728a2918f2a33983faf57 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef VSPACE_H
 #define VSPACE_H
 
-#include "Length.h"
+#include "support/Length.h"
 
 
 namespace lyx {
@@ -31,6 +31,8 @@ public:
                SMALLSKIP,
                MEDSKIP,
                BIGSKIP,
+               HALFLINE,
+               FULLLINE,
                VFILL,
                LENGTH ///< user-defined length
        };
@@ -52,7 +54,7 @@ public:
        /// return the length of this space
        GlueLength const & length() const { return len_; }
 
-       // a flag that switches between \vspace and \vspace*
+       /// a flag that switches between \vspace and \vspace*
        bool keep() const { return keep_; }
        /// if set true, use \vspace* when type is not DEFSKIP
        void setKeep(bool keep) { keep_ = keep; }
@@ -65,6 +67,8 @@ public:
        std::string const asLyXCommand() const;
        /// the latex representation
        std::string const asLatexCommand(BufferParams const & params) const;
+       ///
+       std::string asHTMLLength() const;
        /// how it is seen in the LyX window
        docstring const asGUIName() const;
        /// the size of the space on-screen