add dummy plaintext method to InsetOptArg

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9932 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2005-05-11 09:47:54 +00:00
parent 31bded06b1
commit 9af734ff8a
3 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2005-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* insetoptarg.C (plaintext): add dummy method.
2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* insetbase.h (doDispatch): document a bit more

View File

@ -83,6 +83,13 @@ int InsetOptArg::docbook(Buffer const &, ostream &,
}
int InsetOptArg::plaintext(Buffer const &, ostream &,
OutputParams const &) const
{
return 0;
}
int InsetOptArg::latexOptional(Buffer const & buf, ostream & os,
OutputParams const & runparams) const
{

View File

@ -39,6 +39,10 @@ public:
int linuxdoc(Buffer const &, std::ostream &,
OutputParams const &) const;
/// Standard plain text output -- short-circuited
int plaintext(Buffer const &, std::ostream &,
OutputParams const &) const;
/// Outputting the optional parameter of a LaTeX command
int latexOptional(Buffer const &, std::ostream &,
OutputParams const &) const;