void updateBuffer(ParIterator const &, UpdateType);
///
void addToToc(DocIterator const & di, bool output_active,
- UpdateType utype) const;
+ UpdateType utype, TocBackend & backend) const;
///
InsetMathHull & operator=(InsetMathHull const &);
///
///
bool ams() const;
///
+ bool outerDisplay() const;
+ ///
void validate(LaTeXFeatures & features) const;
/// identifies HullInset
InsetMathHull const * asHullInset() const { return this; }
InsetCode lyxCode() const { return MATH_HULL_CODE; }
///
bool canPaintChange(BufferView const &) const;
+ ///
+ bool confirmDeletion() const { return nargs() != 1 || !cell(0).empty(); }
protected:
InsetMathHull(InsetMathHull const &);
/// do we want to handle this event?
bool getStatus(Cursor & cur, FuncRequest const & cmd,
FuncStatus & status) const;
+ /// override to set to 0 for inline equation
+ int leftMargin() const;
+ /// override to set to 0 for inline equation
+ int rightMargin() const;
+ /// override to set to 0 for inline equation
+ int border() const;
///
docstring eolString(row_type row, bool fragile, bool latex,
bool last_eoln) const;
Inset * editXY(Cursor & cur, int x, int y);
///
DisplayType display() const;
+ ///
+ int indent(BufferView const &) const;
protected:
///