enum Type {
Note,
Comment,
- Greyedout,
- Framed,
- Shaded
+ Greyedout
};
/// \c type defaults to Note
InsetNoteParams();
///
virtual docstring const editMessage() const;
///
- Inset::Code lyxCode() const { return Inset::NOTE_CODE; }
+ InsetCode lyxCode() const { return NOTE_CODE; }
///
docstring name() const;
- /// framed and shaded notes are displayed
+ ///
virtual DisplayType display() const;
///
void write(Buffer const &, std::ostream &) const;
/// show the note dialog
bool showInsetDialog(BufferView * bv) const;
///
+ bool isMacroScope(Buffer const & buf) const;
+ ///
int latex(Buffer const &, odocstream &, OutputParams const &) const;
///
int plaintext(Buffer const &, odocstream &, OutputParams const &) const;
bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
// Update the counters of this inset and of its contents
virtual void updateLabels(Buffer const &, ParIterator const &);
+ ///
+ void addToToc(Buffer const &, ParConstIterator const &) const;
protected:
InsetNote(InsetNote const &);
///