]> git.lyx.org Git - lyx.git/blobdiff - src/Length.h
* GuiDocument.cpp:
[lyx.git] / src / Length.h
index cc2caf78acc22c7fea32cf55c626054562152cc0..c6e32c3431e94b570681bf4bd38ba711213881a4 100644 (file)
@@ -87,11 +87,16 @@ public:
        docstring const asDocstring() const;
        /// return string representation for LaTeX
        std::string const asLatexString() const;
+       /// return string representation for HTML
+       std::string const asHTMLString() const;
        /// return the on-screen size of this length
        int inPixels(int text_width, int em_width = 0) const;
        /// return the value in Big Postscript points.
        int inBP() const;
 
+       /// return the default unit (centimeter or inch)
+       static UNIT defaultUnit();
+
        friend bool isValidLength(std::string const & data, Length * result);
 
 private: