latex-pstricks-out.cpp revision 6b15695578f07a3f72c4c9475c1a261a3021472a
/*
* Authors:
* Michael Forbes <miforbes@mbhs.edu>
*
* Copyright (C) 2004 Authors
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include "latex-pstricks-out.h"
#include "sp-path.h"
#include <print.h>
#include "display/nr-arena.h"
#include "display/nr-arena-item.h"
namespace Inkscape {
namespace Extension {
namespace Internal {
{
return;
}
{
return;
}
bool
{
return FALSE;
return TRUE;
}
void
{
unsigned int ret;
/* Start */
/* fixme: This has to go into module constructor somehow */
/* Create new arena */
/* Print document */
/* Release arena */
/* end */
return;
}
/**
\brief A function allocate a copy of this function.
This is the definition of postscript out. This function just
calls the extension system with the memory allocated XML that
describes the data.
*/
void
LatexOutput::init (void)
{
"<inkscape-extension>\n"
"<name>LaTeX Output</name>\n"
"<id>org.inkscape.output.latex</id>\n"
"<output>\n"
"<extension>.tex</extension>\n"
"<filetypename>LaTeX With PSTricks macros (*.tex)</filetypename>\n"
"<filetypetooltip>LaTeX PSTricks File</filetypetooltip>\n"
"</output>\n"
"</inkscape-extension>", new LatexOutput());
return;
}
} } } /* namespace Inkscape, Extension, Implementation */
/*
Local Variables:
mode:cpp
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :