Mercurial > clickerconvert
diff src/cconvert_options.h @ 23:927794e3cc52
Add HTML output and some pdf support
PDF does not look well as the CSS used for HTML is not supported.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 11 Apr 2016 11:00:40 +0200 |
parents | 0b66b10a287d |
children | 5354cbda7188 |
line wrap: on
line diff
--- a/src/cconvert_options.h Mon Apr 11 10:59:08 2016 +0200 +++ b/src/cconvert_options.h Mon Apr 11 11:00:40 2016 +0200 @@ -17,9 +17,10 @@ { QList<QCommandLineOption> options; - options /*<< QCommandLineOption(QStringList() << QStringLiteral("pdf") - << QStringLiteral("p"), - QObject::tr("Output as pdf (default xlsx)")) */ + options << QCommandLineOption(QStringList() << QStringLiteral("format") + << QStringLiteral("f"), + QObject::tr("Output format (default xlsx)."), + QStringLiteral("xlsx pdf html")) << QCommandLineOption(QStringList() << QStringLiteral("output") << QStringLiteral("o"), QObject::tr("write output to file (default stdout)"),