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 <libwpd/libwpd.h>
14 #include <libwpg/libwpg.h>
15 #include "CDRStringVector.h"
16 
17 class WPXInputStream;
18 
19 namespace libcdr
20 {
22 {
23 public:
24 
25  static bool isSupported(WPXInputStream *input);
26 
27  static bool parse(WPXInputStream *input, libwpg::WPGPaintInterface *painter);
28 
29  static bool generateSVG(WPXInputStream *input, CDRStringVector &output);
30 };
31 
32 } // namespace libcdr
33 
34 #endif // __CDRDOCUMENT_H__
35 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
static bool generateSVG(WPXInputStream *input, CDRStringVector &output)
Parses the input stream content and generates a valid Scalable Vector Graphics Provided as a convenie...
Definition: CDRDocument.cpp:242
static bool parse(WPXInputStream *input, libwpg::WPGPaintInterface *painter)
Parses the input stream content.
Definition: CDRDocument.cpp:109
Definition: CDRDocument.h:21
static bool isSupported(WPXInputStream *input)
Analyzes the content of an input stream to see if it can be parsed.
Definition: CDRDocument.cpp:64
Definition: CDRStringVector.h:19

Generated for libcdr by doxygen 1.8.6