#include <VisioDocument.h>
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 | parseStencils (WPXInputStream *input, libwpg::WPGPaintInterface *painter) |
Parses the input stream content and extracts stencil pages, one stencil page per output page. | |
static bool | generateSVG (WPXInputStream *input, VSDStringVector &output) |
Parses the input stream content and generates a valid Scalable Vector Graphics Provided as a convenience function for applications that support SVG internally. | |
static bool | generateSVGStencils (WPXInputStream *input, VSDStringVector &output) |
Parses the input stream content and extracts stencil pages. |
bool libvisio::VisioDocument::generateSVG | ( | WPXInputStream * | input, |
VSDStringVector & | 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.
input | The input stream |
output | The output string whose content is the resulting SVG |
bool libvisio::VisioDocument::generateSVGStencils | ( | WPXInputStream * | input, |
VSDStringVector & | output | ||
) | [static] |
Parses the input stream content and extracts stencil pages.
It generates a valid Scalable Vector Graphics document per stencil. Provided as a convenience function for applications that support SVG internally.
input | The input stream |
output | The output string whose content is the resulting SVG |
bool libvisio::VisioDocument::isSupported | ( | WPXInputStream * | input | ) | [static] |
Analyzes the content of an input stream to see if it can be parsed.
input | The input stream |
bool libvisio::VisioDocument::parse | ( | WPXInputStream * | input, |
libwpg::WPGPaintInterface * | painter | ||
) | [static] |
Parses the input stream content.
It will make callbacks to the functions provided by a WPGPaintInterface class implementation when needed. This is often commonly called the 'main parsing routine'.
input | The input stream |
painter | A WPGPainterInterface implementation |
Referenced by generateSVG().
bool libvisio::VisioDocument::parseStencils | ( | WPXInputStream * | input, |
libwpg::WPGPaintInterface * | painter | ||
) | [static] |
Parses the input stream content and extracts stencil pages, one stencil page per output page.
It will make callbacks to the functions provided by a WPGPaintInterface class implementation when needed.
input | The input stream |
painter | A WPGPainterInterface implementation |
Referenced by generateSVGStencils().