* insettabular.[Ch]:
* insettext.[Ch]: unify first drawing phase
+ * inset.[Ch]:
+ * insetbase.h: move validate() to the base
+
2003-05-31 Angus Leeming <leeming@lyx.org>
* Makefile.am: moved insetwrap.[Ch] into alphabetical order.
}
-void Inset::validate(LaTeXFeatures &) const
-{}
-
-
bool Inset::autoDelete() const
{
return false;
#include <vector>
class LyXFont;
-class Dimension;
class Buffer;
class Painter;
class LatexRunParams;
class WordLangTuple;
class ParagraphList;
-struct LaTeXFeatures;
-
namespace grfx {
class PreviewLoader;
}
virtual int linuxdoc(Buffer const *, std::ostream &) const = 0;
///
virtual int docbook(Buffer const *, std::ostream &, bool) const = 0;
- /// Updates needed features for this inset.
- virtual void validate(LaTeXFeatures & features) const;
/// returns LyX code associated with the inset. Used for TOC, ...)
virtual Inset::Code lyxCode() const { return NO_CODE; }
pos_type pos = 0;
return dispatch(cmd, idx, pos);
}
-
class MetricsInfo;
class Dimension;
class PainterInfo;
+class LaTeXFeatures;
/** Dispatch result codes
DISPATCHED = the inset catched the action
virtual void cache(BufferView *) const {}
///
virtual BufferView * view() const { return 0; }
+ /// request "external features"
+ virtual void validate(LaTeXFeatures &) const {}
};
#endif
* math_*.[Ch]: finish unified two-stage drawing
+ * math_inset.h: move validate to insetbase.h
+
2003-05-28 André Pönitz <poenitz@gmx.net>
* math_*.[Ch]: prepare unified two-stage drawing
class WriteStream;
class InfoStream;
-class LaTeXFeatures;
class BufferView;
class UpdatableInset;
class MathMacroTemplate;
/// identifies things that can get \limits or \nolimits
virtual bool takesLimits() const { return false; }
- /// request "external features"
- virtual void validate(LaTeXFeatures &) const {}
/// char char code if possible
virtual void handleFont(string const &) {}
/// is this inset equal to a given other inset?