comparison 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
comparison
equal deleted inserted replaced
22:e8320104979d 23:927794e3cc52
15 15
16 static void cconvert_options(QCommandLineParser &parser) 16 static void cconvert_options(QCommandLineParser &parser)
17 { 17 {
18 QList<QCommandLineOption> options; 18 QList<QCommandLineOption> options;
19 19
20 options /*<< QCommandLineOption(QStringList() << QStringLiteral("pdf") 20 options << QCommandLineOption(QStringList() << QStringLiteral("format")
21 << QStringLiteral("p"), 21 << QStringLiteral("f"),
22 QObject::tr("Output as pdf (default xlsx)")) */ 22 QObject::tr("Output format (default xlsx)."),
23 QStringLiteral("xlsx pdf html"))
23 << QCommandLineOption(QStringList() << QStringLiteral("output") 24 << QCommandLineOption(QStringList() << QStringLiteral("output")
24 << QStringLiteral("o"), 25 << QStringLiteral("o"),
25 QObject::tr("write output to file (default stdout)"), 26 QObject::tr("write output to file (default stdout)"),
26 QObject::tr("file")) 27 QObject::tr("file"))
27 << QCommandLineOption(QStringList() << QStringLiteral("title") 28 << QCommandLineOption(QStringList() << QStringLiteral("title")
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)