* LyX, The Document Processor
*
* Copyright 1995 Matthias Ettrich
- * Copyright 1995-1999 The LyX Team
+ * Copyright 1995-2000 The LyX Team
*
* ====================================================== */
class InsetLabel : public InsetCommand {
public:
///
+ explicit
InsetLabel(string const & cmd);
///
InsetLabel() : InsetCommand("label") {}
///
EDITABLE Editable() const { return NOT_EDITABLE; }
///
- int Latex(ostream &, signed char fragile) const;
-#ifndef USE_OSTREAM_ONLY
+ int Latex(std::ostream &, bool fragile, bool free_spc) const;
///
- int Latex(string & file, signed char fragile) const;
+ int Ascii(std::ostream &) const;
///
- int Linuxdoc(string & file) const;
+ int Linuxdoc(std::ostream &) const;
///
- int DocBook(string & file) const;
-#else
- ///
- int Linuxdoc(ostream &) const;
- ///
- int DocBook(ostream &) const;
-#endif
+ int DocBook(std::ostream &) const;
private:
/// This function escapes 8-bit characters
string escape(string const &) const;