- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

CMXDocument.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 libcdr 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 __CMXDOCUMENT_H__
11 #define __CMXDOCUMENT_H__
12
13 #include <librevenge/librevenge.h>
14 #include "libcdr_api.h"
15
16 namespace libcdr
17 {
18 class CMXDocument
19 {
20 public:
21
22 static CDRAPI bool isSupported(librevenge::RVNGInputStream *input);
23
24 static CDRAPI bool parse(librevenge::RVNGInputStream *input, librevenge::RVNGDrawingInterface *painter);
25 };
26
27 } // namespace libcdr
28
29 #endif // __CMXDOCUMENT_H__
30 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libcdr_api.h
libcdr::CMXDocument::parse
static CDRAPI bool parse(librevenge::RVNGInputStream *input, librevenge::RVNGDrawingInterface *painter)
Parses the input stream content.
Definition: CMXDocument.cpp:57
libcdr::CMXDocument::isSupported
static CDRAPI bool isSupported(librevenge::RVNGInputStream *input)
Analyzes the content of an input stream to see if it can be parsed.
Definition: CMXDocument.cpp:25
libcdr::CMXDocument
Definition: CMXDocument.h:18
libcdr
Definition: CDRCollector.h:29
CDRAPI
#define CDRAPI
Definition: libcdr_api.h:20