#include "DocIterator.h"
#include "OutputEnums.h"
-#include <boost/scoped_ptr.hpp>
+#include "support/unique_ptr.h"
namespace lyx {
///
bool ams() const;
///
+ bool outerDisplay() const;
+ ///
void validate(LaTeXFeatures & features) const;
/// identifies HullInset
InsetMathHull const * asHullInset() const { return this; }
/// get type
HullType getType() const;
+ /// is mutation implemented for this type?
+ static bool isMutable(HullType type);
/// change type
void mutate(HullType newtype);
///
int defaultColSpace(col_type col);
///
+ int displayColSpace(col_type col) const;
+ ///
char defaultColAlign(col_type col);
///
char displayColAlign(idx_type idx) const;
std::string contextMenuName() const;
///
InsetCode lyxCode() const { return MATH_HULL_CODE; }
+ ///
+ bool canPaintChange(BufferView const &) const;
protected:
InsetMathHull(InsetMathHull const &);
/// change number of columns, split or combine columns if necessary.
void changeCols(col_type);
///
- docstring standardFont() const;
+ std::string standardFont() const;
///
ColorCode standardColor() const;
/// consistency check
void check() const;
+ /// does it understand tabular-feature commands?
+ bool allowsTabularFeatures() const;
/// can this change its number of rows?
bool rowChangeOK() const;
/// can this change its number of cols?
///
std::vector<InsetLabel *> label_;
///
- boost::scoped_ptr<RenderPreview> preview_;
- ///
- mutable bool use_preview_;
+ unique_ptr<RenderPreview> preview_;
///
DocIterator docit_;
///