+ /** return the template by LyX name.
+ * If it isn't found, return 0.
+ */
+ Template const * getTemplateByName(std::string const & name) const;
+ /** return the preamble definition by LyX name.
+ * If it isn't found, return an empty std::string.
+ */
+ std::string const getPreambleDefByName(std::string const & name) const;