namespace lyx {
+class InsetLabel;
class ParConstIterator;
class RenderPreview;
///
~InsetMathHull();
///
- void addToToc(ParConstIterator const &) const;
+ void setBuffer(Buffer &);
+ ///
+ void updateLabels(ParIterator const &);
+ ///
+ void addToToc(DocIterator const &);
///
InsetMathHull & operator=(InsetMathHull const &);
///
bool numberedType() const;
///
bool ams() const;
- /// Appends \c list with all labels found within this inset.
- void getLabelList(std::vector<docstring> & list) const;
///
void validate(LaTeXFeatures & features) const;
/// identifies HullInset
/// Force inset into LTR environment if surroundings are RTL?
virtual bool forceLTR() const { return true; }
+ ///
+ virtual docstring contextMenu(BufferView const &, int, int) const;
+
protected:
InsetMathHull(InsetMathHull const &);
/// "none", "simple", "display", "eqnarray",...
HullType type_;
///
- std::vector<int> nonum_;
+ std::vector<bool> nonum_;
///
- std::vector<docstring> label_;
+ std::vector<InsetLabel *> label_;
///
boost::scoped_ptr<RenderPreview> preview_;
///