]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetIPA.h
Fix use of std::regex_match
[lyx.git] / src / insets / InsetIPA.h
index 84db92e457bfef3ba2421061161b3756e2ddaa53..695179738f400581467e15d451341fb131e35200 100644 (file)
@@ -29,10 +29,10 @@ namespace graphics {
 
 /// An IPA inset with instant preview
 class InsetIPA : public InsetText {
-       
+
 public:
        ///
-       InsetIPA(Buffer *);
+       explicit InsetIPA(Buffer *);
        ///
        ~InsetIPA();
        ///
@@ -47,11 +47,11 @@ public:
        bool neverIndent() const { return true; }
 
        bool forceLocalFontSwitch() const { return true; }
-       
+
        InsetCode lyxCode() const { return IPA_CODE; }
-       
+
        docstring layoutName() const { return from_ascii("IPA"); }
-       
+
        bool descendable(BufferView const & /*bv*/) const { return true; }
 
        void metrics(MetricsInfo & mi, Dimension & dim) const;
@@ -73,11 +73,13 @@ public:
        void write(std::ostream & os) const;
 
        void edit(Cursor & cur, bool front, EntryDirection entry_from);
-       
+
        ///
        void latex(otexstream &, OutputParams const &) const;
        ///
-       docstring xhtml(XHTMLStream & xs, OutputParams const &) const;
+       void docbook(XMLStream &, OutputParams const &) const;
+       ///
+       docstring xhtml(XMLStream & xs, OutputParams const &) const;
        ///
        void validate(LaTeXFeatures & features) const;
        ///
@@ -85,10 +87,10 @@ public:
        ///
        bool insetAllowed(InsetCode code) const;
        //@}
-       
+
 protected:
        /// Retrieves the preview state. Returns true if preview
-       /// is enabled and the preview image is availabled.
+       /// is enabled and the preview image is available.
        bool previewState(BufferView * bv) const;
        /// Recreates the preview if preview is enabled.
        void reloadPreview(DocIterator const & pos) const;