X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetCaptionable.h;h=8d0b486bcff7b3ccdb569f6cc9eea58eaba5d0b2;hb=e43ba7cf46779c6a8394310b9487ebe2c75132b2;hp=94202e4e6cb46214813c8edf247c111860552674;hpb=d5a5fbb8ee87d4a8ae1c55f9ba72819251bb6fb7;p=lyx.git diff --git a/src/insets/InsetCaptionable.h b/src/insets/InsetCaptionable.h index 94202e4e6c..8d0b486bcf 100644 --- a/src/insets/InsetCaptionable.h +++ b/src/insets/InsetCaptionable.h @@ -15,31 +15,35 @@ #ifndef INSET_CAPTIONABLE_H #define INSET_CAPTIONABLE_H -#include "InsetCollapsable.h" +#include "InsetCollapsible.h" namespace lyx { -class InsetCaptionable : public InsetCollapsable +class InsetCaptionable : public InsetCollapsible { public: - InsetCaptionable(Buffer * buffer) - : InsetCollapsable(buffer), caption_type_("senseless") {} - InsetCaptionable(Buffer * buffer, std::string const & type) - : InsetCollapsable(buffer), caption_type_(type) {} + InsetCaptionable(Buffer * buffer, std::string const & type = "senseless") + : InsetCollapsible(buffer), caption_type_(type) {} /// std::string const & captionType() const { return caption_type_; } /// docstring floatName(std::string const & type) const; /// protected: + /// + InsetCaption const * getCaptionInset() const; + /// + docstring getCaptionText(OutputParams const &) const; + /// + docstring getCaptionHTML(OutputParams const &) const; /// virtual void setCaptionType(std::string const & type); /// are our captions subcaptions? virtual bool hasSubCaptions(ParIterator const &) const { return false; } /// void addToToc(DocIterator const & di, bool output_active, - UpdateType utype) const; + UpdateType utype, TocBackend & backend) const; /// Update the counters of this inset and of its contents void updateBuffer(ParIterator const &, UpdateType); ///