]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetWrap.h
Improved character count statistics for letter based insets (e.g. the LyX logo).
[features.git] / src / insets / InsetWrap.h
index af1ae53c83b014d1b7a6cc3dcb0822e62ab06c2f..5619dc042b73f491accce98d5c5d986ad1a3dcbc 100644 (file)
@@ -13,7 +13,8 @@
 #define INSETWRAP_H
 
 #include "InsetCaptionable.h"
-#include "Length.h"
+
+#include "support/Length.h"
 
 
 namespace lyx {
@@ -72,9 +73,9 @@ private:
        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(XHTMLStream &, OutputParams const &) const;
+       docstring xhtml(XMLStream &, OutputParams const &) const;
        ///
        bool insetAllowed(InsetCode) const;
        ///
@@ -82,13 +83,15 @@ private:
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
        /// Update the label
-       void updateBuffer(ParIterator const &, UpdateType);
+       void updateBuffer(ParIterator const &, UpdateType, bool const deleted = false);
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///
        docstring layoutName() const;
        ///
        Inset * clone() const { return new InsetWrap(*this); }
+       /// Is the content of this inset part of the immediate (visible) text sequence?
+       bool isPartOfTextSequence() const { return false; }
 
        ///
        InsetWrapParams params_;