Lastfiles,
/** This is the list of opened Documents,
typically for the Documents menu. */
- Documents
+ Documents,
+ ///
+ Toc,
+ ///
+ References,
+ /** This is a list of viewable formats
+ typically for the Documents menu. */
+ ViewFormats,
+ /** This is a list of updatable formats
+ typically for the Documents menu. */
+ UpdateFormats,
+ /** This is a list of exportable formats
+ typically for the Documents menu. */
+ ExportFormats
};
/// Create a Command type MenuItem
MenuItem(Kind kind,
///
Menu & add(MenuItem const &);
///
- void read(LyXLex &);
+ Menu & read(LyXLex &);
///
bool menubar() const { return menubar_; }
///
string const & name() const { return name_; }
///
bool empty() const { return items_.empty(); }
+ ///
+ ItemList::size_type size() const { return items_.size(); }
///
const_iterator begin() const {
return items_.begin();
bool menubar_;
///
string name_;
- ///
};
///
bool hasMenu (string const &) const;
///
+ Menu & getMenu (string const &);
+ ///
Menu const & getMenu (string const &) const;
//
bool empty() const { return menulist_.empty(); }