CDRDocument.h Source File documentation

CDRDocument.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 __CDRDOCUMENT_H__
11 #define __CDRDOCUMENT_H__
12
13 #include <librevenge/librevenge.h>
14 #include "libcdr_api.h"
15
16 namespace libcdr
17 {
18 class CDRDocument
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 // __CDRDOCUMENT_H__
30 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libcdr::CDRDocument::parse
static CDRAPI bool parse(librevenge::RVNGInputStream *input, librevenge::RVNGDrawingInterface *painter)
Parses the input stream content.
Definition: CDRDocument.cpp:102
libcdr::CDRDocument
Definition: CDRDocument.h:18
libcdr_api.h
libcdr
Definition: CDRCollector.h:24
libcdr::CDRDocument::isSupported
static CDRAPI bool isSupported(librevenge::RVNGInputStream *input)
Analyzes the content of an input stream to see if it can be parsed.
Definition: CDRDocument.cpp:62
CDRAPI
#define CDRAPI
Definition: libcdr_api.h:23