*
* LyX, The Document Processor
*
- * Copyright (C) 1997 LyX Team (this file was created this year)
+ * Copyright 1997 LyX Team (this file was created this year)
*
* ====================================================== */
///
void Edit(BufferView *, int x, int y, unsigned int button);
///
- unsigned char Editable() const
+ EDITABLE Editable() const
{
- return 1;
+ return IS_EDITABLE;
}
/// With lyx3 we won't overload these 3 methods
- void Write(ostream &) const;
+ void Write(std::ostream &) const;
///
void Read(LyXLex &);
///
- int Latex(ostream &, signed char fragile) const;
-#ifndef USE_OSTREAM_ONLY
- ///
- int Latex(string & file, signed char fragile) const;
-#endif
+ int Latex(std::ostream &, bool fragile, bool free_spc) const;
///
void Validate(LaTeXFeatures &) const;
/// Input inserts anything inside a paragraph, Display can give some visual feedback
- bool display() const { return !(isInput()); }
+ bool display() const;
///
string getScreenLabel() const;
///
- void setContents(string const & c) {
- InsetCommand::setContents(c);
- filename = MakeAbsPath(contents,
- OnlyPath(getMasterFilename()));
- }
+ void setContents(string const & c);
///
void setFilename(string const & n) { setContents(n); }
///