VSDXMetaData.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3 * This file is part of the libvisio project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10 #ifndef __VSDXMETADATA_H__
11 #define __VSDXMETADATA_H__
12
13 #include <librevenge-stream/librevenge-stream.h>
14 #include "VSDXMLHelper.h"
15
16 namespace libvisio
17 {
18
20 class VSDXMetaData
21 {
22 public:
23 VSDXMetaData();
24 ~VSDXMetaData();
25 bool parse(librevenge::RVNGInputStream *input);
26 const librevenge::RVNGPropertyList &getMetaData();
27
28 private:
29 VSDXMetaData(const VSDXMetaData &);
30 VSDXMetaData &operator=(const VSDXMetaData &);
31
32 int getElementToken(xmlTextReaderPtr reader);
33 void readCoreProperties(xmlTextReaderPtr reader);
34 librevenge::RVNGString readString(xmlTextReaderPtr reader, int stringTokenId);
35
36 librevenge::RVNGPropertyList m_metaData;
37 };
38
39 } // namespace libvisio
40
41 #endif // __VSDXMETADATA_H__
42 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libvisio::VSDXMetaData::readString
librevenge::RVNGString readString(xmlTextReaderPtr reader, int stringTokenId)
Definition: VSDXMetaData.cpp:26
VSDXMLHelper.h
libvisio::VSDXMetaData::~VSDXMetaData
~VSDXMetaData()
Definition: VSDXMetaData.cpp:22
libvisio::VSDXMetaData::readCoreProperties
void readCoreProperties(xmlTextReaderPtr reader)
Definition: VSDXMetaData.cpp:44
libvisio::VSDXMetaData::getMetaData
const librevenge::RVNGPropertyList & getMetaData()
Definition: VSDXMetaData.cpp:160
libvisio::VSDXMetaData::getElementToken
int getElementToken(xmlTextReaderPtr reader)
Definition: VSDXMetaData.cpp:155
libvisio::VSDXMetaData::m_metaData
librevenge::RVNGPropertyList m_metaData
Definition: VSDXMetaData.h:36
libvisio::VSDXMetaData::VSDXMetaData
VSDXMetaData()
Definition: VSDXMetaData.cpp:17
libvisio::VSDXMetaData
Parses docProps/core.xml stream of a VSDX file.
Definition: VSDXMetaData.h:20
libvisio
Definition: libvisio_utils.h:48
libvisio::VSDXMetaData::parse
bool parse(librevenge::RVNGInputStream *input)
Definition: VSDXMetaData.cpp:115
libvisio::VSDXMetaData::operator=
VSDXMetaData & operator=(const VSDXMetaData &)