libmspub::MSPUBDocument Class Reference

#include <MSPUBDocument.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)
static bool generateSVG (::WPXInputStream *input, MSPUBStringVector &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 libmspub::MSPUBDocument::generateSVG ( ::WPXInputStream *  input,
libmspub::MSPUBStringVector 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:
inputThe input stream
outputThe output string whose content is the resulting SVG
Returns:
A value that indicates whether the SVG generation was successful.
bool libmspub::MSPUBDocument::isSupported ( WPXInputStream *  input) [static]

Analyzes the content of an input stream to see if it can be parsed.

Parameters:
inputThe input stream
Returns:
A value that indicates whether the content from the input stream is a Microsoft Publisher Document that libmspub is able to parse
static bool libmspub::MSPUBDocument::parse ( WPXInputStream *  input,
libwpg::WPGPaintInterface *  painter 
) [static]

Referenced by generateSVG().


The documentation for this class was generated from the following files: