#ifndef INSETBRANCH_H
#define INSETBRANCH_H
-#include "InsetCollapsable.h"
+#include "InsetCollapsible.h"
namespace lyx {
/// The Branch inset for alternative, conditional output.
-class InsetBranch : public InsetCollapsable
+class InsetBranch : public InsetCollapsible
{
public:
///
///
std::string contextMenuName() const;
///
- void addToToc(DocIterator const & di, bool output_active,
- UpdateType utype) const;
+ void updateBuffer(ParIterator const & it, UpdateType utype);
///
void setParams(InsetBranchParams const & params) { params_ = params; }
* Note that Branch insets are considered part of the
* document when they are selected XOR inverted.
*/
- bool producesOutput(bool const child = false) const;
+ bool producesOutput() const;
///
bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
///