MCPcopy Create free account
hub / github.com/KDE/labplot / AbstractOOXmlFile

Function AbstractOOXmlFile

src/3rdparty/QXlsx/source/xlsxcontenttypes.cpp:12–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#include "xlsxcontenttypes_p.h"
11
12QT_BEGIN_NAMESPACE_XLSX
13
14ContentTypes::ContentTypes(CreateFlag flag)
15 :AbstractOOXmlFile(flag)
16{
17 m_package_prefix = QStringLiteral("application/vnd.openxmlformats-package.");
18 m_document_prefix = QStringLiteral("application/vnd.openxmlformats-officedocument.");
19
20 m_defaults.insert(QStringLiteral("rels"), m_package_prefix + QLatin1String("relationships+xml"));
21 m_defaults.insert(QStringLiteral("xml"), QStringLiteral("application/xml"));
22}
23
24void ContentTypes::addDefault(const QString &key, const QString &value)
25{

Callers

nothing calls this directly

Calls 1

insertMethod · 0.80

Tested by

no test coverage detected