]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetBox.h
Improved character count statistics for letter based insets (e.g. the LyX logo).
[features.git] / src / insets / InsetBox.h
index 4e9894548c17332e5aaf10d412713463b3380734..3398a52ed600962a172805ad8760b68a0817c867 100644 (file)
@@ -15,7 +15,8 @@
 #define INSETBOX_H
 
 #include "InsetCollapsible.h"
-#include "Length.h"
+
+#include "support/Length.h"
 
 
 namespace lyx {
@@ -111,8 +112,6 @@ public:
        ///
        void metrics(MetricsInfo &, Dimension &) const;
        ///
-       DisplayType display() const { return Inline; }
-       ///
        ColorCode backgroundColor(PainterInfo const &) const;
        ///
        LyXAlignment contentAlignment() const;
@@ -135,7 +134,7 @@ public:
        int plaintext(odocstringstream & ods, OutputParams const & op,
                      size_t max_length = INT_MAX) const;
        ///
-       int docbook(odocstream &, OutputParams const &) const;
+       void docbook(XMLStream &, OutputParams const &) const;
        ///
        docstring xhtml(XMLStream &, OutputParams const &) const;
        ///