X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FVSpace.h;h=7cd1a2b131e51bca386728a2918f2a33983faf57;hb=45e8ea4acc557dd54e062750f47ff569b5b98c43;hp=b982b939f9bbab10e53e4ee147f15b0f663243a3;hpb=33d7e14484fc03769891ab7b62bb0a6583d357af;p=lyx.git diff --git a/src/VSpace.h b/src/VSpace.h index b982b939f9..7cd1a2b131 100644 --- a/src/VSpace.h +++ b/src/VSpace.h @@ -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