mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@58310 954022d7-b5bf-4e40-9824-e11837661b57
103 lines
3.8 KiB
C++
103 lines
3.8 KiB
C++
#pragma once
|
|
#ifndef OOX_NAMESPACES_INCLUDE_H_
|
|
#define OOX_NAMESPACES_INCLUDE_H_
|
|
|
|
#include "../../../Common/DocxFormat/Source/Base/Base.h"
|
|
#include <atlstr.h>
|
|
|
|
namespace PPTX
|
|
{
|
|
class Namespace
|
|
{
|
|
public:
|
|
CString m_strName;
|
|
CString m_strLink;
|
|
|
|
public:
|
|
Namespace(LPCSTR sName, LPCSTR sLink) : m_strName(sName), m_strLink(sLink)
|
|
{
|
|
}
|
|
Namespace(LPCWSTR sName, LPCWSTR sLink) : m_strName(sName), m_strLink(sLink)
|
|
{
|
|
}
|
|
};
|
|
|
|
class Namespaces
|
|
{
|
|
public:
|
|
Namespaces() : a("a", "http://schemas.openxmlformats.org/drawingml/2006/main"),
|
|
b("b", "http://schemas.openxmlformats.org/officeDocument/2006/bibliography"),
|
|
cdr("cdr", "http://schemas.openxmlformats.org/drawingml/2006/chartDrawing"),
|
|
cp("cp", "http://schemas.openxmlformats.org/package/2006/metadata/core-properties"),
|
|
dc("dc", "http://purl.org/dc/elements/1.1/"),
|
|
dchrt("dchrt", "http://schemas.openxmlformats.org/drawingml/2006/chart"),
|
|
dcmitype("dcmitype", "http://purl.org/dc/dcmitype/"),
|
|
dcterms("dcterms", "http://purl.org/dc/terms/"),
|
|
ddgrm("ddgrm", "http://schemas.openxmlformats.org/drawingml/2006/diagram"),
|
|
dgm("dgm", "http://schemas.openxmlformats.org/drawingml/2006/diagram"),
|
|
dlckcnv("dlckcnv", "http://schemas.openxmlformats.org/drawingml/2006/lockedCanvas"),
|
|
dpct("dpct", "http://schemas.openxmlformats.org/drawingml/2006/picture"),
|
|
ds("ds", "http://schemas.openxmlformats.org/officeDocument/2006/customXml"),
|
|
m("m", "http://schemas.openxmlformats.org/officeDocument/2006/math"),
|
|
o("o", "urn:schemas-microsoft-com:office:office"),
|
|
p("p", "http://schemas.openxmlformats.org/presentationml/2006/main"),
|
|
pic("pic", "http://schemas.openxmlformats.org/drawingml/2006/picture"),
|
|
pvml("pvml", "urn:schemas-microsoft-com:office:powerpoint"),
|
|
r("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"),
|
|
s("s", "http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes"),
|
|
sl("sl", "http://schemas.openxmlformats.org/schemaLibrary/2006/main"),
|
|
v("v", "urn:schemas-microsoft-com:vml"),
|
|
ve("ve", "http://schemas.openxmlformats.org/markup-compatibility/2006"),
|
|
vp("vp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"),
|
|
vt("vt", "http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"),
|
|
w("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main"),
|
|
w10("w10", "urn:schemas-microsoft-com:office:word"),
|
|
wne("wne", "http://schemas.microsoft.com/office/word/2006/wordml"),
|
|
wp("wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"),
|
|
x("x", "urn:schemas-microsoft-com:office:excel"),
|
|
xdr("xdr", "http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"),
|
|
xmlns("xmlns", "http://schemas.openxmlformats.org/officeDocument/2006/extended-properties"),
|
|
xsd("xsd", "http://www.w3.org/2001/XMLSchema"),
|
|
xsi("xsi", "http://www.w3.org/2001/XMLSchema-instance")
|
|
{
|
|
}
|
|
|
|
public:
|
|
const Namespace a;
|
|
const Namespace b;
|
|
const Namespace cdr;
|
|
const Namespace cp;
|
|
const Namespace dc;
|
|
const Namespace dchrt;
|
|
const Namespace dcmitype;
|
|
const Namespace dcterms;
|
|
const Namespace ddgrm;
|
|
const Namespace dgm;
|
|
const Namespace dlckcnv;
|
|
const Namespace dpct;
|
|
const Namespace ds;
|
|
const Namespace m;
|
|
const Namespace o;
|
|
const Namespace p;
|
|
const Namespace pic;
|
|
const Namespace pvml;
|
|
const Namespace r;
|
|
const Namespace s;
|
|
const Namespace sl;
|
|
const Namespace v;
|
|
const Namespace ve;
|
|
const Namespace vp;
|
|
const Namespace vt;
|
|
const Namespace w;
|
|
const Namespace w10;
|
|
const Namespace wne;
|
|
const Namespace wp;
|
|
const Namespace x;
|
|
const Namespace xdr;
|
|
const Namespace xmlns;
|
|
const Namespace xsd;
|
|
const Namespace xsi;
|
|
};
|
|
} // namespace PPTX
|
|
|
|
#endif // OOX_NAMESPACES_INCLUDE_H_
|