On 11/16/2009 10:01 AM, Jean-Marc Lasgouttes wrote:
rgh...@lyx.org writes:
Author: rgheck
Date: Sat Nov 14 13:54:12 2009
New Revision: 31973
URL: http://www.lyx.org/trac/changeset/31973
Log:
Add TEXT flavor, just in case we need it.
Richard be careful you need to handle it in InsetExternal::validate (the
switch).
In general, I do not see what you want to do with it.
Normally, flavor was about different sorts of latex output. I see it is
abused now.
Well, there were also different flavors of DocBook, right? My sense is
that it gets used whenever we are in some general routine (in
InsetGraphics, say) and want to know what sort of thing we're
outputting. So it might almost be called "Backend", though there are
basically sub-backends in play, too.
If there is some other way to determine the backend from inside
validate(), then I guess I could use that.
Richard