- string requirement;
- /// What should be inserted into the preamble
- string preamble;
- ///
- void readFormat(LyXLex &);
- /// This constructor has to default a command for safety reasons!
- FormatTemplate();
+ std::vector<std::string> requirements;
+ /// A collection of preamble snippets identified by name.
+ std::vector<std::string> preambleNames;
+ /// A list of options to the basic command.
+ std::vector<Option> options;
+
+ /// The factory functions for each supported transformation.
+ std::map<TransformID, TransformStore> command_transformers;
+ std::map<TransformID, TransformStore> option_transformers;
+
+ typedef std::map<std::string,
+ std::vector<std::string> > FileMap;
+ /// Referenced files for some formats
+ FileMap referencedFiles;