ps-out.cpp revision b75f9fb2f4ec7c0ed8686d27b8e9b0661801dfd0
/*
* A quick hack to use the print output to write out a file. This
* then makes 'save as...' Postscript.
*
* Authors:
* Ted Gould <ted@gould.cx>
*
* Copyright (C) 2004 Authors
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include "ps-out.h"
#include <print.h>
namespace Inkscape {
namespace Extension {
namespace Internal {
bool
{
return FALSE;
return TRUE;
}
/**
\brief This function calls the print system with the filename
\param mod unused
\param doc Document to be saved
\param uri Filename to save to (probably will end in .ps)
The most interesting thing that this function does is just attach
an '>' on the front of the filename. This is the syntax used to
tell the printing system to save to file.
*/
void
{
return;
gchar * final_name;
return;
}
#include "clear-n_.h"
/**
\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
{
"<id>org.inkscape.output.ps</id>\n"
"<param name=\"textToPath\" gui-text=\"" N_("Convert texts to paths") "\" type=\"boolean\">true</param>\n"
"<param name=\"fontEmbedded\" gui-text=\"" N_("Embed fonts (Type 1 only)") "\" type=\"boolean\">false</param>\n"
"<output>\n"
"<extension>.ps</extension>\n"
"<mimetype>image/x-postscript</mimetype>\n"
"</output>\n"
"</inkscape-extension>", new PsOutput());
return;
}
} } } /* namespace Inkscape, Extension, Implementation */