From 9af734ff8af5773027fa19eb106931f477c17080 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Wed, 11 May 2005 09:47:54 +0000 Subject: [PATCH] add dummy plaintext method to InsetOptArg git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9932 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/ChangeLog | 4 ++++ src/insets/insetoptarg.C | 7 +++++++ src/insets/insetoptarg.h | 4 ++++ 3 files changed, 15 insertions(+) diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index b6f316e330..3756e088e8 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,7 @@ +2005-04-29 Jean-Marc Lasgouttes + + * insetoptarg.C (plaintext): add dummy method. + 2005-05-09 Georg Baum * insetbase.h (doDispatch): document a bit more diff --git a/src/insets/insetoptarg.C b/src/insets/insetoptarg.C index ab65abf6b0..e000029152 100644 --- a/src/insets/insetoptarg.C +++ b/src/insets/insetoptarg.C @@ -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 { diff --git a/src/insets/insetoptarg.h b/src/insets/insetoptarg.h index 292732b83c..8030e2dbd5 100644 --- a/src/insets/insetoptarg.h +++ b/src/insets/insetoptarg.h @@ -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;