]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetlabel.h
reformatting and remove using delc
[lyx.git] / src / insets / insetlabel.h
index e906b866c9277b3b117316a69cd78297ec14536c..87211ae6fe600aacd986174a9d4d98e7200c326a 100644 (file)
 #endif
 
 #include "insetcommand.h"
-#include "LString.h"
 
-///
 class InsetLabel : public InsetCommand {
 public:
        ///
-       InsetLabel(string const & cmd);
+       InsetLabel(InsetCommandParams const &);
        ///
-       InsetLabel() : InsetCommand("label") {}
+       Inset * Clone(Buffer const &) const { return new InsetLabel(params()); }
        ///
-       Inset * Clone() const;
+       string const getScreenLabel() const { return getContents(); }
        ///
-       Inset::Code LyxCode() const { return Inset::LABEL_CODE; }
+       EDITABLE Editable() const { return IS_EDITABLE; }
        ///
-       int GetNumberOfLabels() const;
+       Inset::Code LyxCode() const { return Inset::LABEL_CODE; }
        ///
-       string getLabel(int) const;
+       void Edit(BufferView *, int, int, unsigned int);
        ///
-       string getScreenLabel() const { return getContents(); }
+       std::vector<string> const getLabelList() const;
        ///
-       EDITABLE Editable() const { return NOT_EDITABLE; }
+       int Latex(Buffer const *, std::ostream &,
+                 bool fragile, bool free_spc) const;
        ///
-       int Latex(ostream &, signed char fragile, bool free_spc) const;
+       int Ascii(Buffer const *, std::ostream &, int linelen) const;
        ///
-       int Linuxdoc(ostream &) const;
+       int Linuxdoc(Buffer const *, std::ostream &) const;
        ///
-       int DocBook(ostream &) const;
+       int DocBook(Buffer const *, std::ostream &) const;
 private:
        /// This function escapes 8-bit characters
-       string escape(string const &) const;
+       string const escape(string const &) const;
 };
 
 #endif