]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetBox.h
DocBook: add a TODO for a newly discovered bug.
[features.git] / src / insets / InsetBox.h
index 3398a52ed600962a172805ad8760b68a0817c867..cc80da3ecd219a8de3426f344313d2febd0b3c90 100644 (file)
@@ -102,64 +102,64 @@ public:
        /// \name Public functions inherited from Inset class
        //@{
        ///
-       InsetCode lyxCode() const { return BOX_CODE; }
+       InsetCode lyxCode() const override { return BOX_CODE; }
        ///
-       docstring layoutName() const;
+       docstring layoutName() const override;
        ///
-       void write(std::ostream &) const;
+       void write(std::ostream &) const override;
        ///
-       void read(Lexer & lex);
+       void read(Lexer & lex) override;
        ///
-       void metrics(MetricsInfo &, Dimension &) const;
+       void metrics(MetricsInfo &, Dimension &) const override;
        ///
-       ColorCode backgroundColor(PainterInfo const &) const;
+       ColorCode backgroundColor(PainterInfo const &) const override;
        ///
-       LyXAlignment contentAlignment() const;
+       LyXAlignment contentAlignment() const override;
        ///
-       bool allowParagraphCustomization(idx_type = 0) const { return !forcePlainLayout(); }
+       bool allowParagraphCustomization(idx_type = 0) const override { return !forcePlainLayout(); }
        ///
-       bool allowMultiPar() const;
+       bool allowMultiPar() const override;
        ///
-       bool forcePlainLayout(idx_type = 0) const;
+       bool forcePlainLayout(idx_type = 0) const override;
        ///
        bool needsCProtection(bool const maintext = false,
-                             bool const fragile = false) const;
+                             bool const fragile = false) const override;
        ///
-       bool neverIndent() const { return true; }
+       bool neverIndent() const override { return true; }
        ///
-       bool inheritFont() const { return false; }
+       bool inheritFont() const override { return false; }
        ///
-       void latex(otexstream &, OutputParams const &) const;
+       void latex(otexstream &, OutputParams const &) const override;
        ///
        int plaintext(odocstringstream & ods, OutputParams const & op,
-                     size_t max_length = INT_MAX) const;
+                     size_t max_length = INT_MAX) const override;
        ///
-       void docbook(XMLStream &, OutputParams const &) const;
+       void docbook(XMLStream &, OutputParams const &) const override;
        ///
-       docstring xhtml(XMLStream &, OutputParams const &) const;
+       docstring xhtml(XMLStream &, OutputParams const &) const override;
        ///
-       void validate(LaTeXFeatures &) const;
+       void validate(LaTeXFeatures &) const override;
        ///
-       bool hasFixedWidth() const;
+       bool hasFixedWidth() const override;
        ///
-       std::string contextMenuName() const;
+       std::string contextMenuName() const override;
        //@}
 
        /// \name Public functions inherited from InsetCollapsible class
        //@{
        ///
-       void setButtonLabel();
+       void setButtonLabel() override;
        //@}
 
 protected:
        /// \name Protected functions inherited from Inset class
        //@{
        ///
-       bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
+       bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const override;
        ///
-       void doDispatch(Cursor & cur, FuncRequest & cmd);
+       void doDispatch(Cursor & cur, FuncRequest & cmd) override;
        ///
-       Inset * clone() const { return new InsetBox(*this); }
+       Inset * clone() const override { return new InsetBox(*this); }
        //@}
 
 private: