std::string short_gui_name;
};
static const type_info types[];
- ///
- static int getType(std::string const & name);
- ///
- static std::string const & getName(int type);
///
InsetRef(Buffer * buffer, InsetCommandParams const &);
+ ///
+ void changeTarget(docstring const & new_label);
+
/// \name Public functions inherited from Inset class
//@{
///
+ docstring layoutName() const;
+ ///
void doDispatch(Cursor & cur, FuncRequest & cmd);
///
bool getStatus(Cursor & cur, FuncRequest const & cmd, FuncStatus & status) const;
int plaintext(odocstringstream & ods, OutputParams const & op,
size_t max_length = INT_MAX) const;
///
- int docbook(odocstream &, OutputParams const &) const;
+ void docbook(XMLStream &, OutputParams const &) const;
///
- docstring xhtml(XHTMLStream &, OutputParams const &) const;
+ docstring xhtml(XMLStream &, OutputParams const &) const;
///
void toString(odocstream &) const;
///
///
void validate(LaTeXFeatures & features) const;
///
- void updateBuffer(ParIterator const & it, UpdateType);
+ void updateBuffer(ParIterator const & it, UpdateType, bool const deleted = false);
///
void addToToc(DocIterator const & di, bool output_active,
UpdateType utype, TocBackend & backend) const;
///
- bool forceLTR() const { return true; }
+ bool forceLTR(OutputParams const &) const;
//@}
/// \name Static public methods obligated for InsetCommand derived classes
///
static bool isCompatibleCommand(std::string const & s);
//@}
+ ///
+ bool outputActive() const { return active_; }
protected:
///
///
mutable bool broken_;
///
+ mutable bool active_;
+ ///
mutable docstring tooltip_;
};