Module: Gnm
- Defined in:
- lib/gnm/loader.rb,
lib/gnm.rb
Overview
Copyright (C) 2016-2021 Ruby-GNOME Project Team
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Defined Under Namespace
Modules: CellFlags, CellIterFlags, CmdObjectRaiseSelector, ColRowSelectionType, CollectFlags, ConsolidateMode, DependentFlags, DialogDestroyOptions, ExprEntryFlags, ExprEvalFlags, ExprOp, ExprParseFlags, FTFreqDirection, FileOpenStyle, FileSaveAsStyle, FilterOp, FormatDialogPosition_t, FormatImportFlags, FuncFlags, FuncHelpType, FuncImplStatus, FuncTestStatus, FuncType, GoalSeekStatus, HAlign, ItemCursorStyle, PageBreakType, PaneSlideFlags, ParseErrorID, PasteFlags, PrintCommentPlacementType, PrintErrorsType, PrintHFRenderType, PrintRange, SOAnchorMode, SOResizeMode, SearchReplaceError, SearchReplaceLocus, SearchReplaceQuery, SearchReplaceScope, SelectionMode, SheetClearFlags, SheetObjectExportable, SheetObjectFlags, SheetObjectImageable, SheetObjectViewContainer, SheetSlicerLayout, SheetType, SheetViewMode, SheetVisibility, SolverConstraintType, SolverModelType, SolverProblemType, SolverResultQuality, SolverStatus, SpanCalcFlags, StdError, StfDialogPage, StfFormatMode, StfParseType_t, StfTransliterateMode, StfTrimType_t, StyleBorderLocation, StyleBorderOrientation, StyleBorderType, StyleCondOp, StyleElement, TextDir, Underline, UpdateType, VAlign, ValDiff, ValidationOp, ValidationStatus, ValidationStyle, ValidationType, ValueType, WBCEditResult, XMLVersion, analysis_histogram_bin_type_t, analysis_tool_engine_t, analysis_tools_error_code_t, chart_freq_t, chart_t, data_analysis_output_type_t, exponential_smoothing_type_t, fill_series_date_unit_t, fill_series_type_t, group_by_t, moving_average_type_t, normality_test_type_t, random_distribution_t, random_gen_cor_type_t, signtest_type, sim_errmask_t, so_styled_t, ttest_type, wb_control_navigator_t Classes: App, CComboView, CellCombo, CellRendererExprEntry, CellRendererText, CellRendererToggle, CmdContextStderr, Command, Comment, Complete, CompleteSheet, Dao, DashedCanvasLine, DataCacheSource, Dependent, Error, ExprEntry, FilterCombo, FilterComboView, FontButton, Func, GODataMatrix, GODataScalar, GODataVector, GraphWindow, HLink, HLinkCurWB, HLinkEMail, HLinkExternal, HLinkURL, InputMsg, ItemBar, ItemCursor, ItemEdit, ItemGrid, IterSolver, Loader, Notebook, NotebookButton, Pane, PluginLoaderModule, PluginServiceFunctionGroup, PluginServiceSolver, PluginServiceUI, PreviewGrid, RadioButton, SOAnchorModeChooser, SOFilled, SOLine, SOPath, SOPolygon, SOWidgetView, Scenario, SearchReplace, Sheet, SheetControl, SheetControlGUI, SheetObject, SheetObjectComponent, SheetObjectGraph, SheetObjectImage, SheetObjectView, SheetObjectWidget, SheetSel, SheetSlicer, SheetSlicerCombo, SheetSlicerComboView, SheetView, SheetWidgetAdjustment, SheetWidgetButton, SheetWidgetCheckbox, SheetWidgetCombo, SheetWidgetFrame, SheetWidgetList, SheetWidgetRadioButton, SheetWidgetScrollbar, SheetWidgetSlider, SheetWidgetSpinbutton, SheetWidgetToggleButton, SimpleCanvas, Solver, SolverFactory, SolverIterator, SolverIteratorCompound, SolverParameters, SolverResult, SolverSensitivity, StfExport, StyleConditions, SubSolver, TextView, UndoColrowRestoreStateGroup, UndoColrowSetSizes, UndoFilterSetCondition, ValidationCombo, ValidationComboView, WBCGtk, Workbook, WorkbookControl, WorkbookSel, WorkbookView
Constant Summary collapse
- COLROW_SEGMENT_SIZE =
128- COL_MARGIN =
2- DEFAULT_COLS =
256- DEFAULT_FONT =
Sans- DEFAULT_ROWS =
65536- DEFAULT_SIZE =
10.000000- EXPR_TOP_MAGIC =
66- FORMAT_E =
LE- FORMAT_G =
LG- FORMAT_e =
Le- FORMAT_f =
Lf- FORMAT_g =
Lg- HELP_LINK_ADVANCED_FILTER =
sect-data-modify
- HELP_LINK_ANOVA_SINGLE_FACTOR =
anova-single-factor-tool
- HELP_LINK_ANOVA_TWO_FACTOR =
anova-two-factor-tool
- HELP_LINK_AUTOCORRECT =
sect-data-entry
- HELP_LINK_AUTOFILTER_CUSTOM =
sect-data-modify
- HELP_LINK_AUTOFILTER_TOP_TEN =
sect-data-modify
- HELP_LINK_AUTOFORMAT =
sect-data-entry
- HELP_LINK_AUTOSAVE =
sect-files-autosave
- HELP_LINK_CELL_COMMENT =
sect-data-comment
- HELP_LINK_CELL_FORMAT =
sect-data-format
- HELP_LINK_CELL_FORMAT_COND =
sect-data-format
- HELP_LINK_CELL_SORT =
sect-data-modify
- HELP_LINK_CHI_SQUARED =
chi-square-tool
- HELP_LINK_COL_WIDTH =
sect-worksheets-colrow
- HELP_LINK_CONSOLIDATE =
- HELP_LINK_CORRELATION =
correlation-tool
- HELP_LINK_COVARIANCE =
covariance-tool
- HELP_LINK_DATA_MERGE =
sect-data-generate
- HELP_LINK_DATA_SHUFFLE =
sect-data-modify
- HELP_LINK_DATA_SLICER =
sect-data-slicer-config
- HELP_LINK_DATA_TABLE =
sect-data-table
- HELP_LINK_DEFINE_NAMES =
sect-workbooks-names
- HELP_LINK_DEFINE_TABLE =
sect-data-table
- HELP_LINK_DELETE_CELLS =
sect-data-delete
- HELP_LINK_DESCRIPTIVE_STATS =
descriptive-statistics-tool
- HELP_LINK_EXP_SMOOTHING =
smoothing-tool-dialog
- HELP_LINK_FILL_SERIES =
sect-data-entry
- HELP_LINK_FORMULA_GURU =
sect-data-entry
- HELP_LINK_FOURIER_ANALYSIS =
fourier-analysis-tool
- HELP_LINK_FREQUENCY =
frequency-tool
- HELP_LINK_FUNCTION_SELECT =
sect-data-entry
- HELP_LINK_F_TEST_TWO_SAMPLE =
ftest-two-sample-for-variances-tool
- HELP_LINK_GOAL_SEEK =
sect-advanced-analysis-goalseek
- HELP_LINK_GOTO_CELL =
-edit-select.png
- HELP_LINK_GROUP_UNGROUP =
sect-worksheets-viewing
- HELP_LINK_HISTOGRAM =
histogram-tool
- HELP_LINK_HYPERLINK =
sect-data-link
- HELP_LINK_INSERT_CELS =
sect-data-insert
- HELP_LINK_KAPLAN_MEIER =
kaplan-meier-tool
- HELP_LINK_MEAN_TESTS =
t-test
- HELP_LINK_METADATA =
chapter-workbooks
- HELP_LINK_MOVING_AVERAGES =
moving-average-tool
- HELP_LINK_NORMALITY =
normality-tool
- HELP_LINK_ONE_MEAN =
one-mean-tool
- HELP_LINK_PASTE_NAMES =
sect-workbooks-names-paste
- HELP_LINK_PASTE_SPECIAL =
Edit-Menu
- HELP_LINK_PLUGIN_MANAGER =
sect-configuring-plugins
- HELP_LINK_PREFERENCES =
sect-configuration-preferences
- HELP_LINK_PRINCIPAL_COMPONENTS =
principal-component-tool
- HELP_LINK_PRINTER_SETUP_FOOTER_CUSTOMIZATION =
sect-printing-setup
- HELP_LINK_PRINTER_SETUP_GENERAL =
sect-printing-setup
- HELP_LINK_PRINTER_SETUP_HEADER_CUSTOMIZATION =
sect-printing-setup
- HELP_LINK_RANDOM_GENERATOR =
sect-dataentryadv
- HELP_LINK_RANDOM_GENERATOR_COR =
sect-dataentryadv
- HELP_LINK_RANKING =
rank-and-percentile-tool
- HELP_LINK_REGRESSION =
regression-tool
- HELP_LINK_ROW_HEIGHT =
sect-worksheets-colrow
- HELP_LINK_SAMPLING =
sampling-tool
- HELP_LINK_SCENARIOS_ADD =
sect-advanced-analysis-scenarios
- HELP_LINK_SCENARIOS_VIEW =
sect-advanced-analysis-scenarios
- HELP_LINK_SEARCH =
sect-data-modify
- HELP_LINK_SEARCH_REPLACE =
sect-data-modify
- HELP_LINK_SHEET_MANAGER =
sect-worksheets-managing
- HELP_LINK_SIGN_TEST =
one-median-tool
- HELP_LINK_SIGN_TEST_TWO =
two-medians-tool
- HELP_LINK_SIMULATION =
sect-advanced-analysis-simulation
- HELP_LINK_SOLVER =
sect-advanced-analysis-solver
- HELP_LINK_SO_ADJUSTMENT =
sect-graphics-drawings
- HELP_LINK_SO_BUTTON =
sect-graphics-drawings
- HELP_LINK_SO_CHECKBOX =
sect-graphics-drawings
- HELP_LINK_SO_FRAME =
sect-graphics-drawings
- HELP_LINK_SO_LIST =
sect-graphics-drawings
- HELP_LINK_SO_RADIO_BUTTON =
sect-graphics-drawings
- HELP_LINK_SO_SIZE =
sect-graphics-drawings
- HELP_LINK_SUMMARY =
sect-workbooks-docsummary
- HELP_LINK_TABULATE =
sect-data-generate
- HELP_LINK_VIEW =
sect-worksheets-viewing
- HELP_LINK_WILCOXON_MANN_WHITNEY =
two-median-wilcoxon-mann-whitney-test-tool
- HELP_LINK_WORKBOOK_ATTRIBUTE =
sect-workbooks
- HELP_LINK_ZOOM =
sect-worksheets-viewing
- MAX_COLS =
16384- MAX_ROWS =
16777216- MIN_COLS =
128- MIN_ROWS =
128- MS_ALL =
163839- MS_GURU_MENU_ITEMS =
480- M_PI_2gnum =
0- PANE_MAX_X =
1600000- PANE_MAX_Y =
1536000000- PASTE_OPER_MASK =
480- PATTERNS_MAX =
25- PLUGIN_SUBDIR =
plugins- PRINT_SETTING_IGNORE_PAGE_BREAKS_KEY =
GnumericPrintIgnorePageBreaks- PRINT_SETTING_PRINTRANGE_KEY =
GnumericPrintRange- PRINT_SETTING_PRINT_FROM_SHEET_KEY =
GnumericPrintFromSheet- PRINT_SETTING_PRINT_TO_SHEET_KEY =
GnumericPrintToSheet- RESPONSE_DISCARD_ALL =
-1001
- RESPONSE_SAVE_ALL =
-1000
- ROW_MARGIN =
0- SCANF_g =
Lg- SCG_NUM_PANES =
4- SHUFFLE_AREA =
2- SHUFFLE_COLS =
0- SHUFFLE_ROWS =
1- STF_LINE_DISPLAY_LIMIT =
500- STF_LINE_LENGTH_LIMIT =
1000- STOCK_LABEL_CONTEXT =
Stock label
- UNICODE_DIVISION_SLASH_C =
8725- UNICODE_EURO_SIGN_C =
8364- UNICODE_GREATER_THAN_OR_EQUAL_TO_C =
8805- UNICODE_LESS_THAN_OR_EQUAL_TO_C =
8804- UNICODE_LOGICAL_AND_C =
8743- UNICODE_LOGICAL_NOT_C =
172- UNICODE_LOGICAL_OR_C =
8744- UNICODE_MINUS_SIGN_C =
8722- UNICODE_NOT_EQUAL_TO_C =
8800- UNICODE_ZERO_WIDTH_SPACE_C =
0- UNICODE_ZERO_WIDTH_SPACE_C_UTF8_LENGTH =
3- VALUE_INTEGER =
30- LOG_DOMAIN =
"Gnumeric"
Class Method Summary collapse
Instance Method Summary collapse
-
#1_0_rangeref_as_string(out, ref) ⇒ nil
Simplified variant of rangeref_as_string that old versions of gnumeric can read.
-
#acot(x) ⇒ Gnm::gnm_float
The inverse co-tangent of the given number.
-
#acoth(x) ⇒ Gnm::gnm_float
The inverse hyperbolic co-tangent of the given number.
- #action_group_add_action(group, act) ⇒ nil
- #action_group_add_actions(group, actions, n, user) ⇒ nil
- #advanced_filter(wbc, dao, database, criteria, unique_only_flag) ⇒ Integer
-
#agm(a, b) ⇒ Gnm::gnm_float
The arithmetic-geometric mean of a and b.
- #analysis_tool_advanced_filter_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_anova_single_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_anova_two_factor_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_auto_expression_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_calc_length(info) ⇒ Integer
- #analysis_tool_chi_squared_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_correlation_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_covariance_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_descriptive_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_exponential_smoothing_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_fourier_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_frequency_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_ftest_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_generic_b_clean(specs) ⇒ Boolean
- #analysis_tool_generic_clean(specs) ⇒ Boolean
-
#analysis_tool_get_function(name, dao) ⇒ Gnm::Func
The usage count of the function is incremented.
- #analysis_tool_histogram_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_kaplan_meier_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_moving_average_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_normality_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_one_mean_test_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_principal_components_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_ranking_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_regression_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_sampling_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_sign_test_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_sign_test_two_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_signed_rank_test_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_signed_rank_test_two_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_table(dao, info, title, functionname, full_table) ⇒ Boolean
- #analysis_tool_ttest_eqvar_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_ttest_neqvar_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_ttest_paired_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_wilcoxon_mann_whitney_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tool_ztest_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #analysis_tools_write_label(val, dao, info, x, y, i) ⇒ nil
- #analysis_tools_write_label_ftest(val, dao, x, y, labels, i) ⇒ nil
- #annual_year_basis(value_date, basis, date_conv) ⇒ Integer
- #argv0 ⇒ String
-
#auto_style_format_suggest(texpr, epos) ⇒ GOffice::Format
Suggest a format for texpr.
- #autocorrect_tool(input) ⇒ String
-
#autofill_fill(sheet, default_increment, base_col, base_row, w, h, end_col, end_row) ⇒ nil
An internal routine to autofill a region.
- #autofill_hint(sheet, default_increment, base_col, base_row, w, h, end_col, end_row) ⇒ GLib::String
- #autofill_init ⇒ nil
- #autofill_shutdown ⇒ nil
- #bessel_i(x, alpha) ⇒ Gnm::gnm_float
- #bessel_j(x, alpha) ⇒ Gnm::gnm_float
- #bessel_k(x, alpha) ⇒ Gnm::gnm_float
- #bessel_y(x, alpha) ⇒ Gnm::gnm_float
-
#beta(a, b) ⇒ Gnm::gnm_float
The Beta function evaluated at a and b.
- #border_shutdown ⇒ nil
- #canvas_get_position(canvas, x, y, px, py) ⇒ nil
- #canvas_get_screen_position(canvas, x, y, ix, iy) ⇒ nil
-
#cell_coord_name(col, row) ⇒ String
A string representation of the cell at (col,row).
-
#cell_set_array(sheet, r, texpr) ⇒ Boolean
Set an array expression for a range.
-
#cell_set_array_formula(sheet, cola, rowa, colb, rowb, texpr) ⇒ nil
Uses cell_set_expr_internal to store the expr as an 'array-formula'.
-
#cell_set_array_formula_undo(sr, texpr) ⇒ GOffice::Undo
The newly allocated #GOUndo.
-
#cell_set_comment(sheet, pos, author, text, markup) ⇒ Gnm::Comment
The newly allocated Gnm::Comment.
-
#cellpos_as_string(pos) ⇒ String
A string representation of the cell at pos.
- #cellpos_equal(a, b) ⇒ Integer
- #cellpos_hash(key) ⇒ Integer
- #cellpos_init_cellref(cp, cr, pos, base_sheet) ⇒ nil
- #cellpos_init_cellref_ss(res, cell_ref, pos, ss) ⇒ nil
-
#cellpos_parse(cell_str, ss, res, strict) ⇒ String
failure.
-
#cellref_as_string(out, cell_ref, no_sheetname) ⇒ nil
Emits a string containing representation of ref as evaluated at pp.
-
#cellref_parse(out, ss, in, pos) ⇒ String
Converts the string representation of a Gnm::CellRef into an internal representation.
- #cellregion_cmd_size(cr) ⇒ Integer
-
#cellregion_invalidate_sheet(cr, sheet) ⇒ nil
Invalidate references from cell content, objects or style to sheet.
- #cellregion_ref(cr) ⇒ Gnm::CellRegion
- #cellregion_to_string(cr, only_visible, date_conv) ⇒ GLib::String
-
#cellregion_to_xml(cr) ⇒ Gsf::OutputMemory
Nil on error.
- #cellregion_unref(cr) ⇒ nil
- #check_for_plugins_missing(ids, parent) ⇒ Boolean
-
#clipboard_copy_obj(sheet, objects) ⇒ Gnm::CellRegion
Returns a cell region with copies of objects in list.
-
#clipboard_copy_range(sheet, r) ⇒ Gnm::CellRegion
Entry point to the clipboard copy code.
-
#clipboard_copy_range_undo(sheet, r) ⇒ GOffice::Undo
of the given range.
-
#clipboard_copy_ranges_undo(sheet, ranges) ⇒ GOffice::Undo
of the given range.
- #clipboard_init ⇒ nil
-
#clipboard_paste_region(cr, pt, cc) ⇒ Boolean
Pastes the supplied GnmCellRegion (cr) into the supplied GnmPasteTarget (pt).
- #clipboard_shutdown ⇒ nil
-
#cmd_analysis_tool(wbc, sheet, dao, specs, engine, always_take_ownership) ⇒ Boolean
Note: this takes ownership of specs and dao if the command succeeds.
- #cmd_area_set_array_expr(wbc, sv, new_texpr) ⇒ Boolean
- #cmd_area_set_text(wbc, sv, text, markup) ⇒ Boolean
- #cmd_autofill(wbc, sheet, default_increment, base_col, base_row, w, h, end_col, end_row, inverse_autofill) ⇒ Boolean
- #cmd_autofilter_add_remove(wbc) ⇒ Boolean
- #cmd_autofilter_set_condition(wbc, filter, i, cond) ⇒ Boolean
- #cmd_autofit_selection(wbc, sv, sheet, fit_width, selectionlist) ⇒ Boolean
-
#cmd_cell_range_is_locked_effective(sheet, range, wbc, cmd_name) ⇒ Boolean
checks whether the cells are effectively locked.
-
#cmd_change_meta_data(wbc, changes, removed) ⇒ Boolean
True if there was a problem, false otherwise.
- #cmd_colrow_std_size(wbc, sheet, is_cols, new_default) ⇒ Boolean
- #cmd_context_error_calc(cc, msg) ⇒ nil
- #cmd_context_error_splits_array(cc, cmd, array) ⇒ nil
- #cmd_context_error_splits_merge(cc, merge) ⇒ nil
- #cmd_copyrel(wbc, dx, dy, name) ⇒ Boolean
- #cmd_create_data_table(wbc, sheet, r, col_input, row_input) ⇒ Boolean
- #cmd_data_shuffle(wbc, sc, sheet) ⇒ Boolean
-
#cmd_define_name(wbc, name, pp, texpr, descriptor) ⇒ Boolean
If the name has never been defined in context pp create a new name If it is a placeholder, assign texpr to it and make it real If it already exists as a real name just assign expr.
- #cmd_delete_cols(wbc, sheet, start_col, count) ⇒ Boolean
- #cmd_delete_rows(wbc, sheet, start_row, count) ⇒ Boolean
- #cmd_generic(wbc, text, undo, redo) ⇒ Boolean
- #cmd_generic_with_size(wbc, text, size, undo, redo) ⇒ Boolean
- #cmd_global_outline_change(wbc, is_cols, depth) ⇒ Boolean
- #cmd_goal_seek(wbc, cell, ov, nv) ⇒ Boolean
- #cmd_insert_cols(wbc, sheet, start_col, count) ⇒ Boolean
- #cmd_insert_rows(wbc, sheet, start_row, count) ⇒ Boolean
-
#cmd_merge_cells(wbc, sheet, selection, center) ⇒ Boolean
True if there was a problem, false otherwise.
-
#cmd_merge_data(wbc, sheet, merge_zone, merge_fields, merge_data) ⇒ Boolean
True if there was a problem, false otherwise.
- #cmd_object_raise(wbc, so, dir) ⇒ Boolean
-
#cmd_objects_delete(wbc, objects, name) ⇒ Boolean
delete.
-
#cmd_objects_move(wbc, objects, anchors, objects_created, name) ⇒ Boolean
True if there was a problem, false otherwise.
- #cmd_page_break_toggle(wbc, sheet, is_vert) ⇒ Boolean
- #cmd_page_breaks_clear(wbc, sheet) ⇒ Boolean
-
#cmd_paste(wbc, pt) ⇒ nil
Pastes the current cut buffer, copy buffer, or X selection to the destination sheet range.
- #cmd_paste_copy(wbc, pt, content) ⇒ Boolean
- #cmd_paste_cut(wbc, info, move_selection, cmd_descriptor) ⇒ Boolean
-
#cmd_paste_to_selection(wbc, dest_sv, paste_flags) ⇒ nil
Using the current selection as a target Full undo support.
- #cmd_print_setup(wbc, sheet, pi) ⇒ Boolean
-
#cmd_remove_name(wbc, nexpr) ⇒ Boolean
Returns TRUE on error.
- #cmd_rename_sheet(wbc, sheet, new_name) ⇒ Boolean
- #cmd_reorganize_sheets(wbc, old_state, undo_sheet) ⇒ Boolean
-
#cmd_rescope_name(wbc, nexpr, scope) ⇒ Boolean
True if there was a problem, false otherwise.
- #cmd_resize_colrow(wbc, sheet, is_col, selection, new_size) ⇒ Boolean
-
#cmd_resize_sheets(wbc, sheets, cols, rows) ⇒ Boolean
True if there was a problem, false otherwise.
-
#cmd_scenario_add(wbc, s, sheet) ⇒ Boolean
True if there was a problem, false otherwise.
- #cmd_scenario_mngr(wbc, sc, undo) ⇒ Boolean
- #cmd_search_replace(wbc, sr) ⇒ Boolean
-
#cmd_selection_autoformat(wbc, ft) ⇒ Boolean
True if there was a problem, false otherwise.
- #cmd_selection_clear(wbc, clear_flags) ⇒ Boolean
- #cmd_selection_colrow_hide(wbc, is_cols, visible) ⇒ Boolean
- #cmd_selection_format(wbc, style, borders, opt_translated_name) ⇒ Boolean
- #cmd_selection_format_toggle_font_style(wbc, style, t) ⇒ Boolean
- #cmd_selection_group(wbc, is_cols, group) ⇒ Boolean
-
#cmd_selection_hyperlink(wbc, style, opt_translated_name, opt_content) ⇒ Boolean
True if there was a problem, false otherwise.
-
#cmd_selection_is_locked_effective(sheet, selection, wbc, cmd_name) ⇒ Boolean
checks whether the selection is effectively locked static gboolean cmd_selection_is_locked_effective.
- #cmd_selection_outline_change(wbc, is_cols, index, depth) ⇒ Boolean
- #cmd_set_comment(wbc, sheet, pos, new_text, attr, new_author) ⇒ Boolean
- #cmd_set_text(wbc, sheet, pos, new_text, markup, autocorrect) ⇒ Boolean
-
#cmd_shift_cols(wbc, sheet, start_col, end_col, row, count) ⇒ nil
Takes the cells in the region (start_col,row):(end_col,MAX_ROW) and copies them count units (possibly negative) downwards.
-
#cmd_shift_rows(wbc, sheet, col, start_row, end_row, count) ⇒ nil
Takes the cells in the region (col,start_row):(MAX_COL,end_row) and copies them count units (possibly negative) to the right.
- #cmd_slicer_refresh(wbc) ⇒ Boolean
- #cmd_so_component_config(wbc, so, n_obj, o_obj) ⇒ Boolean
- #cmd_so_graph_config(wbc, sog, n_graph, o_graph) ⇒ Boolean
- #cmd_so_set_adjustment(wbc, so, lnk, horizontal, lower, upper, step, page, undo_label) ⇒ Boolean
- #cmd_so_set_button(wbc, so, lnk, old_label, new_label) ⇒ Boolean
- #cmd_so_set_checkbox(wbc, so, lnk, old_label, new_label) ⇒ Boolean
- #cmd_so_set_frame_label(wbc, so, old_label, new_label) ⇒ Boolean
- #cmd_so_set_links(wbc, so, output, content, as_index) ⇒ Boolean
- #cmd_so_set_radio_button(wbc, so, lnk, old_label, new_label, old_value, new_value) ⇒ Boolean
- #cmd_so_set_value(wbc, text, pref, new_val, sheet) ⇒ Boolean
- #cmd_sort(wbc, data) ⇒ Boolean
- #cmd_tabulate(wbc, data) ⇒ Boolean
- #cmd_text_to_columns(wbc, src, src_sheet, target, target_sheet, content) ⇒ Boolean
- #cmd_toggle_rtl(wbc, sheet) ⇒ Boolean
- #cmd_trunc_descriptor(src, truncated) ⇒ GLib::String
-
#cmd_unmerge_cells(wbc, sheet, selection) ⇒ Boolean
True if there was a problem, false otherwise.
-
#cmd_zoom(wbc, sheets, factor) ⇒ Boolean
True if there was a problem, false otherwise.
-
#col_name(col) ⇒ String
A string representation of col.
- #col_parse(str, ss, res, relative) ⇒ String
-
#collect_float_pairs(v0, v1, ep, flags, xs0, xs1, n, constp) ⇒ Gnm::Value
If n is not positive upon return, no data has been allocated.
-
#collect_floats(argc, argv, ep, flags, n, error, info, constp) ⇒ Gnm::gnm_float
exprlist: List of expressions to evaluate.
- #collect_floats_value(val, ep, flags, n, error) ⇒ Gnm::gnm_float
-
#collect_floats_value_with_info(val, ep, flags, n, info, error) ⇒ Gnm::gnm_float
Like collect_floats_value, but keeps info on missing values.
- #color_init ⇒ nil
- #color_shutdown ⇒ nil
- #colrow_autofit(sheet, r, is_cols, ignore_strings, min_current, min_default, indices, sizes) ⇒ nil
- #colrow_autofit_col(sheet, r) ⇒ nil
- #colrow_autofit_row(sheet, r) ⇒ nil
- #colrow_compute_pixel_scale(sheet, horizontal) ⇒ Float
- #colrow_compute_pixels_from_pts(cri, sheet, horizontal, scale) ⇒ nil
- #colrow_compute_pts_from_pixels(cri, sheet, horizontal, scale) ⇒ nil
-
#colrow_find_outline_bound(sheet, is_cols, index, depth, inc) ⇒ Integer
find the next/prev col/row at the designated depth starting from the supplied index.
- #colrow_free(cri) ⇒ nil
-
#colrow_get_global_outline(sheet, is_cols, depth, show, hide) ⇒ nil
Collect the sets of visibility changes required to change the visibility of all outlined columns/rows such that those depth less then depth are visible.
-
#colrow_get_index_list(first, last, list) ⇒ Gnm::ColRowIndexList
Build an ordered list of pairs doing intelligent merging of overlapping regions.
- #colrow_get_outline_toggle(sheet, is_cols, visible, first, last) ⇒ Gnm::ColRowVisList
- #colrow_get_sizes(sheet, is_cols, src, new_size) ⇒ Gnm::ColRowStateGroup
- #colrow_get_states(sheet, is_cols, first, last) ⇒ Gnm::ColRowStateList
-
#colrow_get_visibility_toggle(sv, is_cols, visible) ⇒ Gnm::ColRowVisList
Searches the selection list and generates a list of index,count pairs of row/col ranges that need to be hidden or unhidden.
- #colrow_index_list_copy(list) ⇒ Gnm::ColRowIndexList
- #colrow_index_list_to_string(list, is_cols, is_single) ⇒ GLib::String
- #colrow_restore_state_group(sheet, is_cols, selection, state_groups) ⇒ nil
- #colrow_set_sizes(sheet, is_cols, src, new_size, from, to) ⇒ Gnm::ColRowStateGroup
-
#colrow_set_states(sheet, is_cols, first, states) ⇒ nil
This is a low level routine it does not redraw or reposition objects.
-
#colrow_set_visibility(sheet, is_cols, visible, first, last) ⇒ nil
Change the visibility of the selected range of contiguous cols/rows.
-
#colrow_set_visibility_list(sheet, is_cols, visible, list) ⇒ nil
This is the high level command that is wrapped by undo and redo.
-
#colrow_state_group_destroy(set) ⇒ Gnm::ColRowStateGroup
Nil.
-
#colrow_state_list_destroy(list) ⇒ Gnm::ColRowStateList
Nil.
-
#colrow_state_list_foreach(list, sheet, is_cols, base, callback, user_data) ⇒ nil
Iterates through the existing rows or columns within the range supplied.
- #colrow_vis_list_length(list) ⇒ Integer
-
#cols_name(start_col, end_col) ⇒ String
start_col to end_col.
- #combin(n, k) ⇒ Gnm::gnm_float
-
#complex_fact(z, exp2) ⇒ GOffice::Complex
The factorial function evaluated at z.
-
#complex_from_string(dst, src, imunit) ⇒ Integer
This function differs from Excel's parsing in at least the following ways: (1) We allow spaces before the imaginary unit used with an implied "1".
-
#complex_gamma(z, exp2) ⇒ GOffice::Complex
The Gamma function evaluated at z.
-
#complex_igamma(a, z, lower, regularized) ⇒ GOffice::Complex
a and z.
- #complex_invalid_p(src) ⇒ Integer
- #complex_to_string(src, imunit) ⇒ String
-
#conf_get_autocorrect_dir_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_autocorrect_first_letter ⇒ Boolean
- #conf_get_autocorrect_first_letter_list ⇒ GLib::SList<String>
-
#conf_get_autocorrect_first_letter_list_node ⇒ GOffice::ConfNode
A GOConf::Node.
-
#conf_get_autocorrect_first_letter_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_autocorrect_init_caps ⇒ Boolean
- #conf_get_autocorrect_init_caps_list ⇒ GLib::SList<String>
-
#conf_get_autocorrect_init_caps_list_node ⇒ GOffice::ConfNode
A GOConf::Node.
-
#conf_get_autocorrect_init_caps_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_autocorrect_names_of_days ⇒ Boolean
-
#conf_get_autocorrect_names_of_days_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_autocorrect_replace ⇒ Boolean
-
#conf_get_autocorrect_replace_node ⇒ GOffice::ConfNode
A GOConf::Node.
-
#conf_get_autoformat_dir_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_autoformat_extra_dirs ⇒ GLib::SList<String>
-
#conf_get_autoformat_extra_dirs_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_autoformat_sys_dir ⇒ String
-
#conf_get_autoformat_sys_dir_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_autoformat_usr_dir ⇒ String
-
#conf_get_autoformat_usr_dir_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_defaultfont_bold ⇒ Boolean
-
#conf_get_core_defaultfont_bold_node ⇒ GOffice::ConfNode
A GOConf::Node.
-
#conf_get_core_defaultfont_dir_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_defaultfont_italic ⇒ Boolean
-
#conf_get_core_defaultfont_italic_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_defaultfont_name ⇒ String
-
#conf_get_core_defaultfont_name_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_defaultfont_size ⇒ Float
-
#conf_get_core_defaultfont_size_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_file_save_def_overwrite ⇒ Boolean
-
#conf_get_core_file_save_def_overwrite_node ⇒ GOffice::ConfNode
A GOConf::Node.
-
#conf_get_core_file_save_dir_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_file_save_extension_check_disabled ⇒ GLib::SList<String>
-
#conf_get_core_file_save_extension_check_disabled_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_file_save_single_sheet ⇒ Boolean
-
#conf_get_core_file_save_single_sheet_node ⇒ GOffice::ConfNode
A GOConf::Node.
-
#conf_get_core_gui_cells_dir_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_gui_cells_extension_markers ⇒ Boolean
-
#conf_get_core_gui_cells_extension_markers_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_gui_cells_function_markers ⇒ Boolean
-
#conf_get_core_gui_cells_function_markers_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_gui_editing_autocomplete ⇒ Boolean
- #conf_get_core_gui_editing_autocomplete_min_chars ⇒ Integer
-
#conf_get_core_gui_editing_autocomplete_min_chars_node ⇒ GOffice::ConfNode
A GOConf::Node.
-
#conf_get_core_gui_editing_autocomplete_node ⇒ GOffice::ConfNode
A GOConf::Node.
-
#conf_get_core_gui_editing_dir_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_gui_editing_enter_moves_dir ⇒ GOffice::Direction
-
#conf_get_core_gui_editing_enter_moves_dir_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_gui_editing_function_argument_tooltips ⇒ Boolean
-
#conf_get_core_gui_editing_function_argument_tooltips_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_gui_editing_function_name_tooltips ⇒ Boolean
-
#conf_get_core_gui_editing_function_name_tooltips_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_gui_editing_recalclag ⇒ Integer
-
#conf_get_core_gui_editing_recalclag_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_gui_editing_transitionkeys ⇒ Boolean
-
#conf_get_core_gui_editing_transitionkeys_node ⇒ GOffice::ConfNode
A GOConf::Node.
-
#conf_get_core_gui_screen_dir_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_gui_screen_horizontaldpi ⇒ Float
-
#conf_get_core_gui_screen_horizontaldpi_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_gui_screen_verticaldpi ⇒ Float
-
#conf_get_core_gui_screen_verticaldpi_node ⇒ GOffice::ConfNode
A GOConf::Node.
-
#conf_get_core_gui_toolbars_dir_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_gui_toolbars_format_position ⇒ Gtk::PositionType
-
#conf_get_core_gui_toolbars_format_position_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_gui_toolbars_format_visible ⇒ Boolean
-
#conf_get_core_gui_toolbars_format_visible_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_gui_toolbars_object_position ⇒ Gtk::PositionType
-
#conf_get_core_gui_toolbars_object_position_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_gui_toolbars_object_visible ⇒ Boolean
-
#conf_get_core_gui_toolbars_object_visible_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_gui_toolbars_standard_position ⇒ Gtk::PositionType
-
#conf_get_core_gui_toolbars_standard_position_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_gui_toolbars_standard_visible ⇒ Boolean
-
#conf_get_core_gui_toolbars_standard_visible_node ⇒ GOffice::ConfNode
A GOConf::Node.
-
#conf_get_core_gui_window_dir_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_gui_window_x ⇒ Float
-
#conf_get_core_gui_window_x_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_gui_window_y ⇒ Float
-
#conf_get_core_gui_window_y_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_gui_window_zoom ⇒ Float
-
#conf_get_core_gui_window_zoom_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_sort_default_ascending ⇒ Boolean
-
#conf_get_core_sort_default_ascending_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_sort_default_by_case ⇒ Boolean
-
#conf_get_core_sort_default_by_case_node ⇒ GOffice::ConfNode
A GOConf::Node.
-
#conf_get_core_sort_default_dir_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_sort_default_retain_formats ⇒ Boolean
-
#conf_get_core_sort_default_retain_formats_node ⇒ GOffice::ConfNode
A GOConf::Node.
-
#conf_get_core_sort_dialog_dir_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_sort_dialog_max_initial_clauses ⇒ Integer
-
#conf_get_core_sort_dialog_max_initial_clauses_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_workbook_autosave_time ⇒ Integer
-
#conf_get_core_workbook_autosave_time_node ⇒ GOffice::ConfNode
A GOConf::Node.
-
#conf_get_core_workbook_dir_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_workbook_n_cols ⇒ Integer
-
#conf_get_core_workbook_n_cols_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_workbook_n_rows ⇒ Integer
-
#conf_get_core_workbook_n_rows_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_workbook_n_sheet ⇒ Integer
-
#conf_get_core_workbook_n_sheet_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_core_xml_compression_level ⇒ Integer
-
#conf_get_core_xml_compression_level_node ⇒ GOffice::ConfNode
A GOConf::Node.
-
#conf_get_core_xml_dir_node ⇒ GOffice::ConfNode
A GOConf::Node.
-
#conf_get_cut_and_paste_dir_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_cut_and_paste_prefer_clipboard ⇒ Boolean
-
#conf_get_cut_and_paste_prefer_clipboard_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_detachable_toolbars ⇒ Boolean
-
#conf_get_dialogs_rs_dir_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_dialogs_rs_unfocused ⇒ Boolean
-
#conf_get_dialogs_rs_unfocused_node ⇒ GOffice::ConfNode
A GOConf::Node.
-
#conf_get_functionselector_dir_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_functionselector_num_of_recent ⇒ Integer
-
#conf_get_functionselector_num_of_recent_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_functionselector_recentfunctions ⇒ GLib::SList<String>
-
#conf_get_functionselector_recentfunctions_node ⇒ GOffice::ConfNode
A GOConf::Node.
-
#conf_get_long_desc(node) ⇒ String
A description of node.
-
#conf_get_page_setup ⇒ Gtk::PageSetup
The default Gtk::PageSetup.
-
#conf_get_plugin_glpk_dir_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_plugin_glpk_glpsol_path ⇒ String
-
#conf_get_plugin_glpk_glpsol_path_node ⇒ GOffice::ConfNode
A GOConf::Node.
-
#conf_get_plugin_latex_dir_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_plugin_latex_use_utf8 ⇒ Boolean
-
#conf_get_plugin_latex_use_utf8_node ⇒ GOffice::ConfNode
A GOConf::Node.
-
#conf_get_plugin_lpsolve_dir_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_plugin_lpsolve_lpsolve_path ⇒ String
-
#conf_get_plugin_lpsolve_lpsolve_path_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_plugins_activate_newplugins ⇒ Boolean
-
#conf_get_plugins_activate_newplugins_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_plugins_active ⇒ GLib::SList<String>
-
#conf_get_plugins_active_node ⇒ GOffice::ConfNode
A GOConf::Node.
-
#conf_get_plugins_dir_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_plugins_extra_dirs ⇒ GLib::SList<String>
-
#conf_get_plugins_extra_dirs_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_plugins_file_states ⇒ GLib::SList<String>
-
#conf_get_plugins_file_states_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_plugins_known ⇒ GLib::SList<String>
-
#conf_get_plugins_known_node ⇒ GOffice::ConfNode
A GOConf::Node.
-
#conf_get_print_settings ⇒ Gtk::PrintSettings
The default Gtk::PrintSettings.
-
#conf_get_printer_decoration_font ⇒ Gnm::Style
footers.
- #conf_get_printsetup_across_then_down ⇒ Boolean
-
#conf_get_printsetup_across_then_down_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_all_sheets ⇒ Boolean
-
#conf_get_printsetup_all_sheets_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_center_horizontally ⇒ Boolean
-
#conf_get_printsetup_center_horizontally_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_center_vertically ⇒ Boolean
-
#conf_get_printsetup_center_vertically_node ⇒ GOffice::ConfNode
A GOConf::Node.
-
#conf_get_printsetup_dir_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_footer ⇒ GLib::SList<String>
-
#conf_get_printsetup_footer_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_gtk_setting ⇒ GLib::SList<String>
-
#conf_get_printsetup_gtk_setting_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_header ⇒ GLib::SList<String>
-
#conf_get_printsetup_header_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_hf_font_bold ⇒ Boolean
-
#conf_get_printsetup_hf_font_bold_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_hf_font_italic ⇒ Boolean
-
#conf_get_printsetup_hf_font_italic_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_hf_font_name ⇒ String
-
#conf_get_printsetup_hf_font_name_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_hf_font_size ⇒ Float
-
#conf_get_printsetup_hf_font_size_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_hf_left ⇒ GLib::SList<String>
-
#conf_get_printsetup_hf_left_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_hf_middle ⇒ GLib::SList<String>
-
#conf_get_printsetup_hf_middle_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_hf_right ⇒ GLib::SList<String>
-
#conf_get_printsetup_hf_right_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_margin_bottom ⇒ Float
-
#conf_get_printsetup_margin_bottom_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_margin_gtk_bottom ⇒ Float
-
#conf_get_printsetup_margin_gtk_bottom_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_margin_gtk_left ⇒ Float
-
#conf_get_printsetup_margin_gtk_left_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_margin_gtk_right ⇒ Float
-
#conf_get_printsetup_margin_gtk_right_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_margin_gtk_top ⇒ Float
-
#conf_get_printsetup_margin_gtk_top_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_margin_top ⇒ Float
-
#conf_get_printsetup_margin_top_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_paper ⇒ String
-
#conf_get_printsetup_paper_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_paper_orientation ⇒ Integer
-
#conf_get_printsetup_paper_orientation_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_preferred_unit ⇒ Gtk::Unit
-
#conf_get_printsetup_preferred_unit_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_print_black_n_white ⇒ Boolean
-
#conf_get_printsetup_print_black_n_white_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_print_even_if_only_styles ⇒ Boolean
-
#conf_get_printsetup_print_even_if_only_styles_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_print_grid_lines ⇒ Boolean
-
#conf_get_printsetup_print_grid_lines_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_print_titles ⇒ Boolean
-
#conf_get_printsetup_print_titles_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_repeat_left ⇒ String
-
#conf_get_printsetup_repeat_left_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_repeat_top ⇒ String
-
#conf_get_printsetup_repeat_top_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_scale_height ⇒ Integer
-
#conf_get_printsetup_scale_height_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_scale_percentage ⇒ Boolean
-
#conf_get_printsetup_scale_percentage_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_scale_percentage_value ⇒ Float
-
#conf_get_printsetup_scale_percentage_value_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_printsetup_scale_width ⇒ Integer
-
#conf_get_printsetup_scale_width_node ⇒ GOffice::ConfNode
A GOConf::Node.
-
#conf_get_root ⇒ GOffice::ConfNode
The root config node.
- #conf_get_searchreplace_change_cell_expressions ⇒ Boolean
-
#conf_get_searchreplace_change_cell_expressions_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_searchreplace_change_cell_other ⇒ Boolean
-
#conf_get_searchreplace_change_cell_other_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_searchreplace_change_cell_strings ⇒ Boolean
-
#conf_get_searchreplace_change_cell_strings_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_searchreplace_change_comments ⇒ Boolean
-
#conf_get_searchreplace_change_comments_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_searchreplace_columnmajor ⇒ Boolean
-
#conf_get_searchreplace_columnmajor_node ⇒ GOffice::ConfNode
A GOConf::Node.
-
#conf_get_searchreplace_dir_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_searchreplace_error_behaviour ⇒ Integer
-
#conf_get_searchreplace_error_behaviour_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_searchreplace_ignore_case ⇒ Boolean
-
#conf_get_searchreplace_ignore_case_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_searchreplace_keep_strings ⇒ Boolean
-
#conf_get_searchreplace_keep_strings_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_searchreplace_preserve_case ⇒ Boolean
-
#conf_get_searchreplace_preserve_case_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_searchreplace_query ⇒ Boolean
-
#conf_get_searchreplace_query_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_searchreplace_regex ⇒ Integer
-
#conf_get_searchreplace_regex_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_searchreplace_scope ⇒ Integer
-
#conf_get_searchreplace_scope_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_searchreplace_search_results ⇒ Boolean
-
#conf_get_searchreplace_search_results_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_searchreplace_whole_words_only ⇒ Boolean
-
#conf_get_searchreplace_whole_words_only_node ⇒ GOffice::ConfNode
A GOConf::Node.
-
#conf_get_short_desc(node) ⇒ String
A brief description of node.
-
#conf_get_stf_export_dir_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_stf_export_encoding ⇒ String
-
#conf_get_stf_export_encoding_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_stf_export_format ⇒ Gnm::StfFormatMode
-
#conf_get_stf_export_format_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_stf_export_locale ⇒ String
-
#conf_get_stf_export_locale_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_stf_export_quoting ⇒ Gsf::OutputCsvQuotingMode
-
#conf_get_stf_export_quoting_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_stf_export_separator ⇒ String
-
#conf_get_stf_export_separator_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_stf_export_stringindicator ⇒ String
-
#conf_get_stf_export_stringindicator_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_stf_export_terminator ⇒ String
-
#conf_get_stf_export_terminator_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_stf_export_transliteration ⇒ Boolean
-
#conf_get_stf_export_transliteration_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_toolbar_position(name) ⇒ Gtk::PositionType
- #conf_get_toolbar_style ⇒ Gtk::ToolbarStyle
-
#conf_get_toolbar_style_dir_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_toolbar_visible(name) ⇒ Boolean
-
#conf_get_undo_dir_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_undo_max_descriptor_width ⇒ Integer
-
#conf_get_undo_max_descriptor_width_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_undo_maxnum ⇒ Integer
-
#conf_get_undo_maxnum_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_undo_show_sheet_name ⇒ Boolean
-
#conf_get_undo_show_sheet_name_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_get_undo_size ⇒ Integer
-
#conf_get_undo_size_node ⇒ GOffice::ConfNode
A GOConf::Node.
- #conf_init ⇒ nil
- #conf_set_autocorrect_first_letter(x) ⇒ nil
- #conf_set_autocorrect_first_letter_list(x) ⇒ nil
- #conf_set_autocorrect_init_caps(x) ⇒ nil
- #conf_set_autocorrect_init_caps_list(x) ⇒ nil
- #conf_set_autocorrect_names_of_days(x) ⇒ nil
- #conf_set_autocorrect_replace(x) ⇒ nil
- #conf_set_autoformat_extra_dirs(x) ⇒ nil
- #conf_set_autoformat_sys_dir(x) ⇒ nil
- #conf_set_autoformat_usr_dir(x) ⇒ nil
- #conf_set_core_defaultfont_bold(x) ⇒ nil
- #conf_set_core_defaultfont_italic(x) ⇒ nil
- #conf_set_core_defaultfont_name(x) ⇒ nil
- #conf_set_core_defaultfont_size(x) ⇒ nil
- #conf_set_core_file_save_def_overwrite(x) ⇒ nil
- #conf_set_core_file_save_extension_check_disabled(x) ⇒ nil
- #conf_set_core_file_save_single_sheet(x) ⇒ nil
- #conf_set_core_gui_cells_extension_markers(x) ⇒ nil
- #conf_set_core_gui_cells_function_markers(x) ⇒ nil
- #conf_set_core_gui_editing_autocomplete(x) ⇒ nil
- #conf_set_core_gui_editing_autocomplete_min_chars(x) ⇒ nil
- #conf_set_core_gui_editing_enter_moves_dir(x) ⇒ nil
- #conf_set_core_gui_editing_function_argument_tooltips(x) ⇒ nil
- #conf_set_core_gui_editing_function_name_tooltips(x) ⇒ nil
- #conf_set_core_gui_editing_recalclag(x) ⇒ nil
- #conf_set_core_gui_editing_transitionkeys(x) ⇒ nil
- #conf_set_core_gui_screen_horizontaldpi(x) ⇒ nil
- #conf_set_core_gui_screen_verticaldpi(x) ⇒ nil
- #conf_set_core_gui_toolbars_format_position(x) ⇒ nil
- #conf_set_core_gui_toolbars_format_visible(x) ⇒ nil
- #conf_set_core_gui_toolbars_object_position(x) ⇒ nil
- #conf_set_core_gui_toolbars_object_visible(x) ⇒ nil
- #conf_set_core_gui_toolbars_standard_position(x) ⇒ nil
- #conf_set_core_gui_toolbars_standard_visible(x) ⇒ nil
- #conf_set_core_gui_window_x(x) ⇒ nil
- #conf_set_core_gui_window_y(x) ⇒ nil
- #conf_set_core_gui_window_zoom(x) ⇒ nil
- #conf_set_core_sort_default_ascending(x) ⇒ nil
- #conf_set_core_sort_default_by_case(x) ⇒ nil
- #conf_set_core_sort_default_retain_formats(x) ⇒ nil
- #conf_set_core_sort_dialog_max_initial_clauses(x) ⇒ nil
- #conf_set_core_workbook_autosave_time(x) ⇒ nil
- #conf_set_core_workbook_n_cols(x) ⇒ nil
- #conf_set_core_workbook_n_rows(x) ⇒ nil
- #conf_set_core_workbook_n_sheet(x) ⇒ nil
- #conf_set_core_xml_compression_level(x) ⇒ nil
- #conf_set_cut_and_paste_prefer_clipboard(x) ⇒ nil
- #conf_set_dialogs_rs_unfocused(x) ⇒ nil
- #conf_set_functionselector_num_of_recent(x) ⇒ nil
- #conf_set_functionselector_recentfunctions(x) ⇒ nil
- #conf_set_page_setup(setup) ⇒ nil
-
#conf_set_persistence(persist) ⇒ nil
If persist is true, then changes from this point on will not be saved.
- #conf_set_plugin_glpk_glpsol_path(x) ⇒ nil
- #conf_set_plugin_latex_use_utf8(x) ⇒ nil
- #conf_set_plugin_lpsolve_lpsolve_path(x) ⇒ nil
- #conf_set_plugins_activate_newplugins(x) ⇒ nil
- #conf_set_plugins_active(x) ⇒ nil
- #conf_set_plugins_extra_dirs(x) ⇒ nil
- #conf_set_plugins_file_states(x) ⇒ nil
- #conf_set_plugins_known(x) ⇒ nil
- #conf_set_print_settings(settings) ⇒ nil
- #conf_set_printsetup_across_then_down(x) ⇒ nil
- #conf_set_printsetup_all_sheets(x) ⇒ nil
- #conf_set_printsetup_center_horizontally(x) ⇒ nil
- #conf_set_printsetup_center_vertically(x) ⇒ nil
- #conf_set_printsetup_footer(x) ⇒ nil
- #conf_set_printsetup_gtk_setting(x) ⇒ nil
- #conf_set_printsetup_header(x) ⇒ nil
- #conf_set_printsetup_hf_font_bold(x) ⇒ nil
- #conf_set_printsetup_hf_font_italic(x) ⇒ nil
- #conf_set_printsetup_hf_font_name(x) ⇒ nil
- #conf_set_printsetup_hf_font_size(x) ⇒ nil
- #conf_set_printsetup_hf_left(x) ⇒ nil
- #conf_set_printsetup_hf_middle(x) ⇒ nil
- #conf_set_printsetup_hf_right(x) ⇒ nil
- #conf_set_printsetup_margin_bottom(x) ⇒ nil
- #conf_set_printsetup_margin_gtk_bottom(x) ⇒ nil
- #conf_set_printsetup_margin_gtk_left(x) ⇒ nil
- #conf_set_printsetup_margin_gtk_right(x) ⇒ nil
- #conf_set_printsetup_margin_gtk_top(x) ⇒ nil
- #conf_set_printsetup_margin_top(x) ⇒ nil
- #conf_set_printsetup_paper(x) ⇒ nil
- #conf_set_printsetup_paper_orientation(x) ⇒ nil
- #conf_set_printsetup_preferred_unit(x) ⇒ nil
- #conf_set_printsetup_print_black_n_white(x) ⇒ nil
- #conf_set_printsetup_print_even_if_only_styles(x) ⇒ nil
- #conf_set_printsetup_print_grid_lines(x) ⇒ nil
- #conf_set_printsetup_print_titles(x) ⇒ nil
- #conf_set_printsetup_repeat_left(x) ⇒ nil
- #conf_set_printsetup_repeat_top(x) ⇒ nil
- #conf_set_printsetup_scale_height(x) ⇒ nil
- #conf_set_printsetup_scale_percentage(x) ⇒ nil
- #conf_set_printsetup_scale_percentage_value(x) ⇒ nil
- #conf_set_printsetup_scale_width(x) ⇒ nil
- #conf_set_searchreplace_change_cell_expressions(x) ⇒ nil
- #conf_set_searchreplace_change_cell_other(x) ⇒ nil
- #conf_set_searchreplace_change_cell_strings(x) ⇒ nil
- #conf_set_searchreplace_change_comments(x) ⇒ nil
- #conf_set_searchreplace_columnmajor(x) ⇒ nil
- #conf_set_searchreplace_error_behaviour(x) ⇒ nil
- #conf_set_searchreplace_ignore_case(x) ⇒ nil
- #conf_set_searchreplace_keep_strings(x) ⇒ nil
- #conf_set_searchreplace_preserve_case(x) ⇒ nil
- #conf_set_searchreplace_query(x) ⇒ nil
- #conf_set_searchreplace_regex(x) ⇒ nil
- #conf_set_searchreplace_scope(x) ⇒ nil
- #conf_set_searchreplace_search_results(x) ⇒ nil
- #conf_set_searchreplace_whole_words_only(x) ⇒ nil
- #conf_set_stf_export_encoding(x) ⇒ nil
- #conf_set_stf_export_format(x) ⇒ nil
- #conf_set_stf_export_locale(x) ⇒ nil
- #conf_set_stf_export_quoting(x) ⇒ nil
- #conf_set_stf_export_separator(x) ⇒ nil
- #conf_set_stf_export_stringindicator(x) ⇒ nil
- #conf_set_stf_export_terminator(x) ⇒ nil
- #conf_set_stf_export_transliteration(x) ⇒ nil
- #conf_set_toolbar_position(name, x) ⇒ nil
- #conf_set_toolbar_style(x) ⇒ nil
- #conf_set_toolbar_visible(name, x) ⇒ nil
- #conf_set_undo_max_descriptor_width(x) ⇒ nil
- #conf_set_undo_maxnum(x) ⇒ nil
- #conf_set_undo_show_sheet_name(x) ⇒ nil
- #conf_set_undo_size(x) ⇒ nil
- #conf_shutdown ⇒ nil
-
#convert_to_tooltip(ref_widget, widget) ⇒ Gtk::Widget
widget.
-
#cot(x) ⇒ Gnm::gnm_float
The co-tangent of the given angle.
-
#coth(x) ⇒ Gnm::gnm_float
The hyperbolic co-tangent of the given number.
- #cpp(src, vars) ⇒ String
- #create_popup_menu(elements, handler, user_data, notify, display_filter, sensitive_filter, event) ⇒ nil
-
#create_tooltip(ref_widget) ⇒ Gtk::Widget
The newly allocated Gtk::Widget.
- #css_debug_color(name, color) ⇒ nil
- #css_debug_int(name, i) ⇒ nil
- #data_shuffling(wbc, dao, sheet, input, shuffling_type) ⇒ Gnm::data_shuffling_t
- #data_shuffling_free(st) ⇒ nil
- #data_shuffling_redo(st) ⇒ nil
- #date_add_days(d, n) ⇒ nil
- #date_add_months(d, n) ⇒ nil
- #date_add_years(d, n) ⇒ nil
- #datetime_allow_negative ⇒ Boolean
- #datetime_value_to_g(res, v, conv) ⇒ Boolean
- #datetime_value_to_seconds(v, conv) ⇒ Integer
- #datetime_value_to_serial(v, conv) ⇒ Integer
- #datetime_value_to_serial_raw(v, conv) ⇒ Gnm::gnm_float
-
#dbeta(x, a, b, give_log) ⇒ Gnm::gnm_float
Density of the beta distribution.
-
#dbinom(x, n, psuc, give_log) ⇒ Gnm::gnm_float
Density of the binomial distribution.
- #dcauchy(x, location, scale, give_log) ⇒ Gnm::gnm_float
-
#dchisq(x, df, give_log) ⇒ Gnm::gnm_float
Density of the 𝜒² distribution.
- #debug_flag(flag) ⇒ Boolean
- #dep_container_new(sheet) ⇒ Gnm::DepContainer
- #dependent_managed_get_expr(dep) ⇒ Gnm::ExprTop
- #dependent_managed_init(dep, sheet) ⇒ nil
- #dependent_managed_set_expr(dep, texpr) ⇒ nil
- #dependent_managed_set_sheet(dep, sheet) ⇒ nil
- #dependent_type_register(klass) ⇒ Integer
- #dependent_types_init ⇒ nil
- #dependent_types_shutdown ⇒ nil
- #dependents_dump(wb) ⇒ nil
- #dependents_invalidate_sheet(sheet, destroy) ⇒ nil
-
#dependents_link(deps) ⇒ nil
link a list of dependents.
-
#dependents_relocate(info) ⇒ GOffice::Undo
Fixes references to or from a region that is going to be moved.
- #dependents_revive_sheet(sheet) ⇒ nil
- #dependents_workbook_destroy(wb) ⇒ nil
-
#dexp(x, scale, give_log) ⇒ Gnm::gnm_float
Density of the exponential distribution.
-
#df(x, n1, n2, give_log) ⇒ Gnm::gnm_float
Density of the F distribution.
-
#dgamma(x, shape, scale, give_log) ⇒ Gnm::gnm_float
Density of the gamma distribution.
-
#dgeom(x, psuc, give_log) ⇒ Gnm::gnm_float
Density of the geometric distribution.
-
#dhyper(x, r, b, n, give_log) ⇒ Gnm::gnm_float
Density of the hypergeometric distribution.
- #dialog_about(wbcg) ⇒ nil
-
#dialog_advanced_filter(wbcg) ⇒ nil
Show the dialog (guru).
- #dialog_anova_single_factor_tool(wbcg, sheet) ⇒ Integer
-
#dialog_anova_two_factor_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
- #dialog_auto_filter(wbcg, f, i, is_expr, cur) ⇒ nil
-
#dialog_autoformat(wbcg) ⇒ nil
This function will show the AutoFormatTemplate dialog and apply the template the user chooses to the current selection in the active sheet of the workbook if the user desires.
- #dialog_autosave(wbcg) ⇒ nil
- #dialog_autosave_prompt(wbcg) ⇒ Boolean
-
#dialog_average_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
- #dialog_cell_comment(wbcg, sheet, pos) ⇒ nil
- #dialog_cell_format(wbcg, pageno, pages) ⇒ nil
- #dialog_cell_format_cond(wbcg) ⇒ nil
-
#dialog_cell_format_select_style(wbcg, pages, w, style, closure) ⇒ Gtk::Dialog
A Gtk::Dialog.
- #dialog_cell_format_style_added(closure, style) ⇒ nil
- #dialog_cell_sort(wbcg) ⇒ nil
- #dialog_chi_square_tool(wbcg, sheet, independence) ⇒ Integer
- #dialog_col_row(wbcg, operation, callback, data) ⇒ nil
- #dialog_col_width(wbcg, set_default) ⇒ nil
- #dialog_consolidate(wbcg) ⇒ nil
-
#dialog_correlation_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
-
#dialog_covariance_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
- #dialog_data_slicer(wbcg, create) ⇒ nil
- #dialog_data_table(wbcg) ⇒ nil
-
#dialog_define_names(wbcg) ⇒ nil
Create and show the define names dialog.
- #dialog_delete_cells(wbcg) ⇒ nil
-
#dialog_descriptive_stat_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
-
#dialog_doc_metadata_new(wbcg, page) ⇒ nil
Creates a new instance of the dialog.
-
#dialog_exp_smoothing_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
- #dialog_fill_series(wbcg) ⇒ nil
-
#dialog_formula_guru(wbcg, func) ⇒ nil
Pop up a function selector then a formula guru.
-
#dialog_fourier_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
-
#dialog_frequency_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
-
#dialog_ftest_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
- #dialog_function_select(wbcg, key) ⇒ nil
- #dialog_function_select_help(wbcg) ⇒ nil
- #dialog_function_select_paste(wbcg, from, to) ⇒ nil
- #dialog_get_password(parent, filename) ⇒ String
-
#dialog_goal_seek(wbcg, sheet) ⇒ nil
Create the dialog (guru).
- #dialog_goto_cell(wbcg) ⇒ nil
-
#dialog_histogram_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
- #dialog_hyperlink(wbcg, sc) ⇒ nil
- #dialog_insert_cells(wbcg) ⇒ nil
-
#dialog_kaplan_meier_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
- #dialog_merge(wbcg) ⇒ nil
- #dialog_new_view(wbcg) ⇒ nil
-
#dialog_normality_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
- #dialog_one_mean_test_tool(wbcg, sheet) ⇒ Integer
-
#dialog_paste_names(wbcg) ⇒ nil
Create and show the define names dialog.
- #dialog_paste_special(wbcg) ⇒ nil
- #dialog_plugin_manager(wbcg) ⇒ nil
- #dialog_preferences(wbcg, page) ⇒ nil
-
#dialog_principal_components_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
- #dialog_printer_setup(wbcg, sheet) ⇒ nil
- #dialog_quit(wbcg) ⇒ nil
-
#dialog_raise_if_exists(wbcg, key) ⇒ Gtk::Dialog
Raise the dialog identified by key if it is registered on the wbcg.
-
#dialog_random_cor_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
-
#dialog_random_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
-
#dialog_ranking_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
- #dialog_recent_used(wbcg) ⇒ nil
-
#dialog_regression_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
- #dialog_row_height(wbcg, set_default) ⇒ nil
-
#dialog_sampling_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
- #dialog_scenario_add(wbcg) ⇒ nil
- #dialog_scenarios(wbcg) ⇒ nil
- #dialog_search(wbcg) ⇒ nil
- #dialog_search_replace(wbcg, cb) ⇒ nil
- #dialog_search_replace_query(wbcg, sr, location, old_text, new_text) ⇒ Integer
- #dialog_setup_destroy_handlers(dialog, wbcg, what) ⇒ nil
- #dialog_sheet_compare(wbcg) ⇒ nil
- #dialog_sheet_order(wbcg) ⇒ nil
- #dialog_sheet_rename(wbcg, sheet) ⇒ nil
- #dialog_sheet_resize(wbcg) ⇒ nil
-
#dialog_shuffle(wbcg) ⇒ nil
Show the dialog (guru).
- #dialog_sign_test_tool(wbcg, sheet, type) ⇒ Integer
- #dialog_sign_test_two_tool(wbcg, sheet, type) ⇒ Integer
-
#dialog_simulation(wbcg, sheet) ⇒ nil
Show the dialog (guru).
- #dialog_so_list(wbcg, so) ⇒ nil
- #dialog_so_size(wbcg, so) ⇒ nil
- #dialog_so_styled(wbcg, so, default_style, title, extent) ⇒ nil
-
#dialog_solver(wbcg, sheet) ⇒ nil
Create the dialog (guru).
- #dialog_tabulate(wbcg, sheet) ⇒ nil
-
#dialog_tool_init(state, wbcg, sheet, help_file, gui_name, dialog_name, error_str, key, ok_function, close_function, sensitivity_cb, flags) ⇒ Boolean
Create the dialog (guru).
-
#dialog_tool_init_outputs(state, sensitivity_cb) ⇒ nil
Setup the standard output information.
- #dialog_tool_preset_to_range(state) ⇒ nil
-
#dialog_ttest_tool(wbcg, sheet, test) ⇒ Integer
Show the dialog (guru).
- #dialog_wilcoxon_m_w_tool(wbcg, sheet) ⇒ Integer
- #dialog_workbook_attr(wbcg) ⇒ nil
- #dialog_zoom(wbcg, sheet) ⇒ nil
- #diff_sheets(actions, user, old_sheet, new_sheet) ⇒ Boolean
- #diff_workbooks(actions, user, old_wb, new_wb) ⇒ Integer
-
#digamma(x) ⇒ Gnm::gnm_float
The digamma function evaluated at x.
-
#discpfuncinverter(p, shape, lower_tail, log_p, xlow, xhigh, x0, pfunc) ⇒ Gnm::gnm_float
Discrete pfuncs only.
-
#dlnorm(x, logmean, logsd, give_log) ⇒ Gnm::gnm_float
Density of the log-normal distribution.
-
#dnbinom(x, n, psuc, give_log) ⇒ Gnm::gnm_float
Density of the negative binomial distribution.
-
#dnorm(x, mu, sigma, give_log) ⇒ Gnm::gnm_float
Density of the normal distribution.
- #do_tabulation(wbc, data) ⇒ GLib::SList<Integer>
-
#dpois(x, lambda, give_log) ⇒ Gnm::gnm_float
Density of the Poisson distribution.
-
#drayleigh(x, scale, give_log) ⇒ Gnm::gnm_float
Density of the Rayleigh distribution.
-
#dt(x, n, give_log) ⇒ Gnm::gnm_float
Density of the Student t distribution.
-
#dweibull(x, shape, scale, give_log) ⇒ Gnm::gnm_float
Density of the Weibull distribution.
-
#editable_enters(window, editable) ⇒ nil
Make the "activate" signal of an editable click the default dialog button.
- #entry_to_float_with_format(entry, the_float, update, format) ⇒ Boolean
- #entry_to_float_with_format_default(entry, the_float, update, format, num) ⇒ Boolean
-
#entry_to_int(entry, the_int, update) ⇒ Boolean
Retrieve an int from an entry field parsing all reasonable formats.
- #error_array ⇒ GLib::Quark
- #error_calc ⇒ GLib::Quark
-
#error_in_entry(state, entry, err_str) ⇒ nil
Show an error dialog and select corresponding entry.
- #eval_info_get_arg_count(ei) ⇒ Integer
-
#eval_info_get_func(ei) ⇒ Gnm::Func
The called function.
-
#excel_search_impl(needle, haystack, skip) ⇒ Integer
characters.
-
#expmx2h(x) ⇒ Gnm::gnm_float
naive formula.
-
#expr_cell_deriv(y, x) ⇒ Gnm::ExprTop
respect to cell x.
-
#expr_cell_deriv_value(y, x) ⇒ Gnm::gnm_float
current value of x.
-
#expr_char_start_p(c) ⇒ String
Can the supplied string be an expression ? It does not guarantee that it is, however, it is possible.
-
#expr_conv_quote(convs, str) ⇒ GLib::String
quoting is necessary, a literal copy of str will be returned.
- #expr_deriv_shutdown_ ⇒ nil
- #expr_init_ ⇒ nil
- #expr_lex_all(str, pp, flags, convs) ⇒ Gnm::LexerItem
- #expr_list_as_string(argc, argv, out) ⇒ nil
-
#expr_list_copy(list) ⇒ Gnm::ExprList
expressions in it.
-
#expr_list_unref(list) ⇒ nil
This frees list and all the expressions in it.
-
#expr_name_add(pp, name, texpr, error_msg, link_to_container, stub) ⇒ Gnm::NamedExpr
Absorbs the reference to texpr.
- #expr_name_add_dep(nexpr, dep) ⇒ nil
-
#expr_name_as_string(nexpr, pp, fmt) ⇒ String
The rendering of nexpr given convention fmt.
-
#expr_name_check_for_loop(name, texpr) ⇒ Boolean
name reference.
- #expr_name_cmp_by_name(a, b) ⇒ Integer
-
#expr_name_downgrade_to_placeholder(nexpr) ⇒ nil
Takes a real non-placeholder name and converts it to being a placeholder.
-
#expr_name_eval(nexpr, pos, flags) ⇒ Gnm::Value
The resulting value.
-
#expr_name_in_use(nexpr) ⇒ Boolean
approximation only, as we only look at the workbook in which the name is defined.
- #expr_name_is_active(nexpr) ⇒ Boolean
-
#expr_name_is_placeholder(ne) ⇒ Boolean
True if ne is a placeholder for an unknown name.
-
#expr_name_lookup(pos, name) ⇒ Gnm::NamedExpr
given by pos; nil if no such Gnm::NamedExpr exists.
- #expr_name_name(nexpr) ⇒ String
-
#expr_name_new(name) ⇒ Gnm::NamedExpr
Creates a new name without linking it into any container.
-
#expr_name_perm_add(sheet, name, texpr, is_editable) ⇒ nil
This is a wrapper around expr_name_add to set this as permanent name.
- #expr_name_ref(nexpr) ⇒ Gnm::NamedExpr
-
#expr_name_remove(nexpr) ⇒ nil
Remove a nexpr from its container and deactivate it.
- #expr_name_remove_dep(nexpr, dep) ⇒ nil
-
#expr_name_set_expr(nexpr, texpr) ⇒ nil
Set the content of nexpr to texpr.
- #expr_name_set_expr_undo_new(nexpr) ⇒ GOffice::Undo
- #expr_name_set_is_placeholder(nexpr, is_placeholder) ⇒ nil
-
#expr_name_set_name(nexpr, new_name) ⇒ Boolean
TRUE on error.
-
#expr_name_set_pos(nexpr, pp) ⇒ String
Returns a translated error string which the caller must free if something goes wrong.
- #expr_name_unref(nexpr) ⇒ nil
-
#expr_name_validate(name) ⇒ Boolean
returns true if the given name is valid, false otherwise.
- #expr_parse_str(str, pp, flags, convs, error) ⇒ Gnm::ExprTop
- #expr_shutdown_ ⇒ nil
-
#fact(x) ⇒ Gnm::gnm_float
The factorial of x, which must not be a negative integer.
- #factx(x, exp2) ⇒ Gnm::gnm_float
- #file_saver_common_export_option(fs, wb, key, value) ⇒ Boolean
-
#file_saver_get_sheet(fs, wbv) ⇒ Gnm::Sheet
For a single-sheet saver, this function determines what sheet to save.
-
#file_saver_get_sheets(fs, wbv, default_all) ⇒ Array<Gnm::Sheet>
This function determines what sheets to save.
- #fill_series_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #filter_show_all(wbc) ⇒ nil
- #find_column_of_field(ep, database, field) ⇒ Integer
-
#find_rows_that_match(sheet, first_col, first_row, last_col, last_row, criterias, unique_only) ⇒ GLib::SList<Integer>
Finds the rows from the given database that match the criteria.
- #float_equal(a, b) ⇒ Integer
- #float_hash(d) ⇒ Integer
-
#float_range_function(argc, argv, ei, func, flags, func_error) ⇒ Gnm::Value
This implements a Gnumeric sheet function that operates on a list of numbers.
-
#float_range_function2(val0, val1, ei, func, flags, func_error) ⇒ Gnm::Value
This implements a Gnumeric sheet function that operates on a matched pair of ranges.
-
#float_range_function2d(val0, val1, ei, func, flags, func_error, data) ⇒ Gnm::Value
This implements a Gnumeric sheet function that operates on a matched pair of ranges.
- #float_to_entry(entry, the_float) ⇒ nil
- #focus_on_entry(entry) ⇒ nil
- #font_equal(v, v2) ⇒ Integer
- #font_hash(v) ⇒ Integer
- #font_init ⇒ nil
-
#font_override_codepage(font_name) ⇒ Integer
Returns a codepage for the named Win32 font, or -1 if no such codepage is known.
-
#font_shutdown ⇒ nil
Release all resources allocated by gnm_font_init.
- #format_for_date_editing(cell) ⇒ GOffice::Format
- #format_frob_slashes(s) ⇒ String
- #format_has_hour(fmt, value) ⇒ Boolean
- #format_import(fmt, flags) ⇒ GOffice::Format
- #format_is_date_for_value(fmt, value) ⇒ Integer
- #format_is_time_for_value(fmt, value) ⇒ Integer
- #format_layout(result, metrics, format, value, col_width, date_conv, unicode_minus) ⇒ GOffice::FormatNumberError
-
#format_match(text, cur_fmt, date_conv) ⇒ Gnm::Value
Attempts to parse the supplied string to see if it matches a known value format.
- #format_match_datetime(text, date_conv, month_before_day, add_format, presume_date) ⇒ Gnm::Value
- #format_match_decimal_number_with_locale(text, family, curr, thousand, decimal) ⇒ Gnm::Value
-
#format_match_number(text, cur_fmt, date_conv) ⇒ Gnm::Value
Attempts to parse the supplied string to see if it matches a known value format.
-
#format_match_simple(text) ⇒ Gnm::Value
Attempt to match the supplied string as a simple value.
- #format_month_before_day(fmt, value) ⇒ Integer
-
#format_sel_new ⇒ Gtk::Widget
A new format selector.
- #format_sel_set_value(nfs, value) ⇒ nil
- #format_specialize(fmt, value) ⇒ GOffice::Format
- #format_value(format, value, col_width, date_conv) ⇒ String
- #format_value_gstring(str, format, value, col_width, date_conv) ⇒ GOffice::FormatNumberError
- #format_value_layout(layout, format, value, col_width, date_conv) ⇒ GOffice::FormatNumberError
-
#free_criterias(criterias) ⇒ nil
freed.
- #ft_category_group_cmp(a, b) ⇒ Integer
- #ft_category_group_list_free(category_groups) ⇒ nil
-
#ft_category_group_list_get ⇒ GLib::List<Gnm::FTCategoryGroup>
the list of Gnm::FTCategoryGroup which should be freed using gnm_ft_category_group_list_free().
- #ft_compare_name(a, b) ⇒ Integer
- #func_group_fetch(name, translation) ⇒ Gnm::FuncGroup
- #func_group_get_nth(n) ⇒ Gnm::FuncGroup
-
#function_call_with_exprs(ei) ⇒ Gnm::Value
Do the guts of calling a function.
- #function_call_with_values(ep, name, argc, values) ⇒ Gnm::Value
- #function_def_call_with_values(ep, fn, argc, values) ⇒ Gnm::Value
-
#function_iterate_argument_values(ep, callback, callback_closure, argc, argv, strict, iter_flags) ⇒ Gnm::Value
This routine provides a simple way for internal functions with variable number of arguments to be written: this would iterate over a list of expressions (expr_node_list) and will invoke the callback for every GnmValue found on the list (this means that ranges get properly expanded).
-
#gamma(x) ⇒ Gnm::gnm_float
non-integer x.
- #gammax(x, exp2) ⇒ Gnm::gnm_float
- #get_link_color(widget, res) ⇒ nil
- #get_pango_attributes_from_buffer(buffer) ⇒ Pango::AttrList
-
#global_range_contained(sheet, a, b) ⇒ Boolean
True if a is contained in b.
- #global_range_list_foreach(gr_list, ep, flags, handler, closure) ⇒ Gnm::Value
-
#global_range_list_parse(sheet, str) ⇒ GLib::SList<Gnm::Value>
Parses a list of ranges, relative to the sheet and returns a list with the results.
- #global_range_name(sheet, r) ⇒ String
- #go_data_foreach_dep(dat, so, func, user) ⇒ nil
- #go_data_get_expr(dat) ⇒ Gnm::ExprTop
-
#go_data_get_sheet(dat) ⇒ Gnm::Sheet
The sheet.
- #go_data_set_sheet(dat, sheet) ⇒ nil
-
#go_error_info_dialog_create(error) ⇒ Gtk::Widget
SHOULD BE IN GOFFICE.
- #go_error_info_dialog_show(parent, error) ⇒ nil
- #go_error_info_list_dialog_show(parent, errs) ⇒ nil
-
#goal_seek_bisection(f, data, user_data) ⇒ Gnm::GoalSeekStatus
Seek a goal (root) using bisection methods.
- #goal_seek_cell(data, celldata) ⇒ Gnm::GoalSeekStatus
-
#goal_seek_eval_cell(x, y, data) ⇒ Gnm::GoalSeekStatus
An status indicating whether evaluation went ok.
- #goal_seek_initialize(data) ⇒ nil
-
#goal_seek_newton(f, df, data, user_data, x0) ⇒ Gnm::GoalSeekStatus
Seek a goal (root) using Newton's iterative method.
-
#goal_seek_point(f, data, user_data, x0) ⇒ Gnm::GoalSeekStatus
Seek a goal using a single point.
- #goal_seek_trawl_normally(f, data, user_data, mu, sigma, points) ⇒ Gnm::GoalSeekStatus
- #goal_seek_trawl_uniformly(f, data, user_data, xmin, xmax, points) ⇒ Gnm::GoalSeekStatus
-
#gtk_builder_load(uifile, domain, cc) ⇒ Gtk::Builder
Simple utility to open ui files.
- #gtk_print_cell_range(context, sheet, range, base_x, base_y, pinfo) ⇒ nil
-
#gtk_radio_group_get_selected(radio_group) ⇒ Integer
The index of the selected radio button starting from list end.
- #gui_clipboard_init ⇒ nil
- #gui_clipboard_shutdown ⇒ nil
- #gui_clipboard_test(fmt) ⇒ GLib::Bytes
- #gui_file_export_repeat(wbcg) ⇒ Boolean
- #gui_file_open(wbcg, type, default_format) ⇒ nil
-
#gui_file_read(wbcg, file_name, optional_format, optional_encoding) ⇒ Gnm::WorkbookView
The new Workbook::View for the file read.
- #gui_file_save(wbcg, wbv) ⇒ Boolean
- #gui_file_save_as(wbcg, wbv, type, default_format) ⇒ Boolean
- #gui_file_template(wbcg, uri) ⇒ Boolean
- #gui_group_value(gui, group) ⇒ Integer
- #gui_wb_view_show(wbcg, wbv) ⇒ nil
- #gutils_init ⇒ nil
- #gutils_shutdown ⇒ nil
-
#hash_table_foreach_ordered(h, callback, order, user) ⇒ nil
Like g_hash_table_foreach, but with an ordering imposed.
- #history_item_label(uri, accel_number) ⇒ String
- #if2(ei, argc, argv, flags) ⇒ Gnm::Value
-
#ifs_func(data, crits, vals, fun, err, ep, flags) ⇒ Gnm::Value
This implements a Gnumeric sheet database function of the "*IFS" type This function collects the arguments and uses fun to do the actual computation.
- #ilog(x, b) ⇒ Gnm::gnm_float
- #init ⇒ nil
- #init_help_button(w, lnk) ⇒ nil
- #insert_meta_date(doc, name) ⇒ nil
- #int_to_entry(entry, the_int) ⇒ nil
-
#keyed_dialog(wbcg, dialog, key) ⇒ nil
Make dialog a transient child of wbcg, attaching to wbcg object data to identify the dialog.
-
#lambert_w(x, k) ⇒ Gnm::gnm_float
for the primary branch and -1 for the alternate.
- #lbeta(a, b) ⇒ Gnm::gnm_float
-
#lbeta3(a, b, sign) ⇒ Gnm::gnm_float
evaluated at a and b.
- #lgamma1p(a) ⇒ Gnm::gnm_float
- #linear_solve(A, b, x) ⇒ GOffice::RegressionResult
- #linear_solve_multiple(A, B) ⇒ GOffice::RegressionResult
- #linear_solve_posdef(A, b, x) ⇒ GOffice::RegressionResult
- #link_button_and_entry(button, entry) ⇒ nil
- #load_pango_attributes_into_buffer(markup, buffer, str) ⇒ nil
- #locale_dir ⇒ String
-
#log1pmx(x) ⇒ Gnm::gnm_float
especially for small values of x.
- #logcf(x, i, d) ⇒ Gnm::gnm_float
- #logspace_add(logx, logy) ⇒ Gnm::gnm_float
- #logspace_sub(logx, logy) ⇒ Gnm::gnm_float
- #make_cellref(dx, dy) ⇒ Gnm::Expr
- #make_rangeref(dx0, dy0, dx1, dy1) ⇒ Gnm::Expr
- #mathfunc_init ⇒ nil
-
#matrix_from_value(v, perr, ep) ⇒ Gnm::Matrix
A new Gnm::Matrix, nil on error.
-
#message_dialog_create(parent, flags, type, primary_message, secondary_message) ⇒ Gtk::Widget
A convenience function to build HIG compliant message dialogs.
-
#object_get_bool(o, name) ⇒ Boolean
The value of o's boolean property name.
-
#object_has_readable_prop(obj, property, typ, pres) ⇒ Boolean
of type typ.
-
#option_group ⇒ GLib::OptionGroup
Returns a GOption::Group for the commandline arguments recognized by libspreadsheet.
- #owent(h, a) ⇒ Gnm::gnm_float
- #page_break_type_from_str(str) ⇒ Gnm::PageBreakType
- #page_setup_get_paper(page_setup) ⇒ String
- #page_setup_set_paper(page_setup, paper) ⇒ Boolean
- #pango_attr_list_equal(l1, l2) ⇒ Boolean
-
#pango_context_get ⇒ Pango::Context
Simple wrapper to handle windowless operation.
-
#parse_criteria(crit_val, date_conv, anchor_end) ⇒ Gnm::Criteria
">=value" "<=value" "<>value" "<value" ">value" "=value" "pattern".
-
#parse_database_criteria(ep, database, criteria) ⇒ GLib::SList<Gnm::DBCriteria>
Parses the criteria cell range.
-
#parse_output(state, dao) ⇒ Gnm::data_analysis_output_t
fill dao with information from the standard output section of a dialog.
-
#parse_text_value_or_expr(pos, text, val, texpr) ⇒ nil
Utility routine to parse a string and convert it into an expression or value.
- #parse_util_init ⇒ nil
- #parse_util_shutdown ⇒ nil
- #parsepos_as_string(pp) ⇒ String
-
#pattern_background_set(mstyle, cr, is_selected, ctxt) ⇒ Boolean
Set up a cairo context to paint the background of a cell.
-
#pbeta(x, a, b, lower_tail, log_p) ⇒ Gnm::gnm_float
Cumulative density of the beta distribution.
-
#pbinom(x, n, psuc, lower_tail, log_p) ⇒ Gnm::gnm_float
Cumulative density of the binomial distribution.
- #pbinom2(x0, x1, n, p) ⇒ Gnm::gnm_float
- #pcauchy(x, location, scale, lower_tail, log_p) ⇒ Gnm::gnm_float
-
#pchisq(x, df, lower_tail, log_p) ⇒ Gnm::gnm_float
Cumulative density of the 𝜒² distribution.
- #permut(n, k) ⇒ Gnm::gnm_float
-
#pexp(x, scale, lower_tail, log_p) ⇒ Gnm::gnm_float
Cumulative density of the exponential distribution.
-
#pf(x, n1, n2, lower_tail, log_p) ⇒ Gnm::gnm_float
Cumulative density of the F distribution.
- #pfuncinverter(p, shape, lower_tail, log_p, xlow, xhigh, x0, pfunc, dpfunc_dx) ⇒ Gnm::gnm_float
-
#pgamma(x, shape, scale, lower_tail, log_p) ⇒ Gnm::gnm_float
Cumulative density of the gamma distribution.
-
#pgeom(x, psuc, lower_tail, log_p) ⇒ Gnm::gnm_float
Cumulative density of the geometric distribution.
-
#phyper(x, r, b, n, lower_tail, log_p) ⇒ Gnm::gnm_float
Cumulative density of the hypergeometric distribution.
-
#plnorm(x, logmean, logsd, lower_tail, log_p) ⇒ Gnm::gnm_float
Cumulative density of the log-normal distribution.
- #plugins_init(c) ⇒ nil
- #plugins_service_init ⇒ nil
-
#pnbinom(x, n, psuc, lower_tail, log_p) ⇒ Gnm::gnm_float
Cumulative density of the negative binomial distribution.
-
#pnorm(x, mu, sigma, lower_tail, log_p) ⇒ Gnm::gnm_float
Cumulative density of the normal distribution.
- #pnorm2(x1, x2) ⇒ Gnm::gnm_float
-
#pochhammer(x, n) ⇒ Gnm::gnm_float
This function computes Pochhammer's symbol at x and n, i.e., Gamma(x+n)/Gamma(x).
-
#pop_C_locale(locale) ⇒ nil
Frees the result of gnm_push_C_locale and restores the original locale.
-
#popup_menu(menu, event) ⇒ nil
Bring up a popup and if event is non-nil ensure that the popup is on the right screen.
- #position_tooltip(tip, px, py, horizontal) ⇒ nil
-
#pow1p(x, y) ⇒ Gnm::gnm_float
naive formula.
-
#pow1pm1(x, y) ⇒ Gnm::gnm_float
naive formula.
-
#ppois(x, lambda, lower_tail, log_p) ⇒ Gnm::gnm_float
Cumulative density of the Poisson distribution.
-
#prayleigh(x, scale, lower_tail, log_p) ⇒ Gnm::gnm_float
Cumulative density of the Rayleigh distribution.
-
#pre_parse_init(argc, argv) ⇒ Array<String>
Initialization to be done before cmd line arguments are handled.
- #pre_parse_shutdown ⇒ nil
- #prepare_input_range(input_range, group_by) ⇒ nil
- #print_hf_format_render(format, info, render_type) ⇒ String
- #print_info_dup(pi) ⇒ Gnm::PrintInformation
- #print_info_free(pi) ⇒ nil
- #print_info_get_margins(pi, top, bottom, left, right, edge_to_below_header, edge_to_above_footer) ⇒ nil
-
#print_info_get_page_setup(pi) ⇒ Gtk::PageSetup
The page setup.
- #print_info_get_paper(pi) ⇒ String
-
#print_info_get_paper_display_name(pi) ⇒ String
The name of the selected paper type.
- #print_info_get_paper_height(pi, unit) ⇒ Float
- #print_info_get_paper_orientation(pi) ⇒ Gtk::PageOrientation
- #print_info_get_paper_size(pi) ⇒ Gtk::PaperSize
- #print_info_get_paper_width(pi, unit) ⇒ Float
- #print_info_get_printrange(pi) ⇒ Gnm::PrintRange
-
#print_info_get_printtofile_uri(pi) ⇒ String
The uri used for print-to-file.
- #print_info_has_manual_breaks(pi) ⇒ Boolean
-
#print_info_load_defaults(pi) ⇒ nil
NOTE: This reads from a globally stored configuration.
- #print_info_save(pi) ⇒ nil
- #print_info_set_breaks(pi, breaks) ⇒ nil
- #print_info_set_edge_to_above_footer(pi, e_f) ⇒ nil
- #print_info_set_edge_to_below_header(pi, e_h) ⇒ nil
- #print_info_set_from_settings(pi, settings) ⇒ nil
- #print_info_set_margin_footer(pi, footer) ⇒ nil
- #print_info_set_margin_header(pi, header) ⇒ nil
- #print_info_set_margin_left(pi, left) ⇒ nil
- #print_info_set_margin_right(pi, right) ⇒ nil
- #print_info_set_margins(pi, header, footer, left, right) ⇒ nil
-
#print_info_set_page_setup(pi, page_setup) ⇒ nil
Absorb a ref to page_setup.
- #print_info_set_paper(pi, paper) ⇒ Boolean
- #print_info_set_paper_orientation(pi, orientation) ⇒ nil
- #print_info_set_printrange(pi, pr) ⇒ nil
- #print_info_set_printtofile_from_settings(pi, settings, default_uri) ⇒ nil
- #print_info_set_printtofile_uri(pi, uri) ⇒ nil
- #print_init ⇒ nil
- #print_load_repeat_range(str, r, sheet) ⇒ Boolean
- #print_sheet(wbc, sheet, preview, default_range, export_dst) ⇒ nil
- #print_sheet_objects(cr, sheet, range, base_x, base_y) ⇒ nil
- #print_shutdown ⇒ nil
- #print_so(wbc, sos, export_dst) ⇒ nil
-
#pt(x, n, lower_tail, log_p) ⇒ Gnm::gnm_float
Cumulative density of the Student t distribution.
- #ptukey(x, nmeans, df, nranges, lower_tail, log_p) ⇒ Gnm::gnm_float
-
#push_C_locale ⇒ Gnm::Locale
Returns the current locale, and sets the locale and the value-format engine's locale to 'C'.
-
#pweibull(x, shape, scale, lower_tail, log_p) ⇒ Gnm::gnm_float
Cumulative density of the Weibull distribution.
-
#qbeta(p, a, b, lower_tail, log_p) ⇒ Gnm::gnm_float
beta distribution.
-
#qbinom(p, n, psuc, lower_tail, log_p) ⇒ Gnm::gnm_float
binomial distribution.
-
#qcauchy(p, location, scale, lower_tail, log_p) ⇒ Gnm::gnm_float
Cauchy distribution.
-
#qchisq(p, df, lower_tail, log_p) ⇒ Gnm::gnm_float
𝜒² distribution.
-
#qexp(p, scale, lower_tail, log_p) ⇒ Gnm::gnm_float
exponential distribution.
-
#qf(p, n1, n2, lower_tail, log_p) ⇒ Gnm::gnm_float
F distribution.
- #qfactf(x, mant, exp2) ⇒ Integer
-
#qgamma(p, shape, scale, lower_tail, log_p) ⇒ Gnm::gnm_float
gamma distribution.
-
#qgeom(p, psuc, lower_tail, log_p) ⇒ Gnm::gnm_float
geometric distribution.
-
#qhyper(p, r, b, n, lower_tail, log_p) ⇒ Gnm::gnm_float
hypergeometric distribution.
-
#qlnorm(p, logmean, logsd, lower_tail, log_p) ⇒ Gnm::gnm_float
log-normal distribution.
-
#qnbinom(p, n, psuc, lower_tail, log_p) ⇒ Gnm::gnm_float
negative binomial distribution.
-
#qnorm(p, mu, sigma, lower_tail, log_p) ⇒ Gnm::gnm_float
normal distribution.
-
#qpois(p, lambda, lower_tail, log_p) ⇒ Gnm::gnm_float
Poisson distribution.
-
#qrayleigh(p, scale, lower_tail, log_p) ⇒ Gnm::gnm_float
Rayleigh distribution.
-
#qt(p, n, lower_tail, log_p) ⇒ Gnm::gnm_float
Student t distribution.
- #qtukey(p, nmeans, df, nranges, lower_tail, log_p) ⇒ Gnm::gnm_float
-
#qweibull(p, shape, scale, lower_tail, log_p) ⇒ Gnm::gnm_float
Weibull distribution.
- #random_01 ⇒ Gnm::gnm_float
- #random_bernoulli(p) ⇒ Gnm::gnm_float
- #random_beta(a, b) ⇒ Gnm::gnm_float
- #random_binomial(p, trials) ⇒ Gnm::gnm_float
- #random_cauchy(a) ⇒ Gnm::gnm_float
- #random_chisq(nu) ⇒ Gnm::gnm_float
- #random_exponential(b) ⇒ Gnm::gnm_float
- #random_exppow(a, b) ⇒ Gnm::gnm_float
- #random_exppow_pdf(x, a, b) ⇒ Gnm::gnm_float
- #random_fdist(nu1, nu2) ⇒ Gnm::gnm_float
- #random_gamma(a, b) ⇒ Gnm::gnm_float
- #random_gaussian_tail(a, sigma) ⇒ Gnm::gnm_float
- #random_geometric(p) ⇒ Gnm::gnm_float
- #random_gumbel1(a, b) ⇒ Gnm::gnm_float
- #random_gumbel2(a, b) ⇒ Gnm::gnm_float
- #random_hypergeometric(n1, n2, t) ⇒ Gnm::gnm_float
- #random_landau ⇒ Gnm::gnm_float
- #random_laplace(a) ⇒ Gnm::gnm_float
- #random_laplace_pdf(x, a) ⇒ Gnm::gnm_float
- #random_levy(c, alpha) ⇒ Gnm::gnm_float
- #random_levy_skew(c, alpha, beta) ⇒ Gnm::gnm_float
- #random_logarithmic(p) ⇒ Gnm::gnm_float
- #random_logistic(a) ⇒ Gnm::gnm_float
- #random_lognormal(zeta, sigma) ⇒ Gnm::gnm_float
- #random_negbinom(p, f) ⇒ Gnm::gnm_float
-
#random_normal ⇒ Gnm::gnm_float
A N(0,1) distributed random number.
- #random_pareto(a, b) ⇒ Gnm::gnm_float
- #random_poisson(lambda) ⇒ Gnm::gnm_float
- #random_rayleigh(sigma) ⇒ Gnm::gnm_float
- #random_rayleigh_tail(a, sigma) ⇒ Gnm::gnm_float
- #random_skew_normal(a) ⇒ Gnm::gnm_float
- #random_skew_tdist(nu, a) ⇒ Gnm::gnm_float
- #random_tdist(nu) ⇒ Gnm::gnm_float
-
#random_uniform_int(n) ⇒ Integer
A uniformly distributed random non-negative integer less than n.
- #random_weibull(a, b) ⇒ Gnm::gnm_float
- #range_adtest(xs, n, p, statistics) ⇒ Integer
- #range_avedev(xs, n, res) ⇒ Integer
-
#range_concatenate(data, res, user) ⇒ Integer
Non-zero on error.
- #range_correl_pop(xs, ys, n, res) ⇒ Integer
- #range_count(xs, n, res) ⇒ Integer
- #range_covar_est(xs, ys, n, res) ⇒ Integer
- #range_covar_pop(xs, ys, n, res) ⇒ Integer
- #range_geometric_mean(xs, n, res) ⇒ Integer
- #range_harmonic_mean(xs, n, res) ⇒ Integer
- #range_hypot(xs, n, res) ⇒ Integer
- #range_kurtosis_m3_est(xs, n, res) ⇒ Integer
- #range_kurtosis_m3_pop(xs, n, res) ⇒ Integer
-
#range_list_destroy(ranges) ⇒ nil
Destroys a list of ranges returned from parse_cell_range_list.
- #range_mode(xs, n, res) ⇒ Integer
- #range_multinomial(xs, n, res) ⇒ Integer
- #range_product(xs, n, res) ⇒ Integer
- #range_rsq_pop(xs, ys, n, res) ⇒ Integer
-
#range_simplify(arr) ⇒ nil
Simplifies the array of ranges by merging small ranges into larger ones.
- #range_skew_est(xs, n, res) ⇒ Integer
- #range_skew_pop(xs, n, res) ⇒ Integer
- #range_stddev_est(xs, n, res) ⇒ Integer
- #range_stddev_pop(xs, n, res) ⇒ Integer
- #range_var_est(xs, n, res) ⇒ Integer
- #range_var_pop(xs, n, res) ⇒ Integer
- #rangeref_as_string(out, ref) ⇒ nil
-
#rangeref_parse(res, start, pp, convs) ⇒ String
If the result != start then res is valid.
-
#reduce_pi(x, e, k) ⇒ Gnm::gnm_float
This function performs range reduction for trigonometric functions.
- #regcomp_XL(preg, pattern, cflags, anchor_start, anchor_end) ⇒ Integer
- #rendered_value_init ⇒ nil
-
#rendered_value_new(cell, context, allow_variable_width, zoom) ⇒ Gnm::RenderedValue
Formats the value of the cell according to its style.
- #rendered_value_shutdown ⇒ nil
- #restore_window_geometry(dialog, key) ⇒ nil
- #row_calc_spans(ri, row, sheet) ⇒ nil
- #row_destroy_span(ri) ⇒ nil
-
#row_name(row) ⇒ String
A string representation of row.
- #row_parse(str, ss, res, relative) ⇒ String
- #row_span_get(ri, col) ⇒ Gnm::CellSpanInfo
-
#rows_height_update(sheet, range, shrink) ⇒ nil
Use this function having changed the font size to auto-resize the row heights to make the text fit nicely.
-
#rows_name(start_row, end_row) ⇒ String
start_row to end_row.
- #rvc_free(rvc) ⇒ nil
-
#rvc_new(context, size) ⇒ Gnm::RenderedValueCollection
A new GnmRenderedValueCollection.
-
#rvc_query(rvc, cell) ⇒ Gnm::RenderedValue
The rendered value for cell.
- #rvc_remove(rvc, cell) ⇒ nil
- #rvc_store(rvc, cell, rv) ⇒ nil
- #sc_ant(sc) ⇒ nil
- #sc_cursor_bound(sc, r) ⇒ nil
- #sc_freeze_object_view(sc, freeze) ⇒ nil
- #sc_make_cell_visible(sc, col, row, couple_panes) ⇒ nil
- #sc_mode_edit(sc) ⇒ nil
- #sc_object_create_view(sc, so) ⇒ nil
- #sc_recompute_visible_region(sc, full_recompute) ⇒ nil
- #sc_redraw_all(sc, headers) ⇒ nil
- #sc_redraw_headers(sc, col, row, r) ⇒ nil
- #sc_redraw_range(sc, r) ⇒ nil
- #sc_resize(sc, force_scroll) ⇒ nil
- #sc_scale_changed(sc) ⇒ nil
- #sc_scrollbar_config(sc) ⇒ nil
- #sc_set_panes(sc) ⇒ nil
- #sc_set_top_left(sc, col, row) ⇒ nil
-
#sc_sheet(sc) ⇒ Gnm::Sheet
The sheet.
- #sc_show_im_tooltip(sc, im, pos) ⇒ nil
- #sc_unant(sc) ⇒ nil
-
#sc_view(sc) ⇒ Gnm::SheetView
The sheet view.
-
#sc_wbc(sc) ⇒ Gnm::WorkbookControl
The workbook control.
- #scg_adjust_preferences(scg) ⇒ nil
- #scg_colrow_distance_get(scg, is_cols, from, to) ⇒ Integer
- #scg_colrow_select(scg, is_cols, index, modifiers) ⇒ Boolean
- #scg_colrow_size_set(scg, is_cols, index, new_size_pixels) ⇒ nil
- #scg_comment_display(scg, cc, x, y) ⇒ nil
-
#scg_comment_select(scg, cc, x, y) ⇒ nil
Prepare cc for display.
-
#scg_comment_unselect(scg, cc) ⇒ nil
If cc is the current cell comment being edited/displayed shutdown the display mechanism.
- #scg_context_menu(scg, event, is_col, is_row) ⇒ nil
- #scg_cursor_extend(scg, n, jump_to_bound, horiz) ⇒ nil
-
#scg_cursor_move(scg, dir, jump_to_bound, horiz) ⇒ nil
Moves the cursor count rows.
- #scg_cursor_visible(scg, is_visible) ⇒ nil
- #scg_delete_sheet_if_possible(scg) ⇒ nil
- #scg_drag_data_get(scg, selection_data) ⇒ nil
- #scg_drag_data_received(scg, source_widget, x, y, selection_data) ⇒ nil
- #scg_edit_start(scg) ⇒ nil
- #scg_edit_stop(scg) ⇒ nil
-
#scg_make_cell_visible(scg, col, row, force_scroll, couple_panes) ⇒ nil
Ensure that cell (col, row) is visible.
-
#scg_mode_edit(scg) ⇒ nil
Put sheet into the standard state 'edit mode'.
- #scg_object_anchor_to_coords(scg, anchor, coords) ⇒ nil
- #scg_object_coords_to_anchor(scg, coords, in_out) ⇒ nil
-
#scg_object_select(scg, so) ⇒ nil
Adds so to the set of selected objects and prepares it for user editing.
- #scg_object_select_next(scg, reverse) ⇒ nil
-
#scg_object_unselect(scg, so) ⇒ nil
unselect the supplied object, and drop out of edit mode if this is the last one.
-
#scg_objects_drag(scg, gcanvas, primary, dx, dy, drag_type, symmetric, snap_to_grid, is_mouse_move) ⇒ nil
Move the control points and drag views of the currently selected objects to a new position.
- #scg_objects_drag_commit(scg, drag_type, created_objects, pundo, predo, undo_title) ⇒ nil
- #scg_objects_nudge(scg, gcanvas, drag_type, dx, dy, symmetric, snap_to_grid) ⇒ nil
-
#scg_pane(scg, pane) ⇒ Gnm::Pane
The pane.
- #scg_paste_image(scg, where, data, len) ⇒ nil
-
#scg_queue_movement(scg, handler, n, jump, horiz) ⇒ nil
Do motion compression when possible to avoid redrawing an area that will disappear when we scroll again.
- #scg_rangesel_bound(scg, base_col, base_row, move_col, move_row) ⇒ nil
- #scg_rangesel_extend(scg, n, jump_to_bound, horiz) ⇒ nil
- #scg_rangesel_extend_to(scg, col, row) ⇒ nil
- #scg_rangesel_move(scg, dir, jump_to_bound, horiz) ⇒ nil
- #scg_rangesel_start(scg, base_col, base_row, move_col, move_row) ⇒ nil
- #scg_rangesel_stop(scg, clear_str) ⇒ nil
- #scg_reload_item_edits(scg) ⇒ nil
- #scg_select_all(scg) ⇒ nil
-
#scg_set_display_cursor(scg) ⇒ nil
Set the displayed cursor type.
- #scg_set_left_col(scg, new_first_col) ⇒ nil
- #scg_set_top_row(scg, new_first_row) ⇒ nil
-
#scg_sheet(scg) ⇒ Gnm::Sheet
The sheet.
- #scg_size_guide_motion(scg, vert, guide_pos) ⇒ nil
- #scg_size_guide_start(scg, vert, colrow, is_colrow_resize) ⇒ nil
- #scg_size_guide_stop(scg) ⇒ nil
- #scg_special_cursor_bound_set(scg, r) ⇒ Boolean
- #scg_special_cursor_start(scg, style, button) ⇒ nil
- #scg_special_cursor_stop(scg) ⇒ nil
- #scg_take_focus(scg) ⇒ nil
-
#scg_view(scg) ⇒ Gnm::SheetView
The sheet view.
-
#scg_wbc(scg) ⇒ Gnm::WorkbookControl
The workbook control.
-
#scg_wbcg(scg) ⇒ Gnm::WBCGtk
The #WBCGtk.
-
#search_collect_cells(sr) ⇒ Array<Gnm::EvalPos>
Collect a list of all cells subject to search.
- #search_collect_cells_free(cells) ⇒ nil
-
#search_filter_matching(sr, cells) ⇒ Array<Gnm::SearchFilterResult>
Matches.
- #search_filter_matching_free(matches) ⇒ nil
- #search_normalize(txt) ⇒ String
-
#selection_first_range(sv, cc, cmd_name) ⇒ Gnm::Range
displays an error if there is more than one range.
-
#selection_get_ranges(sv, allow_intersection) ⇒ GLib::SList<Gnm::Range>
Caller is responsible for free the list and the content.
- #selection_to_string(sv, include_sheet_name_prefix) ⇒ String
- #session_init(argv0) ⇒ nil
- #set_cell_text_col(dao, col, row, text) ⇒ nil
- #set_cell_text_row(dao, col, row, text) ⇒ nil
- #set_uifilename(name, actions, nb) ⇒ nil
-
#sheet_range_set_text(pos, r, str) ⇒ nil
Does NOT check for array division.
- #shortest_rep_in_files ⇒ Boolean
- #shutdown ⇒ nil
- #simulation_tool(wbc, dao, sim) ⇒ String
- #simulation_tool_destroy(sim) ⇒ nil
-
#slist_sort_merge(list_1, list_2) ⇒ GLib::SList<Integer>
gnm_slist_sort_merge merges two lists of unsigned integers.
- #sort_contents(data, cc) ⇒ Integer
- #sort_permute_invert(perm, length) ⇒ Integer
- #sort_position(data, perm, cc) ⇒ nil
-
#stf_dialog(wbcg, opt_encoding, fixed_encoding, opt_locale, fixed_locale, source, data, data_len) ⇒ Gnm::DialogStfResult_t
This will start the import.
-
#stf_dialog_csv_page_cleanup(pagedata) ⇒ nil
Will cleanup csv page run-time data.
- #stf_dialog_csv_page_init(gui, pagedata) ⇒ nil
-
#stf_dialog_csv_page_prepare(pagedata) ⇒ nil
Will prepare the csv page.
-
#stf_dialog_fixed_page_cleanup(pagedata) ⇒ nil
Will cleanup fixed page run-time data.
- #stf_dialog_fixed_page_init(gui, pagedata) ⇒ nil
-
#stf_dialog_fixed_page_prepare(pagedata) ⇒ nil
Will prepare the fixed page.
- #stf_dialog_format_page_cleanup(pagedata) ⇒ nil
- #stf_dialog_format_page_init(gui, pagedata) ⇒ nil
-
#stf_dialog_format_page_prepare(pagedata) ⇒ nil
This will prepare the widgets on the format page before the page gets displayed.
- #stf_dialog_main_page_cleanup(pagedata) ⇒ nil
- #stf_dialog_main_page_init(gui, pagedata) ⇒ nil
-
#stf_dialog_main_page_prepare(pagedata) ⇒ nil
This will prepare the widgets on the format page before the page gets displayed.
-
#stf_dialog_result_attach_formats_to_cr(dialogresult, cr) ⇒ nil
Attach the formats of the dialogresult to the given cell region.
-
#stf_dialog_result_free(dialogresult) ⇒ nil
This routine will properly free the members of dialogresult and dialogresult itself.
-
#stf_export(export_options) ⇒ Boolean
Exports the sheets given in stfe.
-
#stf_file_saver_create(id) ⇒ GOffice::FileSaver
The newly allocated GOFile::Saver.
-
#stf_get_stfe(obj) ⇒ Gnm::StfExport
If none is found, a new one is created and attached to obj.
- #stf_init ⇒ nil
- #stf_parse_find_line(parseoptions, data, line) ⇒ String
-
#stf_parse_general(parseoptions, lines_chunk, data, data_end) ⇒ Array<GObject>
GPtrArray of strings.
- #stf_parse_general_free(lines) ⇒ nil
-
#stf_parse_lines(parseoptions, lines_chunk, data, maxlines, with_lineno) ⇒ Array<GObject>
GPtrArray of strings.
-
#stf_parse_options_guess(data) ⇒ Gnm::StfParseOptions_t
The guessed options.
-
#stf_parse_options_guess_csv(data) ⇒ Gnm::StfParseOptions_t
The guessed options.
- #stf_parse_region(parseoptions, data, data_end, wb) ⇒ Gnm::CellRegion
- #stf_parse_sheet(parseoptions, data, data_end, sheet, start_col, start_row) ⇒ Boolean
-
#stf_preview_colformats_add(renderdata, format) ⇒ nil
This will add an entry to the renderdata->colformats array.
-
#stf_preview_colformats_clear(renderdata) ⇒ nil
This will clear the renderdata->colformats array which contains the format of each column.
- #stf_preview_find_column(renderdata, x, pcol, dx) ⇒ nil
-
#stf_preview_free(data) ⇒ nil
This will free the renderdata.
- #stf_preview_get_cell_renderer(renderdata, col) ⇒ Gtk::CellRenderer
- #stf_preview_get_column(renderdata, col) ⇒ Gtk::TreeViewColumn
-
#stf_preview_new(data_container, date_conv) ⇒ Gnm::RenderData_t
A new renderdata struct.
- #stf_preview_set_lines(data, lines_chunk, lines) ⇒ nil
- #stf_shutdown ⇒ nil
-
#stf_text_to_columns(wbc, cc) ⇒ nil
Main routine, handles importing a file including all dialog mumbo-jumbo.
- #stirlerr(n) ⇒ Gnm::gnm_float
- #string_add_number(buf, d) ⇒ nil
-
#string_range_function(argc, argv, ei, func, user, flags, func_error) ⇒ Gnm::Value
This implements a Gnumeric sheet function that operates on a list of strings.
-
#strip_missing(data, n, missing) ⇒ nil
This removes the data elements from data whose indices are given by missing.
-
#style_border_fetch(line_type, color, orientation) ⇒ Gnm::Border
A Gnm::Border.
- #style_border_get_orientation(type) ⇒ Gnm::StyleBorderOrientation
- #style_border_get_width(line_type) ⇒ Integer
-
#style_border_none ⇒ Gnm::Border
A Gnm::Border with no borders.
-
#style_border_none_set_color(color) ⇒ nil
This function updates the color of gnm_style_border_none when the wanted grid color is known.
-
#style_border_ref(border) ⇒ Gnm::Border
A reference to border.
- #style_border_set_dash(i, context) ⇒ nil
- #style_border_unref(border) ⇒ nil
- #style_border_visible_in_blank(border) ⇒ Boolean
-
#style_borders_row_draw(prev_vert, sr, cr, x, y1, y2, colwidths, draw_vertical, dir) ⇒ nil
TODO : This is not the final resting place for this.
- #style_borders_row_print_gtk(prev_vert, sr, context, x, y1, y2, sheet, draw_vertical, dir) ⇒ nil
-
#style_color_auto_back ⇒ Gnm::Color
Always white, as far as we know.
-
#style_color_auto_font ⇒ Gnm::Color
Always black, as far as we know.
-
#style_color_auto_pattern ⇒ Gnm::Color
Normally black, but follows grid color if so told.
- #style_color_black ⇒ Gnm::Color
- #style_color_equal(a, b) ⇒ Integer
- #style_color_grid(context) ⇒ Gnm::Color
- #style_color_ref(sc) ⇒ Gnm::Color
- #style_color_unref(sc) ⇒ nil
- #style_color_white ⇒ Gnm::Color
- #style_context_get_color(context, state, color) ⇒ nil
- #style_hash(style) ⇒ Integer
- #style_hash_XL(style) ⇒ Integer
- #style_init ⇒ nil
-
#style_list_free(l) ⇒ nil
Free up the resources in the style list.
-
#style_list_get_style(l, col, row) ⇒ Gnm::Style
Attempts to find the style associated with the pos offset within the 0,0 based style list.
-
#style_row_init(prev_vert, sr, next_sr, start_col, end_col, mem, hide_grid) ⇒ nil
A small utility routine to initialize the grid drawing GnmStyleRow data structure.
- #style_shutdown ⇒ nil
- #sv_is_colrow_selected(sv, colrow, is_col) ⇒ Boolean
-
#sv_is_full_colrow_selected(sv, is_cols, index) ⇒ Boolean
are fully selected and the selection contains the specified col.
-
#sv_is_full_range_selected(sv, r) ⇒ Boolean
True if all of r is contained by the selection in sv.
-
#sv_is_pos_selected(sv, col, row) ⇒ Boolean
True if the supplied position is selected in view sv.
-
#sv_is_range_selected(sv, r) ⇒ Boolean
True If r overlaps with any part of the selection in sv.
-
#sv_is_singleton_selected(sv) ⇒ Gnm::CellPos
See if the 1st selected region is a singleton.
-
#sv_select_cur_array(sv) ⇒ nil
If the editpos is part of an array clear the selection and select the array.
-
#sv_select_cur_col(sv) ⇒ nil
Selects an entire column.
-
#sv_select_cur_depends(sv) ⇒ nil
Select all cells that depend on the expression in the current cell.
-
#sv_select_cur_inputs(sv) ⇒ nil
Select all cells that are direct potential inputs to the current cell.
-
#sv_select_cur_row(sv) ⇒ nil
Selects an entire row.
-
#sv_selection_add_full(sv, edit_col, edit_row, base_col, base_row, move_col, move_row, mode) ⇒ nil
Prepends a range to the selection list and sets the edit position.
- #sv_selection_add_pos(sv, col, row, mode) ⇒ nil
- #sv_selection_add_range(sv, range) ⇒ nil
-
#sv_selection_apply(sv, func, allow_intersection, user_data) ⇒ nil
Applies the specified function for all ranges in the selection.
-
#sv_selection_col_type(sv, col) ⇒ Gnm::ColRowSelectionType
How much of column col is selected in sv.
-
#sv_selection_extend_to(sv, col, row) ⇒ nil
This extends the selection to cover col, row and updates the status areas.
-
#sv_selection_foreach(sv, handler, user_data) ⇒ Boolean
Iterate through the ranges in a selection.
-
#sv_selection_free(sv) ⇒ nil
Releases the selection associated with sv.
-
#sv_selection_reset(sv) ⇒ nil
Releases the selection associated with sv , and forces a redraw of the previously selected regions and headers.
-
#sv_selection_row_type(sv, row) ⇒ Gnm::ColRowSelectionType
How much of column col is selected in sv.
- #sv_selection_set(sv, edit, base_col, base_row, move_col, move_row) ⇒ nil
-
#sv_selection_simplified_free(sv) ⇒ nil
Releases the simplified selection associated with sv.
- #sv_selection_simplify(sv) ⇒ nil
- #sv_selection_to_plot(sv, plot) ⇒ nil
-
#sv_selection_walk_step(sv, forward, horizontal) ⇒ nil
Move the edit_pos of sv 1 step according to forward and horizontal.
-
#sv_sheet(sv) ⇒ Gnm::Sheet
The sheet.
-
#sv_wbv(sv) ⇒ Gnm::WorkbookView
The workbook view.
- #swap_log_tail(lp) ⇒ Gnm::gnm_float
- #sys_data_dir ⇒ String
- #sys_extern_plugin_dir ⇒ String
- #sys_lib_dir ⇒ String
- #textbuffer_get_text(buf) ⇒ String
- #textview_get_text(text_view) ⇒ String
- #textview_set_text(text_view, txt) ⇒ nil
- #theme_is_dark(widget) ⇒ Boolean
- #tool_consolidate_engine(gcc, dao, specs, selector, result) ⇒ Boolean
-
#tool_load_selection(state, allow_multiple) ⇒ nil
load the current selection in the output and input entries show the dialog and focus the input_entry.
- #tool_random_cor_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #tool_random_engine(gcc, dao, specs, selector, result) ⇒ Boolean
- #tool_setup_update(state, name, cb, closure) ⇒ Gtk::Widget
- #translate_underline_from_pango(pul) ⇒ Gnm::Underline
- #translate_underline_to_pango(ul) ⇒ Pango::Underline
- #trunc(x) ⇒ Gnm::gnm_float
-
#undo_cell_pos_name(sheet, pos) ⇒ String
Returns the range name depending on the preference setting.
-
#undo_range_list_name(sheet, ranges) ⇒ String
(The result will be something like: "A1:C3, D4:E5").
-
#undo_range_name(sheet, r) ⇒ String
Returns the range name depending on the preference setting.
- #unit_name_to_unit(name) ⇒ Gtk::Unit
- #unit_to_unit_name(unit) ⇒ String
- #usr_dir(versioned) ⇒ String
- #utf8_strto(s, end) ⇒ Gnm::gnm_float
- #utf8_strtol(s, end) ⇒ Gnm::glong
-
#validation_eval(wbc, mstyle, sheet, pos, showed_dialog) ⇒ Gnm::ValidationStatus
Checks the validation in mstyle, if any.
- #validation_eval_range(wbc, sheet, pos, r, showed_dialog) ⇒ Gnm::ValidationStatus
-
#value_cmp(ptr_a, ptr_b) ⇒ Integer
qsort style comparison function for ascending order.
-
#value_cmp_reverse(ptr_a, ptr_b) ⇒ Integer
qsort style comparison function for descending order.
-
#value_error_name(err, translated) ⇒ String
The name of err, possibly localized.
-
#value_error_set_pos(err, pos) ⇒ Gnm::Value
Change the position of a ValueError.
- #value_init ⇒ nil
- #value_shutdown ⇒ nil
- #wb_control_claim_selection(wbc) ⇒ Boolean
-
#wb_control_cur_sheet(wbc) ⇒ Gnm::Sheet
The current sheet.
-
#wb_control_cur_sheet_view(wbc) ⇒ Gnm::SheetView
The current sheet view.
- #wb_control_edit_line_set(wbc, text) ⇒ nil
-
#wb_control_get_doc(wbc) ⇒ GOffice::Doc
The workbook set as a #GODoc.
-
#wb_control_get_workbook(wbc) ⇒ Gnm::Workbook
The workbook.
- #wb_control_init_state(wbc) ⇒ nil
- #wb_control_jump(wbc, sheet, r) ⇒ Boolean
- #wb_control_menu_state_update(wbc, flags) ⇒ nil
- #wb_control_navigate_to_cell(wbc, to) ⇒ nil
- #wb_control_parse_and_jump(wbc, text) ⇒ Boolean
- #wb_control_paste_from_selection(wbc, pt) ⇒ nil
- #wb_control_selection_descr_set(wbc, text) ⇒ nil
- #wb_control_set_view(wbc, optional_view, optional_wb) ⇒ nil
- #wb_control_sheet_add(wbc, sv) ⇒ nil
- #wb_control_sheet_focus(wbc, sheet) ⇒ nil
- #wb_control_sheet_remove(wbc, sheet) ⇒ nil
- #wb_control_sheet_remove_all(wbc) ⇒ nil
- #wb_control_style_feedback(wbc, changes) ⇒ nil
- #wb_control_undo_redo_labels(wbc, undo, redo) ⇒ nil
- #wb_control_undo_redo_pop(wbc, is_undo) ⇒ nil
- #wb_control_undo_redo_push(wbc, is_undo, text, key) ⇒ nil
- #wb_control_undo_redo_truncate(wbc, n, is_undo) ⇒ nil
- #wb_control_update_action_sensitivity(wbc) ⇒ nil
-
#wb_control_validation_msg(wbc, v, title, msg) ⇒ Integer
1 : ignore invalid and accept result 0 : discard invalid and finish editing -1 : continue editing.
-
#wb_control_view(wbc) ⇒ Gnm::WorkbookView
The workbook view.
- #wb_view_attach_control(wbv, wbc) ⇒ nil
- #wb_view_auto_expr_recalc(wbv) ⇒ nil
-
#wb_view_cur_sheet(wbv) ⇒ Gnm::Sheet
The current sheet.
-
#wb_view_cur_sheet_view(wbv) ⇒ Gnm::SheetView
The current sheet view.
- #wb_view_detach_control(wbc) ⇒ nil
- #wb_view_detach_from_workbook(wbv) ⇒ nil
-
#wb_view_edit_line_set(wbv, wbc) ⇒ nil
Load the edit line with the value of the cell in sheet's edit_pos.
-
#wb_view_get_doc(wbv) ⇒ GOffice::Doc
The #Workbook associated with wbv cast to a #GODoc.
-
#wb_view_get_index_in_wb(wbv) ⇒ Integer
Returns 0 based index of wbv within workbook, or -1 if there is no workbook.
-
#wb_view_get_workbook(wbv) ⇒ Gnm::Workbook
The #Workbook associated with wbv.
- #wb_view_is_protected(wbv, check_sheet) ⇒ Boolean
- #wb_view_menus_update(wbv) ⇒ nil
- #wb_view_preferred_size(wbv, w_pixels, h_pixels) ⇒ nil
-
#wb_view_selection_desc(wbv, use_pos, wbc) ⇒ nil
Load the edit line with the value of the cell in sheet's edit_pos.
- #wb_view_set_attribute(wbv, name, value) ⇒ nil
- #wb_view_sheet_add(wbv, new_sheet) ⇒ nil
- #wb_view_sheet_focus(wbv, sheet) ⇒ nil
- #wb_view_style_feedback(wbv) ⇒ nil
- #wbcg_append_sheet(ignored, wbcg) ⇒ nil
- #wbcg_auto_complete_destroy(wbcg) ⇒ nil
- #wbcg_clone_sheet(ignored, wbcg) ⇒ nil
- #wbcg_copy_toolbar_visibility(new_wbcg, wbcg) ⇒ nil
-
#wbcg_cur_scg(wbcg) ⇒ Gnm::SheetControlGUI
The current Sheet::ControlGUI.
-
#wbcg_cur_sheet(wbcg) ⇒ Gnm::Sheet
The current #Sheet.
-
#wbcg_edit_add_markup(wbcg, attr) ⇒ nil
Absorbs the ref to attr.
-
#wbcg_edit_finish(wbcg, result, showed_dialog) ⇒ Boolean
True if editing completed successfully, or we were no editing.
- #wbcg_edit_get_display_text(wbcg) ⇒ String
-
#wbcg_edit_get_markup(wbcg, full) ⇒ Pango::AttrList
editing.
-
#wbcg_edit_start(wbcg, blankp, cursorp) ⇒ Boolean
Initiate editing of a cell in the sheet.
-
#wbcg_entry_has_logical(wbcg) ⇒ Boolean
True if wbcg_set_entry has redirected the edit_entry.
-
#wbcg_find_action(wbcg, name) ⇒ Gtk::Action
The action with the given name.
-
#wbcg_find_for_workbook(wb, candidate, pref_screen, pref_display) ⇒ Gnm::WBCGtk
The found #WBCGtk or nil.
-
#wbcg_focus_cur_scg(wbcg) ⇒ Gnm::Sheet
A utility routine to safely ensure that the keyboard focus is attached to the item-grid.
- #wbcg_focus_current_cell_indicator(wbcg) ⇒ nil
- #wbcg_font_action_set_font_desc(act, desc) ⇒ nil
-
#wbcg_get_entry(wbcg) ⇒ Gtk::Entry
The Gtk::Entry associated with the current GnmExprEntry.
-
#wbcg_get_entry_logical(wbcg) ⇒ Gnm::ExprEntry
wbcg_set_entry for gurus) Gnm::ExprEntry.
-
#wbcg_get_entry_underlying(wbcg) ⇒ Gtk::Widget
Gnm::ExprEntry.
- #wbcg_get_font_desc(wbcg) ⇒ Pango::FontDescription
- #wbcg_get_n_scg(wbcg) ⇒ Integer
-
#wbcg_get_nth_scg(wbcg, i) ⇒ Gnm::SheetControlGUI
wbcg's notebook.
-
#wbcg_insert_object(wbcg, so) ⇒ nil
Takes a newly created Sheet::Object that has not yet been realized and prepares to place it on the sheet.
-
#wbcg_insert_object_clear(wbcg) ⇒ nil
If we are preparing to insert a new object, unref the object, and restore a normal state to the scgs that was changed in wbcg_insert_object (e.g., visibility of cursors).
- #wbcg_insert_sheet(ignored, wbcg) ⇒ nil
- #wbcg_is_editing(wbcg) ⇒ Boolean
-
#wbcg_rangesel_possible(wbcg) ⇒ Boolean
Returns true if the cursor keys should be used to select a cell range (if the cursor is in a spot in the expression where it makes sense to have a cell reference), false if not.
- #wbcg_set_end_mode(wbcg, flag) ⇒ nil
- #wbcg_set_entry(wbc, new_entry) ⇒ nil
- #wbcg_set_status_text(wbcg, text) ⇒ nil
- #wbcg_set_transient(wbcg, window) ⇒ nil
- #wbcg_toggle_visibility(wbcg, action) ⇒ nil
-
#wbcg_toplevel(wbcg) ⇒ Gtk::Window
The toplevel Gtk::Window.
- #widget_measure_string(w, s) ⇒ Integer
- #widget_set_cursor(w, ct) ⇒ nil
- #widget_set_cursor_type(w, ct) ⇒ nil
- #x_claim_clipboard(display) ⇒ Boolean
- #x_disown_clipboard ⇒ nil
- #x_request_clipboard(wbcg, pt) ⇒ nil
- #x_store_clipboard_if_needed(wb) ⇒ nil
- #xml_attr_bool(attrs, name, res) ⇒ Boolean
- #xml_attr_double(attrs, name, res) ⇒ Boolean
- #xml_attr_int(attrs, name, res) ⇒ Boolean
- #xml_cellregion_read(wbc, io_context, sheet, buffer, length) ⇒ Gnm::CellRegion
-
#xml_in_cur_obj(xin) ⇒ Gnm::SheetObject
The current sheet object.
-
#xml_in_cur_sheet(xin) ⇒ Gnm::Sheet
The current sheet.
- #xml_in_doc_dispose_on_exit(pdoc) ⇒ nil
- #xml_io_conventions ⇒ Gnm::Conventions
- #xml_out_add_gocolor(o, id, c) ⇒ nil
-
#xml_out_end_element_check(xout, id) ⇒ nil
Closes an xml tag, expected it to be id.
- #xml_prep_style_parser(xin, attrs, handler, user) ⇒ nil
- #xml_sax_read_init ⇒ nil
- #xml_sax_read_shutdown ⇒ nil
- #xml_sax_write_init ⇒ nil
- #xml_sax_write_shutdown ⇒ nil
- #yearfrac(from, to, basis) ⇒ Gnm::gnm_float
Class Method Details
.const_missing(name) ⇒ Object
29 30 31 32 33 34 35 36 |
# File 'lib/gnm.rb', line 29 def const_missing(name) init if const_defined?(name) const_get(name) else super end end |
.init ⇒ Object
38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/gnm.rb', line 38 def init class << self remove_method(:init) remove_method(:const_missing) end GOffice.init if GOffice.respond_to?(:init) loader = Loader.new(self) loader.load("Gnm") init class << self remove_method(:init) end end |
Instance Method Details
#1_0_rangeref_as_string(out, ref) ⇒ nil
Simplified variant of rangeref_as_string that old versions of gnumeric can read. It drops support for full col/row references. We can remap them on import.
This function also ignores R1C1 settings.
#acot(x) ⇒ Gnm::gnm_float
Returns The inverse co-tangent of the given number.
#acoth(x) ⇒ Gnm::gnm_float
Returns The inverse hyperbolic co-tangent of the given number.
#action_group_add_action(group, act) ⇒ nil
#action_group_add_actions(group, actions, n, user) ⇒ nil
#advanced_filter(wbc, dao, database, criteria, unique_only_flag) ⇒ Integer
#agm(a, b) ⇒ Gnm::gnm_float
Returns The arithmetic-geometric mean of a and b.
#analysis_tool_advanced_filter_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_anova_single_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_anova_two_factor_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_auto_expression_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_calc_length(info) ⇒ Integer
#analysis_tool_chi_squared_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_correlation_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_covariance_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_descriptive_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_exponential_smoothing_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_fourier_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_frequency_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_ftest_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_generic_b_clean(specs) ⇒ Boolean
#analysis_tool_generic_clean(specs) ⇒ Boolean
#analysis_tool_get_function(name, dao) ⇒ Gnm::Func
The usage count of the function is incremented.
#analysis_tool_histogram_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_kaplan_meier_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_moving_average_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_normality_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_one_mean_test_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_principal_components_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_ranking_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_regression_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_sampling_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_sign_test_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_sign_test_two_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_signed_rank_test_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_signed_rank_test_two_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_table(dao, info, title, functionname, full_table) ⇒ Boolean
#analysis_tool_ttest_eqvar_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_ttest_neqvar_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_ttest_paired_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_wilcoxon_mann_whitney_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tool_ztest_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#analysis_tools_write_label(val, dao, info, x, y, i) ⇒ nil
#analysis_tools_write_label_ftest(val, dao, x, y, labels, i) ⇒ nil
#annual_year_basis(value_date, basis, date_conv) ⇒ Integer
#argv0 ⇒ String
#auto_style_format_suggest(texpr, epos) ⇒ GOffice::Format
Suggest a format for texpr.
#autocorrect_tool(input) ⇒ String
#autofill_fill(sheet, default_increment, base_col, base_row, w, h, end_col, end_row) ⇒ nil
An internal routine to autofill a region. It does NOT queue a recalc, flag a status update, or regen spans.
#autofill_hint(sheet, default_increment, base_col, base_row, w, h, end_col, end_row) ⇒ GLib::String
#autofill_init ⇒ nil
#autofill_shutdown ⇒ nil
#bessel_i(x, alpha) ⇒ Gnm::gnm_float
#bessel_j(x, alpha) ⇒ Gnm::gnm_float
#bessel_k(x, alpha) ⇒ Gnm::gnm_float
#bessel_y(x, alpha) ⇒ Gnm::gnm_float
#beta(a, b) ⇒ Gnm::gnm_float
Returns the Beta function evaluated at a and b.
#border_shutdown ⇒ nil
#canvas_get_position(canvas, x, y, px, py) ⇒ nil
#canvas_get_screen_position(canvas, x, y, ix, iy) ⇒ nil
#cell_coord_name(col, row) ⇒ String
Returns a string representation of the cell at (col,row).
#cell_set_array(sheet, r, texpr) ⇒ Boolean
Set an array expression for a range. Uses cell_set_expr_internal to store the expr as an 'array-formula'. The supplied expression is wrapped in an array operator for each cell in the range and scheduled for recalc. NOTE : This adds a reference to the expression.
Does not regenerate spans, dimensions or autosize cols/rows.
DOES CHECK for array partitioning.
#cell_set_array_formula(sheet, cola, rowa, colb, rowb, texpr) ⇒ nil
Uses cell_set_expr_internal to store the expr as an 'array-formula'. The supplied expression is wrapped in an array operator for each cell in the range and scheduled for recalc.
NOTE : Does not add a reference to the expression. It takes over the caller's reference.
Does not regenerate spans, dimensions or autosize cols/rows.
DOES NOT CHECK for array partitioning.
#cell_set_array_formula_undo(sr, texpr) ⇒ GOffice::Undo
Returns the newly allocated #GOUndo.
#cell_set_comment(sheet, pos, author, text, markup) ⇒ Gnm::Comment
Returns the newly allocated Gnm::Comment.
#cellpos_as_string(pos) ⇒ String
Returns a string representation of the cell at pos.
#cellpos_equal(a, b) ⇒ Integer
#cellpos_hash(key) ⇒ Integer
#cellpos_init_cellref(cp, cr, pos, base_sheet) ⇒ nil
#cellpos_init_cellref_ss(res, cell_ref, pos, ss) ⇒ nil
#cellpos_parse(cell_str, ss, res, strict) ⇒ String
failure. (In the strict case, that would be a pointer to the \0 or nil.)
#cellref_as_string(out, cell_ref, no_sheetname) ⇒ nil
Emits a string containing representation of ref as evaluated at pp. no_sheetname can be used to suppress the addition of the sheetname for non-local references.
#cellref_parse(out, ss, in, pos) ⇒ String
Converts the string representation of a Gnm::CellRef into an internal representation. cellref.
#cellregion_cmd_size(cr) ⇒ Integer
#cellregion_invalidate_sheet(cr, sheet) ⇒ nil
Invalidate references from cell content, objects or style to sheet.
#cellregion_ref(cr) ⇒ Gnm::CellRegion
#cellregion_to_string(cr, only_visible, date_conv) ⇒ GLib::String
#cellregion_to_xml(cr) ⇒ Gsf::OutputMemory
Returns nil on error.
#cellregion_unref(cr) ⇒ nil
#check_for_plugins_missing(ids, parent) ⇒ Boolean
#clipboard_copy_obj(sheet, objects) ⇒ Gnm::CellRegion
Returns a cell region with copies of objects in list. Caller is responsible for cellregion_unref-ing the result.
#clipboard_copy_range(sheet, r) ⇒ Gnm::CellRegion
Entry point to the clipboard copy code
#clipboard_copy_range_undo(sheet, r) ⇒ GOffice::Undo
of the given range.
#clipboard_copy_ranges_undo(sheet, ranges) ⇒ GOffice::Undo
of the given range.
#clipboard_init ⇒ nil
#clipboard_paste_region(cr, pt, cc) ⇒ Boolean
Pastes the supplied GnmCellRegion (cr) into the supplied GnmPasteTarget (pt). This operation is not undoable. It does not auto grow the destination if the target is a singleton. This is a simple interface to paste a region.
#clipboard_shutdown ⇒ nil
#cmd_analysis_tool(wbc, sheet, dao, specs, engine, always_take_ownership) ⇒ Boolean
Note: this takes ownership of specs and dao if the command succeeds.
#cmd_area_set_array_expr(wbc, sv, new_texpr) ⇒ Boolean
#cmd_area_set_text(wbc, sv, text, markup) ⇒ Boolean
#cmd_autofill(wbc, sheet, default_increment, base_col, base_row, w, h, end_col, end_row, inverse_autofill) ⇒ Boolean
#cmd_autofilter_add_remove(wbc) ⇒ Boolean
#cmd_autofilter_set_condition(wbc, filter, i, cond) ⇒ Boolean
#cmd_autofit_selection(wbc, sv, sheet, fit_width, selectionlist) ⇒ Boolean
#cmd_cell_range_is_locked_effective(sheet, range, wbc, cmd_name) ⇒ Boolean
checks whether the cells are effectively locked
static gboolean cmd_cell_range_is_locked_effective
Do not use this function unless the sheet is part of the workbook with the given wbc (otherwise the results may be strange)
#cmd_change_meta_data(wbc, changes, removed) ⇒ Boolean
Returns true if there was a problem, false otherwise.
#cmd_colrow_std_size(wbc, sheet, is_cols, new_default) ⇒ Boolean
#cmd_context_error_calc(cc, msg) ⇒ nil
#cmd_context_error_splits_array(cc, cmd, array) ⇒ nil
#cmd_context_error_splits_merge(cc, merge) ⇒ nil
#cmd_copyrel(wbc, dx, dy, name) ⇒ Boolean
#cmd_create_data_table(wbc, sheet, r, col_input, row_input) ⇒ Boolean
#cmd_data_shuffle(wbc, sc, sheet) ⇒ Boolean
#cmd_define_name(wbc, name, pp, texpr, descriptor) ⇒ Boolean
If the name has never been defined in context pp create a new name If it is a placeholder, assign texpr to it and make it real If it already exists as a real name just assign expr.
#cmd_delete_cols(wbc, sheet, start_col, count) ⇒ Boolean
#cmd_delete_rows(wbc, sheet, start_row, count) ⇒ Boolean
#cmd_generic(wbc, text, undo, redo) ⇒ Boolean
#cmd_generic_with_size(wbc, text, size, undo, redo) ⇒ Boolean
#cmd_global_outline_change(wbc, is_cols, depth) ⇒ Boolean
#cmd_goal_seek(wbc, cell, ov, nv) ⇒ Boolean
#cmd_insert_cols(wbc, sheet, start_col, count) ⇒ Boolean
#cmd_insert_rows(wbc, sheet, start_row, count) ⇒ Boolean
#cmd_merge_cells(wbc, sheet, selection, center) ⇒ Boolean
Returns true if there was a problem, false otherwise.
#cmd_merge_data(wbc, sheet, merge_zone, merge_fields, merge_data) ⇒ Boolean
Returns true if there was a problem, false otherwise.
#cmd_object_raise(wbc, so, dir) ⇒ Boolean
#cmd_objects_delete(wbc, objects, name) ⇒ Boolean
delete.
#cmd_objects_move(wbc, objects, anchors, objects_created, name) ⇒ Boolean
Returns true if there was a problem, false otherwise.
#cmd_page_break_toggle(wbc, sheet, is_vert) ⇒ Boolean
#cmd_page_breaks_clear(wbc, sheet) ⇒ Boolean
#cmd_paste(wbc, pt) ⇒ nil
Pastes the current cut buffer, copy buffer, or X selection to the destination sheet range.
When pasting a cut the destination MUST be the same size as the src.
When pasting a copy the destination can be a singleton, or an integer multiple of the size of the source. This is not tested here. Full undo support.
#cmd_paste_copy(wbc, pt, content) ⇒ Boolean
#cmd_paste_cut(wbc, info, move_selection, cmd_descriptor) ⇒ Boolean
#cmd_paste_to_selection(wbc, dest_sv, paste_flags) ⇒ nil
Using the current selection as a target Full undo support.
#cmd_print_setup(wbc, sheet, pi) ⇒ Boolean
#cmd_remove_name(wbc, nexpr) ⇒ Boolean
Returns TRUE on error
#cmd_rename_sheet(wbc, sheet, new_name) ⇒ Boolean
#cmd_reorganize_sheets(wbc, old_state, undo_sheet) ⇒ Boolean
#cmd_rescope_name(wbc, nexpr, scope) ⇒ Boolean
Returns true if there was a problem, false otherwise.
#cmd_resize_colrow(wbc, sheet, is_col, selection, new_size) ⇒ Boolean
#cmd_resize_sheets(wbc, sheets, cols, rows) ⇒ Boolean
Returns true if there was a problem, false otherwise.
#cmd_scenario_add(wbc, s, sheet) ⇒ Boolean
Returns true if there was a problem, false otherwise.
#cmd_scenario_mngr(wbc, sc, undo) ⇒ Boolean
#cmd_search_replace(wbc, sr) ⇒ Boolean
#cmd_selection_autoformat(wbc, ft) ⇒ Boolean
Returns true if there was a problem, false otherwise.
#cmd_selection_clear(wbc, clear_flags) ⇒ Boolean
#cmd_selection_colrow_hide(wbc, is_cols, visible) ⇒ Boolean
#cmd_selection_format(wbc, style, borders, opt_translated_name) ⇒ Boolean
#cmd_selection_format_toggle_font_style(wbc, style, t) ⇒ Boolean
#cmd_selection_group(wbc, is_cols, group) ⇒ Boolean
#cmd_selection_hyperlink(wbc, style, opt_translated_name, opt_content) ⇒ Boolean
Returns true if there was a problem, false otherwise.
#cmd_selection_is_locked_effective(sheet, selection, wbc, cmd_name) ⇒ Boolean
checks whether the selection is effectively locked static gboolean cmd_selection_is_locked_effective
Do not use this function unless the sheet is part of the workbook with the given wbcg (otherwise the results may be strange)
#cmd_selection_outline_change(wbc, is_cols, index, depth) ⇒ Boolean
#cmd_set_comment(wbc, sheet, pos, new_text, attr, new_author) ⇒ Boolean
#cmd_set_text(wbc, sheet, pos, new_text, markup, autocorrect) ⇒ Boolean
#cmd_shift_cols(wbc, sheet, start_col, end_col, row, count) ⇒ nil
Takes the cells in the region (start_col,row):(end_col,MAX_ROW) and copies them count units (possibly negative) downwards.
#cmd_shift_rows(wbc, sheet, col, start_row, end_row, count) ⇒ nil
Takes the cells in the region (col,start_row):(MAX_COL,end_row) and copies them count units (possibly negative) to the right. sheet the sheet col column marking the start of the shift start_row first row end_row end row count numbers of columns to shift. negative numbers will delete count columns, positive number will insert count columns.
#cmd_slicer_refresh(wbc) ⇒ Boolean
#cmd_so_component_config(wbc, so, n_obj, o_obj) ⇒ Boolean
#cmd_so_graph_config(wbc, sog, n_graph, o_graph) ⇒ Boolean
#cmd_so_set_adjustment(wbc, so, lnk, horizontal, lower, upper, step, page, undo_label) ⇒ Boolean
#cmd_so_set_button(wbc, so, lnk, old_label, new_label) ⇒ Boolean
#cmd_so_set_checkbox(wbc, so, lnk, old_label, new_label) ⇒ Boolean
#cmd_so_set_frame_label(wbc, so, old_label, new_label) ⇒ Boolean
#cmd_so_set_links(wbc, so, output, content, as_index) ⇒ Boolean
#cmd_so_set_radio_button(wbc, so, lnk, old_label, new_label, old_value, new_value) ⇒ Boolean
#cmd_so_set_value(wbc, text, pref, new_val, sheet) ⇒ Boolean
#cmd_sort(wbc, data) ⇒ Boolean
#cmd_tabulate(wbc, data) ⇒ Boolean
#cmd_text_to_columns(wbc, src, src_sheet, target, target_sheet, content) ⇒ Boolean
#cmd_toggle_rtl(wbc, sheet) ⇒ Boolean
#cmd_trunc_descriptor(src, truncated) ⇒ GLib::String
#cmd_unmerge_cells(wbc, sheet, selection) ⇒ Boolean
Returns true if there was a problem, false otherwise.
#cmd_zoom(wbc, sheets, factor) ⇒ Boolean
Returns true if there was a problem, false otherwise.
#col_name(col) ⇒ String
Returns A string representation of col.
#col_parse(str, ss, res, relative) ⇒ String
#collect_float_pairs(v0, v1, ep, flags, xs0, xs1, n, constp) ⇒ Gnm::Value
If n is not positive upon return, no data has been allocated. If n is negative upon return, the two ranges had different sizes.
Note: introspection cannot handle this functions parameter mix. the vectors returned in xs0 and xs1. If present and true, the resulting data vectors in xs0 and xs1 are not owned by the caller. If not-present or false, the callers owns and must free the result.
#collect_floats(argc, argv, ep, flags, n, error, info, constp) ⇒ Gnm::gnm_float
exprlist: List of expressions to evaluate. cr: Current location (for resolving relative cells). flags: COLLECT_IGNORE_STRINGS: silently ignore strings. COLLECT_COERCE_STRINGS: coerce string into numbers COLLECT_ZERO_STRINGS: count strings as 0. (Alternative: return #VALUE!.) COLLECT_IGNORE_BOOLS: silently ignore bools. COLLECT_ZEROONE_BOOLS: count FALSE as 0, TRUE as 1. (Alternative: return #VALUE!.) COLLECT_IGNORE_SUBTOTAL : ignore expressions that include the function SUBTOTAL directly and ignore any content in filtered rows. n: Output parameter for number of floats. Evaluate a list of expressions and return the result as an array of gnm_float.
#collect_floats_value(val, ep, flags, n, error) ⇒ Gnm::gnm_float
#collect_floats_value_with_info(val, ep, flags, n, info, error) ⇒ Gnm::gnm_float
Like collect_floats_value, but keeps info on missing values
#color_init ⇒ nil
#color_shutdown ⇒ nil
#colrow_autofit(sheet, r, is_cols, ignore_strings, min_current, min_default, indices, sizes) ⇒ nil
#colrow_autofit_col(sheet, r) ⇒ nil
#colrow_autofit_row(sheet, r) ⇒ nil
#colrow_compute_pixel_scale(sheet, horizontal) ⇒ Float
#colrow_compute_pixels_from_pts(cri, sheet, horizontal, scale) ⇒ nil
#colrow_compute_pts_from_pixels(cri, sheet, horizontal, scale) ⇒ nil
#colrow_find_outline_bound(sheet, is_cols, index, depth, inc) ⇒ Integer
find the next/prev col/row at the designated depth starting from the supplied index.
#colrow_free(cri) ⇒ nil
#colrow_get_global_outline(sheet, is_cols, depth, show, hide) ⇒ nil
Collect the sets of visibility changes required to change the visibility of all outlined columns/rows such that those depth less then depth are visible.
#colrow_get_index_list(first, last, list) ⇒ Gnm::ColRowIndexList
Build an ordered list of pairs doing intelligent merging of overlapping regions.
#colrow_get_outline_toggle(sheet, is_cols, visible, first, last) ⇒ Gnm::ColRowVisList
#colrow_get_sizes(sheet, is_cols, src, new_size) ⇒ Gnm::ColRowStateGroup
#colrow_get_states(sheet, is_cols, first, last) ⇒ Gnm::ColRowStateList
#colrow_get_visibility_toggle(sv, is_cols, visible) ⇒ Gnm::ColRowVisList
Searches the selection list and generates a list of index,count pairs of row/col ranges that need to be hidden or unhidden.
#colrow_index_list_copy(list) ⇒ Gnm::ColRowIndexList
#colrow_index_list_to_string(list, is_cols, is_single) ⇒ GLib::String
#colrow_restore_state_group(sheet, is_cols, selection, state_groups) ⇒ nil
#colrow_set_sizes(sheet, is_cols, src, new_size, from, to) ⇒ Gnm::ColRowStateGroup
#colrow_set_states(sheet, is_cols, first, states) ⇒ nil
This is a low level routine it does not redraw or reposition objects
#colrow_set_visibility(sheet, is_cols, visible, first, last) ⇒ nil
Change the visibility of the selected range of contiguous cols/rows. NOTE : only changes the collapsed state for the LAST+1 element.
#colrow_set_visibility_list(sheet, is_cols, visible, list) ⇒ nil
This is the high level command that is wrapped by undo and redo. It should not be called by other commands.
#colrow_state_group_destroy(set) ⇒ Gnm::ColRowStateGroup
Returns nil.
#colrow_state_list_destroy(list) ⇒ Gnm::ColRowStateList
Returns nil.
#colrow_state_list_foreach(list, sheet, is_cols, base, callback, user_data) ⇒ nil
Iterates through the existing rows or columns within the range supplied. Currently only support left-to-right iteration. If a callback returns true, iteration stops.
#colrow_vis_list_length(list) ⇒ Integer
#cols_name(start_col, end_col) ⇒ String
start_col to end_col.
#combin(n, k) ⇒ Gnm::gnm_float
#complex_fact(z, exp2) ⇒ GOffice::Complex
Returns the factorial function evaluated at z.
#complex_from_string(dst, src, imunit) ⇒ Integer
This function differs from Excel's parsing in at least the following ways: (1) We allow spaces before the imaginary unit used with an implied "1". Therefore we allow "+ i". (2) We do not allow a thousands separator as in "1,000i".
#complex_gamma(z, exp2) ⇒ GOffice::Complex
Returns the Gamma function evaluated at z.
#complex_igamma(a, z, lower, regularized) ⇒ GOffice::Complex
a and z.
#complex_invalid_p(src) ⇒ Integer
#complex_to_string(src, imunit) ⇒ String
#conf_get_autocorrect_dir_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_autocorrect_first_letter ⇒ Boolean
#conf_get_autocorrect_first_letter_list ⇒ GLib::SList<String>
#conf_get_autocorrect_first_letter_list_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_autocorrect_first_letter_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_autocorrect_init_caps ⇒ Boolean
#conf_get_autocorrect_init_caps_list ⇒ GLib::SList<String>
#conf_get_autocorrect_init_caps_list_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_autocorrect_init_caps_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_autocorrect_names_of_days ⇒ Boolean
#conf_get_autocorrect_names_of_days_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_autocorrect_replace ⇒ Boolean
#conf_get_autocorrect_replace_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_autoformat_dir_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_autoformat_extra_dirs ⇒ GLib::SList<String>
#conf_get_autoformat_extra_dirs_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_autoformat_sys_dir ⇒ String
#conf_get_autoformat_sys_dir_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_autoformat_usr_dir ⇒ String
#conf_get_autoformat_usr_dir_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_defaultfont_bold ⇒ Boolean
#conf_get_core_defaultfont_bold_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_defaultfont_dir_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_defaultfont_italic ⇒ Boolean
#conf_get_core_defaultfont_italic_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_defaultfont_name ⇒ String
#conf_get_core_defaultfont_name_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_defaultfont_size ⇒ Float
#conf_get_core_defaultfont_size_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_file_save_def_overwrite ⇒ Boolean
#conf_get_core_file_save_def_overwrite_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_file_save_dir_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_file_save_extension_check_disabled ⇒ GLib::SList<String>
#conf_get_core_file_save_extension_check_disabled_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_file_save_single_sheet ⇒ Boolean
#conf_get_core_file_save_single_sheet_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_gui_cells_dir_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_gui_cells_extension_markers ⇒ Boolean
#conf_get_core_gui_cells_extension_markers_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_gui_cells_function_markers ⇒ Boolean
#conf_get_core_gui_cells_function_markers_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_gui_editing_autocomplete ⇒ Boolean
#conf_get_core_gui_editing_autocomplete_min_chars ⇒ Integer
#conf_get_core_gui_editing_autocomplete_min_chars_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_gui_editing_autocomplete_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_gui_editing_dir_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_gui_editing_enter_moves_dir ⇒ GOffice::Direction
#conf_get_core_gui_editing_enter_moves_dir_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_gui_editing_function_argument_tooltips ⇒ Boolean
#conf_get_core_gui_editing_function_argument_tooltips_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_gui_editing_function_name_tooltips ⇒ Boolean
#conf_get_core_gui_editing_function_name_tooltips_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_gui_editing_recalclag ⇒ Integer
#conf_get_core_gui_editing_recalclag_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_gui_editing_transitionkeys ⇒ Boolean
#conf_get_core_gui_editing_transitionkeys_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_gui_screen_dir_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_gui_screen_horizontaldpi ⇒ Float
#conf_get_core_gui_screen_horizontaldpi_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_gui_screen_verticaldpi ⇒ Float
#conf_get_core_gui_screen_verticaldpi_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_gui_toolbars_dir_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_gui_toolbars_format_position ⇒ Gtk::PositionType
#conf_get_core_gui_toolbars_format_position_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_gui_toolbars_format_visible ⇒ Boolean
#conf_get_core_gui_toolbars_format_visible_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_gui_toolbars_object_position ⇒ Gtk::PositionType
#conf_get_core_gui_toolbars_object_position_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_gui_toolbars_object_visible ⇒ Boolean
#conf_get_core_gui_toolbars_object_visible_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_gui_toolbars_standard_position ⇒ Gtk::PositionType
#conf_get_core_gui_toolbars_standard_position_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_gui_toolbars_standard_visible ⇒ Boolean
#conf_get_core_gui_toolbars_standard_visible_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_gui_window_dir_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_gui_window_x ⇒ Float
#conf_get_core_gui_window_x_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_gui_window_y ⇒ Float
#conf_get_core_gui_window_y_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_gui_window_zoom ⇒ Float
#conf_get_core_gui_window_zoom_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_sort_default_ascending ⇒ Boolean
#conf_get_core_sort_default_ascending_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_sort_default_by_case ⇒ Boolean
#conf_get_core_sort_default_by_case_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_sort_default_dir_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_sort_default_retain_formats ⇒ Boolean
#conf_get_core_sort_default_retain_formats_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_sort_dialog_dir_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_sort_dialog_max_initial_clauses ⇒ Integer
#conf_get_core_sort_dialog_max_initial_clauses_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_workbook_autosave_time ⇒ Integer
#conf_get_core_workbook_autosave_time_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_workbook_dir_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_workbook_n_cols ⇒ Integer
#conf_get_core_workbook_n_cols_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_workbook_n_rows ⇒ Integer
#conf_get_core_workbook_n_rows_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_workbook_n_sheet ⇒ Integer
#conf_get_core_workbook_n_sheet_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_xml_compression_level ⇒ Integer
#conf_get_core_xml_compression_level_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_core_xml_dir_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_cut_and_paste_dir_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_cut_and_paste_prefer_clipboard ⇒ Boolean
#conf_get_cut_and_paste_prefer_clipboard_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_detachable_toolbars ⇒ Boolean
#conf_get_dialogs_rs_dir_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_dialogs_rs_unfocused ⇒ Boolean
#conf_get_dialogs_rs_unfocused_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_functionselector_dir_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_functionselector_num_of_recent ⇒ Integer
#conf_get_functionselector_num_of_recent_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_functionselector_recentfunctions ⇒ GLib::SList<String>
#conf_get_functionselector_recentfunctions_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_long_desc(node) ⇒ String
Returns a description of node.
#conf_get_page_setup ⇒ Gtk::PageSetup
Returns the default Gtk::PageSetup.
#conf_get_plugin_glpk_dir_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_plugin_glpk_glpsol_path ⇒ String
#conf_get_plugin_glpk_glpsol_path_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_plugin_latex_dir_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_plugin_latex_use_utf8 ⇒ Boolean
#conf_get_plugin_latex_use_utf8_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_plugin_lpsolve_dir_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_plugin_lpsolve_lpsolve_path ⇒ String
#conf_get_plugin_lpsolve_lpsolve_path_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_plugins_activate_newplugins ⇒ Boolean
#conf_get_plugins_activate_newplugins_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_plugins_active ⇒ GLib::SList<String>
#conf_get_plugins_active_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_plugins_dir_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_plugins_extra_dirs ⇒ GLib::SList<String>
#conf_get_plugins_extra_dirs_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_plugins_file_states ⇒ GLib::SList<String>
#conf_get_plugins_file_states_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_plugins_known ⇒ GLib::SList<String>
#conf_get_plugins_known_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_print_settings ⇒ Gtk::PrintSettings
Returns the default Gtk::PrintSettings.
#conf_get_printer_decoration_font ⇒ Gnm::Style
footers.
#conf_get_printsetup_across_then_down ⇒ Boolean
#conf_get_printsetup_across_then_down_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_all_sheets ⇒ Boolean
#conf_get_printsetup_all_sheets_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_center_horizontally ⇒ Boolean
#conf_get_printsetup_center_horizontally_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_center_vertically ⇒ Boolean
#conf_get_printsetup_center_vertically_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_dir_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_footer ⇒ GLib::SList<String>
#conf_get_printsetup_footer_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_gtk_setting ⇒ GLib::SList<String>
#conf_get_printsetup_gtk_setting_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_header ⇒ GLib::SList<String>
#conf_get_printsetup_header_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_hf_font_bold ⇒ Boolean
#conf_get_printsetup_hf_font_bold_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_hf_font_italic ⇒ Boolean
#conf_get_printsetup_hf_font_italic_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_hf_font_name ⇒ String
#conf_get_printsetup_hf_font_name_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_hf_font_size ⇒ Float
#conf_get_printsetup_hf_font_size_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_hf_left ⇒ GLib::SList<String>
#conf_get_printsetup_hf_left_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_hf_middle ⇒ GLib::SList<String>
#conf_get_printsetup_hf_middle_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_hf_right ⇒ GLib::SList<String>
#conf_get_printsetup_hf_right_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_margin_bottom ⇒ Float
#conf_get_printsetup_margin_bottom_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_margin_gtk_bottom ⇒ Float
#conf_get_printsetup_margin_gtk_bottom_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_margin_gtk_left ⇒ Float
#conf_get_printsetup_margin_gtk_left_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_margin_gtk_right ⇒ Float
#conf_get_printsetup_margin_gtk_right_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_margin_gtk_top ⇒ Float
#conf_get_printsetup_margin_gtk_top_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_margin_top ⇒ Float
#conf_get_printsetup_margin_top_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_paper ⇒ String
#conf_get_printsetup_paper_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_paper_orientation ⇒ Integer
#conf_get_printsetup_paper_orientation_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_preferred_unit ⇒ Gtk::Unit
#conf_get_printsetup_preferred_unit_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_print_black_n_white ⇒ Boolean
#conf_get_printsetup_print_black_n_white_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_print_even_if_only_styles ⇒ Boolean
#conf_get_printsetup_print_even_if_only_styles_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_print_grid_lines ⇒ Boolean
#conf_get_printsetup_print_grid_lines_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_print_titles ⇒ Boolean
#conf_get_printsetup_print_titles_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_repeat_left ⇒ String
#conf_get_printsetup_repeat_left_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_repeat_top ⇒ String
#conf_get_printsetup_repeat_top_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_scale_height ⇒ Integer
#conf_get_printsetup_scale_height_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_scale_percentage ⇒ Boolean
#conf_get_printsetup_scale_percentage_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_scale_percentage_value ⇒ Float
#conf_get_printsetup_scale_percentage_value_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_printsetup_scale_width ⇒ Integer
#conf_get_printsetup_scale_width_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_root ⇒ GOffice::ConfNode
Returns the root config node.
#conf_get_searchreplace_change_cell_expressions ⇒ Boolean
#conf_get_searchreplace_change_cell_expressions_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_searchreplace_change_cell_other ⇒ Boolean
#conf_get_searchreplace_change_cell_other_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_searchreplace_change_cell_strings ⇒ Boolean
#conf_get_searchreplace_change_cell_strings_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_searchreplace_change_comments ⇒ Boolean
#conf_get_searchreplace_change_comments_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_searchreplace_columnmajor ⇒ Boolean
#conf_get_searchreplace_columnmajor_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_searchreplace_dir_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_searchreplace_error_behaviour ⇒ Integer
#conf_get_searchreplace_error_behaviour_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_searchreplace_ignore_case ⇒ Boolean
#conf_get_searchreplace_ignore_case_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_searchreplace_keep_strings ⇒ Boolean
#conf_get_searchreplace_keep_strings_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_searchreplace_preserve_case ⇒ Boolean
#conf_get_searchreplace_preserve_case_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_searchreplace_query ⇒ Boolean
#conf_get_searchreplace_query_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_searchreplace_regex ⇒ Integer
#conf_get_searchreplace_regex_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_searchreplace_scope ⇒ Integer
#conf_get_searchreplace_scope_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_searchreplace_search_results ⇒ Boolean
#conf_get_searchreplace_search_results_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_searchreplace_whole_words_only ⇒ Boolean
#conf_get_searchreplace_whole_words_only_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_short_desc(node) ⇒ String
Returns a brief description of node.
#conf_get_stf_export_dir_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_stf_export_encoding ⇒ String
#conf_get_stf_export_encoding_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_stf_export_format ⇒ Gnm::StfFormatMode
#conf_get_stf_export_format_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_stf_export_locale ⇒ String
#conf_get_stf_export_locale_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_stf_export_quoting ⇒ Gsf::OutputCsvQuotingMode
#conf_get_stf_export_quoting_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_stf_export_separator ⇒ String
#conf_get_stf_export_separator_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_stf_export_stringindicator ⇒ String
#conf_get_stf_export_stringindicator_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_stf_export_terminator ⇒ String
#conf_get_stf_export_terminator_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_stf_export_transliteration ⇒ Boolean
#conf_get_stf_export_transliteration_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_toolbar_position(name) ⇒ Gtk::PositionType
#conf_get_toolbar_style ⇒ Gtk::ToolbarStyle
#conf_get_toolbar_style_dir_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_toolbar_visible(name) ⇒ Boolean
#conf_get_undo_dir_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_undo_max_descriptor_width ⇒ Integer
#conf_get_undo_max_descriptor_width_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_undo_maxnum ⇒ Integer
#conf_get_undo_maxnum_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_undo_show_sheet_name ⇒ Boolean
#conf_get_undo_show_sheet_name_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_get_undo_size ⇒ Integer
#conf_get_undo_size_node ⇒ GOffice::ConfNode
Returns A GOConf::Node.
#conf_init ⇒ nil
#conf_set_autocorrect_first_letter(x) ⇒ nil
#conf_set_autocorrect_first_letter_list(x) ⇒ nil
#conf_set_autocorrect_init_caps(x) ⇒ nil
#conf_set_autocorrect_init_caps_list(x) ⇒ nil
#conf_set_autocorrect_names_of_days(x) ⇒ nil
#conf_set_autocorrect_replace(x) ⇒ nil
#conf_set_autoformat_extra_dirs(x) ⇒ nil
#conf_set_autoformat_sys_dir(x) ⇒ nil
#conf_set_autoformat_usr_dir(x) ⇒ nil
#conf_set_core_defaultfont_bold(x) ⇒ nil
#conf_set_core_defaultfont_italic(x) ⇒ nil
#conf_set_core_defaultfont_name(x) ⇒ nil
#conf_set_core_defaultfont_size(x) ⇒ nil
#conf_set_core_file_save_def_overwrite(x) ⇒ nil
#conf_set_core_file_save_extension_check_disabled(x) ⇒ nil
#conf_set_core_file_save_single_sheet(x) ⇒ nil
#conf_set_core_gui_cells_extension_markers(x) ⇒ nil
#conf_set_core_gui_cells_function_markers(x) ⇒ nil
#conf_set_core_gui_editing_autocomplete(x) ⇒ nil
#conf_set_core_gui_editing_autocomplete_min_chars(x) ⇒ nil
#conf_set_core_gui_editing_enter_moves_dir(x) ⇒ nil
#conf_set_core_gui_editing_function_argument_tooltips(x) ⇒ nil
#conf_set_core_gui_editing_function_name_tooltips(x) ⇒ nil
#conf_set_core_gui_editing_recalclag(x) ⇒ nil
#conf_set_core_gui_editing_transitionkeys(x) ⇒ nil
#conf_set_core_gui_screen_horizontaldpi(x) ⇒ nil
#conf_set_core_gui_screen_verticaldpi(x) ⇒ nil
#conf_set_core_gui_toolbars_format_position(x) ⇒ nil
#conf_set_core_gui_toolbars_format_visible(x) ⇒ nil
#conf_set_core_gui_toolbars_object_position(x) ⇒ nil
#conf_set_core_gui_toolbars_object_visible(x) ⇒ nil
#conf_set_core_gui_toolbars_standard_position(x) ⇒ nil
#conf_set_core_gui_toolbars_standard_visible(x) ⇒ nil
#conf_set_core_gui_window_x(x) ⇒ nil
#conf_set_core_gui_window_y(x) ⇒ nil
#conf_set_core_gui_window_zoom(x) ⇒ nil
#conf_set_core_sort_default_ascending(x) ⇒ nil
#conf_set_core_sort_default_by_case(x) ⇒ nil
#conf_set_core_sort_default_retain_formats(x) ⇒ nil
#conf_set_core_sort_dialog_max_initial_clauses(x) ⇒ nil
#conf_set_core_workbook_autosave_time(x) ⇒ nil
#conf_set_core_workbook_n_cols(x) ⇒ nil
#conf_set_core_workbook_n_rows(x) ⇒ nil
#conf_set_core_workbook_n_sheet(x) ⇒ nil
#conf_set_core_xml_compression_level(x) ⇒ nil
#conf_set_cut_and_paste_prefer_clipboard(x) ⇒ nil
#conf_set_dialogs_rs_unfocused(x) ⇒ nil
#conf_set_functionselector_num_of_recent(x) ⇒ nil
#conf_set_functionselector_recentfunctions(x) ⇒ nil
#conf_set_page_setup(setup) ⇒ nil
#conf_set_persistence(persist) ⇒ nil
If persist is true, then changes from this point on will not be saved.
#conf_set_plugin_glpk_glpsol_path(x) ⇒ nil
#conf_set_plugin_latex_use_utf8(x) ⇒ nil
#conf_set_plugin_lpsolve_lpsolve_path(x) ⇒ nil
#conf_set_plugins_activate_newplugins(x) ⇒ nil
#conf_set_plugins_active(x) ⇒ nil
#conf_set_plugins_extra_dirs(x) ⇒ nil
#conf_set_plugins_file_states(x) ⇒ nil
#conf_set_plugins_known(x) ⇒ nil
#conf_set_print_settings(settings) ⇒ nil
#conf_set_printsetup_across_then_down(x) ⇒ nil
#conf_set_printsetup_all_sheets(x) ⇒ nil
#conf_set_printsetup_center_horizontally(x) ⇒ nil
#conf_set_printsetup_center_vertically(x) ⇒ nil
#conf_set_printsetup_footer(x) ⇒ nil
#conf_set_printsetup_gtk_setting(x) ⇒ nil
#conf_set_printsetup_header(x) ⇒ nil
#conf_set_printsetup_hf_font_bold(x) ⇒ nil
#conf_set_printsetup_hf_font_italic(x) ⇒ nil
#conf_set_printsetup_hf_font_name(x) ⇒ nil
#conf_set_printsetup_hf_font_size(x) ⇒ nil
#conf_set_printsetup_hf_left(x) ⇒ nil
#conf_set_printsetup_hf_middle(x) ⇒ nil
#conf_set_printsetup_hf_right(x) ⇒ nil
#conf_set_printsetup_margin_bottom(x) ⇒ nil
#conf_set_printsetup_margin_gtk_bottom(x) ⇒ nil
#conf_set_printsetup_margin_gtk_left(x) ⇒ nil
#conf_set_printsetup_margin_gtk_right(x) ⇒ nil
#conf_set_printsetup_margin_gtk_top(x) ⇒ nil
#conf_set_printsetup_margin_top(x) ⇒ nil
#conf_set_printsetup_paper(x) ⇒ nil
#conf_set_printsetup_paper_orientation(x) ⇒ nil
#conf_set_printsetup_preferred_unit(x) ⇒ nil
#conf_set_printsetup_print_black_n_white(x) ⇒ nil
#conf_set_printsetup_print_even_if_only_styles(x) ⇒ nil
#conf_set_printsetup_print_grid_lines(x) ⇒ nil
#conf_set_printsetup_print_titles(x) ⇒ nil
#conf_set_printsetup_repeat_left(x) ⇒ nil
#conf_set_printsetup_repeat_top(x) ⇒ nil
#conf_set_printsetup_scale_height(x) ⇒ nil
#conf_set_printsetup_scale_percentage(x) ⇒ nil
#conf_set_printsetup_scale_percentage_value(x) ⇒ nil
#conf_set_printsetup_scale_width(x) ⇒ nil
#conf_set_searchreplace_change_cell_expressions(x) ⇒ nil
#conf_set_searchreplace_change_cell_other(x) ⇒ nil
#conf_set_searchreplace_change_cell_strings(x) ⇒ nil
#conf_set_searchreplace_change_comments(x) ⇒ nil
#conf_set_searchreplace_columnmajor(x) ⇒ nil
#conf_set_searchreplace_error_behaviour(x) ⇒ nil
#conf_set_searchreplace_ignore_case(x) ⇒ nil
#conf_set_searchreplace_keep_strings(x) ⇒ nil
#conf_set_searchreplace_preserve_case(x) ⇒ nil
#conf_set_searchreplace_query(x) ⇒ nil
#conf_set_searchreplace_regex(x) ⇒ nil
#conf_set_searchreplace_scope(x) ⇒ nil
#conf_set_searchreplace_search_results(x) ⇒ nil
#conf_set_searchreplace_whole_words_only(x) ⇒ nil
#conf_set_stf_export_encoding(x) ⇒ nil
#conf_set_stf_export_format(x) ⇒ nil
#conf_set_stf_export_locale(x) ⇒ nil
#conf_set_stf_export_quoting(x) ⇒ nil
#conf_set_stf_export_separator(x) ⇒ nil
#conf_set_stf_export_stringindicator(x) ⇒ nil
#conf_set_stf_export_terminator(x) ⇒ nil
#conf_set_stf_export_transliteration(x) ⇒ nil
#conf_set_toolbar_position(name, x) ⇒ nil
#conf_set_toolbar_style(x) ⇒ nil
#conf_set_toolbar_visible(name, x) ⇒ nil
#conf_set_undo_max_descriptor_width(x) ⇒ nil
#conf_set_undo_maxnum(x) ⇒ nil
#conf_set_undo_show_sheet_name(x) ⇒ nil
#conf_set_undo_size(x) ⇒ nil
#conf_shutdown ⇒ nil
#convert_to_tooltip(ref_widget, widget) ⇒ Gtk::Widget
Returns widget.
#cot(x) ⇒ Gnm::gnm_float
Returns The co-tangent of the given angle.
#coth(x) ⇒ Gnm::gnm_float
Returns The hyperbolic co-tangent of the given number.
#cpp(src, vars) ⇒ String
#create_popup_menu(elements, handler, user_data, notify, display_filter, sensitive_filter, event) ⇒ nil
#create_tooltip(ref_widget) ⇒ Gtk::Widget
Returns the newly allocated Gtk::Widget.
#css_debug_color(name, color) ⇒ nil
#css_debug_int(name, i) ⇒ nil
#data_shuffling(wbc, dao, sheet, input, shuffling_type) ⇒ Gnm::data_shuffling_t
#data_shuffling_free(st) ⇒ nil
#data_shuffling_redo(st) ⇒ nil
#date_add_days(d, n) ⇒ nil
#date_add_months(d, n) ⇒ nil
#date_add_years(d, n) ⇒ nil
#datetime_allow_negative ⇒ Boolean
#datetime_value_to_g(res, v, conv) ⇒ Boolean
#datetime_value_to_seconds(v, conv) ⇒ Integer
#datetime_value_to_serial(v, conv) ⇒ Integer
#datetime_value_to_serial_raw(v, conv) ⇒ Gnm::gnm_float
#dbeta(x, a, b, give_log) ⇒ Gnm::gnm_float
Returns density of the beta distribution.
#dbinom(x, n, psuc, give_log) ⇒ Gnm::gnm_float
Returns density of the binomial distribution.
#dcauchy(x, location, scale, give_log) ⇒ Gnm::gnm_float
#dchisq(x, df, give_log) ⇒ Gnm::gnm_float
Returns density of the 𝜒² distribution.
#debug_flag(flag) ⇒ Boolean
#dep_container_new(sheet) ⇒ Gnm::DepContainer
#dependent_managed_get_expr(dep) ⇒ Gnm::ExprTop
#dependent_managed_init(dep, sheet) ⇒ nil
#dependent_managed_set_expr(dep, texpr) ⇒ nil
#dependent_managed_set_sheet(dep, sheet) ⇒ nil
#dependent_type_register(klass) ⇒ Integer
#dependent_types_init ⇒ nil
#dependent_types_shutdown ⇒ nil
#dependents_dump(wb) ⇒ nil
#dependents_invalidate_sheet(sheet, destroy) ⇒ nil
#dependents_link(deps) ⇒ nil
link a list of dependents. (The list used to get freed, but is not freed anymore.)
#dependents_relocate(info) ⇒ GOffice::Undo
Fixes references to or from a region that is going to be moved. the region.
#dependents_revive_sheet(sheet) ⇒ nil
#dependents_workbook_destroy(wb) ⇒ nil
#dexp(x, scale, give_log) ⇒ Gnm::gnm_float
Returns density of the exponential distribution.
#df(x, n1, n2, give_log) ⇒ Gnm::gnm_float
Returns density of the F distribution.
#dgamma(x, shape, scale, give_log) ⇒ Gnm::gnm_float
Returns density of the gamma distribution.
#dgeom(x, psuc, give_log) ⇒ Gnm::gnm_float
Returns density of the geometric distribution.
#dhyper(x, r, b, n, give_log) ⇒ Gnm::gnm_float
Returns density of the hypergeometric distribution.
#dialog_about(wbcg) ⇒ nil
#dialog_advanced_filter(wbcg) ⇒ nil
Show the dialog (guru).
#dialog_anova_single_factor_tool(wbcg, sheet) ⇒ Integer
#dialog_anova_two_factor_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
#dialog_auto_filter(wbcg, f, i, is_expr, cur) ⇒ nil
#dialog_autoformat(wbcg) ⇒ nil
This function will show the AutoFormatTemplate dialog and apply the template the user chooses to the current selection in the active sheet of the workbook if the user desires.
#dialog_autosave(wbcg) ⇒ nil
#dialog_autosave_prompt(wbcg) ⇒ Boolean
#dialog_average_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
#dialog_cell_comment(wbcg, sheet, pos) ⇒ nil
#dialog_cell_format(wbcg, pageno, pages) ⇒ nil
#dialog_cell_format_cond(wbcg) ⇒ nil
#dialog_cell_format_select_style(wbcg, pages, w, style, closure) ⇒ Gtk::Dialog
Returns a Gtk::Dialog.
#dialog_cell_format_style_added(closure, style) ⇒ nil
#dialog_cell_sort(wbcg) ⇒ nil
#dialog_chi_square_tool(wbcg, sheet, independence) ⇒ Integer
#dialog_col_row(wbcg, operation, callback, data) ⇒ nil
#dialog_col_width(wbcg, set_default) ⇒ nil
#dialog_consolidate(wbcg) ⇒ nil
#dialog_correlation_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
#dialog_covariance_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
#dialog_data_slicer(wbcg, create) ⇒ nil
#dialog_data_table(wbcg) ⇒ nil
#dialog_define_names(wbcg) ⇒ nil
Create and show the define names dialog.
#dialog_delete_cells(wbcg) ⇒ nil
#dialog_descriptive_stat_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
#dialog_doc_metadata_new(wbcg, page) ⇒ nil
Creates a new instance of the dialog.
#dialog_exp_smoothing_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
#dialog_fill_series(wbcg) ⇒ nil
#dialog_formula_guru(wbcg, func) ⇒ nil
Pop up a function selector then a formula guru.
#dialog_fourier_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
#dialog_frequency_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
#dialog_ftest_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
#dialog_function_select(wbcg, key) ⇒ nil
#dialog_function_select_help(wbcg) ⇒ nil
#dialog_function_select_paste(wbcg, from, to) ⇒ nil
#dialog_get_password(parent, filename) ⇒ String
#dialog_goal_seek(wbcg, sheet) ⇒ nil
Create the dialog (guru).
#dialog_goto_cell(wbcg) ⇒ nil
#dialog_histogram_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
#dialog_hyperlink(wbcg, sc) ⇒ nil
#dialog_insert_cells(wbcg) ⇒ nil
#dialog_kaplan_meier_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
#dialog_merge(wbcg) ⇒ nil
#dialog_new_view(wbcg) ⇒ nil
#dialog_normality_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
#dialog_one_mean_test_tool(wbcg, sheet) ⇒ Integer
#dialog_paste_names(wbcg) ⇒ nil
Create and show the define names dialog.
#dialog_paste_special(wbcg) ⇒ nil
#dialog_plugin_manager(wbcg) ⇒ nil
#dialog_preferences(wbcg, page) ⇒ nil
#dialog_principal_components_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
#dialog_printer_setup(wbcg, sheet) ⇒ nil
#dialog_quit(wbcg) ⇒ nil
#dialog_raise_if_exists(wbcg, key) ⇒ Gtk::Dialog
Raise the dialog identified by key if it is registered on the wbcg.
#dialog_random_cor_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
#dialog_random_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
#dialog_ranking_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
#dialog_recent_used(wbcg) ⇒ nil
#dialog_regression_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
#dialog_row_height(wbcg, set_default) ⇒ nil
#dialog_sampling_tool(wbcg, sheet) ⇒ Integer
Show the dialog (guru).
#dialog_scenario_add(wbcg) ⇒ nil
#dialog_scenarios(wbcg) ⇒ nil
#dialog_search(wbcg) ⇒ nil
#dialog_search_replace(wbcg, cb) ⇒ nil
#dialog_search_replace_query(wbcg, sr, location, old_text, new_text) ⇒ Integer
#dialog_setup_destroy_handlers(dialog, wbcg, what) ⇒ nil
#dialog_sheet_compare(wbcg) ⇒ nil
#dialog_sheet_order(wbcg) ⇒ nil
#dialog_sheet_rename(wbcg, sheet) ⇒ nil
#dialog_sheet_resize(wbcg) ⇒ nil
#dialog_shuffle(wbcg) ⇒ nil
Show the dialog (guru).
#dialog_sign_test_tool(wbcg, sheet, type) ⇒ Integer
#dialog_sign_test_two_tool(wbcg, sheet, type) ⇒ Integer
#dialog_simulation(wbcg, sheet) ⇒ nil
Show the dialog (guru).
#dialog_so_list(wbcg, so) ⇒ nil
#dialog_so_size(wbcg, so) ⇒ nil
#dialog_so_styled(wbcg, so, default_style, title, extent) ⇒ nil
#dialog_solver(wbcg, sheet) ⇒ nil
Create the dialog (guru).
#dialog_tabulate(wbcg, sheet) ⇒ nil
#dialog_tool_init(state, wbcg, sheet, help_file, gui_name, dialog_name, error_str, key, ok_function, close_function, sensitivity_cb, flags) ⇒ Boolean
Create the dialog (guru).
#dialog_tool_init_outputs(state, sensitivity_cb) ⇒ nil
Setup the standard output information
#dialog_tool_preset_to_range(state) ⇒ nil
#dialog_ttest_tool(wbcg, sheet, test) ⇒ Integer
Show the dialog (guru).
#dialog_wilcoxon_m_w_tool(wbcg, sheet) ⇒ Integer
#dialog_workbook_attr(wbcg) ⇒ nil
#dialog_zoom(wbcg, sheet) ⇒ nil
#diff_sheets(actions, user, old_sheet, new_sheet) ⇒ Boolean
#diff_workbooks(actions, user, old_wb, new_wb) ⇒ Integer
#digamma(x) ⇒ Gnm::gnm_float
Returns the digamma function evaluated at x.
#discpfuncinverter(p, shape, lower_tail, log_p, xlow, xhigh, x0, pfunc) ⇒ Gnm::gnm_float
Discrete pfuncs only. (Specifically: only integer x are allowed).
#dlnorm(x, logmean, logsd, give_log) ⇒ Gnm::gnm_float
Returns density of the log-normal distribution.
#dnbinom(x, n, psuc, give_log) ⇒ Gnm::gnm_float
Returns density of the negative binomial distribution.
#dnorm(x, mu, sigma, give_log) ⇒ Gnm::gnm_float
Returns density of the normal distribution.
#do_tabulation(wbc, data) ⇒ GLib::SList<Integer>
#dpois(x, lambda, give_log) ⇒ Gnm::gnm_float
Returns density of the Poisson distribution.
#drayleigh(x, scale, give_log) ⇒ Gnm::gnm_float
Returns density of the Rayleigh distribution.
#dt(x, n, give_log) ⇒ Gnm::gnm_float
Returns density of the Student t distribution.
#dweibull(x, shape, scale, give_log) ⇒ Gnm::gnm_float
Returns density of the Weibull distribution.
#editable_enters(window, editable) ⇒ nil
Make the "activate" signal of an editable click the default dialog button.
This is a literal copy of gnome_dialog_editable_enters, but not restricted to GnomeDialogs.
Normally if there's an editable widget (such as Gtk::Entry) in your dialog, pressing Enter will activate the editable rather than the default dialog button. However, in most cases, the user expects to type something in and then press enter to close the dialog. This function enables that behavior.
#entry_to_float_with_format(entry, the_float, update, format) ⇒ Boolean
#entry_to_float_with_format_default(entry, the_float, update, format, num) ⇒ Boolean
#entry_to_int(entry, the_int, update) ⇒ Boolean
Retrieve an int from an entry field parsing all reasonable formats
#error_array ⇒ GLib::Quark
#error_calc ⇒ GLib::Quark
#error_in_entry(state, entry, err_str) ⇒ nil
Show an error dialog and select corresponding entry
#eval_info_get_arg_count(ei) ⇒ Integer
#eval_info_get_func(ei) ⇒ Gnm::Func
Returns the called function.
#excel_search_impl(needle, haystack, skip) ⇒ Integer
characters.
The is the implementation of Excel's SEARCH function. However, note that skip and return value are zero-based.
#expmx2h(x) ⇒ Gnm::gnm_float
naive formula.
#expr_cell_deriv(y, x) ⇒ Gnm::ExprTop
respect to cell x.
#expr_cell_deriv_value(y, x) ⇒ Gnm::gnm_float
current value of x. Returns NaN on error.
#expr_char_start_p(c) ⇒ String
Can the supplied string be an expression ? It does not guarantee that it is, however, it is possible. If it is possible it strips off any header characters that are not relevant.
NOTE : things like -1,234 will match
#expr_conv_quote(convs, str) ⇒ GLib::String
quoting is necessary, a literal copy of str will be returned.
#expr_deriv_shutdown_ ⇒ nil
#expr_init_ ⇒ nil
#expr_lex_all(str, pp, flags, convs) ⇒ Gnm::LexerItem
#expr_list_as_string(argc, argv, out) ⇒ nil
#expr_list_copy(list) ⇒ Gnm::ExprList
expressions in it.
#expr_list_unref(list) ⇒ nil
This frees list and all the expressions in it.
#expr_name_add(pp, name, texpr, error_msg, link_to_container, stub) ⇒ Gnm::NamedExpr
Absorbs the reference to texpr. If error_msg is non NULL it may hold a pointer to a translated descriptive string. NOTE : caller is responsible for freeing the error message.
The reference semantics of the new expression are
- new names with link_to_container TRUE are referenced by the container. The caller DOES NOT OWN a reference to the result, and needs to add their own.
- if link_to_container is false the caller DOES OWN a reference, and can free the result by unrefing the name.
#expr_name_add_dep(nexpr, dep) ⇒ nil
#expr_name_as_string(nexpr, pp, fmt) ⇒ String
Returns The rendering of nexpr given convention fmt.
#expr_name_check_for_loop(name, texpr) ⇒ Boolean
name reference.
NOTE: if we already have a circular reference beforehand, we will come to serious grief.
#expr_name_cmp_by_name(a, b) ⇒ Integer
#expr_name_downgrade_to_placeholder(nexpr) ⇒ nil
Takes a real non-placeholder name and converts it to being a placeholder. unrefing its expression
#expr_name_eval(nexpr, pos, flags) ⇒ Gnm::Value
Returns The resulting value.
#expr_name_in_use(nexpr) ⇒ Boolean
approximation only, as we only look at the workbook in which the name is defined.
#expr_name_is_active(nexpr) ⇒ Boolean
#expr_name_is_placeholder(ne) ⇒ Boolean
Returns true if ne is a placeholder for an unknown name.
#expr_name_lookup(pos, name) ⇒ Gnm::NamedExpr
given by pos; nil if no such Gnm::NamedExpr exists.
#expr_name_name(nexpr) ⇒ String
#expr_name_new(name) ⇒ Gnm::NamedExpr
Creates a new name without linking it into any container.
#expr_name_perm_add(sheet, name, texpr, is_editable) ⇒ nil
This is a wrapper around expr_name_add to set this as permanent name.
#expr_name_ref(nexpr) ⇒ Gnm::NamedExpr
#expr_name_remove(nexpr) ⇒ nil
Remove a nexpr from its container and deactivate it. NOTE : nexpr may continue to exist if things still have references to it, but they will evaluate to #REF!
#expr_name_remove_dep(nexpr, dep) ⇒ nil
#expr_name_set_expr(nexpr, texpr) ⇒ nil
Set the content of nexpr to texpr.
#expr_name_set_expr_undo_new(nexpr) ⇒ GOffice::Undo
#expr_name_set_is_placeholder(nexpr, is_placeholder) ⇒ nil
#expr_name_set_name(nexpr, new_name) ⇒ Boolean
Returns TRUE on error.
#expr_name_set_pos(nexpr, pp) ⇒ String
Returns a translated error string which the caller must free if something goes wrong.
#expr_name_unref(nexpr) ⇒ nil
#expr_name_validate(name) ⇒ Boolean
returns true if the given name is valid, false otherwise.
#expr_parse_str(str, pp, flags, convs, error) ⇒ Gnm::ExprTop
#expr_shutdown_ ⇒ nil
#fact(x) ⇒ Gnm::gnm_float
Returns the factorial of x, which must not be a negative integer.
#factx(x, exp2) ⇒ Gnm::gnm_float
#file_saver_common_export_option(fs, wb, key, value) ⇒ Boolean
#file_saver_get_sheet(fs, wbv) ⇒ Gnm::Sheet
For a single-sheet saver, this function determines what sheet to save.
#file_saver_get_sheets(fs, wbv, default_all) ⇒ Array<Gnm::Sheet>
This function determines what sheets to save. this function will return nil if no sheets were explicitly selected. Note: the return value should be unreffed, not freed.
#fill_series_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#filter_show_all(wbc) ⇒ nil
#find_column_of_field(ep, database, field) ⇒ Integer
#find_rows_that_match(sheet, first_col, first_row, last_col, last_row, criterias, unique_only) ⇒ GLib::SList<Integer>
Finds the rows from the given database that match the criteria.
#float_equal(a, b) ⇒ Integer
#float_hash(d) ⇒ Integer
#float_range_function(argc, argv, ei, func, flags, func_error) ⇒ Gnm::Value
This implements a Gnumeric sheet function that operates on a list of numbers. This function collects the arguments and uses func to do the actual computation. of values from argv.
#float_range_function2(val0, val1, ei, func, flags, func_error) ⇒ Gnm::Value
This implements a Gnumeric sheet function that operates on a matched pair of ranges. This function collects the arguments and uses func to do the actual computation. of values from val0 and val1.
#float_range_function2d(val0, val1, ei, func, flags, func_error, data) ⇒ Gnm::Value
This implements a Gnumeric sheet function that operates on a matched pair of ranges. This function collects the arguments and uses func to do the actual computation. of values from val0 and val1.
#float_to_entry(entry, the_float) ⇒ nil
#focus_on_entry(entry) ⇒ nil
#font_equal(v, v2) ⇒ Integer
#font_hash(v) ⇒ Integer
#font_init ⇒ nil
#font_override_codepage(font_name) ⇒ Integer
Returns a codepage for the named Win32 font, or -1 if no such codepage is known.
#font_shutdown ⇒ nil
Release all resources allocated by gnm_font_init.
#format_for_date_editing(cell) ⇒ GOffice::Format
#format_frob_slashes(s) ⇒ String
#format_has_hour(fmt, value) ⇒ Boolean
#format_import(fmt, flags) ⇒ GOffice::Format
#format_is_date_for_value(fmt, value) ⇒ Integer
#format_is_time_for_value(fmt, value) ⇒ Integer
#format_layout(result, metrics, format, value, col_width, date_conv, unicode_minus) ⇒ GOffice::FormatNumberError
#format_match(text, cur_fmt, date_conv) ⇒ Gnm::Value
Attempts to parse the supplied string to see if it matches a known value format. The caller is responsible for releasing the resulting value.
#format_match_datetime(text, date_conv, month_before_day, add_format, presume_date) ⇒ Gnm::Value
#format_match_decimal_number_with_locale(text, family, curr, thousand, decimal) ⇒ Gnm::Value
#format_match_number(text, cur_fmt, date_conv) ⇒ Gnm::Value
Attempts to parse the supplied string to see if it matches a known value format. Will eventually use the current cell format in preference to canned formats. If format is supplied it will get a copy of the matching format with no additional references. The caller is responsible for releasing the resulting value. Will ONLY return numbers.
#format_match_simple(text) ⇒ Gnm::Value
Attempt to match the supplied string as a simple value.
WARNING WARNING WARNING : This routine should NEVER be changed to match VALUE_STRING that will break the parsers handling of named expressions.
#format_month_before_day(fmt, value) ⇒ Integer
#format_sel_new ⇒ Gtk::Widget
Returns a new format selector.
#format_sel_set_value(nfs, value) ⇒ nil
#format_specialize(fmt, value) ⇒ GOffice::Format
#format_value(format, value, col_width, date_conv) ⇒ String
#format_value_gstring(str, format, value, col_width, date_conv) ⇒ GOffice::FormatNumberError
#format_value_layout(layout, format, value, col_width, date_conv) ⇒ GOffice::FormatNumberError
#free_criterias(criterias) ⇒ nil
freed. Frees the allocated memory.
#ft_category_group_cmp(a, b) ⇒ Integer
#ft_category_group_list_free(category_groups) ⇒ nil
#ft_category_group_list_get ⇒ GLib::List<Gnm::FTCategoryGroup>
the list of Gnm::FTCategoryGroup which should be freed using gnm_ft_category_group_list_free().
#ft_compare_name(a, b) ⇒ Integer
#func_group_fetch(name, translation) ⇒ Gnm::FuncGroup
#func_group_get_nth(n) ⇒ Gnm::FuncGroup
#function_call_with_exprs(ei) ⇒ Gnm::Value
Do the guts of calling a function.
Returns the result.
#function_call_with_values(ep, name, argc, values) ⇒ Gnm::Value
#function_def_call_with_values(ep, fn, argc, values) ⇒ Gnm::Value
#function_iterate_argument_values(ep, callback, callback_closure, argc, argv, strict, iter_flags) ⇒ Gnm::Value
This routine provides a simple way for internal functions with variable number of arguments to be written: this would iterate over a list of expressions (expr_node_list) and will invoke the callback for every GnmValue found on the list (this means that ranges get properly expanded).
#gamma(x) ⇒ Gnm::gnm_float
non-integer x.
#gammax(x, exp2) ⇒ Gnm::gnm_float
#get_link_color(widget, res) ⇒ nil
#get_pango_attributes_from_buffer(buffer) ⇒ Pango::AttrList
#global_range_contained(sheet, a, b) ⇒ Boolean
Returns true if a is contained in b. We do not handle 3d ranges.
#global_range_list_foreach(gr_list, ep, flags, handler, closure) ⇒ Gnm::Value
#global_range_list_parse(sheet, str) ⇒ GLib::SList<Gnm::Value>
Parses a list of ranges, relative to the sheet and returns a list with the results.
#global_range_name(sheet, r) ⇒ String
#go_data_foreach_dep(dat, so, func, user) ⇒ nil
#go_data_get_expr(dat) ⇒ Gnm::ExprTop
#go_data_get_sheet(dat) ⇒ Gnm::Sheet
Returns the sheet.
#go_data_set_sheet(dat, sheet) ⇒ nil
#go_error_info_dialog_create(error) ⇒ Gtk::Widget
SHOULD BE IN GOFFICE
#go_error_info_dialog_show(parent, error) ⇒ nil
#go_error_info_list_dialog_show(parent, errs) ⇒ nil
#goal_seek_bisection(f, data, user_data) ⇒ Gnm::GoalSeekStatus
Seek a goal (root) using bisection methods.
The supplied function must (should) be continuous over the interval.
Caller must have located a positive and a negative point.
This method will find a root steadily using bisection to narrow the interval in which a root lies.
It alternates between mid-point-bisection (semi-slow, but guaranteed progress), secant-bisection (usually quite fast, but sometimes gets nowhere), and Ridder's Method (usually fast, harder to fool than the secant method).
#goal_seek_cell(data, celldata) ⇒ Gnm::GoalSeekStatus
#goal_seek_eval_cell(x, y, data) ⇒ Gnm::GoalSeekStatus
Returns An status indicating whether evaluation went ok.
#goal_seek_initialize(data) ⇒ nil
#goal_seek_newton(f, df, data, user_data, x0) ⇒ Gnm::GoalSeekStatus
Seek a goal (root) using Newton's iterative method.
The supplied function must (should) be continuously differentiable in the supplied interval. If df is nil, this function will estimate the derivative.
This method will find a root rapidly provided the initial guess, x0, is sufficiently close to the root. (The number of significant digits (asymptotically) goes like i^2 unless the root is a multiple root in which case it is only like c*i.)
#goal_seek_point(f, data, user_data, x0) ⇒ Gnm::GoalSeekStatus
Seek a goal using a single point.
#goal_seek_trawl_normally(f, data, user_data, mu, sigma, points) ⇒ Gnm::GoalSeekStatus
#goal_seek_trawl_uniformly(f, data, user_data, xmin, xmax, points) ⇒ Gnm::GoalSeekStatus
#gtk_builder_load(uifile, domain, cc) ⇒ Gtk::Builder
Simple utility to open ui files
#gtk_print_cell_range(context, sheet, range, base_x, base_y, pinfo) ⇒ nil
#gtk_radio_group_get_selected(radio_group) ⇒ Integer
Returns the index of the selected radio button starting from list end.
#gui_clipboard_init ⇒ nil
#gui_clipboard_shutdown ⇒ nil
#gui_clipboard_test(fmt) ⇒ GLib::Bytes
#gui_file_export_repeat(wbcg) ⇒ Boolean
#gui_file_open(wbcg, type, default_format) ⇒ nil
#gui_file_read(wbcg, file_name, optional_format, optional_encoding) ⇒ Gnm::WorkbookView
Returns the new Workbook::View for the file read.
#gui_file_save(wbcg, wbv) ⇒ Boolean
#gui_file_save_as(wbcg, wbv, type, default_format) ⇒ Boolean
#gui_file_template(wbcg, uri) ⇒ Boolean
#gui_group_value(gui, group) ⇒ Integer
#gui_wb_view_show(wbcg, wbv) ⇒ nil
#gutils_init ⇒ nil
#gutils_shutdown ⇒ nil
#hash_table_foreach_ordered(h, callback, order, user) ⇒ nil
Like g_hash_table_foreach, but with an ordering imposed.
#history_item_label(uri, accel_number) ⇒ String
#if2(ei, argc, argv, flags) ⇒ Gnm::Value
#ifs_func(data, crits, vals, fun, err, ep, flags) ⇒ Gnm::Value
This implements a Gnumeric sheet database function of the "*IFS" type This function collects the arguments and uses fun to do the actual computation. of values from data.
#ilog(x, b) ⇒ Gnm::gnm_float
#init ⇒ nil
#init_help_button(w, lnk) ⇒ nil
#insert_meta_date(doc, name) ⇒ nil
#int_to_entry(entry, the_int) ⇒ nil
#keyed_dialog(wbcg, dialog, key) ⇒ nil
Make dialog a transient child of wbcg, attaching to wbcg object data to identify the dialog. The object data makes it possible to ensure that only one dialog of a kind can be displayed for a wbcg. Deallocation of the object data is managed here.
#lambert_w(x, k) ⇒ Gnm::gnm_float
for the primary branch and -1 for the alternate.
#lbeta(a, b) ⇒ Gnm::gnm_float
#lbeta3(a, b, sign) ⇒ Gnm::gnm_float
evaluated at a and b. The sign will be stored in sign as -1 or +1. This function is useful because the result of the beta function can be too large for doubles.
#lgamma1p(a) ⇒ Gnm::gnm_float
#linear_solve(A, b, x) ⇒ GOffice::RegressionResult
#linear_solve_multiple(A, B) ⇒ GOffice::RegressionResult
#linear_solve_posdef(A, b, x) ⇒ GOffice::RegressionResult
#link_button_and_entry(button, entry) ⇒ nil
#load_pango_attributes_into_buffer(markup, buffer, str) ⇒ nil
#locale_dir ⇒ String
#log1pmx(x) ⇒ Gnm::gnm_float
especially for small values of x.
#logcf(x, i, d) ⇒ Gnm::gnm_float
#logspace_add(logx, logy) ⇒ Gnm::gnm_float
#logspace_sub(logx, logy) ⇒ Gnm::gnm_float
#make_cellref(dx, dy) ⇒ Gnm::Expr
#make_rangeref(dx0, dy0, dx1, dy1) ⇒ Gnm::Expr
#mathfunc_init ⇒ nil
#matrix_from_value(v, perr, ep) ⇒ Gnm::Matrix
Returns A new Gnm::Matrix, nil on error.
#message_dialog_create(parent, flags, type, primary_message, secondary_message) ⇒ Gtk::Widget
A convenience function to build HIG compliant message dialogs.
parent : transient parent, or nil for none. flags type : type of dialog primary_message : message displayed in bold secondary_message : message displayed below
#object_get_bool(o, name) ⇒ Boolean
Returns the value of o's boolean property name.
#object_has_readable_prop(obj, property, typ, pres) ⇒ Boolean
of type typ.
#option_group ⇒ GLib::OptionGroup
Returns a GOption::Group for the commandline arguments recognized by libspreadsheet. You should add this group to your GOption::Context with g_option_context_add_group(), if you are using g_option_context_parse() to parse your commandline arguments.
Returns a GOption::Group for the commandline arguments recognized by libspreadsheet
#owent(h, a) ⇒ Gnm::gnm_float
#page_break_type_from_str(str) ⇒ Gnm::PageBreakType
#page_setup_get_paper(page_setup) ⇒ String
#page_setup_set_paper(page_setup, paper) ⇒ Boolean
#pango_attr_list_equal(l1, l2) ⇒ Boolean
#pango_context_get ⇒ Pango::Context
Simple wrapper to handle windowless operation
#parse_criteria(crit_val, date_conv, anchor_end) ⇒ Gnm::Criteria
">=value" "<=value" "<>value" "<value" ">value" "=value" "pattern"
#parse_database_criteria(ep, database, criteria) ⇒ GLib::SList<Gnm::DBCriteria>
Parses the criteria cell range.
#parse_output(state, dao) ⇒ Gnm::data_analysis_output_t
fill dao with information from the standard output section of a dialog
#parse_text_value_or_expr(pos, text, val, texpr) ⇒ nil
Utility routine to parse a string and convert it into an expression or value.
If there is a parse failure for an expression an error GnmValue with the syntax error is returned in val.
#parse_util_init ⇒ nil
#parse_util_shutdown ⇒ nil
#parsepos_as_string(pp) ⇒ String
#pattern_background_set(mstyle, cr, is_selected, ctxt) ⇒ Boolean
Set up a cairo context to paint the background of a cell.
#pbeta(x, a, b, lower_tail, log_p) ⇒ Gnm::gnm_float
Returns cumulative density of the beta distribution.
#pbinom(x, n, psuc, lower_tail, log_p) ⇒ Gnm::gnm_float
Returns cumulative density of the binomial distribution.
#pbinom2(x0, x1, n, p) ⇒ Gnm::gnm_float
#pcauchy(x, location, scale, lower_tail, log_p) ⇒ Gnm::gnm_float
#pchisq(x, df, lower_tail, log_p) ⇒ Gnm::gnm_float
Returns cumulative density of the 𝜒² distribution.
#permut(n, k) ⇒ Gnm::gnm_float
#pexp(x, scale, lower_tail, log_p) ⇒ Gnm::gnm_float
Returns cumulative density of the exponential distribution.
#pf(x, n1, n2, lower_tail, log_p) ⇒ Gnm::gnm_float
Returns cumulative density of the F distribution.
#pfuncinverter(p, shape, lower_tail, log_p, xlow, xhigh, x0, pfunc, dpfunc_dx) ⇒ Gnm::gnm_float
#pgamma(x, shape, scale, lower_tail, log_p) ⇒ Gnm::gnm_float
Returns cumulative density of the gamma distribution.
#pgeom(x, psuc, lower_tail, log_p) ⇒ Gnm::gnm_float
Returns cumulative density of the geometric distribution.
#phyper(x, r, b, n, lower_tail, log_p) ⇒ Gnm::gnm_float
Returns cumulative density of the hypergeometric distribution.
#plnorm(x, logmean, logsd, lower_tail, log_p) ⇒ Gnm::gnm_float
Returns cumulative density of the log-normal distribution.
#plugins_init(c) ⇒ nil
#plugins_service_init ⇒ nil
#pnbinom(x, n, psuc, lower_tail, log_p) ⇒ Gnm::gnm_float
Returns cumulative density of the negative binomial distribution.
#pnorm(x, mu, sigma, lower_tail, log_p) ⇒ Gnm::gnm_float
Returns cumulative density of the normal distribution.
#pnorm2(x1, x2) ⇒ Gnm::gnm_float
#pochhammer(x, n) ⇒ Gnm::gnm_float
This function computes Pochhammer's symbol at x and n, i.e., Gamma(x+n)/Gamma(x). This is well defined unless x or x+n is a non-negative integer. The ratio has a removable singlularity at n=0 and the result is 1.
#pop_C_locale(locale) ⇒ nil
Frees the result of gnm_push_C_locale and restores the original locale.
#popup_menu(menu, event) ⇒ nil
Bring up a popup and if event is non-nil ensure that the popup is on the right screen.
#position_tooltip(tip, px, py, horizontal) ⇒ nil
#pow1p(x, y) ⇒ Gnm::gnm_float
naive formula.
#pow1pm1(x, y) ⇒ Gnm::gnm_float
naive formula.
#ppois(x, lambda, lower_tail, log_p) ⇒ Gnm::gnm_float
Returns cumulative density of the Poisson distribution.
#prayleigh(x, scale, lower_tail, log_p) ⇒ Gnm::gnm_float
Returns cumulative density of the Rayleigh distribution.
#pre_parse_init(argc, argv) ⇒ Array<String>
Initialization to be done before cmd line arguments are handled. Needs to be called first, before any other initialization.
#pre_parse_shutdown ⇒ nil
#prepare_input_range(input_range, group_by) ⇒ nil
#print_hf_format_render(format, info, render_type) ⇒ String
#print_info_dup(pi) ⇒ Gnm::PrintInformation
#print_info_free(pi) ⇒ nil
#print_info_get_margins(pi, top, bottom, left, right, edge_to_below_header, edge_to_above_footer) ⇒ nil
#print_info_get_page_setup(pi) ⇒ Gtk::PageSetup
Returns the page setup.
#print_info_get_paper(pi) ⇒ String
#print_info_get_paper_display_name(pi) ⇒ String
Returns the name of the selected paper type.
#print_info_get_paper_height(pi, unit) ⇒ Float
#print_info_get_paper_orientation(pi) ⇒ Gtk::PageOrientation
#print_info_get_paper_size(pi) ⇒ Gtk::PaperSize
#print_info_get_paper_width(pi, unit) ⇒ Float
#print_info_get_printrange(pi) ⇒ Gnm::PrintRange
#print_info_get_printtofile_uri(pi) ⇒ String
Returns The uri used for print-to-file.
#print_info_has_manual_breaks(pi) ⇒ Boolean
#print_info_load_defaults(pi) ⇒ nil
NOTE: This reads from a globally stored configuration. If a configuration is stored along with a sheet then that will override these global defaults.
#print_info_save(pi) ⇒ nil
#print_info_set_breaks(pi, breaks) ⇒ nil
#print_info_set_edge_to_above_footer(pi, e_f) ⇒ nil
#print_info_set_edge_to_below_header(pi, e_h) ⇒ nil
#print_info_set_from_settings(pi, settings) ⇒ nil
#print_info_set_margin_footer(pi, footer) ⇒ nil
#print_info_set_margin_header(pi, header) ⇒ nil
#print_info_set_margin_left(pi, left) ⇒ nil
#print_info_set_margin_right(pi, right) ⇒ nil
#print_info_set_margins(pi, header, footer, left, right) ⇒ nil
#print_info_set_page_setup(pi, page_setup) ⇒ nil
Absorb a ref to page_setup.
WHY WHY WHY
-
The life cycle in here is a tad odd, the load_defaults does nothing for the case of an existing page_setup, and seems like it should be ignored for the case of a new one.
-
Why not copy the page_setup in here and make the arg const ?
#print_info_set_paper(pi, paper) ⇒ Boolean
#print_info_set_paper_orientation(pi, orientation) ⇒ nil
#print_info_set_printrange(pi, pr) ⇒ nil
#print_info_set_printtofile_from_settings(pi, settings, default_uri) ⇒ nil
#print_info_set_printtofile_uri(pi, uri) ⇒ nil
#print_init ⇒ nil
#print_load_repeat_range(str, r, sheet) ⇒ Boolean
#print_sheet(wbc, sheet, preview, default_range, export_dst) ⇒ nil
#print_sheet_objects(cr, sheet, range, base_x, base_y) ⇒ nil
#print_shutdown ⇒ nil
#print_so(wbc, sos, export_dst) ⇒ nil
#pt(x, n, lower_tail, log_p) ⇒ Gnm::gnm_float
Returns cumulative density of the Student t distribution.
#ptukey(x, nmeans, df, nranges, lower_tail, log_p) ⇒ Gnm::gnm_float
#push_C_locale ⇒ Gnm::Locale
Returns the current locale, and sets the locale and the value-format engine's locale to 'C'. The caller must call gnm_pop_C_locale to free the result and restore the previous locale.
#pweibull(x, shape, scale, lower_tail, log_p) ⇒ Gnm::gnm_float
Returns cumulative density of the Weibull distribution.
#qbeta(p, a, b, lower_tail, log_p) ⇒ Gnm::gnm_float
beta distribution.
#qbinom(p, n, psuc, lower_tail, log_p) ⇒ Gnm::gnm_float
binomial distribution.
#qcauchy(p, location, scale, lower_tail, log_p) ⇒ Gnm::gnm_float
Cauchy distribution.
#qchisq(p, df, lower_tail, log_p) ⇒ Gnm::gnm_float
𝜒² distribution.
#qexp(p, scale, lower_tail, log_p) ⇒ Gnm::gnm_float
exponential distribution.
#qf(p, n1, n2, lower_tail, log_p) ⇒ Gnm::gnm_float
F distribution.
#qfactf(x, mant, exp2) ⇒ Integer
#qgamma(p, shape, scale, lower_tail, log_p) ⇒ Gnm::gnm_float
gamma distribution.
#qgeom(p, psuc, lower_tail, log_p) ⇒ Gnm::gnm_float
geometric distribution.
#qhyper(p, r, b, n, lower_tail, log_p) ⇒ Gnm::gnm_float
hypergeometric distribution.
#qlnorm(p, logmean, logsd, lower_tail, log_p) ⇒ Gnm::gnm_float
log-normal distribution.
#qnbinom(p, n, psuc, lower_tail, log_p) ⇒ Gnm::gnm_float
negative binomial distribution.
#qnorm(p, mu, sigma, lower_tail, log_p) ⇒ Gnm::gnm_float
normal distribution.
#qpois(p, lambda, lower_tail, log_p) ⇒ Gnm::gnm_float
Poisson distribution.
#qrayleigh(p, scale, lower_tail, log_p) ⇒ Gnm::gnm_float
Rayleigh distribution.
#qt(p, n, lower_tail, log_p) ⇒ Gnm::gnm_float
Student t distribution.
#qtukey(p, nmeans, df, nranges, lower_tail, log_p) ⇒ Gnm::gnm_float
#qweibull(p, shape, scale, lower_tail, log_p) ⇒ Gnm::gnm_float
Weibull distribution.
#random_01 ⇒ Gnm::gnm_float
#random_bernoulli(p) ⇒ Gnm::gnm_float
#random_beta(a, b) ⇒ Gnm::gnm_float
#random_binomial(p, trials) ⇒ Gnm::gnm_float
#random_cauchy(a) ⇒ Gnm::gnm_float
#random_chisq(nu) ⇒ Gnm::gnm_float
#random_exponential(b) ⇒ Gnm::gnm_float
#random_exppow(a, b) ⇒ Gnm::gnm_float
#random_exppow_pdf(x, a, b) ⇒ Gnm::gnm_float
#random_fdist(nu1, nu2) ⇒ Gnm::gnm_float
#random_gamma(a, b) ⇒ Gnm::gnm_float
#random_gaussian_tail(a, sigma) ⇒ Gnm::gnm_float
#random_geometric(p) ⇒ Gnm::gnm_float
#random_gumbel1(a, b) ⇒ Gnm::gnm_float
#random_gumbel2(a, b) ⇒ Gnm::gnm_float
#random_hypergeometric(n1, n2, t) ⇒ Gnm::gnm_float
#random_landau ⇒ Gnm::gnm_float
#random_laplace(a) ⇒ Gnm::gnm_float
#random_laplace_pdf(x, a) ⇒ Gnm::gnm_float
#random_levy(c, alpha) ⇒ Gnm::gnm_float
#random_levy_skew(c, alpha, beta) ⇒ Gnm::gnm_float
#random_logarithmic(p) ⇒ Gnm::gnm_float
#random_logistic(a) ⇒ Gnm::gnm_float
#random_lognormal(zeta, sigma) ⇒ Gnm::gnm_float
#random_negbinom(p, f) ⇒ Gnm::gnm_float
#random_normal ⇒ Gnm::gnm_float
Returns a N(0,1) distributed random number.
#random_pareto(a, b) ⇒ Gnm::gnm_float
#random_poisson(lambda) ⇒ Gnm::gnm_float
#random_rayleigh(sigma) ⇒ Gnm::gnm_float
#random_rayleigh_tail(a, sigma) ⇒ Gnm::gnm_float
#random_skew_normal(a) ⇒ Gnm::gnm_float
#random_skew_tdist(nu, a) ⇒ Gnm::gnm_float
#random_tdist(nu) ⇒ Gnm::gnm_float
#random_uniform_int(n) ⇒ Integer
Returns a uniformly distributed random non-negative integer less than n.
#random_weibull(a, b) ⇒ Gnm::gnm_float
#range_adtest(xs, n, p, statistics) ⇒ Integer
#range_avedev(xs, n, res) ⇒ Integer
#range_concatenate(data, res, user) ⇒ Integer
Returns non-zero on error.
#range_correl_pop(xs, ys, n, res) ⇒ Integer
#range_count(xs, n, res) ⇒ Integer
#range_covar_est(xs, ys, n, res) ⇒ Integer
#range_covar_pop(xs, ys, n, res) ⇒ Integer
#range_geometric_mean(xs, n, res) ⇒ Integer
#range_harmonic_mean(xs, n, res) ⇒ Integer
#range_hypot(xs, n, res) ⇒ Integer
#range_kurtosis_m3_est(xs, n, res) ⇒ Integer
#range_kurtosis_m3_pop(xs, n, res) ⇒ Integer
#range_list_destroy(ranges) ⇒ nil
Destroys a list of ranges returned from parse_cell_range_list. Note: the element type here is GnmValue, not GnmRange. to destroy.
#range_mode(xs, n, res) ⇒ Integer
#range_multinomial(xs, n, res) ⇒ Integer
#range_product(xs, n, res) ⇒ Integer
#range_rsq_pop(xs, ys, n, res) ⇒ Integer
#range_simplify(arr) ⇒ nil
Simplifies the array of ranges by merging small ranges into larger ones.
#range_skew_est(xs, n, res) ⇒ Integer
#range_skew_pop(xs, n, res) ⇒ Integer
#range_stddev_est(xs, n, res) ⇒ Integer
#range_stddev_pop(xs, n, res) ⇒ Integer
#range_var_est(xs, n, res) ⇒ Integer
#range_var_pop(xs, n, res) ⇒ Integer
#rangeref_as_string(out, ref) ⇒ nil
#rangeref_parse(res, start, pp, convs) ⇒ String
If the result != start then res is valid.
#reduce_pi(x, e, k) ⇒ Gnm::gnm_float
This function performs range reduction for trigonometric functions. number j and |xr| <= Pi/2^(e+1). The lower e+1 bits of j will be returned in k.
#regcomp_XL(preg, pattern, cflags, anchor_start, anchor_end) ⇒ Integer
#rendered_value_init ⇒ nil
#rendered_value_new(cell, context, allow_variable_width, zoom) ⇒ Gnm::RenderedValue
Formats the value of the cell according to its style.
#rendered_value_shutdown ⇒ nil
#restore_window_geometry(dialog, key) ⇒ nil
#row_calc_spans(ri, row, sheet) ⇒ nil
#row_destroy_span(ri) ⇒ nil
#row_name(row) ⇒ String
Returns A string representation of row.
#row_parse(str, ss, res, relative) ⇒ String
#row_span_get(ri, col) ⇒ Gnm::CellSpanInfo
#rows_height_update(sheet, range, shrink) ⇒ nil
Use this function having changed the font size to auto-resize the row heights to make the text fit nicely.
#rows_name(start_row, end_row) ⇒ String
start_row to end_row.
#rvc_free(rvc) ⇒ nil
#rvc_new(context, size) ⇒ Gnm::RenderedValueCollection
Returns a new GnmRenderedValueCollection.
#rvc_query(rvc, cell) ⇒ Gnm::RenderedValue
Returns the rendered value for cell.
#rvc_remove(rvc, cell) ⇒ nil
#rvc_store(rvc, cell, rv) ⇒ nil
#sc_ant(sc) ⇒ nil
#sc_cursor_bound(sc, r) ⇒ nil
#sc_freeze_object_view(sc, freeze) ⇒ nil
#sc_make_cell_visible(sc, col, row, couple_panes) ⇒ nil
#sc_mode_edit(sc) ⇒ nil
#sc_object_create_view(sc, so) ⇒ nil
#sc_recompute_visible_region(sc, full_recompute) ⇒ nil
#sc_redraw_all(sc, headers) ⇒ nil
#sc_redraw_headers(sc, col, row, r) ⇒ nil
#sc_redraw_range(sc, r) ⇒ nil
#sc_resize(sc, force_scroll) ⇒ nil
#sc_scale_changed(sc) ⇒ nil
#sc_scrollbar_config(sc) ⇒ nil
#sc_set_panes(sc) ⇒ nil
#sc_set_top_left(sc, col, row) ⇒ nil
#sc_sheet(sc) ⇒ Gnm::Sheet
Returns the sheet.
#sc_show_im_tooltip(sc, im, pos) ⇒ nil
#sc_unant(sc) ⇒ nil
#sc_view(sc) ⇒ Gnm::SheetView
Returns the sheet view.
#sc_wbc(sc) ⇒ Gnm::WorkbookControl
Returns the workbook control.
#scg_adjust_preferences(scg) ⇒ nil
#scg_colrow_distance_get(scg, is_cols, from, to) ⇒ Integer
#scg_colrow_select(scg, is_cols, index, modifiers) ⇒ Boolean
#scg_colrow_size_set(scg, is_cols, index, new_size_pixels) ⇒ nil
#scg_comment_display(scg, cc, x, y) ⇒ nil
#scg_comment_select(scg, cc, x, y) ⇒ nil
Prepare cc for display.
#scg_comment_unselect(scg, cc) ⇒ nil
If cc is the current cell comment being edited/displayed shutdown the display mechanism.
#scg_context_menu(scg, event, is_col, is_row) ⇒ nil
#scg_cursor_extend(scg, n, jump_to_bound, horiz) ⇒ nil
#scg_cursor_move(scg, dir, jump_to_bound, horiz) ⇒ nil
Moves the cursor count rows
#scg_cursor_visible(scg, is_visible) ⇒ nil
#scg_delete_sheet_if_possible(scg) ⇒ nil
#scg_drag_data_get(scg, selection_data) ⇒ nil
#scg_drag_data_received(scg, source_widget, x, y, selection_data) ⇒ nil
#scg_edit_start(scg) ⇒ nil
#scg_edit_stop(scg) ⇒ nil
#scg_make_cell_visible(scg, col, row, force_scroll, couple_panes) ⇒ nil
Ensure that cell (col, row) is visible. Sheet is scrolled if cell is outside viewport.
#scg_mode_edit(scg) ⇒ nil
Put sheet into the standard state 'edit mode'. This shuts down any object editing and frees any objects that are created but not realized.
#scg_object_anchor_to_coords(scg, anchor, coords) ⇒ nil
#scg_object_coords_to_anchor(scg, coords, in_out) ⇒ nil
#scg_object_select(scg, so) ⇒ nil
Adds so to the set of selected objects and prepares it for user editing. Adds a reference to ref if it is selected.
#scg_object_select_next(scg, reverse) ⇒ nil
#scg_object_unselect(scg, so) ⇒ nil
unselect the supplied object, and drop out of edit mode if this is the last one. If so == NULL unselect all objects.
#scg_objects_drag(scg, gcanvas, primary, dx, dy, drag_type, symmetric, snap_to_grid, is_mouse_move) ⇒ nil
Move the control points and drag views of the currently selected objects to a new position. This movement is only made in scg not in the actual objects.
#scg_objects_drag_commit(scg, drag_type, created_objects, pundo, predo, undo_title) ⇒ nil
#scg_objects_nudge(scg, gcanvas, drag_type, dx, dy, symmetric, snap_to_grid) ⇒ nil
#scg_pane(scg, pane) ⇒ Gnm::Pane
Returns the pane.
#scg_paste_image(scg, where, data, len) ⇒ nil
#scg_queue_movement(scg, handler, n, jump, horiz) ⇒ nil
Do motion compression when possible to avoid redrawing an area that will disappear when we scroll again.
#scg_rangesel_bound(scg, base_col, base_row, move_col, move_row) ⇒ nil
#scg_rangesel_extend(scg, n, jump_to_bound, horiz) ⇒ nil
#scg_rangesel_extend_to(scg, col, row) ⇒ nil
#scg_rangesel_move(scg, dir, jump_to_bound, horiz) ⇒ nil
#scg_rangesel_start(scg, base_col, base_row, move_col, move_row) ⇒ nil
#scg_rangesel_stop(scg, clear_str) ⇒ nil
#scg_reload_item_edits(scg) ⇒ nil
#scg_select_all(scg) ⇒ nil
#scg_set_display_cursor(scg) ⇒ nil
Set the displayed cursor type.
#scg_set_left_col(scg, new_first_col) ⇒ nil
#scg_set_top_row(scg, new_first_row) ⇒ nil
#scg_sheet(scg) ⇒ Gnm::Sheet
Returns the sheet.
#scg_size_guide_motion(scg, vert, guide_pos) ⇒ nil
#scg_size_guide_start(scg, vert, colrow, is_colrow_resize) ⇒ nil
#scg_size_guide_stop(scg) ⇒ nil
#scg_special_cursor_bound_set(scg, r) ⇒ Boolean
#scg_special_cursor_start(scg, style, button) ⇒ nil
#scg_special_cursor_stop(scg) ⇒ nil
#scg_take_focus(scg) ⇒ nil
#scg_view(scg) ⇒ Gnm::SheetView
Returns the sheet view.
#scg_wbc(scg) ⇒ Gnm::WorkbookControl
Returns the workbook control.
#scg_wbcg(scg) ⇒ Gnm::WBCGtk
Returns the #WBCGtk.
#search_collect_cells(sr) ⇒ Array<Gnm::EvalPos>
Collect a list of all cells subject to search.
#search_collect_cells_free(cells) ⇒ nil
#search_filter_matching(sr, cells) ⇒ Array<Gnm::SearchFilterResult>
Returns matches.
#search_filter_matching_free(matches) ⇒ nil
#search_normalize(txt) ⇒ String
#selection_first_range(sv, cc, cmd_name) ⇒ Gnm::Range
displays an error if there is more than one range.
#selection_get_ranges(sv, allow_intersection) ⇒ GLib::SList<Gnm::Range>
Caller is responsible for free the list and the content.
#selection_to_string(sv, include_sheet_name_prefix) ⇒ String
#session_init(argv0) ⇒ nil
#set_cell_text_col(dao, col, row, text) ⇒ nil
#set_cell_text_row(dao, col, row, text) ⇒ nil
#set_uifilename(name, actions, nb) ⇒ nil
#sheet_range_set_text(pos, r, str) ⇒ nil
Does NOT check for array division. Does NOT redraw Does NOT generate spans.
#shortest_rep_in_files ⇒ Boolean
#shutdown ⇒ nil
#simulation_tool(wbc, dao, sim) ⇒ String
#simulation_tool_destroy(sim) ⇒ nil
#slist_sort_merge(list_1, list_2) ⇒ GLib::SList<Integer>
gnm_slist_sort_merge merges two lists of unsigned integers. unsigned integers with no duplicates.
#sort_contents(data, cc) ⇒ Integer
#sort_permute_invert(perm, length) ⇒ Integer
#sort_position(data, perm, cc) ⇒ nil
#stf_dialog(wbcg, opt_encoding, fixed_encoding, opt_locale, fixed_locale, source, data, data_len) ⇒ Gnm::DialogStfResult_t
This will start the import. (NOTE: you have to free the DialogStfResult_t that this function returns yourself)
#stf_dialog_csv_page_cleanup(pagedata) ⇒ nil
Will cleanup csv page run-time data
#stf_dialog_csv_page_init(gui, pagedata) ⇒ nil
#stf_dialog_csv_page_prepare(pagedata) ⇒ nil
Will prepare the csv page
#stf_dialog_fixed_page_cleanup(pagedata) ⇒ nil
Will cleanup fixed page run-time data
#stf_dialog_fixed_page_init(gui, pagedata) ⇒ nil
#stf_dialog_fixed_page_prepare(pagedata) ⇒ nil
Will prepare the fixed page
#stf_dialog_format_page_cleanup(pagedata) ⇒ nil
#stf_dialog_format_page_init(gui, pagedata) ⇒ nil
#stf_dialog_format_page_prepare(pagedata) ⇒ nil
This will prepare the widgets on the format page before the page gets displayed
#stf_dialog_main_page_cleanup(pagedata) ⇒ nil
#stf_dialog_main_page_init(gui, pagedata) ⇒ nil
#stf_dialog_main_page_prepare(pagedata) ⇒ nil
This will prepare the widgets on the format page before the page gets displayed
#stf_dialog_result_attach_formats_to_cr(dialogresult, cr) ⇒ nil
Attach the formats of the dialogresult to the given cell region.
#stf_dialog_result_free(dialogresult) ⇒ nil
This routine will properly free the members of dialogresult and dialogresult itself
#stf_export(export_options) ⇒ Boolean
Exports the sheets given in stfe
#stf_file_saver_create(id) ⇒ GOffice::FileSaver
Returns the newly allocated GOFile::Saver.
#stf_get_stfe(obj) ⇒ Gnm::StfExport
If none is found, a new one is created and attached to obj.
#stf_init ⇒ nil
#stf_parse_find_line(parseoptions, data, line) ⇒ String
#stf_parse_general(parseoptions, lines_chunk, data, data_end) ⇒ Array<GObject>
GPtrArray of strings.
The caller must free this entire structure, for example by calling stf_parse_general_free.
#stf_parse_general_free(lines) ⇒ nil
#stf_parse_lines(parseoptions, lines_chunk, data, maxlines, with_lineno) ⇒ Array<GObject>
GPtrArray of strings.
The caller must free this entire structure, for example by calling stf_parse_general_free.
#stf_parse_options_guess(data) ⇒ Gnm::StfParseOptions_t
Returns the guessed options.
#stf_parse_options_guess_csv(data) ⇒ Gnm::StfParseOptions_t
Returns the guessed options.
#stf_parse_region(parseoptions, data, data_end, wb) ⇒ Gnm::CellRegion
#stf_parse_sheet(parseoptions, data, data_end, sheet, start_col, start_row) ⇒ Boolean
#stf_preview_colformats_add(renderdata, format) ⇒ nil
This will add an entry to the renderdata->colformats array. The widths of the columns will be set to at least have the width of the format.
#stf_preview_colformats_clear(renderdata) ⇒ nil
This will clear the renderdata->colformats array which contains the format of each column.
#stf_preview_find_column(renderdata, x, pcol, dx) ⇒ nil
#stf_preview_free(data) ⇒ nil
This will free the renderdata
#stf_preview_get_cell_renderer(renderdata, col) ⇒ Gtk::CellRenderer
#stf_preview_get_column(renderdata, col) ⇒ Gtk::TreeViewColumn
#stf_preview_new(data_container, date_conv) ⇒ Gnm::RenderData_t
Returns a new renderdata struct.
#stf_preview_set_lines(data, lines_chunk, lines) ⇒ nil
#stf_shutdown ⇒ nil
#stf_text_to_columns(wbc, cc) ⇒ nil
Main routine, handles importing a file including all dialog mumbo-jumbo
#stirlerr(n) ⇒ Gnm::gnm_float
#string_add_number(buf, d) ⇒ nil
#string_range_function(argc, argv, ei, func, user, flags, func_error) ⇒ Gnm::Value
This implements a Gnumeric sheet function that operates on a list of strings. This function collects the arguments and uses func to do the actual computation. of values from argv.
#strip_missing(data, n, missing) ⇒ nil
This removes the data elements from data whose indices are given by missing. n is the number of elements and it updated upon return. order.
#style_border_fetch(line_type, color, orientation) ⇒ Gnm::Border
Returns A Gnm::Border.
#style_border_get_orientation(type) ⇒ Gnm::StyleBorderOrientation
#style_border_get_width(line_type) ⇒ Integer
#style_border_none ⇒ Gnm::Border
Returns A Gnm::Border with no borders.
#style_border_none_set_color(color) ⇒ nil
This function updates the color of gnm_style_border_none when the wanted grid color is known. gnm_style_border_none tells how to render the grid. Because the grid color may be different for different sheets, the functions which render the grid call this function first. The rule for selecting the grid color, which is the same as in Excel, is: - if the auto pattern color is default (which is black), the grid color is gray, as returned by style_color_grid (). - otherwise, the auto pattern color is used for the grid.
#style_border_ref(border) ⇒ Gnm::Border
Returns a reference to border.
#style_border_set_dash(i, context) ⇒ nil
#style_border_unref(border) ⇒ nil
#style_border_visible_in_blank(border) ⇒ Boolean
#style_borders_row_draw(prev_vert, sr, cr, x, y1, y2, colwidths, draw_vertical, dir) ⇒ nil
TODO : This is not the final resting place for this. It will move into the gui layer eventually.
#style_borders_row_print_gtk(prev_vert, sr, context, x, y1, y2, sheet, draw_vertical, dir) ⇒ nil
#style_color_auto_back ⇒ Gnm::Color
Always white, as far as we know.
#style_color_auto_font ⇒ Gnm::Color
Always black, as far as we know.
#style_color_auto_pattern ⇒ Gnm::Color
Normally black, but follows grid color if so told.
#style_color_black ⇒ Gnm::Color
#style_color_equal(a, b) ⇒ Integer
#style_color_grid(context) ⇒ Gnm::Color
#style_color_ref(sc) ⇒ Gnm::Color
#style_color_unref(sc) ⇒ nil
#style_color_white ⇒ Gnm::Color
#style_context_get_color(context, state, color) ⇒ nil
#style_hash(style) ⇒ Integer
#style_hash_XL(style) ⇒ Integer
#style_init ⇒ nil
#style_list_free(l) ⇒ nil
Free up the resources in the style list. This includes unreferencing the styles.
#style_list_get_style(l, col, row) ⇒ Gnm::Style
Attempts to find the style associated with the pos offset within the 0,0 based style list. The resulting style does not have its reference count bumped.
#style_row_init(prev_vert, sr, next_sr, start_col, end_col, mem, hide_grid) ⇒ nil
A small utility routine to initialize the grid drawing GnmStyleRow data structure.
#style_shutdown ⇒ nil
#sv_is_colrow_selected(sv, colrow, is_col) ⇒ Boolean
#sv_is_full_colrow_selected(sv, is_cols, index) ⇒ Boolean
are fully selected and the selection contains the specified col.
#sv_is_full_range_selected(sv, r) ⇒ Boolean
Returns true if all of r is contained by the selection in sv.
#sv_is_pos_selected(sv, col, row) ⇒ Boolean
Returns true if the supplied position is selected in view sv.
#sv_is_range_selected(sv, r) ⇒ Boolean
Returns true If r overlaps with any part of the selection in sv.
#sv_is_singleton_selected(sv) ⇒ Gnm::CellPos
See if the 1st selected region is a singleton. a singleton
#sv_select_cur_array(sv) ⇒ nil
If the editpos is part of an array clear the selection and select the array.
#sv_select_cur_col(sv) ⇒ nil
Selects an entire column
#sv_select_cur_depends(sv) ⇒ nil
Select all cells that depend on the expression in the current cell.
#sv_select_cur_inputs(sv) ⇒ nil
Select all cells that are direct potential inputs to the current cell.
#sv_select_cur_row(sv) ⇒ nil
Selects an entire row
#sv_selection_add_full(sv, edit_col, edit_row, base_col, base_row, move_col, move_row, mode) ⇒ nil
Prepends a range to the selection list and sets the edit position.
#sv_selection_add_pos(sv, col, row, mode) ⇒ nil
#sv_selection_add_range(sv, range) ⇒ nil
#sv_selection_apply(sv, func, allow_intersection, user_data) ⇒ nil
Applies the specified function for all ranges in the selection. Optionally select whether to use the high level potentially over lapped ranges, rather than the smaller system created non-intersection regions.
#sv_selection_col_type(sv, col) ⇒ Gnm::ColRowSelectionType
Returns How much of column col is selected in sv.
#sv_selection_extend_to(sv, col, row) ⇒ nil
This extends the selection to cover col, row and updates the status areas.
#sv_selection_foreach(sv, handler, user_data) ⇒ Boolean
Iterate through the ranges in a selection. NOTE : The function assumes that the callback routine does NOT change the selection list. This can be changed in the future if it is a requirement.
#sv_selection_free(sv) ⇒ nil
Releases the selection associated with sv
WARNING: This does not set a new selection and leaves the view in an INVALID STATE.
#sv_selection_reset(sv) ⇒ nil
Releases the selection associated with sv , and forces a redraw of the previously selected regions and headers.
WARNING: This does not set a new selection and leaves the view in an INVALID STATE.
#sv_selection_row_type(sv, row) ⇒ Gnm::ColRowSelectionType
Returns How much of column col is selected in sv.
#sv_selection_set(sv, edit, base_col, base_row, move_col, move_row) ⇒ nil
#sv_selection_simplified_free(sv) ⇒ nil
Releases the simplified selection associated with sv
#sv_selection_simplify(sv) ⇒ nil
#sv_selection_to_plot(sv, plot) ⇒ nil
#sv_selection_walk_step(sv, forward, horizontal) ⇒ nil
Move the edit_pos of sv 1 step according to forward and horizontal. The behavior depends several factors
- How many ranges are selected
- The shape of the selected ranges
- Previous movements (A sequence of tabs followed by an enter can jump to the 1st col).
#sv_sheet(sv) ⇒ Gnm::Sheet
Returns the sheet.
#sv_wbv(sv) ⇒ Gnm::WorkbookView
Returns the workbook view.
#swap_log_tail(lp) ⇒ Gnm::gnm_float
#sys_data_dir ⇒ String
#sys_extern_plugin_dir ⇒ String
#sys_lib_dir ⇒ String
#textbuffer_get_text(buf) ⇒ String
#textview_get_text(text_view) ⇒ String
#textview_set_text(text_view, txt) ⇒ nil
#theme_is_dark(widget) ⇒ Boolean
#tool_consolidate_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#tool_load_selection(state, allow_multiple) ⇒ nil
load the current selection in the output and input entries show the dialog and focus the input_entry
#tool_random_cor_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#tool_random_engine(gcc, dao, specs, selector, result) ⇒ Boolean
#tool_setup_update(state, name, cb, closure) ⇒ Gtk::Widget
#translate_underline_from_pango(pul) ⇒ Gnm::Underline
#translate_underline_to_pango(ul) ⇒ Pango::Underline
#trunc(x) ⇒ Gnm::gnm_float
#undo_cell_pos_name(sheet, pos) ⇒ String
Returns the range name depending on the preference setting.
#undo_range_list_name(sheet, ranges) ⇒ String
(The result will be something like: "A1:C3, D4:E5"). The string will be truncated to max_descriptor_width.
#undo_range_name(sheet, r) ⇒ String
Returns the range name depending on the preference setting.
#unit_name_to_unit(name) ⇒ Gtk::Unit
#unit_to_unit_name(unit) ⇒ String
#usr_dir(versioned) ⇒ String
#utf8_strto(s, end) ⇒ Gnm::gnm_float
#utf8_strtol(s, end) ⇒ Gnm::glong
#validation_eval(wbc, mstyle, sheet, pos, showed_dialog) ⇒ Gnm::ValidationStatus
Checks the validation in mstyle, if any. Set showed_dialog to true if a dialog was showed as a result.
#validation_eval_range(wbc, sheet, pos, r, showed_dialog) ⇒ Gnm::ValidationStatus
#value_cmp(ptr_a, ptr_b) ⇒ Integer
qsort style comparison function for ascending order
#value_cmp_reverse(ptr_a, ptr_b) ⇒ Integer
qsort style comparison function for descending order.
#value_error_name(err, translated) ⇒ String
Returns the name of err, possibly localized.
#value_error_set_pos(err, pos) ⇒ Gnm::Value
Change the position of a ValueError.
#value_init ⇒ nil
#value_shutdown ⇒ nil
#wb_control_claim_selection(wbc) ⇒ Boolean
#wb_control_cur_sheet(wbc) ⇒ Gnm::Sheet
Returns the current sheet.
#wb_control_cur_sheet_view(wbc) ⇒ Gnm::SheetView
Returns the current sheet view.
#wb_control_edit_line_set(wbc, text) ⇒ nil
#wb_control_get_doc(wbc) ⇒ GOffice::Doc
Returns the workbook set as a #GODoc.
#wb_control_get_workbook(wbc) ⇒ Gnm::Workbook
Returns the workbook.
#wb_control_init_state(wbc) ⇒ nil
#wb_control_jump(wbc, sheet, r) ⇒ Boolean
#wb_control_menu_state_update(wbc, flags) ⇒ nil
#wb_control_navigate_to_cell(wbc, to) ⇒ nil
#wb_control_parse_and_jump(wbc, text) ⇒ Boolean
#wb_control_paste_from_selection(wbc, pt) ⇒ nil
#wb_control_selection_descr_set(wbc, text) ⇒ nil
#wb_control_set_view(wbc, optional_view, optional_wb) ⇒ nil
#wb_control_sheet_add(wbc, sv) ⇒ nil
#wb_control_sheet_focus(wbc, sheet) ⇒ nil
#wb_control_sheet_remove(wbc, sheet) ⇒ nil
#wb_control_sheet_remove_all(wbc) ⇒ nil
#wb_control_style_feedback(wbc, changes) ⇒ nil
#wb_control_undo_redo_labels(wbc, undo, redo) ⇒ nil
#wb_control_undo_redo_pop(wbc, is_undo) ⇒ nil
#wb_control_undo_redo_push(wbc, is_undo, text, key) ⇒ nil
#wb_control_undo_redo_truncate(wbc, n, is_undo) ⇒ nil
#wb_control_update_action_sensitivity(wbc) ⇒ nil
#wb_control_validation_msg(wbc, v, title, msg) ⇒ Integer
1 : ignore invalid and accept result 0 : discard invalid and finish editing -1 : continue editing
#wb_control_view(wbc) ⇒ Gnm::WorkbookView
Returns the workbook view.
#wb_view_attach_control(wbv, wbc) ⇒ nil
#wb_view_auto_expr_recalc(wbv) ⇒ nil
#wb_view_cur_sheet(wbv) ⇒ Gnm::Sheet
Returns the current sheet.
#wb_view_cur_sheet_view(wbv) ⇒ Gnm::SheetView
Returns the current sheet view.
#wb_view_detach_control(wbc) ⇒ nil
#wb_view_detach_from_workbook(wbv) ⇒ nil
#wb_view_edit_line_set(wbv, wbc) ⇒ nil
Load the edit line with the value of the cell in sheet's edit_pos.
Calculate what to display on the edit line then display it either in the control wbc, or if that is nil, in all controls.
#wb_view_get_doc(wbv) ⇒ GOffice::Doc
Returns the #Workbook associated with wbv cast to a #GODoc.
#wb_view_get_index_in_wb(wbv) ⇒ Integer
Returns 0 based index of wbv within workbook, or -1 if there is no workbook.
#wb_view_get_workbook(wbv) ⇒ Gnm::Workbook
Returns the #Workbook associated with wbv.
#wb_view_is_protected(wbv, check_sheet) ⇒ Boolean
#wb_view_menus_update(wbv) ⇒ nil
#wb_view_preferred_size(wbv, w_pixels, h_pixels) ⇒ nil
#wb_view_selection_desc(wbv, use_pos, wbc) ⇒ nil
Load the edit line with the value of the cell in sheet's edit_pos.
Calculate what to display on the edit line then display it either in the control wbc, or if that is nil, in all controls.
#wb_view_set_attribute(wbv, name, value) ⇒ nil
#wb_view_sheet_add(wbv, new_sheet) ⇒ nil
#wb_view_sheet_focus(wbv, sheet) ⇒ nil
#wb_view_style_feedback(wbv) ⇒ nil
#wbcg_append_sheet(ignored, wbcg) ⇒ nil
#wbcg_auto_complete_destroy(wbcg) ⇒ nil
#wbcg_clone_sheet(ignored, wbcg) ⇒ nil
#wbcg_copy_toolbar_visibility(new_wbcg, wbcg) ⇒ nil
#wbcg_cur_scg(wbcg) ⇒ Gnm::SheetControlGUI
Returns the current Sheet::ControlGUI.
#wbcg_cur_sheet(wbcg) ⇒ Gnm::Sheet
Returns the current #Sheet.
#wbcg_edit_add_markup(wbcg, attr) ⇒ nil
Absorbs the ref to attr.
#wbcg_edit_finish(wbcg, result, showed_dialog) ⇒ Boolean
Returns true if editing completed successfully, or we were no editing.
#wbcg_edit_get_display_text(wbcg) ⇒ String
#wbcg_edit_get_markup(wbcg, full) ⇒ Pango::AttrList
editing. The list belongs to wbcg and should not be freed.
#wbcg_edit_start(wbcg, blankp, cursorp) ⇒ Boolean
Initiate editing of a cell in the sheet. Note that we have two modes of editing:
- in-cell editing when you just start typing, and
- above sheet editing when you hit F2. cell-to-be-edited was locked.
#wbcg_entry_has_logical(wbcg) ⇒ Boolean
Returns true if wbcg_set_entry has redirected the edit_entry.
#wbcg_find_action(wbcg, name) ⇒ Gtk::Action
Returns The action with the given name.
#wbcg_find_for_workbook(wb, candidate, pref_screen, pref_display) ⇒ Gnm::WBCGtk
Returns the found #WBCGtk or nil.
#wbcg_focus_cur_scg(wbcg) ⇒ Gnm::Sheet
A utility routine to safely ensure that the keyboard focus is attached to the item-grid. This is required when a user edits a combo-box or and entry-line which grab focus.
It is called for zoom, font name/size, and accept/cancel for the editline.
#wbcg_focus_current_cell_indicator(wbcg) ⇒ nil
#wbcg_font_action_set_font_desc(act, desc) ⇒ nil
#wbcg_get_entry(wbcg) ⇒ Gtk::Entry
Returns the Gtk::Entry associated with the current GnmExprEntry.
#wbcg_get_entry_logical(wbcg) ⇒ Gnm::ExprEntry
wbcg_set_entry for gurus) Gnm::ExprEntry
#wbcg_get_entry_underlying(wbcg) ⇒ Gtk::Widget
Gnm::ExprEntry.
#wbcg_get_font_desc(wbcg) ⇒ Pango::FontDescription
#wbcg_get_n_scg(wbcg) ⇒ Integer
#wbcg_get_nth_scg(wbcg, i) ⇒ Gnm::SheetControlGUI
wbcg's notebook. NOTE : i != scg->sv->sheet->index_in_wb
#wbcg_insert_object(wbcg, so) ⇒ nil
Takes a newly created Sheet::Object that has not yet been realized and prepares to place it on the sheet.
NOTE : Absorbs a reference to the object.
#wbcg_insert_object_clear(wbcg) ⇒ nil
If we are preparing to insert a new object, unref the object, and restore a normal state to the scgs that was changed in wbcg_insert_object (e.g., visibility of cursors)
#wbcg_insert_sheet(ignored, wbcg) ⇒ nil
#wbcg_is_editing(wbcg) ⇒ Boolean
#wbcg_rangesel_possible(wbcg) ⇒ Boolean
Returns true if the cursor keys should be used to select a cell range (if the cursor is in a spot in the expression where it makes sense to have a cell reference), false if not.
#wbcg_set_end_mode(wbcg, flag) ⇒ nil
#wbcg_set_entry(wbc, new_entry) ⇒ nil
#wbcg_set_status_text(wbcg, text) ⇒ nil
#wbcg_set_transient(wbcg, window) ⇒ nil
#wbcg_toggle_visibility(wbcg, action) ⇒ nil
#wbcg_toplevel(wbcg) ⇒ Gtk::Window
Returns the toplevel Gtk::Window.
#widget_measure_string(w, s) ⇒ Integer
#widget_set_cursor(w, ct) ⇒ nil
#widget_set_cursor_type(w, ct) ⇒ nil
#x_claim_clipboard(display) ⇒ Boolean
#x_disown_clipboard ⇒ nil
#x_request_clipboard(wbcg, pt) ⇒ nil
#x_store_clipboard_if_needed(wb) ⇒ nil
#xml_attr_bool(attrs, name, res) ⇒ Boolean
#xml_attr_double(attrs, name, res) ⇒ Boolean
#xml_attr_int(attrs, name, res) ⇒ Boolean
#xml_cellregion_read(wbc, io_context, sheet, buffer, length) ⇒ Gnm::CellRegion
#xml_in_cur_obj(xin) ⇒ Gnm::SheetObject
Returns the current sheet object.
#xml_in_cur_sheet(xin) ⇒ Gnm::Sheet
Returns the current sheet.
#xml_in_doc_dispose_on_exit(pdoc) ⇒ nil
#xml_io_conventions ⇒ Gnm::Conventions
#xml_out_add_gocolor(o, id, c) ⇒ nil
#xml_out_end_element_check(xout, id) ⇒ nil
Closes an xml tag, expected it to be id. If it is not, tags will continue to be closed until the expected one is found in the hope that getting back to sync will make the result less corrupted.