// -*- C++ -*-
/* This file is part of*
- * ======================================================
+ * ======================================================
*
* LyX, The Document Processor
- *
+ *
* Copyright 1995 Matthias Ettrich
* Copyright 1995-2001 The LyX Team.
*
/** Used to insert a LaTeX command automatically
*
* Similar to InsetLaTeX but having control of the basic structure of a
- * LaTeX command: \name[options]{contents}.
+ * LaTeX command: \name[options]{contents}.
*/
class InsetCommandParams {
public:
///
void setFromString(string const &);
private:
- ///
+ ///
string cmdname;
- ///
+ ///
string contents;
- ///
+ ///
string options;
};
{ p_.read(lex); }
/// Can remove one InsetBibKey is modified
void scanCommand(string const & c) { p_.scanCommand(c); };
- ///
+ ///
virtual int latex(Buffer const *, std::ostream &,
bool fragile, bool free_spc) const;
///
virtual int docbook(Buffer const *, std::ostream &) const;
///
Inset::Code lyxCode() const { return Inset::NO_CODE; }
-
+
///
string const getCommand() const { return p_.getCommand(); }
///
void setParams(InsetCommandParams const &);
///
SigC::Signal0<void> hideDialog;
- ///
- bool insetButtonRelease(BufferView *, int x, int y, int button);
private:
///