diff options
author | Martin Smith <martin.smith@nokia.com> | 2011-03-25 11:29:10 (GMT) |
---|---|---|
committer | Martin Smith <martin.smith@nokia.com> | 2011-03-25 11:29:10 (GMT) |
commit | fc90a00874ee01d84237a9b0e0fda706da258fdb (patch) | |
tree | b34189842958568cb1d1bb3e4da5f047f37a4cc8 /tools/qdoc3/ditaxmlgenerator.h | |
parent | eee16e58aa0255552a5dab7aa46dae66470e04a5 (diff) | |
download | Qt-fc90a00874ee01d84237a9b0e0fda706da258fdb.zip Qt-fc90a00874ee01d84237a9b0e0fda706da258fdb.tar.gz Qt-fc90a00874ee01d84237a9b0e0fda706da258fdb.tar.bz2 |
qdoc: Added default values to config file for DITA
Also added the handling of these default values:
dita.metadata.default.author = Qt Development Frameworks
dita.metadata.default.permissions = all
dita.metadata.default.publisher = Nokia
dita.metadata.default.copyryear = 2011
dita.metadata.default.copyrholder = Nokia
dita.metadata.default.audience = programmer
Diffstat (limited to 'tools/qdoc3/ditaxmlgenerator.h')
-rw-r--r-- | tools/qdoc3/ditaxmlgenerator.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/qdoc3/ditaxmlgenerator.h b/tools/qdoc3/ditaxmlgenerator.h index 972688a..c7400bb 100644 --- a/tools/qdoc3/ditaxmlgenerator.h +++ b/tools/qdoc3/ditaxmlgenerator.h @@ -447,7 +447,7 @@ class DitaXmlGenerator : public PageGenerator int leaveSection(); bool inSection() const { return (sectionNestingLevel > 0); } int currentSectionNestingLevel() const { return sectionNestingLevel; } - + QString metadataDefault(DitaTag t) const; private: /* @@ -516,6 +516,7 @@ class DitaXmlGenerator : public PageGenerator static QString ditaTags[]; QStack<QXmlStreamWriter*> xmlWriterStack; QStack<DitaTag> tagStack; + QStringMap metadataDefaults; }; #define DITAXMLGENERATOR_ADDRESS "address" |