#include "ExternalTemplate.h"
#include "lyxlex.h"
+#include "debug.h"
#include "support/path.h"
#include "support/LAssert.h"
+#include "support/filetools.h"
using std::endl;
using std::ostream;
: viewCommand("true"), editCommand("true")
{}
+
ExternalTemplate::FormatTemplate::FormatTemplate()
: updateCommand("true") {}
for_each(formats.begin(), formats.end(), dumpFormat(os));
}
+
void ExternalTemplateManager::dumpTemplates() const
{
for_each(templates.begin(), templates.end(), dumpTemplate(lyxerr));
}
while (lex.IsOK()) {
- switch(lex.lex()) {
+ switch (lex.lex()) {
case TM_TEMPLATE: {
lex.next();
string temp = lex.GetString();
pushpophelper pph(lex, formattags, FO_END);
while (lex.IsOK()) {
- switch(lex.lex()) {
+ switch (lex.lex()) {
case FO_PRODUCT:
lex.next(true);
product = lex.GetString();