Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
actions-base.cpp File Reference

Go to the source code of this file.

Functions

void print_inkscape_version ()
 
void active_window_start ()
 
void active_window_end ()
 
void save_preferences ()
 
void print_debug_info ()
 
void print_system_data_directory ()
 
void print_user_data_directory ()
 
void query_dimension (InkscapeApplication *app, bool extent, Geom::Dim2 const axis)
 
void query_x (InkscapeApplication *app)
 
void query_y (InkscapeApplication *app)
 
void query_width (InkscapeApplication *app)
 
void query_height (InkscapeApplication *app)
 
void query_all_recurse (SPObject *o)
 
void query_all (InkscapeApplication *app)
 
void query_pages (InkscapeApplication *app)
 
void pdf_page (int page)
 
void convert_dpi_method (Glib::ustring method)
 
void no_convert_baseline ()
 
void add_actions_base (InkscapeApplication *app)
 

Variables

const Glib::ustring SECTION_BASE = NC_("Action Section", "Base")
 
const Glib::ustring SECTION_IMPORT = NC_("Action Section", "Import")
 
const Glib::ustring SECTION_QUERY = NC_("Action Section", "Query")
 
std::vector< std::vector< Glib::ustring > > raw_data_base
 

Function Documentation

◆ active_window_end()

void active_window_end ( )

Definition at line 49 of file actions-base.cpp.

References active_window_end_helper().

Referenced by add_actions_base().

◆ active_window_start()

void active_window_start ( )

Definition at line 44 of file actions-base.cpp.

References active_window_start_helper().

Referenced by add_actions_base().

◆ add_actions_base()

◆ convert_dpi_method()

void convert_dpi_method ( Glib::ustring  method)

◆ no_convert_baseline()

void no_convert_baseline ( )

Definition at line 207 of file actions-base.cpp.

References sp_no_convert_text_baseline_spacing.

Referenced by add_actions_base().

◆ pdf_page()

void pdf_page ( int  page)

Definition at line 187 of file actions-base.cpp.

References page.

Referenced by add_actions_base(), and Inkscape::Extension::Internal::PdfOutput::save().

◆ print_debug_info()

void print_debug_info ( )

Definition at line 59 of file actions-base.cpp.

References Inkscape::debug_info(), and show_output().

Referenced by add_actions_base().

◆ print_inkscape_version()

void print_inkscape_version ( )

Definition at line 38 of file actions-base.cpp.

References Inkscape::inkscape_version(), and show_output().

Referenced by add_actions_base().

◆ print_system_data_directory()

void print_system_data_directory ( )

Definition at line 65 of file actions-base.cpp.

References get_inkscape_datadir(), and show_output().

Referenced by add_actions_base().

◆ print_user_data_directory()

void print_user_data_directory ( )

Definition at line 71 of file actions-base.cpp.

References Inkscape::IO::Resource::profile_path(), and show_output().

Referenced by add_actions_base().

◆ query_all()

◆ query_all_recurse()

◆ query_dimension()

◆ query_height()

void query_height ( InkscapeApplication app)

Definition at line 131 of file actions-base.cpp.

References query_dimension(), and Geom::Y.

Referenced by add_actions_base().

◆ query_pages()

◆ query_width()

void query_width ( InkscapeApplication app)

Definition at line 125 of file actions-base.cpp.

References query_dimension(), and Geom::X.

Referenced by add_actions_base().

◆ query_x()

void query_x ( InkscapeApplication app)

Definition at line 113 of file actions-base.cpp.

References query_dimension(), and Geom::X.

Referenced by add_actions_base().

◆ query_y()

void query_y ( InkscapeApplication app)

Definition at line 119 of file actions-base.cpp.

References query_dimension(), and Geom::Y.

Referenced by add_actions_base().

◆ save_preferences()

void save_preferences ( )

Definition at line 54 of file actions-base.cpp.

References Inkscape::Preferences::get(), and Inkscape::Preferences::save().

Referenced by add_actions_base().

Variable Documentation

◆ raw_data_base

std::vector<std::vector<Glib::ustring> > raw_data_base
Initial value:
=
{
{"app.inkscape-version", N_("Inkscape Version"), SECTION_BASE, N_("Print Inkscape version and exit") },
{"app.active-window-start", N_("Active Window: Start Call"), SECTION_BASE, N_("Start execution in active window") },
{"app.active-window-end", N_("Active Window: End Call"), SECTION_BASE, N_("End execution in active window") },
{"app.save-preferences", N_("Save preferences"), SECTION_BASE, N_("Make sure the preferences are saved") },
{"app.debug-info", N_("Debug Info"), SECTION_BASE, N_("Print debugging information and exit") },
{"app.system-data-directory", N_("System Directory"), SECTION_BASE, N_("Print system data directory and exit") },
{"app.user-data-directory", N_("User Directory"), SECTION_BASE, N_("Print user data directory and exit") },
{"app.action-list", N_("List Actions"), SECTION_BASE, N_("Print a list of actions and exit") },
{"app.list-input-types", N_("List Input File Extensions"), SECTION_BASE, N_("Print a list of input file extensions and exit") },
{"app.quit", N_("Quit"), SECTION_BASE, N_("Quit Inkscape, check for data loss") },
{"app.quit-immediate", N_("Quit Immediately"), SECTION_BASE, N_("Immediately quit Inkscape, no check for data loss") },
{"app.open-page", N_("Import Page Number"), SECTION_IMPORT, N_("Select PDF page number to import") },
{"app.convert-dpi-method", N_("Import DPI Method"), SECTION_IMPORT, N_("Set DPI conversion method for legacy Inkscape files")},
{"app.no-convert-baseline", N_("No Import Baseline Conversion"), SECTION_IMPORT, N_("Do not convert text baselines in legacy Inkscape files") },
{"app.query-x", N_("Query X"), SECTION_QUERY, N_("Query 'x' value(s) of selected objects") },
{"app.query-y", N_("Query Y"), SECTION_QUERY, N_("Query 'y' value(s) of selected objects") },
{"app.query-width", N_("Query Width"), SECTION_QUERY, N_("Query 'width' value(s) of object(s)") },
{"app.query-height", N_("Query Height"), SECTION_QUERY, N_("Query 'height' value(s) of object(s)") },
{"app.query-all", N_("Query All"), SECTION_QUERY, N_("Query 'x', 'y', 'width', and 'height'") },
{"app.query-pages", N_("Query Pages"), SECTION_QUERY, N_("Query number of pages in the document") }
}
const Glib::ustring SECTION_BASE
const Glib::ustring SECTION_IMPORT
const Glib::ustring SECTION_QUERY

Definition at line 216 of file actions-base.cpp.

Referenced by add_actions_base().

◆ SECTION_BASE

const Glib::ustring SECTION_BASE = NC_("Action Section", "Base")

Definition at line 212 of file actions-base.cpp.

◆ SECTION_IMPORT

const Glib::ustring SECTION_IMPORT = NC_("Action Section", "Import")

Definition at line 213 of file actions-base.cpp.

◆ SECTION_QUERY

const Glib::ustring SECTION_QUERY = NC_("Action Section", "Query")

Definition at line 214 of file actions-base.cpp.