3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
6 * \author Angus Leeming
7 * \author Lars Gullik Bjønnes
9 * Full author contact details are available in file CREDITS
15 #pragma implementation
18 #include "insetcommand.h"
20 #include "frontends/Painter.h"
26 InsetCommand::InsetCommand(InsetCommandParams const & p, bool)
27 : p_(p.getCmdName(), p.getContents(), p.getOptions())
31 void InsetCommand::setParams(InsetCommandParams const & p)
33 p_.setCmdName(p.getCmdName());
34 p_.setContents(p.getContents());
35 p_.setOptions(p.getOptions());
39 int InsetCommand::latex(Buffer const *, ostream & os,
40 bool /*fragile*/, bool/*fs*/) const
47 int InsetCommand::ascii(Buffer const *, ostream &, int) const
53 int InsetCommand::linuxdoc(Buffer const *, ostream &) const
59 int InsetCommand::docbook(Buffer const *, ostream &, bool) const