1 /* This file is part of
2 * ======================================================
4 * LyX, The Document Processor
6 * Copyright 1995 Matthias Ettrich
7 * Copyright 1995-2001 The LyX Team.
9 * ====================================================== */
14 #pragma implementation
17 #include "insetcommand.h"
19 #include "frontends/Painter.h"
25 InsetCommand::InsetCommand(InsetCommandParams const & p, bool)
26 : p_(p.getCmdName(), p.getContents(), p.getOptions())
30 void InsetCommand::setParams(InsetCommandParams const & p)
32 p_.setCmdName(p.getCmdName());
33 p_.setContents(p.getContents());
34 p_.setOptions(p.getOptions());
38 int InsetCommand::latex(Buffer const *, ostream & os,
39 bool /*fragile*/, bool/*fs*/) const
46 int InsetCommand::ascii(Buffer const *, ostream &, int) const
52 int InsetCommand::linuxdoc(Buffer const *, ostream &) const
58 int InsetCommand::docbook(Buffer const *, ostream &, bool) const