41 explicit Svgout(
const Configuration *
const *configuration,
const wxString &filename = {},
double scale = 1.0);
43 const wxString &filename = {},
double scale = 1.0);
51 wxSize
Render(std::unique_ptr<Cell> &&tree);
53 wxSize GetSize()
const {
return m_size; }
54 bool IsOk()
const {
return m_isOk; }
63 std::unique_ptr<Cell> m_tree;
65 wxSVGFileDC m_recalculationDc;
66 wxSize m_size = wxDefaultSize;
78 static const wxDataFormat m_svgFormat;
This is the header for common code used by various file output modules that render cells to files.
The configuration storage for the current worksheet.
Definition: Configuration.h:85
A collection of common code used in rendering the cells to a non-default output, e....
Definition: OutCommon.h:43
bool ToClipboard()
Copies the svg representation of the list of cells that was passed to SetData()
Definition: SVGout.cpp:103
wxSize Render(std::unique_ptr< Cell > &&tree)
Renders tree as svg.
Definition: SVGout.cpp:69
std::unique_ptr< wxCustomDataObject > GetDataObject()
Returns the svg representation in a format that can be placed on the clipBoard.
Definition: SVGout.cpp:99