]> git.lyx.org Git - lyx.git/blobdiff - src/insets/Inset.h
New DocBook support
[lyx.git] / src / insets / Inset.h
index c2a4becb9357e29990c333215915deb0f7b9f723..4ef73db0acbcfb1aacc7a4d45813cf916b1e0a3e 100644 (file)
@@ -341,7 +341,7 @@ public:
        virtual int plaintext(odocstringstream &, OutputParams const &,
                              size_t max_length = INT_MAX) const = 0;
        /// docbook output
-       virtual int docbook(odocstream & os, OutputParams const &) const;
+       virtual void docbook(XMLStream &, OutputParams const &) const;
        /// XHTML output
        /// the inset is expected to write XHTML to the XMLStream
        /// \return any "deferred" material that should be written outside the
@@ -469,6 +469,8 @@ public:
        virtual InsetLayout const & getLayout() const;
        ///
        virtual bool isPassThru() const { return getLayout().isPassThru(); }
+       /// Is this inset embedded in a title?
+       virtual bool isInTitle() const { return false; }
        /// Is this inset's layout defined in the document's textclass?
        bool undefined() const;
        /// should this inset be handled like a normal character?