! Set the document properties such as Title, Author etc. The method can be used to set the document properties of the Excel file created by Qt Xlsx. These properties are visible when you use the Office Button -> Prepare -> Properties option in Excel and are also available to external applications that read or index windows files. The \a property \a key that can be set are: \list \li tit
| 1076 | \endlist |
| 1077 | */ |
| 1078 | void Document::setDocumentProperty(const QString &key, const QString &property) |
| 1079 | { |
| 1080 | Q_D(Document); |
| 1081 | d->documentProperties[key] = property; |
| 1082 | } |
| 1083 | |
| 1084 | /*! |
| 1085 | * Returns the names of all properties that were addedusing setDocumentProperty(). |