///
void validate(LaTeXFeatures &) const;
///
+ void addToToc(DocIterator const &);
+ ///
InsetBranchParams const & params() const { return params_; }
///
void setParams(InsetBranchParams const & params) { params_ = params; }
+ ///
+ virtual bool usePlainLayout() { return false; }
/** \returns true if params_.branch is listed as 'selected' in
\c buffer. This handles the case of child documents.
*/
bool isBranchSelected() const;
+ /*!
+ * Is the content of this inset part of the output document?
+ *
+ * Note that Branch insets are only considered part of the
+ * document when they are selected.
+ */
+ bool producesOutput() const { return isBranchSelected(); }
///
bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
///
- void updateLabels(ParIterator const &);
- ///
bool isMacroScope() const;
///
docstring toolTip(BufferView const & bv, int x, int y) const;
///
- bool useEmptyLayout() const { return false; }
+ bool usePlainLayout() const { return false; }
///
void doDispatch(Cursor & cur, FuncRequest & cmd);
///