#include "path-prefix.h"
#include <png.h>
#include <gtk/gtkmessagedialog.h>
#include <cstring>
#include <string>
#include <locale.h>
#include <stdlib.h>
#include <popt.h>
#include <libxml/tree.h>
#include <glib.h>
#include <glib/gprintf.h>
#include <glib-object.h>
#include <gtk/gtk.h>
#include <gtk/gtkmain.h>
#include <gtk/gtksignal.h>
#include <gtk/gtkwindow.h>
#include <gtk/gtkbox.h>
#include "gc-core.h"
#include "macros.h"
#include "file.h"
#include "document.h"
#include "sp-object.h"
#include "interface.h"
#include "print.h"
#include "color.h"
#include "sp-item.h"
#include "sp-root.h"
#include "unit-constants.h"
#include "svg/svg.h"
#include "svg/svg-color.h"
#include "svg/stringstream.h"
#include "inkscape-private.h"
#include "inkscape-version.h"
#include "sp-namedview.h"
#include "sp-guide.h"
#include "sp-object-repr.h"
#include "xml/repr.h"
#include "io/sys.h"
#include "debug/logger.h"
#include "debug/log-display-config.h"
#include "helper/png-write.h"
#include "helper/geom.h"
#include <extension/extension.h>
#include <extension/system.h>
#include <extension/db.h>
#include <extension/output.h>
#include <extension/input.h>
#include "extension/init.h"
#include <glibmm/i18n.h>
#include <gtkmm/main.h>
#include "application/application.h"
#include "main-cmdlineact.h"
#include "widgets/icon.h"
#include "ui/widget/panel.h"
#include <errno.h>
Go to the source code of this file.
Defines | |
#define | __MAIN_C__ |
#define | bind_textdomain_codeset(p, c) |
#define | POPT_TABLEEND { NULL, '\0', 0, 0, 0, NULL, NULL } |
Enumerations | |
enum | { SP_ARG_NONE, SP_ARG_NOGUI, SP_ARG_GUI, SP_ARG_FILE, SP_ARG_PRINT, SP_ARG_EXPORT_PNG, SP_ARG_EXPORT_DPI, SP_ARG_EXPORT_AREA, SP_ARG_EXPORT_AREA_DRAWING, SP_ARG_EXPORT_AREA_PAGE, SP_ARG_EXPORT_AREA_SNAP, SP_ARG_EXPORT_WIDTH, SP_ARG_EXPORT_HEIGHT, SP_ARG_EXPORT_ID, SP_ARG_EXPORT_ID_ONLY, SP_ARG_EXPORT_USE_HINTS, SP_ARG_EXPORT_BACKGROUND, SP_ARG_EXPORT_BACKGROUND_OPACITY, SP_ARG_EXPORT_SVG, SP_ARG_EXPORT_PS, SP_ARG_EXPORT_EPS, SP_ARG_EXPORT_PDF, SP_ARG_EXPORT_LATEX, SP_ARG_EXPORT_TEXT_TO_PATH, SP_ARG_EXPORT_IGNORE_FILTERS, SP_ARG_EXTENSIONDIR, SP_ARG_QUERY_X, SP_ARG_QUERY_Y, SP_ARG_QUERY_WIDTH, SP_ARG_QUERY_HEIGHT, SP_ARG_QUERY_ALL, SP_ARG_QUERY_ID, SP_ARG_SHELL, SP_ARG_VERSION, SP_ARG_VACUUM_DEFS, SP_ARG_VERB_LIST, SP_ARG_VERB, SP_ARG_SELECT, SP_ARG_LAST } |
Functions | |
static void | do_export_ps_pdf (SPDocument *doc, gchar const *uri, char const *mime) |
static void | do_query_all (SPDocument *doc) |
static void | do_query_all_recurse (SPObject *o) |
static void | do_query_dimension (SPDocument *doc, bool extent, Geom::Dim2 const axis, const gchar *id) |
GSList * | fixupFilenameEncoding (GSList *fl) |
void | fixupSingleFilename (gchar **orig, gchar **spare) |
static std::vector< Glib::ustring > | getDirectorySet (const gchar *userDir, const gchar *const *systemDirs) |
int | main (int argc, char **argv) |
static void | resetCommandlineGlobals () |
static void | set_extensions_env () |
static void | snooper (GdkEvent *event, gpointer) |
int | sp_common_main (int argc, char const **argv, GSList **flDest) |
static void | sp_do_export_png (SPDocument *doc) |
int | sp_main_console (int argc, char const **argv) |
int | sp_main_gui (int argc, char const **argv) |
Dummy functions to keep linker happy. | |
int | sp_main_shell (char const *command_name) |
static GSList * | sp_process_args (poptContext ctx) |
void | sp_process_file_list (GSList *fl) |
Variables | |
gchar * | blankParam = g_strdup("") |
static bool | needToRecodeParams = true |
struct poptOption | options [] |
static gchar * | sp_export_area = NULL |
static gboolean | sp_export_area_drawing = FALSE |
static gboolean | sp_export_area_page = FALSE |
static gboolean | sp_export_area_snap = FALSE |
static gchar * | sp_export_background = NULL |
static gchar * | sp_export_background_opacity = NULL |
static gchar * | sp_export_dpi = NULL |
static gchar * | sp_export_eps = NULL |
static gboolean | sp_export_font = FALSE |
static gchar * | sp_export_height = NULL |
static gchar * | sp_export_id = NULL |
static gboolean | sp_export_id_only = FALSE |
static gboolean | sp_export_ignore_filters = FALSE |
static gboolean | sp_export_latex = FALSE |
static gchar * | sp_export_pdf = NULL |
static gchar * | sp_export_png = NULL |
static gchar * | sp_export_png_utf8 = NULL |
static gchar * | sp_export_ps = NULL |
static gchar * | sp_export_svg = NULL |
static gchar * | sp_export_svg_utf8 = NULL |
static gboolean | sp_export_text_to_path = FALSE |
static gboolean | sp_export_use_hints = FALSE |
static gchar * | sp_export_width = NULL |
static gchar * | sp_global_printer = NULL |
static gchar * | sp_global_printer_utf8 = NULL |
static int | sp_new_gui = FALSE |
static gboolean | sp_query_all = FALSE |
static gboolean | sp_query_height = FALSE |
static gchar * | sp_query_id = NULL |
static gboolean | sp_query_width = FALSE |
static gboolean | sp_query_x = FALSE |
static gboolean | sp_query_y = FALSE |
static gboolean | sp_shell = FALSE |
static gboolean | sp_vacuum_defs = FALSE |
Inkscape - an ambitious vector drawing program
Authors: Lauris Kaplinski <lauris@kaplinski.com> Frank Felfe <innerspace@iname.com> Davide Puricelli <evo@debian.org> Mitsuru Oka <oka326@parkcity.ne.jp> Masatake YAMATO <jet@gyve.org> F.J.Franklin <F.J.Franklin@sheffield.ac.uk> Michael Meeks <michael@helixcode.com> Chema Celorio <chema@celorio.com> Pawel Palucha Bryce Harrington <bryce@bryceharrington.com> ... and various people who have worked with various projects
Copyright (C) 1999-2004 authors Copyright (C) 2001-2002 Ximian, Inc.
Released under GNU GPL, read the file 'COPYING' for more information
Definition in file main.cpp.