]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetMarginal.h
New DocBook support
[lyx.git] / src / insets / InsetMarginal.h
index 8f7c89a52a31fe23f81d5810e80506451abc6f8e..749a0c4152eb4f03b0372356590cd40c21bee6b6 100644 (file)
@@ -25,7 +25,7 @@ namespace lyx {
 class InsetMarginal : public InsetFootlike {
 public:
        ///
-       InsetMarginal(Buffer *);
+       explicit InsetMarginal(Buffer *);
        ///
        InsetCode lyxCode() const { return MARGIN_CODE; }
        ///
@@ -34,9 +34,9 @@ public:
        int plaintext(odocstringstream & ods, OutputParams const & op,
                      size_t max_length = INT_MAX) const;
        ///
-       int docbook(odocstream &, OutputParams const & runparams) const;
-       ///
-       void addToToc(DocIterator const &) const;
+       void docbook(XMLStream &, OutputParams const & runparams) const;
+       /// Is the content of this inset part of the immediate (visible) text sequence?
+       bool isPartOfTextSequence() const { return false; }
 private:
        ///
        Inset * clone() const { return new InsetMarginal(*this); }