]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetlabel.h
Some more changes for updating text-insets.
[lyx.git] / src / insets / insetlabel.h
index 6137b5b07b0617d7f143c8eba5a52c41e7a18e6b..eb5bfe1b64c72e7201ab920e00d2ae6a3f260b06 100644 (file)
@@ -5,7 +5,7 @@
  *           LyX, The Document Processor
  *      
  *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-1999 The LyX Team
+ *           Copyright 1995-2000 The LyX Team
  *
  * ====================================================== */
 
@@ -23,6 +23,7 @@
 class InsetLabel : public InsetCommand {
 public:
        ///
+       explicit
        InsetLabel(string const & cmd);
        ///
        InsetLabel() : InsetCommand("label") {}
@@ -31,21 +32,21 @@ public:
        ///
        Inset::Code LyxCode() const { return Inset::LABEL_CODE; }
        ///
-       int GetNumberOfLabels() const;
-       ///
-       string getLabel(int) const;
+       std::vector<string> getLabelList() const;
        ///
        string getScreenLabel() const { return getContents(); }
        ///
-       unsigned char Editable() const { return 0; }
+       EDITABLE Editable() const { return IS_EDITABLE; }
+       ///
+       void Edit(BufferView *, int, int, unsigned int);
        ///
-       int Latex(FILE * file, signed char fragile);
+       int Latex(Buffer const *, std::ostream &, bool fragile, bool free_spc) const;
        ///
-       int Latex(string & file, signed char fragile);
+       int Ascii(Buffer const *, std::ostream &) const;
        ///
-       int Linuxdoc(string & file);
+       int Linuxdoc(Buffer const *, std::ostream &) const;
        ///
-       int DocBook(string & file);
+       int DocBook(Buffer const *, std::ostream &) const;
 private:
        /// This function escapes 8-bit characters
        string escape(string const &) const;