]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetSpace.h
Restore XHTML output for InsetListings.
[lyx.git] / src / insets / InsetSpace.h
index d3842ddd05b43a50e2d84f928eb35accc959de10..5aed4d50e7d346886e46f692b43125670a007009 100644 (file)
@@ -81,7 +81,7 @@ public:
        ///
        Kind kind;
        ///
-       Length length;
+       GlueLength length;
        /**
         * Whether these params are to be used in mathed.
         * This determines the set of valid kinds.
@@ -95,7 +95,7 @@ class InsetSpace : public Inset
 {
 public:
        ///
-       InsetSpace() {}
+       InsetSpace() : Inset(0) {}
        ///
        explicit InsetSpace(InsetSpaceParams const & par);
        ///
@@ -110,7 +110,7 @@ public:
        ///
        static std::string params2string(InsetSpaceParams const &);
        ///
-       Length length() const;
+       GlueLength length() const;
 
        ///
        docstring toolTip(BufferView const & bv, int x, int y) const;
@@ -129,14 +129,13 @@ public:
        ///
        int docbook(odocstream &, OutputParams const &) const;
        ///
+       docstring xhtml(XHTMLStream &, OutputParams const &) const;
+       ///
        void validate(LaTeXFeatures & features) const;
        /// the string that is passed to the TOC
        void tocString(odocstream &) const;
        ///
-       void edit(Cursor & cur, bool front,
-               EntryDirection entry_from = ENTRY_DIRECTION_IGNORE);
-       ///
-       EDITABLE editable() const { return IS_EDITABLE; }
+       bool hasSettings() const { return true; }
        ///
        InsetCode lyxCode() const { return SPACE_CODE; }
        /// is this an expandible space (rubber length)?