#include <CMXDocument.h>
List of all members.
Static Public Member Functions |
static bool | isSupported (WPXInputStream *input) |
| Analyzes the content of an input stream to see if it can be parsed.
|
static bool | parse (WPXInputStream *input, libwpg::WPGPaintInterface *painter) |
| Parses the input stream content.
|
static bool | generateSVG (WPXInputStream *input, CDRStringVector &output) |
| Parses the input stream content and generates a valid Scalable Vector Graphics Provided as a convenience function for applications that support SVG internally.
|
Member Function Documentation
bool libcdr::CMXDocument::generateSVG |
( |
WPXInputStream * |
input, |
|
|
CDRStringVector & |
output |
|
) |
| |
|
static |
Parses the input stream content and generates a valid Scalable Vector Graphics Provided as a convenience function for applications that support SVG internally.
- Parameters:
-
input | The input stream |
output | The output string whose content is the resulting SVG |
- Returns:
- A value that indicates whether the SVG generation was successful.
Referenced by libcdr::CDRContentCollector::collectVectorPattern().
bool libcdr::CMXDocument::isSupported |
( |
WPXInputStream * |
input | ) |
|
|
static |
Analyzes the content of an input stream to see if it can be parsed.
- Parameters:
-
- Returns:
- A value that indicates whether the content from the input stream is a Corel Draw Document that libcdr is able to parse
Referenced by libcdr::CDRContentCollector::collectVectorPattern().
bool libcdr::CMXDocument::parse |
( |
WPXInputStream * |
input, |
|
|
libwpg::WPGPaintInterface * |
painter |
|
) |
| |
|
static |
Parses the input stream content.
It will make callbacks to the functions provided by a CDRPaintInterface class implementation when needed. This is often commonly called the 'main parsing routine'.
- Parameters:
-
input | The input stream |
painter | A CDRPainterInterface implementation |
- Returns:
- A value that indicates whether the parsing was successful
Referenced by generateSVG().
The documentation for this class was generated from the following files: