X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetText.h;h=b9e2dc936ebed495464cbdd0660f7775c33ed718;hb=eb294eadb5e7f22880da399ae082f74567bbfc4e;hp=29457aad990ad610185263d2649095b2e4f364df;hpb=06a77312749f679b0c81a8a4b7277c17bd684262;p=lyx.git diff --git a/src/insets/InsetText.h b/src/insets/InsetText.h index 29457aad99..b9e2dc936e 100644 --- a/src/insets/InsetText.h +++ b/src/insets/InsetText.h @@ -93,9 +93,9 @@ public: /// docstring insetAsXHTML(XMLStream &, OutputParams const &, XHTMLOptions) const; - /// + /// Outputs the inset as DocBook, with the given options regarding outer tags. void docbook(XMLStream &, OutputParams const &, XHTMLOptions opts) const; - /// + /// Outputs the whole inset as DocBook. void docbook(XMLStream &, OutputParams const &) const override; /// void validate(LaTeXFeatures & features) const override; @@ -203,7 +203,7 @@ public: /// docstring completionPrefix(Cursor const & cur) const override; /// - bool insertCompletion(Cursor & cur, docstring const & s, bool finished) override; + bool insertCompletion(Cursor & cur, docstring const & s, bool /*finished*/) override; /// void completionPosAndDim(Cursor const &, int & x, int & y, Dimension & dim) const override; /// returns the text to be used as tooltip @@ -238,6 +238,10 @@ protected: /// void iterateForToc(DocIterator const & cdit, bool output_active, UpdateType utype, TocBackend & backend) const; + /// Outputs an inset that must be first rendered (with the given options regarding outer tags). + void docbookRenderAsImage(XMLStream & xs, OutputParams const & rp, XHTMLOptions opts) const; + /// Outputs the text of the inset with the correct DocBook tags (with the given options regarding outer tags). + void docbookText(XMLStream & xs, OutputParams const & rp, XHTMLOptions opts) const; private: /// Open the toc item for paragraph pit. Returns the paragraph index where /// it should end.