You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
705 B
35 lines
705 B
2 years ago
|
// xlsxdocpropscore_p.h
|
||
|
|
||
|
#ifndef XLSXDOCPROPSCORE_H
|
||
|
#define XLSXDOCPROPSCORE_H
|
||
|
|
||
|
#include "xlsxglobal.h"
|
||
|
#include "xlsxabstractooxmlfile.h"
|
||
|
|
||
|
#include <QMap>
|
||
|
#include <QStringList>
|
||
|
|
||
|
class QIODevice;
|
||
|
|
||
|
QT_BEGIN_NAMESPACE_XLSX
|
||
|
|
||
|
class DocPropsCore : public AbstractOOXmlFile
|
||
|
{
|
||
|
public:
|
||
|
explicit DocPropsCore(CreateFlag flag);
|
||
|
|
||
|
bool setProperty(const QString &name, const QString &value);
|
||
|
QString property(const QString &name) const;
|
||
|
QStringList propertyNames() const;
|
||
|
|
||
|
void saveToXmlFile(QIODevice *device) const override;
|
||
|
bool loadFromXmlFile(QIODevice *device) override;
|
||
|
|
||
|
private:
|
||
|
QMap<QString, QString> m_properties;
|
||
|
};
|
||
|
|
||
|
QT_END_NAMESPACE_XLSX
|
||
|
|
||
|
#endif // XLSXDOCPROPSCORE_H
|