From ed5640d8b587fbcfed7dd7967f3de04b37a76f26 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:06:44 +0200 Subject: Adding upstream version 4:7.4.7. Signed-off-by: Daniel Baumann --- .../source/text/scalc/guide/address_auto.xhp | 59 ++++++ helpcontent2/source/text/scalc/guide/auto_off.xhp | 77 +++++++ .../source/text/scalc/guide/autofilter.xhp | 70 +++++++ .../source/text/scalc/guide/autoformat.xhp | 82 ++++++++ .../source/text/scalc/guide/background.xhp | 68 ++++++ helpcontent2/source/text/scalc/guide/borders.xhp | 227 +++++++++++++++++++++ helpcontent2/source/text/scalc/guide/calc_date.xhp | 71 +++++++ .../source/text/scalc/guide/calc_series.xhp | 83 ++++++++ .../source/text/scalc/guide/calc_timevalues.xhp | 46 +++++ helpcontent2/source/text/scalc/guide/calculate.xhp | 61 ++++++ .../source/text/scalc/guide/cell_enter.xhp | 60 ++++++ .../source/text/scalc/guide/cell_protect.xhp | 86 ++++++++ .../source/text/scalc/guide/cell_unprotect.xhp | 52 +++++ helpcontent2/source/text/scalc/guide/cellcopy.xhp | 79 +++++++ .../text/scalc/guide/cellreference_dragdrop.xhp | 67 ++++++ .../source/text/scalc/guide/cellreferences.xhp | 87 ++++++++ .../source/text/scalc/guide/cellreferences_url.xhp | 65 ++++++ .../text/scalc/guide/cellstyle_by_formula.xhp | 73 +++++++ .../text/scalc/guide/cellstyle_conditional.xhp | 139 +++++++++++++ .../text/scalc/guide/cellstyle_minusvalue.xhp | 53 +++++ .../text/scalc/guide/change_image_anchor.xhp | 40 ++++ .../source/text/scalc/guide/consolidate.xhp | 89 ++++++++ helpcontent2/source/text/scalc/guide/csv_files.xhp | 104 ++++++++++ .../source/text/scalc/guide/csv_formula.xhp | 86 ++++++++ .../source/text/scalc/guide/currency_format.xhp | 59 ++++++ .../source/text/scalc/guide/database_define.xhp | 65 ++++++ .../source/text/scalc/guide/database_filter.xhp | 88 ++++++++ .../source/text/scalc/guide/database_sort.xhp | 57 ++++++ helpcontent2/source/text/scalc/guide/datapilot.xhp | 48 +++++ .../text/scalc/guide/datapilot_createtable.xhp | 82 ++++++++ .../text/scalc/guide/datapilot_deletetable.xhp | 50 +++++ .../text/scalc/guide/datapilot_edittable.xhp | 56 +++++ .../text/scalc/guide/datapilot_filtertable.xhp | 80 ++++++++ .../text/scalc/guide/datapilot_formatting.xhp | 64 ++++++ .../source/text/scalc/guide/datapilot_grouping.xhp | 61 ++++++ .../source/text/scalc/guide/datapilot_tipps.xhp | 50 +++++ .../text/scalc/guide/datapilot_updatetable.xhp | 49 +++++ .../source/text/scalc/guide/dbase_files.xhp | 106 ++++++++++ helpcontent2/source/text/scalc/guide/design.xhp | 72 +++++++ .../source/text/scalc/guide/edit_multitables.xhp | 51 +++++ helpcontent2/source/text/scalc/guide/filters.xhp | 57 ++++++ helpcontent2/source/text/scalc/guide/finding.xhp | 94 +++++++++ .../source/text/scalc/guide/format_table.xhp | 76 +++++++ .../source/text/scalc/guide/format_value.xhp | 73 +++++++ .../text/scalc/guide/format_value_userdef.xhp | 124 +++++++++++ .../source/text/scalc/guide/formula_copy.xhp | 76 +++++++ .../source/text/scalc/guide/formula_enter.xhp | 68 ++++++ .../source/text/scalc/guide/formula_value.xhp | 55 +++++ helpcontent2/source/text/scalc/guide/formulas.xhp | 106 ++++++++++ .../source/text/scalc/guide/fraction_enter.xhp | 53 +++++ helpcontent2/source/text/scalc/guide/goalseek.xhp | 66 ++++++ helpcontent2/source/text/scalc/guide/html_doc.xhp | 71 +++++++ .../text/scalc/guide/integer_leading_zero.xhp | 88 ++++++++ helpcontent2/source/text/scalc/guide/keyboard.xhp | 105 ++++++++++ helpcontent2/source/text/scalc/guide/line_fix.xhp | 67 ++++++ helpcontent2/source/text/scalc/guide/main.xhp | 152 ++++++++++++++ .../source/text/scalc/guide/mark_cells.xhp | 104 ++++++++++ .../source/text/scalc/guide/matrixformula.xhp | 69 +++++++ .../source/text/scalc/guide/move_dragdrop.xhp | 121 +++++++++++ .../source/text/scalc/guide/multi_tables.xhp | 66 ++++++ .../source/text/scalc/guide/multioperation.xhp | 124 +++++++++++ .../source/text/scalc/guide/multitables.xhp | 73 +++++++ .../source/text/scalc/guide/note_insert.xhp | 66 ++++++ .../source/text/scalc/guide/numbers_text.xhp | 93 +++++++++ .../source/text/scalc/guide/pivotchart.xhp | 40 ++++ .../source/text/scalc/guide/pivotchart_create.xhp | 58 ++++++ .../source/text/scalc/guide/pivotchart_delete.xhp | 36 ++++ .../source/text/scalc/guide/pivotchart_edit.xhp | 41 ++++ .../source/text/scalc/guide/pivotchart_filter.xhp | 44 ++++ .../source/text/scalc/guide/pivotchart_update.xhp | 42 ++++ .../source/text/scalc/guide/print_details.xhp | 93 +++++++++ .../source/text/scalc/guide/print_exact.xhp | 63 ++++++ .../source/text/scalc/guide/print_landscape.xhp | 79 +++++++ .../source/text/scalc/guide/print_title_row.xhp | 82 ++++++++ .../source/text/scalc/guide/printranges.xhp | 105 ++++++++++ .../text/scalc/guide/relativ_absolut_ref.xhp | 60 ++++++ .../source/text/scalc/guide/remove_duplicates.xhp | 68 ++++++ .../source/text/scalc/guide/rename_table.xhp | 91 +++++++++ .../source/text/scalc/guide/rounding_numbers.xhp | 84 ++++++++ .../source/text/scalc/guide/row_height.xhp | 73 +++++++ helpcontent2/source/text/scalc/guide/scenario.xhp | 85 ++++++++ .../source/text/scalc/guide/sorted_list.xhp | 58 ++++++ .../source/text/scalc/guide/specialfilter.xhp | 223 ++++++++++++++++++++ .../source/text/scalc/guide/subtotaltool.xhp | 66 ++++++ .../source/text/scalc/guide/super_subscript.xhp | 60 ++++++ .../source/text/scalc/guide/table_cellmerge.xhp | 70 +++++++ .../source/text/scalc/guide/table_rotate.xhp | 67 ++++++ .../source/text/scalc/guide/table_view.xhp | 59 ++++++ .../source/text/scalc/guide/text_numbers.xhp | 50 +++++ .../source/text/scalc/guide/text_rotate.xhp | 55 +++++ helpcontent2/source/text/scalc/guide/text_wrap.xhp | 56 +++++ .../text/scalc/guide/userdefined_function.xhp | 120 +++++++++++ helpcontent2/source/text/scalc/guide/validity.xhp | 93 +++++++++ .../source/text/scalc/guide/value_with_name.xhp | 92 +++++++++ helpcontent2/source/text/scalc/guide/webquery.xhp | 107 ++++++++++ helpcontent2/source/text/scalc/guide/wildcards.xhp | 93 +++++++++ helpcontent2/source/text/scalc/guide/year2000.xhp | 51 +++++ 97 files changed, 7473 insertions(+) create mode 100644 helpcontent2/source/text/scalc/guide/address_auto.xhp create mode 100644 helpcontent2/source/text/scalc/guide/auto_off.xhp create mode 100644 helpcontent2/source/text/scalc/guide/autofilter.xhp create mode 100644 helpcontent2/source/text/scalc/guide/autoformat.xhp create mode 100644 helpcontent2/source/text/scalc/guide/background.xhp create mode 100644 helpcontent2/source/text/scalc/guide/borders.xhp create mode 100644 helpcontent2/source/text/scalc/guide/calc_date.xhp create mode 100644 helpcontent2/source/text/scalc/guide/calc_series.xhp create mode 100644 helpcontent2/source/text/scalc/guide/calc_timevalues.xhp create mode 100644 helpcontent2/source/text/scalc/guide/calculate.xhp create mode 100644 helpcontent2/source/text/scalc/guide/cell_enter.xhp create mode 100644 helpcontent2/source/text/scalc/guide/cell_protect.xhp create mode 100644 helpcontent2/source/text/scalc/guide/cell_unprotect.xhp create mode 100644 helpcontent2/source/text/scalc/guide/cellcopy.xhp create mode 100644 helpcontent2/source/text/scalc/guide/cellreference_dragdrop.xhp create mode 100644 helpcontent2/source/text/scalc/guide/cellreferences.xhp create mode 100644 helpcontent2/source/text/scalc/guide/cellreferences_url.xhp create mode 100644 helpcontent2/source/text/scalc/guide/cellstyle_by_formula.xhp create mode 100644 helpcontent2/source/text/scalc/guide/cellstyle_conditional.xhp create mode 100644 helpcontent2/source/text/scalc/guide/cellstyle_minusvalue.xhp create mode 100644 helpcontent2/source/text/scalc/guide/change_image_anchor.xhp create mode 100644 helpcontent2/source/text/scalc/guide/consolidate.xhp create mode 100644 helpcontent2/source/text/scalc/guide/csv_files.xhp create mode 100644 helpcontent2/source/text/scalc/guide/csv_formula.xhp create mode 100644 helpcontent2/source/text/scalc/guide/currency_format.xhp create mode 100644 helpcontent2/source/text/scalc/guide/database_define.xhp create mode 100644 helpcontent2/source/text/scalc/guide/database_filter.xhp create mode 100644 helpcontent2/source/text/scalc/guide/database_sort.xhp create mode 100644 helpcontent2/source/text/scalc/guide/datapilot.xhp create mode 100644 helpcontent2/source/text/scalc/guide/datapilot_createtable.xhp create mode 100644 helpcontent2/source/text/scalc/guide/datapilot_deletetable.xhp create mode 100644 helpcontent2/source/text/scalc/guide/datapilot_edittable.xhp create mode 100644 helpcontent2/source/text/scalc/guide/datapilot_filtertable.xhp create mode 100644 helpcontent2/source/text/scalc/guide/datapilot_formatting.xhp create mode 100644 helpcontent2/source/text/scalc/guide/datapilot_grouping.xhp create mode 100644 helpcontent2/source/text/scalc/guide/datapilot_tipps.xhp create mode 100644 helpcontent2/source/text/scalc/guide/datapilot_updatetable.xhp create mode 100644 helpcontent2/source/text/scalc/guide/dbase_files.xhp create mode 100644 helpcontent2/source/text/scalc/guide/design.xhp create mode 100644 helpcontent2/source/text/scalc/guide/edit_multitables.xhp create mode 100644 helpcontent2/source/text/scalc/guide/filters.xhp create mode 100644 helpcontent2/source/text/scalc/guide/finding.xhp create mode 100644 helpcontent2/source/text/scalc/guide/format_table.xhp create mode 100644 helpcontent2/source/text/scalc/guide/format_value.xhp create mode 100644 helpcontent2/source/text/scalc/guide/format_value_userdef.xhp create mode 100644 helpcontent2/source/text/scalc/guide/formula_copy.xhp create mode 100644 helpcontent2/source/text/scalc/guide/formula_enter.xhp create mode 100644 helpcontent2/source/text/scalc/guide/formula_value.xhp create mode 100644 helpcontent2/source/text/scalc/guide/formulas.xhp create mode 100644 helpcontent2/source/text/scalc/guide/fraction_enter.xhp create mode 100644 helpcontent2/source/text/scalc/guide/goalseek.xhp create mode 100644 helpcontent2/source/text/scalc/guide/html_doc.xhp create mode 100644 helpcontent2/source/text/scalc/guide/integer_leading_zero.xhp create mode 100644 helpcontent2/source/text/scalc/guide/keyboard.xhp create mode 100644 helpcontent2/source/text/scalc/guide/line_fix.xhp create mode 100644 helpcontent2/source/text/scalc/guide/main.xhp create mode 100644 helpcontent2/source/text/scalc/guide/mark_cells.xhp create mode 100644 helpcontent2/source/text/scalc/guide/matrixformula.xhp create mode 100644 helpcontent2/source/text/scalc/guide/move_dragdrop.xhp create mode 100644 helpcontent2/source/text/scalc/guide/multi_tables.xhp create mode 100644 helpcontent2/source/text/scalc/guide/multioperation.xhp create mode 100644 helpcontent2/source/text/scalc/guide/multitables.xhp create mode 100644 helpcontent2/source/text/scalc/guide/note_insert.xhp create mode 100644 helpcontent2/source/text/scalc/guide/numbers_text.xhp create mode 100644 helpcontent2/source/text/scalc/guide/pivotchart.xhp create mode 100644 helpcontent2/source/text/scalc/guide/pivotchart_create.xhp create mode 100644 helpcontent2/source/text/scalc/guide/pivotchart_delete.xhp create mode 100644 helpcontent2/source/text/scalc/guide/pivotchart_edit.xhp create mode 100644 helpcontent2/source/text/scalc/guide/pivotchart_filter.xhp create mode 100644 helpcontent2/source/text/scalc/guide/pivotchart_update.xhp create mode 100644 helpcontent2/source/text/scalc/guide/print_details.xhp create mode 100644 helpcontent2/source/text/scalc/guide/print_exact.xhp create mode 100644 helpcontent2/source/text/scalc/guide/print_landscape.xhp create mode 100644 helpcontent2/source/text/scalc/guide/print_title_row.xhp create mode 100644 helpcontent2/source/text/scalc/guide/printranges.xhp create mode 100644 helpcontent2/source/text/scalc/guide/relativ_absolut_ref.xhp create mode 100644 helpcontent2/source/text/scalc/guide/remove_duplicates.xhp create mode 100644 helpcontent2/source/text/scalc/guide/rename_table.xhp create mode 100644 helpcontent2/source/text/scalc/guide/rounding_numbers.xhp create mode 100644 helpcontent2/source/text/scalc/guide/row_height.xhp create mode 100644 helpcontent2/source/text/scalc/guide/scenario.xhp create mode 100644 helpcontent2/source/text/scalc/guide/sorted_list.xhp create mode 100644 helpcontent2/source/text/scalc/guide/specialfilter.xhp create mode 100644 helpcontent2/source/text/scalc/guide/subtotaltool.xhp create mode 100644 helpcontent2/source/text/scalc/guide/super_subscript.xhp create mode 100644 helpcontent2/source/text/scalc/guide/table_cellmerge.xhp create mode 100644 helpcontent2/source/text/scalc/guide/table_rotate.xhp create mode 100644 helpcontent2/source/text/scalc/guide/table_view.xhp create mode 100644 helpcontent2/source/text/scalc/guide/text_numbers.xhp create mode 100644 helpcontent2/source/text/scalc/guide/text_rotate.xhp create mode 100644 helpcontent2/source/text/scalc/guide/text_wrap.xhp create mode 100644 helpcontent2/source/text/scalc/guide/userdefined_function.xhp create mode 100644 helpcontent2/source/text/scalc/guide/validity.xhp create mode 100644 helpcontent2/source/text/scalc/guide/value_with_name.xhp create mode 100644 helpcontent2/source/text/scalc/guide/webquery.xhp create mode 100644 helpcontent2/source/text/scalc/guide/wildcards.xhp create mode 100644 helpcontent2/source/text/scalc/guide/year2000.xhp (limited to 'helpcontent2/source/text/scalc/guide') diff --git a/helpcontent2/source/text/scalc/guide/address_auto.xhp b/helpcontent2/source/text/scalc/guide/address_auto.xhp new file mode 100644 index 000000000..03a55b5ac --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/address_auto.xhp @@ -0,0 +1,59 @@ + + + + + + + Recognizing Names as Addressing + /text/scalc/guide/address_auto.xhp + + + + + + + automatic addressing in tables + natural language addressing + formulas; using row/column labels + text in cells; as addressing + addressing; automatic + name recognition on/off + row headers;using in formulas + column headers;using in formulas + columns; finding labels automatically + rows; finding labels automatically + recognizing; column and row labels + +mw changes "names;..." entry to "text in cells;..."mw inserted three index entries from text/shared/optionen/01060500.xhp. Changed "finding;..." entry to "recognizing;..." entry. Adding (Calc) is no longer necessary in this file. + +Recognizing Names as Addressing +You can use cells with text to refer to the rows or to the columns that contain the cells.removed table as a workaround for issue 108715 +Example spreadsheet +In the example spreadsheet, you can use the string 'Column One' in a formula to refer to the cell range B3 to B5, or 'Column Two' for the cell range C2 to C5. You can also use 'Row One' for the cell range B3 to D3, or 'Row Two' for the cell range B4 to D4. The result of a formula that uses a cell name, for example, SUM('Column One'), is 600. +This function is active by default. To turn this function off, choose %PRODUCTNAME - PreferencesTools - Options - %PRODUCTNAME Calc - Calculate and clear the Automatically find column and row labels check box. +If you want a name to be automatically recognized by Calc, the name must start with a letter and be composed of alphanumeric characters. If you enter the name in the formula yourself, enclose the name in single quotation marks ('). If a single quotation mark appears in a name, you must enter a backslash in front of the quotation mark, for example, 'Harry\'s Bar'. + +
mw changed reference to deleted Calc guide address_byname.xhp to refer to Calc guide value_with_name.xhpUFI: changed embedvar links to embed links + + + +
+ + +
\ No newline at end of file diff --git a/helpcontent2/source/text/scalc/guide/auto_off.xhp b/helpcontent2/source/text/scalc/guide/auto_off.xhp new file mode 100644 index 000000000..7ac4ebcaa --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/auto_off.xhp @@ -0,0 +1,77 @@ + + + + + + + Deactivating Automatic Changes + /text/scalc/guide/auto_off.xhp + + + + + + + deactivating; automatic changes + tables; deactivating automatic changes in + AutoInput function on/off + text in cells;AutoInput function + cells; AutoInput function of text + input support in spreadsheets + changing; input in cells + AutoCorrect function;cell contents + cell input;AutoInput function + lowercase letters;AutoInput function (in cells) + capital letters;AutoInput function (in cells) + date formats;avoiding conversion to + number completion on/off + text completion on/off + word completion on/off + +mw added one entry + +Deactivating Automatic Changes +By default, $[officename] automatically corrects many common typing errors and applies formatting while you type. You can immediately undo any automatic changes with Command +Ctrl+Z. +The following shows you how to deactivate and reactivate the automatic changes in $[officename] Calc: + +Automatic Text or Number Completion +When making an entry in a cell, $[officename] Calc automatically suggests matching input found in the same column. This function is known as AutoInput. +To turn the AutoInput on and off, set or remove the check mark in front of Tools - AutoInput. + +Automatic Conversion to Date Format +$[officename] Calc automatically converts certain entries to dates. For example, the entry 1.1 may be interpreted as January 1 of the current year, according to the locale settings of your operating system, and then displayed according to the date format applied to the cell.for sure 1.1 will not be interpreted as a date in the USofA !! +To ensure that an entry is interpreted as text, add an apostrophe at the beginning of the entry. The apostrophe is not displayed in the cell. + +Quotation Marks Replaced by Custom Quotes +Choose Tools - AutoCorrect - AutoCorrect Options. Go to the Localized Options tab and unmark Replace. + +Cell Content Always Begins With Uppercase +Choose Tools - AutoCorrect - AutoCorrect Options. Go to the Options tab. Unmark Capitalize first letter of every sentence. + +Replace Word With Another Word +Choose Tools - AutoCorrect - AutoCorrect Options. Go to the Replace tab. Select the word pair and click Delete. + +
+Tools - AutoInput +Tools - AutoCorrect - AutoCorrect Options +
+ + +
diff --git a/helpcontent2/source/text/scalc/guide/autofilter.xhp b/helpcontent2/source/text/scalc/guide/autofilter.xhp new file mode 100644 index 000000000..9d7f1b5a0 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/autofilter.xhp @@ -0,0 +1,70 @@ + + + + + + + + Applying AutoFilter + /text/scalc/guide/autofilter.xhp + + + +filters, see also AutoFilter function + AutoFilter function;applying + sheets; filter values + numbers; filter sheets + columns; AutoFilter function + drop-down menus in sheet columns + database ranges; AutoFilter function +mw made "drop-down..." a one level entry and added a "see also" reference +

Applying AutoFilter +

+ The AutoFilter function inserts a combo box on one or more data columns that lets you select the records (rows) to be displayed. +
+ + + Select the columns you want to use AutoFilter on. + + + Choose Data - Filter - AutoFilter. The combo box arrows are visible in the first row of the range selected. + + + Run the filter by clicking the drop-down arrow in the column heading and choosing an item. + Only those rows whose contents meet the filter criteria are displayed. The other rows are filteredUFI: we must distinguish manually hidden cells from filtered cells, because they behave differently. So don't use the word "hidden" when a filter is applied.. You can see if rows have been filtered from the discontinuous row numbers. The column that has been used for the filter is identified by a different color for the arrow button. + + + When you apply an additional AutoFilter on another column of a filtered data range, then the other combo boxes list only the filtered data. + To display all records again, select the all entry in the AutoFilter combo box. If you choose Standard, the Standard Filter dialog appears, allowing you to set up a standard filter. Choose "Top 10" to display the highest 10 values only. + To stop using AutoFilter, reselect all cells selected in step 1 and once again choose Data - Filter - AutoFilter. +
+ To assign different AutoFilters to different sheets, you must first define a database range on each sheet. +
+ The arithmetic functions also take account of the cells that are not visible due to an applied filter. For example, a sum of an entire column will also total the values in the filtered cells. Apply the SUBTOTAL function if only the cells visible after the application of a filter are to be taken into account. +
+
+ + + + + Data - Filter - AutoFilter + SUBTOTAL +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/autoformat.xhp b/helpcontent2/source/text/scalc/guide/autoformat.xhp new file mode 100644 index 000000000..59cea0c96 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/autoformat.xhp @@ -0,0 +1,82 @@ + + + + + + + Using AutoFormat for Tables + /text/scalc/guide/autoformat.xhp + + + + + + tables; AutoFormat + AutoFormat cell ranges + formats; automatically formatting spreadsheets + sheets;AutoFormat + +

Applying Automatic Formatting to a Selected Cell Range

+ Use the AutoFormat feature to quickly apply a format to a selected cell range. +

Applying an AutoFormat to a Selected Cell Range

+ + + Select the range of cells to which the AutoFormat style is to be applied. The range must be at least 3 columns and 3 rows in size. + + + Go to Format - AutoFormat Styles to open the AutoFormat dialog. + + + In the Format list choose the AutoFormat style to apply. + + + In the Formatting section choose which properties from the AutoFormat style to apply to the selected cell range. + + + Click OK to apply the AutoFormat style and close the dialog. + + + In case the color of the cell contents does not change, make sure View - Value Highlighting is disabled. + + defining;AutoFormat styles + +

Defining a new AutoFormat style

+ + + In a Calc spreadsheet, format a cell range with at least 4 columns and 4 rows to serve as model to create the new AutoFormat style. + + + Select the cell range formatted in the previous step and go to Format - AutoFormat Styles. + + + Click Add. + + + In the Name box of the Add AutoFormat dialog, enter a name for the new AutoFormat style. + + + Click OK and close the dialog. + + + The new AutoFormat styles created using the steps above can be applied to any %PRODUCTNAME Calc file. Hence they are not limited to the file where the style was created. +
+ Format - AutoFormat Styles +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/background.xhp b/helpcontent2/source/text/scalc/guide/background.xhp new file mode 100644 index 000000000..788fa0f6e --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/background.xhp @@ -0,0 +1,68 @@ + + + + + + + + Defining Background Colors or Background Graphics + /text/scalc/guide/background.xhp + + + + +spreadsheets; backgrounds +backgrounds;cell ranges +tables; backgrounds +cells; backgrounds +rows, see also cells +columns, see also cells + +

Defining Background Colors or Background Graphics +

MW created this file from splitting shared/guide/background.xhp + You can define a background color or use a graphic as a background for cell ranges in $[officename] Calc. +

Applying a Background Color to a $[officename] Calc Spreadsheet

+ + + Select the cells. + + + Choose Format - Cells (or Format Cells from the context menu). + + + On the Background tab page, select the background color. + + +

Graphics in the Background of Cells

+ + + Choose Insert - Image - From File. + + + Select the graphic and click Open. + The graphic is inserted anchored to the current cell. You can move and scale the graphic as you want. In your context menu you can use the Arrange - To Background command to place this in the background. To select a graphic that has been placed in the background, use the Navigator. + + +
+ Watermarks + Background tab page + Formatting Spreadsheets +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/borders.xhp b/helpcontent2/source/text/scalc/guide/borders.xhp new file mode 100644 index 000000000..885aad22e --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/borders.xhp @@ -0,0 +1,227 @@ + + + + + + + User Defined Borders in Cells + /text/scalc/guide/borders.xhp + + + + + + cells;borders + line arrangements with cells + borders;cells + +User Defined Borders in Cells + + You can apply a variety of different lines to selected cells. + + + Select the cell or a block of cells. + + + Choose Format - Cells. + + + In the dialog, click the Borders tab. + + + Choose the border options you want to apply and click OK. + + + The options in the Line arrangement area can be used to apply multiple border styles. + Selection of cells + Depending on the selection of cells, the area looks different. + + + + Selection + + + Line arrangement area + + + + + One cell + + + +borders with one cell selected + + + + + + Cells in a column + + + +borders with a column selected + + + + + + Cells in a row + + + +borders with a row selected + + + + + + Cells in a block of 2x2 or more + + + +borders with a block selected + + + +
+

Default Settings

+ Click one of the Default icons to set or reset multiple borders. + + + The thin gray lines inside an icon show the borders that will be reset or cleared. + + + The dark lines inside an icon show the lines that will be set using the selected line style and color. + + + The thick gray lines inside an icon show the lines that will not be changed. + + + Examples + Select a block of about 8x8 cells, then choose Format - Cells - Borders. + +default icon row of Borders tab page + + + + Click the left icon to clear all lines. This removes all outer borders, all inner lines, and all diagonal lines. + + + Click the second icon from the left to set an outer border and to remove all other lines. + + + Click the rightmost icon to set an outer border. The inner lines are not changed, except the diagonal lines, which will be removed.is this a bug? + + + Now you can continue to see which lines the other icons will set or remove. + User Defined Settings + In the User defined area, you can click to set or remove individual lines. The preview shows lines in three different states. + Repeatedly click an edge or a corner to switch through the three different states. + + + + Line types + + + Image + + + Meaning + + + + + A black line + + + +solid line for user defined border + + + + A black line sets the corresponding line of the selected cells. The line is shown as a dotted line when you choose the 0.05 pt line style. Double lines are shown when you select a double line style. + + + + + A gray line + + + +gray line for user defined border + + + + A gray line is shown when the corresponding line of the selected cells will not be changed. No line will be set or removed at this position. + + + + + A white line + + + +white line for user defined border + + + + A white line is shown when the corresponding line of the selected cells will be removed. + + +
+ Examples + Select a single cell, then choose Format - Cells - Borders. + Click the lower edge to set a very thin line as a lower border. All other lines will be removed from the cell. + +setting a thin lower border + + Choose a thicker line style and click the lower edge. This sets a thicker line as a lower border. + +setting a thick line as a border + + Click the second Default icon from the left to set all four borders. Then repeatedly click the lower edge until a white line is shown. This removes the lower border. + +removing lower border + + You can combine several line types and styles. The last image shows how to set thick outer borders (the thick black lines), while any diagonal lines inside the cell will not be touched (gray lines). + +advanced example for cell borders + + + adjacent cells;remove border + + + +

Adjacent Cells

+ This option becomes available when formatting a range of cells that already have borders and the new format defined for the range involves removing outer borders. + By default the option Remove border is disabled and the borders at the edges of the selected range are left unchanged. Check this option if the borders at the edge of the selection should be removed. + If the preset No Borders is chosen then the Remove border option is enabled. +
+
+
+ + + + + + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/calc_date.xhp b/helpcontent2/source/text/scalc/guide/calc_date.xhp new file mode 100644 index 000000000..9e866ef00 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/calc_date.xhp @@ -0,0 +1,71 @@ + + + + + + + Calculating With Dates and Times + /text/scalc/guide/calc_date.xhp + + + + + + + dates; in cells + times; in cells + cells;date and time formats + current date and time values + + + +Calculating With Dates and Times +In $[officename] Calc, you can perform calculations with current date and time values. As an example, to find out exactly how old you are in seconds or hours, follow the following steps: + + + + In a spreadsheet, enter your birthday in cell A1. + + + Enter the following formula in cell A3: =NOW()-A1 + + + After pressing the Enter key you will see the result in date format. Since the result should show the difference between two dates as a number of days, you must format cell A3 as a number. + + + Place the cursor in cell A3, right-click to open a context menu and choose Format Cells. + + + The Format Cells dialog appears. On the Numbers tab, the "Number" category will appear already highlighted. The format is set to "General", which causes the result of a calculation containing date entries to be displayed as a date. To display the result as a number, set the number format to "-1,234" and close the dialog with the OK button. + + + The number of days between today's date and the specified date is displayed in cell A3. + + + Experiment with some additional formulas: in A4 enter =A3*24 to calculate the hours, in A5 enter =A4*60 for the minutes, and in A6 enter =A5*60 for seconds. Press the Enter key after each formula. + + +The time since your date of birth will be calculated and displayed in the various units. The values are calculated as of the exact moment when you entered the last formula and pressed the Enter key. This value is not automatically updated, although "Now" continuously changes. In the Data menu, the menu item Calculate - AutoCalculate is normally active; however, automatic calculation does not apply to the function NOW. This ensures that your computer is not solely occupied with updating the sheet. + +
+ +
+ + +
\ No newline at end of file diff --git a/helpcontent2/source/text/scalc/guide/calc_series.xhp b/helpcontent2/source/text/scalc/guide/calc_series.xhp new file mode 100644 index 000000000..3e89fff53 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/calc_series.xhp @@ -0,0 +1,83 @@ + + + + + + + + + Automatically Calculating Series + /text/scalc/guide/calc_series.xhp + + + +series; calculating + calculating; series + linear series + growth series + date series + powers of 2 calculations + cells; filling automatically + automatic cell filling + AutoFill function + filling;cells, automatically +mw made "powers of 2;..." a one level entry and changed "AutoFill" entryMW changed "auto filling cells" +Automatically Filling in Data Based on Adjacent Cells + + You can automatically fill cells with data with the AutoFill command or the Series command. + Using AutoFill + AutoFill automatically generates a data series based on a defined pattern. + + + On a sheet, click in a cell, and type a number. + + + Click in another cell and then click back in the cell where you typed the number. + + + Drag the fill handle in the bottom right corner of the cell across the cells that you want to fill, and release the mouse button. + The cells are filled with ascending numbers. + + + To quickly create a list of consecutive days, enter Monday in a cell, and drag the fill handle. + Hold down Command +Ctrl if you do not want to fill the cells with different values. + If you select two or more adjacent cells that contain different numbers, and drag, the remaining cells are filled with the arithmetic pattern that is recognized in the numbers. The AutoFill function also recognizes customized lists that are defined under %PRODUCTNAME - PreferencesTools - Options - %PRODUCTNAME Calc - Sort Lists. + You can double-click the fill handle to automatically fill all empty columns of the current data block. For example, first enter Jan into A1 and drag the fill handle down to A12 to get the twelve months in the first column. Now enter some values into B1 and C1. Select those two cells, and double-click the fill handle. This fills automatically the data block B1:C12. + Using a Defined Series + + + Select the cell range in the sheet that you want to fill. + + + Choose Sheet - Fill Cells - Series. + + + Select the parameters for the series. + If you select a linear series, the increment that you enter is added to each consecutive number in the series to create the next value. + If you select a growth series, the increment that you enter is multiplied by each consecutive number to create the next value. + If you select a date series, the increment that you enter is added to the time unit that you specify. + + +
+ + Sort lists +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/calc_timevalues.xhp b/helpcontent2/source/text/scalc/guide/calc_timevalues.xhp new file mode 100644 index 000000000..e79700198 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/calc_timevalues.xhp @@ -0,0 +1,46 @@ + + + + + + + + +Calculating Time Differences +/text/scalc/guide/calc_timevalues.xhp + + +Sun Microsystems, Inc. + + + +calculating;time differences +time differences + +Calculating Time Differences + +If you want to calculate time differences, for example, the time between 23:30 and 01:10 in the same night, use the following formula: +=(B2<A2)+B2-A2 +The later time is B2 and the earlier time is A2. The result of the example is 01:40 or 1 hour and 40 minutes. +In the formula, an entire 24-hour day has a value of 1 and one hour has a value of 1/24. The logical value in parentheses is 0 or 1, corresponding to 0 or 24 hours. The result returned by the formula is automatically issued in time format due to the sequence of the operands. +
+ +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/calculate.xhp b/helpcontent2/source/text/scalc/guide/calculate.xhp new file mode 100644 index 000000000..1694c4134 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/calculate.xhp @@ -0,0 +1,61 @@ + + + + + +Calculating in Spreadsheets +/text/scalc/guide/calculate.xhp + + + + +spreadsheets; calculating +calculating; spreadsheets +formulas; calculating +mw changed "formulas;..." entry +Calculating in Spreadsheets +The following is an example of a calculation in $[officename] Calc. + + +Click in a cell, and type a number + + +Press Enter. +The cursor moves down to the next cell. + + +Enter another number. + + +Press the Tab key. +The cursor moves to the right into the next cell. + + +Type in a formula, for example, =A3 * A4 / 100. + + + Press Enter. +The result of the formula appears in the cell. If you want, you can edit the formula in the input line of the Formula bar. +When you edit a formula, the new result is calculated automatically. + + +
+
+ +
diff --git a/helpcontent2/source/text/scalc/guide/cell_enter.xhp b/helpcontent2/source/text/scalc/guide/cell_enter.xhp new file mode 100644 index 000000000..208653230 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/cell_enter.xhp @@ -0,0 +1,60 @@ + + + + + + + + + Entering Values + /text/scalc/guide/cell_enter.xhp + + + +values; inserting in multiple cells + inserting;values + cell ranges;selecting for data entries + areas, see also cell ranges + +

Entering Values +

+ Calc can simplify entering data and values into multiple cells. You can change some settings to conform to your preferences. +

To Enter Values Into a Range of Cells Manually

+ There are two features that assist you when you enter a block of data manually. +

Area Detection for New Rows

+ In the row below a heading row, you can advance from one cell to the next with the Tab key. After you enter the value into the last cell in the current row, press Enter. Calc positions the cursor below the first cell of the current block. + +area detection + + In row 3, press Tab to advance from cell B3 to C3, D3, and E3. Then press Enter to advance to B4. +

Area Selection

+ Select the area where you want to input values. Now you can start to input values from the cursor position in the selected area. Press the Tab key to advance to the next cell or Shift + Tab to move backward. At the edges of the selected area the tab key jumps inside the selected area. You will not leave the selected area. + +area selection + + Select the area from B3 to E7. Now B3 is waiting for your input. Press Tab to advance to the next cell within the selected area. +

To Enter Values to a Range of Cells Automatically

+ See Automatically Filling in Data Based on Adjacent Cells. +
+ + + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/cell_protect.xhp b/helpcontent2/source/text/scalc/guide/cell_protect.xhp new file mode 100644 index 000000000..6cb10c722 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/cell_protect.xhp @@ -0,0 +1,86 @@ + + + + + + + + + Protecting Cells from Changes + /text/scalc/guide/cell_protect.xhp + + + +protecting;cells and sheets + cells; protecting + cell protection; enabling + sheets; protecting + documents; protecting + cells; hiding for printing + changing; sheet protection + hiding;formulas + formulas;hiding + + +

Protecting Cells from Changes +

+ In %PRODUCTNAME Calc you can protect sheets and the document as a whole. You can choose whether the cells are protected against accidental changes, whether the formulas can be viewed from within Calc, whether the cells are visible or whether the cells can be printed. + Protection can be provided by means of a password, but it does not have to be. If you have assigned a password, protection can only be removed once the correct password has been entered. + Note that the cell protection for cells with the Protected attribute is only effective when you protect the whole sheet. In the default condition, every cell has the Protected attribute. Therefore you must remove the attribute selectively for those cells where the user may make changes. You then protect the whole sheet and save the document. + These protection features are just switches to prevent accidental action. The features are not intended to provide any secure protection. For example, by exporting a sheet to another file format, a user may be able to surpass the protection features. There is only one secure protection: the password that you can apply when saving an OpenDocument file. A file that has been saved with a password can be opened only with the same password. + + + Select the cells that you want to specify the cell protection options for. + + + Choose Format - Cells and click the Cell Protection tab. + + + Select the protection options that you want. All options will be applied only after you protect the sheet from the Tools menu - see below. + Uncheck Protected to allow the user to change the currently selected cells. + Select Protected to prevent changes to the contents and the format of a cell. + Select Hide formula to hide and to protect formulas from changes. + Select Hide when printing to hide protected cells in the printed document. The cells are not hidden onscreen. + + + Click OK. + + + Apply the protection options. + To protect the cells from being changed, viewed or printed according to your settings in the Format - Cells dialog, choose Tools - Protect Sheet. + To protect the structure of the document, for example the count, names, and order of the sheets, from being changed, choose Tools - Protect Spreadsheet Structure. + + + (Optional) Enter a password. + If you forget your password, you cannot deactivate the protection. If you only want to protect cells from accidental changes, set the sheet protection, but do not enter a password. + + + Click OK. + + +
+ + + + + + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/cell_unprotect.xhp b/helpcontent2/source/text/scalc/guide/cell_unprotect.xhp new file mode 100644 index 000000000..5039c927f --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/cell_unprotect.xhp @@ -0,0 +1,52 @@ + + + + + + + + + Unprotecting Cells + /text/scalc/guide/cell_unprotect.xhp + + + +cell protection; unprotecting + protecting; unprotecting cells + unprotecting cells + +Unprotecting Cells + + + + Click the sheet for which you want to cancel the protection. + + + Select Tools - Protect Sheet or Tools - Protect Spreadsheet Structure to remove the check mark indicating the protected status. + + + If you have assigned a password, enter it in this dialog and click OK. + + + The cells can now be edited, the formulas can be viewed, and all cells can be printed until you reactivate the protection for the sheet or document. +
+ +
+ +
\ No newline at end of file diff --git a/helpcontent2/source/text/scalc/guide/cellcopy.xhp b/helpcontent2/source/text/scalc/guide/cellcopy.xhp new file mode 100644 index 000000000..23d1a612d --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/cellcopy.xhp @@ -0,0 +1,79 @@ + + + + + + + + + Only Copy Visible Cells + /text/scalc/guide/cellcopy.xhp + + + +cells; copying/deleting/formatting/moving + rows;visible and invisible + copying; visible cells only + formatting;visible cells only + moving;visible cells only + deleting;visible cells only + invisible cells + filters;copying visible cells only + hidden cells +mw changed "cells;" +Only Copy Visible Cells + + Assume you have hidden a few rows in a cell range. Now you want to copy, delete, or format only the remaining visible rows. + $[officename] behavior depends on how the cells were made invisible, by a filter or manually. + + + + Method and Action + + + Result + + + + + Cells were filtered by AutoFilters, standard filters or advanced filters. + Copy, delete, move, or format a selection of currently visible cells. + + + Only the visible cells of the selection are copied, deleted, moved, or formatted. + + + + + Cells were hidden using the Hide command in the context menu of the row or column headers, or through an outline. + Copy, delete, move, or format a selection of currently visible cells. + + + By default, all cells of the selection, including the hidden cells, are copied, deleted, moved, or formatted. Restrict the selection to visible rows choosing Edit - Select - Select Visible Rows Only or to visible columns choosing Edit - Select - Select Visible Columns Only. + + +
+ +
+ + + +
+ +
\ No newline at end of file diff --git a/helpcontent2/source/text/scalc/guide/cellreference_dragdrop.xhp b/helpcontent2/source/text/scalc/guide/cellreference_dragdrop.xhp new file mode 100644 index 000000000..6f687d6da --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/cellreference_dragdrop.xhp @@ -0,0 +1,67 @@ + + + + + + + + + Referencing Cells by Drag-and-Drop + /text/scalc/guide/cellreference_dragdrop.xhp + + + +drag and drop; referencing cells + cells; referencing by drag and drop + references;inserting by drag and drop + inserting;references, by drag and drop + +Referencing Cells by Drag-and-Drop + + With the help of the Navigator you can reference cells from one sheet to another sheet in the same document or in a different document. The cells can be inserted as a copy, link, or hyperlink. The range to be inserted must be defined with a name in the original file so that it can be inserted in the target file. + + + Open the document that contains the source cells. + + + To set the source range as the range, select the cells and choose Sheet - Named Ranges and Expressions - Define. Save the source document, and do not close it. + + + Open the sheet in which you want to insert something. + + + Open the Navigator. In the lower box of the Navigator select the source file. + + + In the Navigator, the source file object appears under "Range names". + + + Using the Drag Mode icon in Navigator, choose whether you want the reference to be a hyperlink, link, or copy. + + + Click the name under "Range names" in the Navigator, and drag into the cell of the current sheet where you want to insert the reference. + + + This method can also be used to insert a range from another sheet of the same document into the current sheet. Select the active document as source in step 4 above. +
+ + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/cellreferences.xhp b/helpcontent2/source/text/scalc/guide/cellreferences.xhp new file mode 100644 index 000000000..bdd676bc6 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/cellreferences.xhp @@ -0,0 +1,87 @@ + + + + + + + + + Referencing a Cell in Another Document + /text/scalc/guide/cellreferences.xhp + + + +sheet references + references; to cells in other sheets/documents + cells; operating in another document + documents;references +mw made "sheet references;" a one level entryMW changed "references;" and added "documents;" +

Referencing Other Sheets +

+ In a sheet cell you can show a reference to a cell in another sheet. + In the same way, a reference can also be made to a cell from another document provided that this document has already been saved as a file. +

To Reference a Cell in the Same Document

+ + + Open a new, empty spreadsheet. By default, it has only a single sheet named Sheet1. Add a second sheet clicking on + button to the left of the sheet tab in the bottom (it will be named Sheet2 by default). + + + By way of example, enter the following formula in cell A1 of Sheet1: + + =Sheet2.A1 + + + + Click the Sheet 2 tab at the bottom of the spreadsheet. Set the cursor in cell A1 there and enter text or a number. + + + If you switch back to Sheet1, you will see the same content in cell A1 there. If the contents of Sheet2.A1 change, then the contents of Sheet1.A1 also change. + + + When referencing a sheet with name containing spaces, use single quotes around the name: ='Sheet with spaces in name'.A1 + The example uses Calc formula syntax. It is also possible to use Excel A1 or R1C1 formula syntax; this is configured on Formula options page. +

To Reference a Cell in Another Document

+ + + Choose File - Open, to load an existing spreadsheet document. + + + Choose File - New, to open a new spreadsheet document. Set the cursor in the cell where you want to insert the external data and enter an equals sign to indicate that you want to begin a formula. + + + Now switch to the document you have just loaded. Click the cell with the data that you want to insert in the new document. + + + Switch back to the new spreadsheet. In the input line you will now see how $[officename] Calc has added the reference to the formula for you. + The reference to a cell of another document contains the name of the other document in single inverted commas, then a hash #, then the name of the sheet of the other document, followed by a point and the name of the cell. + + + Confirm the formula by clicking the green check mark. + + + If you drag the box in the lower right corner of the active cell to select a range of cells, $[officename] automatically inserts the corresponding references in the adjacent cells. As a result, the sheet name is preceded with a "$" sign to designate it as an absolute reference. + + + If you examine the name of the other document in this formula, you will notice that it is written as a URL. This means that you can also enter a URL from the Internet. +
+ + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/cellreferences_url.xhp b/helpcontent2/source/text/scalc/guide/cellreferences_url.xhp new file mode 100644 index 000000000..de83a313c --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/cellreferences_url.xhp @@ -0,0 +1,65 @@ + + + + + + + + +References to Other Sheets and Referencing URLs +/text/scalc/guide/cellreferences_url.xhp + + + +HTML; in sheet cells +references; URL in cells +cells; Internet references +URL; in Calc +mw deleted "sheet references;" +Referencing URLs + +For example, if you found an Internet page containing current stock exchange information in spreadsheet cells, you can load this page in $[officename] Calc by using the following procedure: + + +In a $[officename] Calc document, position the cursor in the cell into which you want to insert the external data. + + +Choose Sheet - External Links. The External Data dialog appears. + + +Enter the URL of the document or Web page in the dialog. The URL must be in the format: http://www.my-bank.com/table.html. The URL for local or local area network files is the path seen in the File - Open dialog. +$[officename] loads the Web page or file in the "background", that is, without displaying it. In the large list box of the External Data dialog, you can see the name of all the sheets or named ranges you can choose from. + + +Select one or more sheets or named ranges. You can also activate the automatic update function every "n" seconds and click OK. +The contents will be inserted as a link in the $[officename] Calc document. + + +Save your spreadsheet. When you open it again later, $[officename] Calc will update the linked cells following an inquiry. + + +Under %PRODUCTNAME - PreferencesTools - Options - %PRODUCTNAME Calc - General you can choose to have the update, when opened, automatically carried out either always, upon request or never. The update can be started manually in the dialog under Edit - Links. + + +
+ + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/cellstyle_by_formula.xhp b/helpcontent2/source/text/scalc/guide/cellstyle_by_formula.xhp new file mode 100644 index 000000000..f7c19604b --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/cellstyle_by_formula.xhp @@ -0,0 +1,73 @@ + + + + + + + Assigning Formats by Formula + /text/scalc/guide/cellstyle_by_formula.xhp + + + + + + + formats; assigning by formulas + cell formats; assigning by formulas + STYLE function example + cell styles;assigning by formulas + formulas;assigning cell formats + +mw deleted "applying;" + +Assigning Formats by Formula +The STYLE() function can be added to an existing formula in a cell. For example, together with the CURRENT function, you can color a cell depending on its value. The formula =...+STYLE(IF(CURRENT()>3; "Red"; "Green")) applies the cell style "Red" to cells if the value is greater than 3, otherwise the cell style "Green" is applied. +If you would like to apply a formula to all cells in a selected area, you can use the Find & Replace dialog. + + + + Select all the desired cells. + + + Select the menu command Edit - Find & Replace. + + + For the Find term, enter: .* + ".*" is a regular expression that designates the contents of the current cell. + + + Enter the following formula in the Replace field: =&+STYLE(IF(CURRENT()>3;"Red";"Green")) + The "&" symbol designates the current contents of the Find field. The line must begin with an equal sign, since it is a formula. It is assumed that the cell styles "Red" and "Green" already exist. + + + Mark the fields Regular expressions and Current selection only. Click Find All. + All cells with contents that were included in the selection are now highlighted. + + + Click Replace all. + + + +
+ + +
+ + +
\ No newline at end of file diff --git a/helpcontent2/source/text/scalc/guide/cellstyle_conditional.xhp b/helpcontent2/source/text/scalc/guide/cellstyle_conditional.xhp new file mode 100644 index 000000000..aa738a32d --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/cellstyle_conditional.xhp @@ -0,0 +1,139 @@ + + + + + + + + + Applying Conditional Formatting + /text/scalc/guide/cellstyle_conditional.xhp + + + +conditional formatting; cells + cells; conditional formatting + formatting; conditional formatting + styles;conditional styles + cell formats; conditional + random numbers;examples + cell styles; copying + copying; cell styles + tables; copying cell styles +mw deleted "formats;" +Applying Conditional Formatting + + Using the menu command Format - Conditional - Condition, the dialog allows you to define conditions per cell, which must be met in order for the selected cells to have a particular format. + To apply conditional formatting, AutoCalculate must be enabled. Choose Data - Calculate - AutoCalculate (you see a check mark next to the command when AutoCalculate is enabled). + With conditional formatting, you can, for example, highlight the totals that exceed the average value of all totals. If the totals change, the formatting changes correspondingly, without having to apply other styles manually. + To Define the Conditions + + + Select the cells to which you want to apply a conditional style. + + + Choose Format - Conditional - Condition. + + + Enter the condition(s) into the dialog box. The dialog is described in detail in $[officename] Help, and an example is provided below: + + + Example of Conditional Formatting: Highlighting Totals Above/Under the Average Value + Step1: Generate Number Values + You want to give certain values in your tables particular emphasis. For example, in a table of turnovers, you can show all the values above the average in green and all those below the average in red. This is possible with conditional formatting. + + + First of all, create a table in which a few different values occur. For your test you can create tables with any random numbers: + In one of the cells enter the formula =RAND(), and you will obtain a random number between 0 and 1. If you want integers of between 0 and 50, enter the formula =INT(RAND()*50). + + + Copy the formula to create a row of random numbers. Click the bottom right corner of the selected cell, and drag to the right until the desired cell range is selected. + + + In the same way as described above, drag down the corner of the rightmost cell in order to create more rows of random numbers. + + + Step 2: Define Cell Styles + The next step is to apply a cell style to all values that represent above-average turnover, and one to those that are below the average. Ensure that the Styles window is visible before proceeding. + + + Click in a blank cell and select the command Format Cells in the context menu. + + + In the Format Cells dialog on the Background tab, click the Color button and then select a background color. Click OK. + + + In the Styles deck of the Sidebar, click the New Style from Selection icon. Enter the name of the new style. For this example, name the style "Above". + + + To define a second style, click again in a blank cell and proceed as described above. Assign a different background color for the cell and assign a name (for this example, "Below"). + + + Step 3: Calculate Average + In our particular example, we are calculating the average of the random values. The result is placed in a cell: + + + Set the cursor in a blank cell, for example, J14, and choose Insert - Function. + + + Select the AVERAGE function. Use the mouse to select all your random numbers. If you cannot see the entire range, because the Function Wizard is obscuring it, you can temporarily shrink the dialog using the Shrink icon. + + + Close the Function Wizard with OK. + + + Step 4: Apply Cell Styles + Now you can apply the conditional formatting to the sheet: + + + Select all cells with the random numbers. + + + Choose the Format - Conditional - Condition command to open the corresponding dialog. + + + Define the condition as follows: If cell value is less than J14, format with cell style "Below", and if cell value is greater than or equal to J14, format with cell style "Above". + + + Step 5: Copy Cell Style + To apply the conditional formatting to other cells later: + + + Click one of the cells that has been assigned conditional formatting. + + + Copy the cell to the clipboard. + + + Select the cells that are to receive this same formatting. + + + Choose Edit - Paste Special - Paste Special. The Paste Special dialog appears. + + + In the Paste area, check only the Formats box. All other boxes must be unchecked. Click OK. Or you can click the Formats only button instead. + + +
+ + + Format - Conditional - Condition +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/cellstyle_minusvalue.xhp b/helpcontent2/source/text/scalc/guide/cellstyle_minusvalue.xhp new file mode 100644 index 000000000..6f158ca75 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/cellstyle_minusvalue.xhp @@ -0,0 +1,53 @@ + + + + + + + + + Highlighting Negative Numbers + /text/scalc/guide/cellstyle_minusvalue.xhp + + + +negative numbers + numbers; highlighting negative numbers + highlighting;negative numbers + colors;negative numbers + number formats;colors for negative numbers +MW made "negative numbers;" a one level entryMW changed "numbers formats;" and "colors;" +Highlighting Negative Numbers + + You can format cells with a number format that highlights negative numbers in red. Alternatively, you can define your own number format in which negative numbers are highlighted in other colors. + + + Select the cells and choose Format - Cells. + + + On the Numbers tab, select a number format and mark Negative numbers red check box. Click OK. + + + The cell number format is defined in two parts. The format for positive numbers and zero is defined in front of the semicolon; after the semicolon the formula for negative numbers is defined. You can change the code (RED) under Format code. For example, instead of RED, enter YELLOW. If the new code appears in the list after clicking the Add icon, this is a valid entry. +
+ + +
+ +
\ No newline at end of file diff --git a/helpcontent2/source/text/scalc/guide/change_image_anchor.xhp b/helpcontent2/source/text/scalc/guide/change_image_anchor.xhp new file mode 100644 index 000000000..7216360d6 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/change_image_anchor.xhp @@ -0,0 +1,40 @@ + + + + + + + Changing Image Anchor in Calc + /text/scalc/guide/change_image_anchor.xhp + + + + +anchor;image +image anchor;in Calc +image anchor in Calc;changing + +

Changing the Anchor of an Image +

+Images are inserted in a Calc spreadsheet anchored to cells by default and do not resize when the cell is moved. +Images can be anchored in three different ways: + + + To Cell: the image will move along with the cell, when copying, sorting or inserting and deleting cells above and on the left of the cell holding the anchor. + + To Cell (resize with cell): the image will move along with the cell. In addition, the image height and width will be resized if the cell holding the anchor is later resized. The aspect ratio of the image follows the later aspect ratio of the cell holding the anchor. + + To Page: the image position in the page is not affected by cells ordering or cells movements. + + +

To Change the anchor of an image

Select the image and choose Format - Anchor, or, on the context menu of the image choose Anchor + The original size of the image and cell is preserved while pasting the entire row or entire column for both To Cell and To Cell (resize with cell) options. + +
diff --git a/helpcontent2/source/text/scalc/guide/consolidate.xhp b/helpcontent2/source/text/scalc/guide/consolidate.xhp new file mode 100644 index 000000000..d33d46485 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/consolidate.xhp @@ -0,0 +1,89 @@ + + + + + + + + + Consolidating Data + /text/scalc/guide/consolidate.xhp + + + +consolidating data + ranges; combining + combining;cell ranges + tables; combining + data; merging cell ranges + merging;data ranges +mw deleted "values;" +Consolidating Data + + During consolidation, the contents of the cells from several sheets will be combined in one place. + To Combine Cell Contents + + + Open the document that contains the cell ranges to be consolidated. + + + Choose Data - Consolidate to open the Consolidate dialog. + + + From the Source data area box select a source cell range to consolidate with other areas. + If the range is not named, click in the field next to the Source data area. A blinking text cursor appears. Type a reference for the first source data range or select the range with the mouse. + + + Click Add to insert the selected range in the Consolidation areas field. + + + Select additional ranges and click Add after each selection. + + + Specify where you want to display the result by selecting a target range from the Copy results to box. + If the target range is not named, click in the field next to Copy results to and enter the reference of the target range. Alternatively, you can select the range using the mouse or position the cursor in the top left cell of the target range. + + + Select a function from the Function box. The function specifies how the values of the consolidation ranges are linked. The "Sum" function is the default setting. + + + Click OK to consolidate the ranges. + + + Additional Settings + Click More in the Consolidate dialog to display additional settings: + + + Select Link to source data to insert the formulas that generate the results in the target range, rather than the actual results. If you link the data, any values modified in the source range are automatically updated in the target range. + The corresponding cell references in the target range are inserted in consecutive rows, which are automatically ordered and then hidden from view. Only the final result, based on the selected function, is displayed. + + + + + Under Consolidate by, select either Row labels or Column labels if the cells of the source data range are not to be consolidated corresponding to the identical position of the cell in the range, but instead according to a matching row label or column label. + To consolidate by row labels or column labels, the label must be contained in the selected source ranges. + The text in the labels must be identical, so that rows or columns can be accurately matched. If the row or column label does not match any that exist in the target range, it will be appended as a new row or column. + + + The data from the consolidation ranges and target range will be saved when you save the document. If you later open a document in which consolidation has been defined, this data will again be available. +
+ Data - Consolidate +
+ +
\ No newline at end of file diff --git a/helpcontent2/source/text/scalc/guide/csv_files.xhp b/helpcontent2/source/text/scalc/guide/csv_files.xhp new file mode 100644 index 000000000..d0cbd01f0 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/csv_files.xhp @@ -0,0 +1,104 @@ + + + + + + + + Importing and Exporting CSV Files +/text/scalc/guide/csv_files.xhp + + + +number series import +data series import +exporting; tables as text +importing; tables as text +delimited values and files +comma separated files and values +text file import and export +csv files;importing and exporting +tables; importing/exporting as text +text documents; importing to spreadsheets +opening;text csv files +saving;as text csv +MW deleted "importing;text data bases" and copied 4 index entries from scalc/guide/csv_formula.xhpmw added "saving;" and "opening;" +

Opening and Saving Text CSV Files +

+Comma Separated Values (CSV) is a text file format that you can use to exchange data from a database or a spreadsheet between applications. Each line in a Text CSV file represents a record in the database, or a row in a spreadsheet. Each field in a database record or cell in a spreadsheet row is usually separated by a comma. However, you can use other characters to delimit a field, such as a tabulator character. +If the field or cell contains a comma, the field or cell must be enclosed by single quotes (') or double quotes ("). +

To Open a Text CSV File in Calc

+ + +Choose File - Open. + + +Locate the CSV file that you want to open. +If the file has a *.csv extension, select the file. +If the CSV file has another extension, select the file, and then select "Text CSV" in the Filter box + + +Click Open. +The Text Import dialog opens. + + +Specify the options to divide the text in the file into columns. +You can preview the layout of the imported data at the bottom of the Text Import dialog. +Right-click a column in the preview to set the format or to hide the column. +Check the text delimiter box that matches the character used as text delimiter in the file. In case of an unlisted delimiter, type the character into the input box. + + +Click OK. + + +

To Save a Sheet as a Text CSV File

+When you export a spreadsheet to CSV format, only the data on the current sheet is saved. All other information, including formulas and formatting, is lost. + + +Open the Calc sheet that you want to save as a Text CSV file. +Only the current sheet can be exported. + + +Choose File - Save as. + + +In the File name box, enter a name for the file. + + +In the Filter box, select "Text CSV". + + +(Optional) Set the field options for the Text CSV file. +Select Edit filter settings. +In the Export of text files dialog, select the options that you want. +Click OK. + + +Click Save. + + +
+ + +%PRODUCTNAME - PreferencesTools - Options - %PRODUCTNAME Calc - View +Export text files +Import text files +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/csv_formula.xhp b/helpcontent2/source/text/scalc/guide/csv_formula.xhp new file mode 100644 index 000000000..70edc0b58 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/csv_formula.xhp @@ -0,0 +1,86 @@ + + + + + + + + + Importing and Exporting Text Files + /text/scalc/guide/csv_formula.xhp + + + +csv files;formulas + formulas; importing/exporting as csv files + exporting;formulas as csv files + importing;csv files with formulas +mw deleted "inserting;", copied 4 index entries to scalc/guide/csv_files.xhp, changed "csv files;" and "formulas;" and added 2 index entries +Importing and Exporting CSV Text Files with Formulas + + Comma separated values (CSV) files are text files that contain the cell contents of a single sheet. Commas, semicolons, or other characters can be used as the field delimiters between the cells. Text strings are put in quotation marks, numbers are written without quotation marks. + To Import a CSV File + + + Choose File - Open. + + + In the File type field, select the format "Text CSV". Select the file and click Open. When a file has the .csv extension, the file type is automatically recognized. + + + You will see the Text Import dialog. Click OK. + + + If the csv file contains formulas, but you want to import the results of those formulas, then choose %PRODUCTNAME - PreferencesTools - Options - %PRODUCTNAME Calc - View and clear the Formulas check box. + To Export Formulas and Values as CSV Files + + + Click the sheet to be written as a csv file. + + + If you want to export the formulas as formulas, for example, in the form =SUM(A1:B5), proceed as follows: + Choose %PRODUCTNAME - PreferencesTools - Options - %PRODUCTNAME Calc - View. + Under Display, mark the Formulas check box. Click OK. + If you want to export the calculation results instead of the formulas, do not mark Formulas. + + + Choose File - Save as. You will see the Save as dialog. + + + In the + File type field select the format "Text CSV". + + + Enter a name and click Save. + + + From the Export of text files dialog that appears, select the character set and the field and text delimiters for the data to be exported, and confirm with OK. + + + If necessary, after you have saved, clear the Formulas check box to see the calculated results in the table again. + + +
+ + %PRODUCTNAME - PreferencesTools - Options - %PRODUCTNAME Calc - View + Export text files + Import text files +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/currency_format.xhp b/helpcontent2/source/text/scalc/guide/currency_format.xhp new file mode 100644 index 000000000..f0b2f0cb9 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/currency_format.xhp @@ -0,0 +1,59 @@ + + + + + + + + +Cells in Currency Format +/text/scalc/guide/currency_format.xhp + + + +currency formats; spreadsheets +cells; currency formats +international currency formats +formats; currency formats in cells +currencies; default currencies +defaults;currency formats +changing;currency formats +mw changed one index entry +Cells in Currency Format + +In %PRODUCTNAME Calc you can give numbers any currency format. When you click the Currency icon +Icon + in the Formatting bar to format a number, the cell is given the default currency format set under %PRODUCTNAME - PreferencesTools - Options - Language Settings - Languages. +Exchanging of %PRODUCTNAME Calc documents can lead to misunderstandings, if your %PRODUCTNAME Calc document is loaded by a user who uses a different default currency format. +In %PRODUCTNAME Calc you can define that a number that you have formatted as "1,234.50 €", still remains in euros in another country and does not become dollars. +You can change the currency format in the Format Cells dialog (choose Format - Cells - Numbers tab) by two country settings. In the Language combo box select the basic setting for decimal and thousands separators. In the Format list box you can select the currency symbol and its position. + + +For example, if the language is set to "Default" and you are using a german locale setting, the currency format will be "1.234,00 €". A point is used before the thousand digits and a comma before the decimal places. If you now select the subordinate currency format "$ English (US)" from the Format list box , you will get the following format: "$ 1.234,00". As you can see, the separators have remained the same. Only the currency symbol has been changed and converted, but the underlying format of the notation remains the same as in the locale setting. + + +If, under Language, you convert the cells to "English (US)", the English-language locale setting is also transferred and the default currency format is now "$ 1,234.00". + + +
+ +Format - Cells - Numbers +
+ +
\ No newline at end of file diff --git a/helpcontent2/source/text/scalc/guide/database_define.xhp b/helpcontent2/source/text/scalc/guide/database_define.xhp new file mode 100644 index 000000000..5c4d8ffcc --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/database_define.xhp @@ -0,0 +1,65 @@ + + + + + + + + + Defining Database Ranges + /text/scalc/guide/database_define.xhp + + + +tables; database ranges + database ranges; defining + ranges; defining database ranges + defining;database ranges + +Defining a Database Range + + You can define a range of cells in a spreadsheet to use as a database. Each row in this database range corresponds to a database record and each cell in a row corresponds to a database field. You can sort, group, search, and perform calculations on the range as you would in a database. + You can only edit and access a database range in the spreadsheet that contains the range. You cannot access the database range in the %PRODUCTNAME Data Sources view. + To define a database range + + + Select the range of cells that you want to define as a database range. + + + Choose Data - Define Range. + + + In the Name box, enter a name for the database range. + + + Click More. + + + Specify the options for the database range. + + + Click OK. + + +
+ + +
+ +
\ No newline at end of file diff --git a/helpcontent2/source/text/scalc/guide/database_filter.xhp b/helpcontent2/source/text/scalc/guide/database_filter.xhp new file mode 100644 index 000000000..2da674b8f --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/database_filter.xhp @@ -0,0 +1,88 @@ + + + + + + + + Filtering Cell Ranges + /text/scalc/guide/database_filter.xhp + + + +cell ranges;applying/removing filters + filtering;cell ranges/database ranges + database ranges;applying/removing filters + removing;cell range filters +MW changed "cell ranges," added "removing;" and made one "database ranges;" entry out of two. Same for "filtering;" +Filtering Cell Ranges + + You can use several filters to filter cell ranges in spreadsheets. A standard filter uses the options that you specify to filter the data. An AutoFilter filters data according to a specific value or string. An advanced filter uses filter criteria from specified cells. + To Apply a Standard Filter to a Cell Range + + + Click in a cell range. + + + Choose Data - More Filters - Standard Filter. + + + In the Standard Filter dialog, specify the filter options that you want. + + + Click OK. + The records that match the filter options that you specified are shown. + + + To Apply an AutoFilter to a Cell Range + + + Click in a cell range or a database range. + If you want to apply multiple AutoFilters to the same sheet, you must first define database ranges, then apply the AutoFilters to the database ranges. + + + Choose Data - AutoFilter. + An arrow button is added to the head of each column in the database range. + + + Click the arrow button in the column that contains the value or string that you want to set as the filter criteria. + + + Select the value or string that you want to use as the filter criteria. + The records that match the filter criteria that you selected are shown. + + + To Remove a Filter From a Cell Range + + + Click in a filtered cell range. + + + Choose Data - Filter - Reset Filter. + + +
+ + + + + Wiki page about defining a data range +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/database_sort.xhp b/helpcontent2/source/text/scalc/guide/database_sort.xhp new file mode 100644 index 000000000..e10dd45ca --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/database_sort.xhp @@ -0,0 +1,57 @@ + + + + + + + + Sorting Data + /text/scalc/guide/database_sort.xhp + + + +database ranges; sorting + sorting; database ranges + data;sorting in databases + +Sorting Data + + + + Click in a database range. + If you select a range of cells, only these cells will get sorted. If you just click one cell without selecting, then the whole database range will get sorted. + + + Choose Data - Sort. + The range of cells that will get sorted is shown in inverted colors. + + + Select the sort options that you want. + + + Click OK. + + +
+ + + Wiki page about defining a data range +
+ +
\ No newline at end of file diff --git a/helpcontent2/source/text/scalc/guide/datapilot.xhp b/helpcontent2/source/text/scalc/guide/datapilot.xhp new file mode 100644 index 000000000..6391a629e --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/datapilot.xhp @@ -0,0 +1,48 @@ + + + + + +Pivot Table +/text/scalc/guide/datapilot.xhp + + + +pivot table function; introduction +DataPilot, see pivot table function + +

Pivot Table +

+The pivot table (formerly known as DataPilot) allows you to combine, compare, and analyze large amounts of data. You can view different summaries of the source data, you can display the details of areas of interest, and you can create reports. +A table that has been created as a pivot table is an interactive table. Data can be arranged, rearranged or summarized according to different points of view. + + +
+ + + + + + + + + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/datapilot_createtable.xhp b/helpcontent2/source/text/scalc/guide/datapilot_createtable.xhp new file mode 100644 index 000000000..92a25abd2 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/datapilot_createtable.xhp @@ -0,0 +1,82 @@ + + + + + + + + + Creating Pivot Tables + /text/scalc/guide/datapilot_createtable.xhp + + + +pivot tables + pivot table function; calling up and applying + +

Creating Pivot Tables +

+ + + Position the cursor within a range of cells containing values, row and column headings. + + + Choose Insert - Pivot Table. The Select Source dialog appears. Choose Current selection and confirm with OK. The table headings are shown as buttons in the Pivot Table dialog. Drag these buttons as required and drop them into the layout areas "Filters", "Column Fields", "Row Fields" and "Data Fields". + + + Drag the desired buttons into one of the four areas. + + + Drag a button to the Filters area to create a button and a listbox on top of the generated pivot table. The listbox can be used to filter the pivot table by the contents of the selected item. You can use drag-and-drop within the generated pivot table to use another page field as a filter. + If the button is dropped in the Data Fields area it will be given a caption that also shows the formula that will be used to calculate the data. + + + By double-clicking on one of the fields in the Data Fields area you can call up the Data Field dialog. + + + Use the Data Field dialog to select the calculations to be used for the data. To make a multiple selection, press the CommandCtrl key while clicking the desired calculation. + + + + + The order of the buttons can be changed at any time by moving them to a different position in the area with the mouse. + + + Remove a button by dragging it back to the area of the other buttons at the right of the dialog. + + + To open the Data Field dialog, double-click one of the buttons in the Row Fields or Column Fields area. Use the dialog to select if and to what extent %PRODUCTNAME calculates display subtotals. + + + Exit the Pivot Table dialog by pressing OK. A Filter button will now be inserted, or a page button for every data field that you dropped in the Filters area. The pivot table is inserted further down. + + +
+ + + + + + + + + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/datapilot_deletetable.xhp b/helpcontent2/source/text/scalc/guide/datapilot_deletetable.xhp new file mode 100644 index 000000000..29e849cb7 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/datapilot_deletetable.xhp @@ -0,0 +1,50 @@ + + + + + + + + + Deleting Pivot Tables + /text/scalc/guide/datapilot_deletetable.xhp + + + +pivot table function; deleting tables + deleting;pivot tables + +

Deleting Pivot Tables +

+ In order to delete a pivot table, click any cell in the pivot table, then choose Delete in the context menu. + If you delete a pivot table linked to a pivot chart, the pivot chart is also deleted. A dialog box opens to confirm the pivot chart deletion. + + +
+ + + + + + + + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/datapilot_edittable.xhp b/helpcontent2/source/text/scalc/guide/datapilot_edittable.xhp new file mode 100644 index 000000000..ab0385e56 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/datapilot_edittable.xhp @@ -0,0 +1,56 @@ + + + + + + + + + Editing Pivot Tables + /text/scalc/guide/datapilot_edittable.xhp + + + +pivot table function; editing tables +editing;pivot tables + +

Editing Pivot Tables +

+ Click one of the buttons in the pivot table and hold the mouse button down. A special symbol will appear next to the mouse pointer. + By dragging the button to a different position in the same row you can alter the order of the columns. If you drag a button to the left edge of the table into the row headings area, you can change a column into a row. + In the Pivot Table dialog, you can drag a button to the Filters area to create a button and a listbox on top of the pivot table. The listbox can be used to filter the pivot table by the contents of the selected item. You can use drag-and-drop within the pivot table to use another page field as a filter. + To remove a button from the table, just drag it out of the pivot table. Release the mouse button when the mouse pointer positioned within the sheet has become a 'not allowed' icon. The button is deleted. + To edit the pivot table, click a cell inside the pivot table and open the context menu. In the context menu you find the command Properties, which displays the Pivot Table Layout dialog for the current pivot table. + In the pivot table, you can use drag-and-drop or cut/paste commands to rearrange the order of data fields. + You can assign custom display names to fields, field members, subtotals (with some restrictions), and grand totals inside pivot tables. A custom display name is assigned to an item by overwriting the original name with another name. + + +
+ + + + + + + + + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/datapilot_filtertable.xhp b/helpcontent2/source/text/scalc/guide/datapilot_filtertable.xhp new file mode 100644 index 000000000..3b39683ba --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/datapilot_filtertable.xhp @@ -0,0 +1,80 @@ + + + + + + +Filtering Pivot Tables +/text/scalc/guide/datapilot_filtertable.xhp + + + + +pivot table function; filtering tables +filtering;pivot tables + +

Filtering Pivot Tables

+You can use filters to remove unwanted data from a pivot table. +Click the Filter button in the sheet to call up the dialog for the filter conditions. Alternatively, call up the context menu of the pivot table and select the Filter command. The Filter dialog appears. Here you can filter the pivot table. +You can also click the arrow on a button in the pivot table to show a pop-up window. In this pop-up window, you can edit the visibility settings of the associated field. + + +The pop-up window displays a list of field members associated with that field. A check box is placed to the left of each field member name. When a field has an alternative display name that differs from its original name, that name is displayed in the list. + + +Enable or disable a checkbox to show or hide the associated field member in the pivot table. + + +Enable or disable the All checkbox to show all or none of the field members. + + +Select a field member in the pop-up window and click the Show only the current item button to show only the selected field member. All other field members are hidden in the pivot table. + + +Select a field member in the pop-up window and click the Hide only the current item button to hide only the selected field member. All other field members are shown in the pivot table. + + +Commands enable you to sort the field members in ascending order, descending order, or using a custom sort list. + + +To edit the custom sort lists, open %PRODUCTNAME - Preferences +Tools - Options - %PRODUCTNAME Calc - Sort Lists. + + +The arrow to open the pop-up window is normally black. When the field contains one or more hidden field members, the arrow is blue and displays a tiny square at its lower-right corner. + + +You can also open the pop-up window by positioning the cell cursor at the button and pressing Command +Ctrl+D. + + + +
+ + + + + + + + + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/datapilot_formatting.xhp b/helpcontent2/source/text/scalc/guide/datapilot_formatting.xhp new file mode 100644 index 000000000..820623004 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/datapilot_formatting.xhp @@ -0,0 +1,64 @@ + + + + + + + Formatting Pivot Tables + /text/scalc/guide/datapilot_formatting.xhp + + + +
+ + formatting;pivot tables + +

Formatting Pivot Tables

+ You can format pivot tables cells using specific cell styles. +
+ Direct formatting of pivot tables cells is lost when updating or editing the table. + When creating a pivot table, six new cell styles are added to your document. Format each cell style as needed. The customization of the pivot cell styles will be preserved when updating the pivot table. + By using cell styles for pivot table formatting, all pivot tables cells in the spreadsheet document will have the same look. In other words, the pivot table cell styles apply to all pivot tables of the document. + The six cell styles are: + + + Pivot Table Categories + + + Pivot Table Corner + + + Pivot Table Field + + + Pivot Table Result + + + Pivot Table Value + + + Pivot Table Title + + + The number format of these cell styles cannot be changed in the cell style itself; you must format it in the data source. + +
+ + + + + + + + + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/datapilot_grouping.xhp b/helpcontent2/source/text/scalc/guide/datapilot_grouping.xhp new file mode 100644 index 000000000..174101cfe --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/datapilot_grouping.xhp @@ -0,0 +1,61 @@ + + + + + +Grouping Pivot Tables +/text/scalc/guide/datapilot_grouping.xhp + + + +grouping; pivot tables +pivot table function;grouping table entries +ungrouping entries in pivot tables + +

Grouping Pivot Tables +

see http://specs.openoffice.org/calc/compatibility/grouping.sxwThe resulting pivot table can contain many different entries. By grouping the entries, you can improve the visible result. + + +Select a cell or range of cells in the pivot table. + + +Choose Data - Group and Outline - Group. + + +Depending on the format of the selected cells, either a new group field is added to the pivot table, or you see one of the two Grouping dialogs, either for numeric values, or for date values. +The pivot table must be organized in a way that grouping can be applied. + + +To remove a grouping, click inside the group, then choose Data - Group and Outline - Ungroup. + + + + +
+ + + + + + + + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/datapilot_tipps.xhp b/helpcontent2/source/text/scalc/guide/datapilot_tipps.xhp new file mode 100644 index 000000000..9966532b1 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/datapilot_tipps.xhp @@ -0,0 +1,50 @@ + + + + + +Selecting Pivot Table Output Ranges +/text/scalc/guide/datapilot_tipps.xhp + + + +pivot table function; preventing data overwriting +output ranges of pivot tables + +

Selecting Pivot Table Output Ranges +

+Click the button More in the Pivot Table dialog. The dialog will be extended. +You can select a named range in which the pivot table is to be created, from the Results to box. If the results range does not have a name, enter the coordinates of the upper left cell of the range into the field to the right of the Results to box. You can also click on the appropriate cell to have the coordinates entered accordingly. +If you mark the Ignore empty rows check box, they will not be taken into account when the pivot table is created. +If the Identify categories check box is marked, the categories will be identified by their headings and assigned accordingly when the pivot table is created. + + +
+ + + + + + + + + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/datapilot_updatetable.xhp b/helpcontent2/source/text/scalc/guide/datapilot_updatetable.xhp new file mode 100644 index 000000000..9d9beea68 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/datapilot_updatetable.xhp @@ -0,0 +1,49 @@ + + + + + +Updating Pivot Tables +/text/scalc/guide/datapilot_updatetable.xhp + + + +pivot table import +pivot table function; refreshing tables +recalculating;pivot tables +updating;pivot tables + +

Updating Pivot Tables +

+If the data of the source sheet has been changed, $[officename] recalculates the pivot table. To recalculate the table, choose Data - Pivot Table - Refresh. Do the same after you have imported an Excel pivot table into $[officename] Calc. + + +
+ + + + + + + + + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/dbase_files.xhp b/helpcontent2/source/text/scalc/guide/dbase_files.xhp new file mode 100644 index 000000000..79f3c9802 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/dbase_files.xhp @@ -0,0 +1,106 @@ + + + + + + + + + Importing and Exporting dBASE Files + /text/scalc/guide/dbase_files.xhp + + + +exporting;spreadsheets to dBASE + importing;dBASE files + dBASE import/export + spreadsheets; importing from/exporting to dBASE files + tables in databases;importing dBASE files +mw changed "database tables;" to "tables in databases;" and reduced "spreadsheets;" from two to one entry +Importing and Exporting dBASE Files + + You can open and save data in the dBASE file format (*.dbf file extension) in $[officename] Base or a spreadsheet. In %PRODUCTNAME Base, a dBASE database is a folder that contains files with the .dbf file extension. Each file corresponds to a table in the database. Formulas and formatting are lost when you open and save a dBASE file from %PRODUCTNAME. + To Import a dBASE File Into a Spreadsheet + + + Choose File - Open. + + + Locate the *.dbf file that you want to import. + + + Click Open. + The Import dBASE files dialog opens. + + + Click OK. + The dBASE file opens as a new Calc spreadsheet. + If you want to save the spreadsheet as a dBASE file, do not alter or delete the first row in the imported file. This row contains information that is required by a dBASE database. + + + To Import a dBASE File Into a Database Table + A %PRODUCTNAME Base database table is actually a link to an existing database. + + + Choose File - New - Database. + + + In the File name box of the Save As dialog, enter a name for the database. + + + Click Save. + + + In the Database type box of the Database Properties dialog, select "dBASE". + + + Click Next. + + + Click Browse. + + + Locate the directory that contains the dBASE file, and click OK. + + + Click Create. + + + To Save a Spreadsheet as a dBASE File + + + Choose File - Save As. + + + In the File format box, select "dBASE file". + + + In the File name box, type a name for the dBASE file. + + + Click Save. + + + Only the data on the current sheet is exported. +
+ + +
+ +
\ No newline at end of file diff --git a/helpcontent2/source/text/scalc/guide/design.xhp b/helpcontent2/source/text/scalc/guide/design.xhp new file mode 100644 index 000000000..0674f5353 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/design.xhp @@ -0,0 +1,72 @@ + + + + + + + + + + +Selecting Themes for Sheets +/text/scalc/guide/design.xhp + + + + + + +theme selection for sheets +layout;spreadsheets +cell styles; selecting +selecting;formatting themes +sheets;formatting themes +formats;themes for sheets +formatting;themes for sheets + + mw deleted "applying;" + Selecting Themes for Sheets + + $[officename] Calc comes with a predefined set of formatting themes that you can apply to your spreadsheets. + It is not possible to add themes to Calc, and they cannot be modified. However, you can modify their styles after you apply them to a spreadsheet. + Before you format a sheet with a theme, you have to apply at least one custom cell style to the cells on the sheet. You can then change the cell formatting by selecting and applying a theme in the Theme Selection dialog. + To apply a custom cell style to a cell, you can open the Styles window and, in its lower list box, set the Custom Styles view. A list of the existing custom defined cell styles will be displayed. Double click a name from the Styles window to apply this style to the selected cells. + To apply a theme to a spreadsheet: + + + Click the Choose Themes icon in the Tools bar. + + The Theme Selection dialog appears. This dialog lists the available themes for the whole spreadsheet and the Styles window lists the custom styles for specific cells. + + + In the Theme Selection dialog, select the theme that you want to apply to the spreadsheet. + + + Click OK + As soon as you select another theme in the Theme Selection dialog, some of the properties of the custom style will be applied to the current spreadsheet. The modifications will be immediately visible in your spreadsheet. + + +
+ + + Theme selection + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/edit_multitables.xhp b/helpcontent2/source/text/scalc/guide/edit_multitables.xhp new file mode 100644 index 000000000..e889dc392 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/edit_multitables.xhp @@ -0,0 +1,51 @@ + + + + + + + Copying to Multiple Sheets + /text/scalc/guide/edit_multitables.xhp + + + + +copying;values, to multiple sheets +pasting;values in multiple sheets +data;inserting in multiple sheets +sheets; simultaneous multiple filling + + mw moved "multiple sheets" and "selecting;" to multitables.xhp, transferred "sheets;" from there and deleted "sheets;transferring.." +Copying to Multiple Sheets + In $[officename] Calc, you can insert values, text or formulas that are simultaneously copied to other selected sheets of your document. + + + Select all desired sheets by holding down the CommandCtrl key and clicking the corresponding register tabs that are still gray at the bottom margin of the workspace. All selected register tabs are now white. + You can use Shift+CommandCtrl+Page Up or Page Down to select multiple sheets using the keyboard. + + + Now when you insert values, text or formulas into the active sheet, they will also appear in the identical positions in the other selected sheets. For example, data entered in cell "A1" of the active sheet is automatically entered into cell "A1" of any other selected sheet. + + +
+ + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/filters.xhp b/helpcontent2/source/text/scalc/guide/filters.xhp new file mode 100644 index 000000000..fb120422e --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/filters.xhp @@ -0,0 +1,57 @@ + + + + + + + + + Applying Filters + /text/scalc/guide/filters.xhp + + + +filters; applying/removing + rows;removing/redisplaying with filters + removing;filters + +Applying Filters + + Filters and advanced filters allow you to work on certain filtered rows (records) of a data range. In the spreadsheets in $[officename] there are various possibilities for applying filters. + + + One use for the AutoFilter function is to quickly restrict the display to records with identical entries in a data field. + + + In the Standard Filter dialog, you can also define ranges which contain the values in particular data fields. You can use the standard filter to connect the conditions with either a logical AND or a logical OR operator. + + + The Advanced filter allows up to a total of eight filter conditions. With advanced filters you enter the conditions directly into the sheet. + + + To remove a filter, so that you see all cells again, click inside the area where the filter was applied, then choose Data - Filter - Reset Filter. + When you select multiple rows from an area where a filter was applied, then this selection can include rows that are visible and rows that are hidden by the filter. If you then apply formatting, or delete the selected rows, this action then applies only to the visible rows. The hidden rows are not affected. + This is the opposite to rows that you have hidden manually by the Format - Rows - Hide Rows command. Manually hidden rows are deleted when you delete a selection that contains them. +
+ + + +
+ +
\ No newline at end of file diff --git a/helpcontent2/source/text/scalc/guide/finding.xhp b/helpcontent2/source/text/scalc/guide/finding.xhp new file mode 100644 index 000000000..bc55cf5c2 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/finding.xhp @@ -0,0 +1,94 @@ + + + + + + + + +Finding and Replacing in Calc +/text/scalc/guide/finding.xhp + + + +
+searching, see also finding +finding;formulas/values/text/objects +replacing; cell contents +formatting;multiple cell texts +2. mw deleted 2 entries, changed "finding;" and added "formatting;"1. mw copied 5 entries from shared/01/02100000.xhp and changed then "finding," and "replacing;" +Finding and Replacing in Calc + +In spreadsheet documents you can find words, formulas, and styles. You can navigate from one result to the next, or you can highlight all matching cells at once, then apply another format or replace the cell content by other content. +
+The Find & Replace dialog +Cells can contain text or numbers that were entered directly as in a text document. But cells can also contain text or numbers as the result of a calculation. For example, if a cell contains the formula =1+2 it displays the result 3. You must decide whether to search for the 1 respective 2, or to search the 3. +To find formulas or values +You can specify in the Find & Replace dialog either to find the parts of a formula or the results of a calculation. + + +Choose Edit - Find & Replace to open the Find & Replace dialog. + + +Click More Options to expand the dialog. + + +Select "Formulas" or "Values" in the Search in list box. + + +With "Formulas" you will find all parts of the formulas. +With "Values" you will find the results of the calculations. +Cell contents can be formatted in different ways. For example, a number can be formatted as a currency, to be displayed with a currency symbol. These symbols are included in searches when the Formatted Display search option is activated. +Finding text + + +Choose Edit - Find & Replace to open the Find & Replace dialog. + + +Enter the text to find in the Find text box. + + +Either click Find Next or Find All. + + +When you click Find Next, Calc will select the next cell that contains your text. You can watch and edit the text, then click Find Next again to advance to the next found cell. + + +If you closed the dialog, you can press a key combination (CommandCtrl+Shift+F) to find the next cell without opening the dialog. + + +By default, Calc searches the current sheet. Check the All sheets box to search through all sheets of the document. + + +When you click Find All, Calc selects all cells that contain your entry. Now you can for example set all found cells to bold, or apply a Cell Style to all at once. +The Navigator + + +Choose View - Navigator to open the Navigator window. + + +The Navigator is the main tool for finding and selecting objects. +Use the Navigator for inserting objects and links within the same document or from other open documents. +
+ + + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/format_table.xhp b/helpcontent2/source/text/scalc/guide/format_table.xhp new file mode 100644 index 000000000..2d3892675 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/format_table.xhp @@ -0,0 +1,76 @@ + + + + + + + + + +Formatting Spreadsheets +/text/scalc/guide/format_table.xhp + + + +text in cells; formatting +spreadsheets;formatting +backgrounds;cells and pages +borders;cells and pages +formatting;spreadsheets +numbers; formatting options for selected cells +cells; number formats +currencies;formats +mw transferred 2 entries from shared/01/05020300.xhp and added 2 new entriesmw deleted "defaults;" +Formatting Spreadsheets + +Formatting Text in a Spreadsheet + + +Select the text you want to format. + + +Choose the desired text attributes from the Formatting Bar. You can also choose Format - Cells. The Format Cells dialog will appear in which you can choose various text attributes on the Font tab page. + + +Formatting Numbers in a Spreadsheet + + +Select the cells containing the numbers you want to format. + + +To format numbers in the default currency format or as percentages, use the icons on the Formatting Bar. For other formats, choose Format - Cells. You can choose from the preset formats or define your own on the Numbers tab page. + + +Formatting Borders and Backgrounds for Cells and Pages + + +You can assign a format to any group of cells by first selecting the cells (for multiple selection, hold down the CommandCtrl key when clicking), and then activating the Format Cells dialog in Format - Cells. In this dialog, you can select attributes such as shadows and backgrounds. + + +To apply formatting attributes to an entire sheet, choose Format - Page. You can define headers and footers, for example, to appear on each printed page. + + +An image that you have loaded with Format - Page - Background is only visible in print or in the print preview. To display a background image on screen as well, insert the graphic image by choosing Insert - Image - From File and arrange the image behind the cells by choosing Format - Arrange - To Background. Use the Navigator to select the background image. +
+ +Number Formatting Options +Backgrounds for Cells +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/format_value.xhp b/helpcontent2/source/text/scalc/guide/format_value.xhp new file mode 100644 index 000000000..852f4b26a --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/format_value.xhp @@ -0,0 +1,73 @@ + + + + + + + + + Formatting Numbers With Decimals + /text/scalc/guide/format_value.xhp + + + +numbers;formatting decimals + formats; numbers in tables + tables; number formats + defaults; number formats in spreadsheets + decimal places;formatting numbers + formatting;numbers with decimals + formatting;adding/deleting decimal places + number formats; adding/deleting decimal places in cells + deleting; decimal places + decimal places; adding/deleting +mw changed "numbers;" +Formatting Numbers With Decimals + + Enter a number into the sheet, for example, 1234.5678. This number will be displayed in the default number format, with two decimal places. You will see 1234.57 when you confirm the entry. Only the display in the document will be rounded off; internally, the number retains all four decimal places after the decimal point. + To format numbers with decimals: + + + Set the cursor at the number and choose Format - Cells to start the Format Cells dialog. + + + On the Numbers tab you will see a selection of predefined number formats. In the bottom right in the dialog you will see a preview of how your current number would look if you were to give it a particular format. + + + + + + +Icon + + + + If you only want to modify the number of the decimal places displayed, the easiest method is to use the Number Format: Add Decimal Place or Number Format: Delete Decimal Place icons on the Formatting Bar. + + +
+ +
+ + + + +
+ +
\ No newline at end of file diff --git a/helpcontent2/source/text/scalc/guide/format_value_userdef.xhp b/helpcontent2/source/text/scalc/guide/format_value_userdef.xhp new file mode 100644 index 000000000..7e3a94932 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/format_value_userdef.xhp @@ -0,0 +1,124 @@ + + + + + + + + + User-defined Number Formats + /text/scalc/guide/format_value_userdef.xhp + + + +numbers;user-defined formatting + formatting; user-defined numbers + number formats; millions + format codes; user-defined number formats +mw changed "numbers;" +User-defined Number Formats + + You can define your own number formats to display numbers in %PRODUCTNAME Calc. + As an example, to display the number 10,200,000 as 10.2 Million: + + + Select the cells to which you want to apply a new, user-defined format. + + + Choose Format - Cells - Numbers. + + + In the Categories list box select "User-defined". + + + In the Format code text box enter the following code: + 0.0,, "Million" + + + Click OK. + + + The following table shows the effects of rounding, thousands delimiters (,), decimal delimiters (.) and the placeholders # and 0. + + + + Number + + + .#,, "Million" + + + 0.0,, "Million" + + + #,, "Million" + + + + + 10200000 + + + 10.2 Million + + + 10.2 Million + + + 10 Million + + + + + 500000 + + + .5 Million + + + 0.5 Million + + + 1 Million + + + + + 100000000 + + + 100. Million + + + 100.0 Million + + + 100 Million + + +
+ +
+ + + + +
+ +
\ No newline at end of file diff --git a/helpcontent2/source/text/scalc/guide/formula_copy.xhp b/helpcontent2/source/text/scalc/guide/formula_copy.xhp new file mode 100644 index 000000000..0a1fe693d --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/formula_copy.xhp @@ -0,0 +1,76 @@ + + + + + + + + +Copying Formulas +/text/scalc/guide/formula_copy.xhp + + +Sun Microsystems, Inc. + + + +formulas; copying and pasting +copying; formulas +pasting;formulas +mw added "pasting;" and changed "formulas;" +Copying Formulas + +
+There are various ways to copy a formula. One suggested method is: + + +Select the cell containing the formula. + + +Choose Edit - Copy, or press CommandCtrl+C to copy it. + + +Select the cell into which you want the formula to be copied. + + +Choose Edit - Paste, or press CommandCtrl+V. The formula will be positioned in the new cell. + + +If you want to copy a formula into multiple cells, there is a quick and easy way to copy into adjacent cell areas: + + +Select the cell containing the formula. + + +Position the mouse on the bottom right of the highlighted border of the cell, and continue holding down the mouse button until the pointer changes to a cross-hair symbol. + + +With the mouse button pressed, drag it down or to the right over all the cells into which you want to copy the formula. + + +When you release the mouse button, the formula will be copied into the cells and automatically adjusted. + + +If you do not want values and texts to be automatically adjusted, then hold down the CommandCtrl key when dragging. Formulas, however, are always adjusted accordingly. +
+
+ +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/formula_enter.xhp b/helpcontent2/source/text/scalc/guide/formula_enter.xhp new file mode 100644 index 000000000..1ea5acb80 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/formula_enter.xhp @@ -0,0 +1,68 @@ + + + + + + + + + + +Entering Formulas +/text/scalc/guide/formula_enter.xhp + + + +formula bar; input line +input line in formula bar +formulas; inputting +inserting;formulas + +Entering Formulas + +You can enter formulas in several ways: using the icons, or by typing on the keyboard, or by a mixture of both methods. + + +Click the cell in which you want to enter the formula. + + +Click the Function icon on the Formula Bar. +You will now see an equals sign in the input line and you can begin to input the formula. + + +After entering the required values, press Enter or click Accept to insert the result in the active cell. If you want to clear your entry in the input line, press Escape or click Cancel. + + +You can also enter the values and the formulas directly into the cells, even if you cannot see an input cursor. Formulas must always begin with an equals sign. +You can also press the + or - key on the numerical keyboard to start a formula. NumLock must be "on". For example, press the following keys in succession: ++ 5 0 - 8 Enter +You see the result 42 in the cell. The cell contains the formula =+50-8. +If you are editing a formula with references, the references and the associated cells will be highlighted with the same color. You can now resize the reference border using the mouse, and the reference in the formula displayed in the input line also changes. Show references in color can be deactivated under %PRODUCTNAME - PreferencesTools - Options - %PRODUCTNAME Calc - View. +If you would like to view the calculation of individual elements of a formula, select the respective elements and press F9. For example, in the formula =SUM(A1:B12)*SUM(C1:D12) select the section SUM(C1:D12) and press F9 to view the subtotal for this area. + +If an error occurs when creating the formula, an error message appears in the active cell. +
+ +Formula bar + + + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/formula_value.xhp b/helpcontent2/source/text/scalc/guide/formula_value.xhp new file mode 100644 index 000000000..e125921f0 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/formula_value.xhp @@ -0,0 +1,55 @@ + + + + + + + + +Displaying Formulas or Values +/text/scalc/guide/formula_value.xhp + + +Sun Microsystems, Inc. + + + +formulas; displaying in cells +values; displaying in tables +tables; displaying formulas/values +results display vs. formulas display +displaying; formulas instead of results +mw inserted "displaying;..." entry from shared/optionen/01060100.xhp. Adding (Calc) is no longer necessary in this file. mw made "results;..." a two level entry. +Displaying Formulas or Values + +If you want to display the formulas in the cells, for example in the form =SUM(A1:B5), proceed as follows: + + +Choose %PRODUCTNAME - PreferencesTools - Options - %PRODUCTNAME Calc - View. + + +In the Display area mark the Formulas box. Click OK. + + +If you want to view the calculation results instead of the formula, do not mark the Formulas box. +
+%PRODUCTNAME - PreferencesTools - Options - %PRODUCTNAME Calc - View +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/formulas.xhp b/helpcontent2/source/text/scalc/guide/formulas.xhp new file mode 100644 index 000000000..acc8ae6b0 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/formulas.xhp @@ -0,0 +1,106 @@ + + + + + + + + + + +Calculating With Formulas +/text/scalc/guide/formulas.xhp + + + +formulas;calculating with +calculating; with formulas +examples;formula calculation +Calculating With Formulas + +All formulas begin with an equals sign. The formulas can contain numbers, text, arithmetic operators, logic operators, or functions. +Remember that the basic arithmetic operators (+, -, *, /) can be used in formulas using the "Multiplication and Division before Addition and Subtraction" rule. Instead of writing =SUM(A1:B1) you can write =A1+B1. +Parentheses can also be used. The result of the formula =(1+2)*3 produces a different result than =1+2*3. +Here are a few examples of $[officename] Calc formulas: + + + +=A1+10 + + +Displays the contents of cell A1 plus 10. + + + + +=A1*16% + + +Displays 16% of the contents of A1. + + + + +=A1 * A2 + + +Displays the result of the multiplication of A1 and A2. + + + + +=ROUND(A1;1) + + +Displays the contents of cell A1 rounded to one decimal place. + + + + +=EFFECTIVE(5%;12) + + +Calculates the effective interest for 5% annual nominal interest with 12 payments a year. + + + + +=B8-SUM(B10:B14) + + +Calculates B8 minus the sum of the cells B10 to B14. + + + + +=SUM(B8;SUM(B10:B14)) + + +Calculates the sum of cells B10 to B14 and adds the value to B8. + + +
+It is also possible to nest functions in formulas, as shown in the example. You can also nest functions within functions. The Function Wizard assists you with nested functions. +
+ +Functions list +Function Wizard +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/fraction_enter.xhp b/helpcontent2/source/text/scalc/guide/fraction_enter.xhp new file mode 100644 index 000000000..b3917bafb --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/fraction_enter.xhp @@ -0,0 +1,53 @@ + + + + + + + + +Entering Fractions +/text/scalc/guide/fraction_enter.xhp + + +Sun Microsystems, Inc. + + + +fractions; entering +numbers; entering fractions +inserting;fractions + +Entering Fractions + +
+You can enter a fractional number in a cell and use it for calculation: + + +Enter "0 1/5" in a cell (without the quotation marks) and press the input key. In the input line above the spreadsheet you will see the value 0.2, which is used for the calculation. + + +If you enter “0 1/2” AutoCorrect causes the three characters 1, / and 2 to be replaced by a single character, ½. The same applies to 1/4 and 3/4. This replacement is defined in Tools - AutoCorrect - AutoCorrect Options - Options tab. +If you want to see multi-digit fractions such as "1/10", you must change the cell format to the multi-digit fraction view. Open the context menu of the cell, and choose Format cells. Select "Fraction" from the Category field, and then select "-1234 10/81". You can then enter fractions such as 12/31 or 12/32 - the fractions are, however, automatically reduced, so that in the last example you would see 3/8. +
+
+ +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/goalseek.xhp b/helpcontent2/source/text/scalc/guide/goalseek.xhp new file mode 100644 index 000000000..69a77fb33 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/goalseek.xhp @@ -0,0 +1,66 @@ + + + + + + + + + +Applying Goal Seek +/text/scalc/guide/goalseek.xhp + + + +goal seeking;example +equations in goal seek +calculating;variables in equations +variables;calculating equations +examples;goal seek +mw changed "goal seek example" to "goal seeking;" +Applying Goal Seek + +With the help of Goal Seek you can calculate a value that, as part of a formula, leads to the result you specify for the formula. You thus define the formula with several fixed values and one variable value and the result of the formula. +Goal Seek Example +To calculate annual interest (I), create a table with the values for the capital (C), number of years (n), and interest rate (i). The formula is: +I = C * n* i +Let us assume that the interest rate i of 7.5% and the number of years n (1) will remain constant. However, you want to know how much the investment capital C would have to be modified in order to attain a particular return I. For this example, calculate how much capital C would be required if you want an annual return of $15,000. +Enter each of the values for Capital C (an arbitrary value like $100,000), number of years n (1), and interest rate i (7.5%) in one cell each. Enter the formula to calculate the interest I in another cell. Instead of C, n, and i use the reference to the cell with the corresponding value. + + +Place the cursor in the cell containing the interest I, and choose Tools - Goal Seek. The Goal Seek dialog appears. + + +The correct cell is already entered in the field Formula Cell. + + +Place the cursor in the field Variable Cell. In the sheet, click in the cell that contains the value to be changed, in this example it is the cell with the capital value C. + + +Enter the expected result of the formula in the Target Value text box. In this example, the value is 15,000. Click OK. + + +A dialog appears informing you that the Goal Seek was successful. Click Yes to enter the result in the cell with the variable value. + + +
+Goal Seek +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/html_doc.xhp b/helpcontent2/source/text/scalc/guide/html_doc.xhp new file mode 100644 index 000000000..2a98b9e9e --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/html_doc.xhp @@ -0,0 +1,71 @@ + + + + + + + + + + +Saving and Opening Sheets in HTML +/text/scalc/guide/html_doc.xhp + + + +HTML; sheets +sheets; HTML +saving; sheets in HTML +opening; sheets in HTML + +Saving and Opening Sheets in HTML + +Saving Sheets in HTML + +%PRODUCTNAME Calc saves all the sheets of a Calc document together as an HTML document. At the beginning of the HTML document, a heading and a list of hyperlinks are automatically added which lead to the individual sheets within the document. +Numbers are shown as written. In addition, in the <SDVAL> HTML tag, the exact internal number value is written so that after opening the HTML document with %PRODUCTNAME you know you have the exact values. + + +To save the current Calc document as HTML, choose File - Save As. + + +In the File type list box, in the area with the other %PRODUCTNAME Calc filters, choose the file type "HTML Document (%PRODUCTNAME Calc)". + + +Enter a File name and click Save. + + +Opening Sheets in HTML + +%PRODUCTNAME offers various filters for opening HTML files, which you can select under File - Open in the Files of type list box: + + +Choose the file type "HTML Document (%PRODUCTNAME Calc)" to open in %PRODUCTNAME Calc. +All %PRODUCTNAME Calc options are now available to you. However, not all options that %PRODUCTNAME Calc offers for editing can be saved in HTML format. + + +
+ + + +File - Open +File - Save As +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/integer_leading_zero.xhp b/helpcontent2/source/text/scalc/guide/integer_leading_zero.xhp new file mode 100644 index 000000000..8380d830b --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/integer_leading_zero.xhp @@ -0,0 +1,88 @@ + + + + + + + Entering a Number with Leading Zeros + /text/scalc/guide/integer_leading_zero.xhp + + + + + + + zero values; entering leading zeros + numbers; with leading zeros + leading zeros + integers with leading zeros + cells; changing text/number formats + formats; changing text/number + text in cells; changing to numbers + converting;text with leading zeros, into numbers + +UFI: inserted "converting;text to numbers"mw changed "converting;" and deleted "numbers,changing..." + +Entering a Number with Leading Zeros + +
+There are various ways to enter integers starting with a zero: + + + + Enter the number as text. The easiest way is to enter the number starting with an apostrophe (for example, '0987). The apostrophe will not appear in the cell, and the number will be formatted as text. Because it is in text format, however, you cannot calculate with this number. + + + Format a cell with a number format such as \0000. This format can be assigned in the Format code field under the Format - Cells - Numbers tab, and defines the cell display as "always put a zero first and then the integer, having at least three places, and filled with zeros at the left if less than three digits". + + +If you want to apply a numerical format to a column of numbers in text format (for example, text "000123" becomes number "123"), do the following: + + + + Select the column in which the digits are found in text format. Set the cell format in that column as "Number". + + + Choose Edit - Find & Replace + + + In the Find box, enter ^[0-9] + + + In the Replace box, enter & + + + Check Regular expressions + + + Check Current selection only + + + Click Replace All + + +
+ +
+ + +
+ + +
\ No newline at end of file diff --git a/helpcontent2/source/text/scalc/guide/keyboard.xhp b/helpcontent2/source/text/scalc/guide/keyboard.xhp new file mode 100644 index 000000000..e827a77a9 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/keyboard.xhp @@ -0,0 +1,105 @@ + + + + + + + + +Shortcut Keys (%PRODUCTNAME Calc Accessibility) +/text/scalc/guide/keyboard.xhp + + +Sun Microsystems, Inc. + + + +accessibility; %PRODUCTNAME Calc shortcuts +shortcut keys;%PRODUCTNAME Calc accessibility + +Shortcut Keys (%PRODUCTNAME Calc Accessibility) + +Refer also to the lists of shortcut keys for %PRODUCTNAME Calc and %PRODUCTNAME in general. + +Cell Selection Mode + + + + +Icon + + + +In a text box that has a button to minimize the dialog, press F2 to enter the cell selection mode. Select any number of cells, then press F2 again to show the dialog. + + +
+ +In the cell selection mode, you can use the common navigation keys to select cells. +Controlling the Outline +You can use the keyboard in Outline: + + +Press F6 or Shift+F6 until the vertical or horizontal outline window has the focus. + + + +Tab - cycle through all visible buttons from top to bottom or from left to right. + + + +Shift+Tab - cycle through all visible buttons in the opposite direction. + + + +Command+1 to Command+8Ctrl+1 to Ctrl+8 - show all levels up to the specified number; hide all higher levels. + + +Use + or - to show or hide the focused outline group. + + +Press Enter to activate the focused button. + + +Use Up, Down, Left, or Right arrow to cycle through all buttons in the current level. + + +Selecting a Drawing Object or a Graphic + + +Choose View - Toolbars - Drawing to open the Drawing toolbar. + + +Press F6 until the Drawing toolbar is selected. + + +If the selection tool is active, press CommandCtrl+Enter. This selects the first drawing object or graphic in the sheet. + + +With CommandCtrl+F6 you set the focus to the document. +Now you can use Tab to select the next drawing object or graphic and Shift+Tab to select the previous one. + + +
+ + + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/line_fix.xhp b/helpcontent2/source/text/scalc/guide/line_fix.xhp new file mode 100644 index 000000000..688669bad --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/line_fix.xhp @@ -0,0 +1,67 @@ + + + + + + + Freezing Rows or Columns as Headers + /text/scalc/guide/line_fix.xhp + + + + + + + tables; freezing + title rows; freezing during table split + rows; freezing + columns; freezing + freezing rows or columns + headers; freezing during table split + scrolling prevention in tables + windows; splitting + tables; splitting windows + + + +

Freezing Rows or Columns as Headers

+If you have long rows or columns of data that extend beyond the viewable area of the sheet, you can freeze some rows or columns, which allows you to see the frozen columns or rows as you scroll through the rest of the data. + + + + Select the row below, or the column to the right of the row or column that you want to be in the frozen region. All rows above, or all columns to the left of the selection are frozen. + To freeze both horizontally and vertically, select the cell that is below the row and to the right of the column that you want to freeze. + + + Choose View - Freeze Rows and Columns. + To deactivate, choose View - Freeze Rows and Columns again. + + +If the area defined is to be scrollable, apply the View - Split Window command. +If you want to print a certain row on all pages of a document, choose Format - Print ranges - Edit. + +
+View - Freeze Rows and Columns +View - Split Window + +Format - Print ranges - Edit +
+ + +
diff --git a/helpcontent2/source/text/scalc/guide/main.xhp b/helpcontent2/source/text/scalc/guide/main.xhp new file mode 100644 index 000000000..771a35c2b --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/main.xhp @@ -0,0 +1,152 @@ + + + + + + + + + + +Instructions for Using $[officename] Calc +/text/scalc/guide/main.xhp + + + +HowTos for Calc +instructions; $[officename] Calc +MWdeleted one entry and added oneInstructions for Using $[officename] Calc + + +Formatting Tables and Cells + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Entering Values and Formulas + + + + + + + + + + + + + + + + + + + + + +Entering Referencesmw deleted link to Calc guide address_byname.xhp + + + + + + + + +Database Ranges in Tables + + + +Advanced Calculations + + + + + + + + + + + + +Printing and Print Preview + + + + + + +Importing and Exporting Documents + + + + + + + +Miscellaneous + + + + + + + + + + + + + + + + + + diff --git a/helpcontent2/source/text/scalc/guide/mark_cells.xhp b/helpcontent2/source/text/scalc/guide/mark_cells.xhp new file mode 100644 index 000000000..ab777c706 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/mark_cells.xhp @@ -0,0 +1,104 @@ + + + + + + + + + Selecting Multiple Cells + /text/scalc/guide/mark_cells.xhp + + + +cells; selecting + marking cells + selecting;cells + multiple cells selection + selection modes in spreadsheets + tables; selecting ranges +mw changed "selection modes..." +Selecting Multiple Cells + + Select a rectangular range + With the mouse button pressed, drag from one corner to the diagonally opposed corner of the range. + Mark a single cell + Do one of the following: + + + Click, then Shift-click the cell. + + + Pressing the mouse button, drag a range across two cells, do not release the mouse button, and then drag back to the first cell. Release the mouse button. You can now move the individual cell by drag and drop. + + + Select various dispersed cells + Do one of the following: + + + Mark at least one cell. Then while pressing Command +Ctrl, click each of the additional cells. + + + Click the STD / EXT / ADD area in the status bar until it shows ADD. Now click all cells that you want to select. + + + Switch marking mode + On the status bar, click the box with the legend STD / EXT / ADD to switch the marking mode: + + + + Field contents + + + Effect of clicking the mouse + + + + + STD + + + A mouse click selects the cell you have clicked on. Unmarks all marked cells. + + + + + EXT + + + A mouse click marks a rectangular range from the current cell to the cell you clicked. Alternatively, Shift-click a cell. + + + + + ADD + + + A mouse click in a cell adds it to the already marked cells. A mouse click in a marked cell unmarks it. Alternatively, Command +Ctrl-click the cells. + + +
+ +
+ Status bar +
+ +
\ No newline at end of file diff --git a/helpcontent2/source/text/scalc/guide/matrixformula.xhp b/helpcontent2/source/text/scalc/guide/matrixformula.xhp new file mode 100644 index 000000000..8766483f1 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/matrixformula.xhp @@ -0,0 +1,69 @@ + + + + + + + + +Entering Matrix Formulas +/text/scalc/guide/matrixformula.xhp + + +Sun Microsystems, Inc. + + + +matrices; entering matrix formulas +formulas; matrix formulas +inserting;matrix formulas + +Entering Matrix Formulas + +The following is an example of how you can enter a matrix formula, without going into the details of matrix functions. +Assume you have entered 10 numbers in Columns A and B (A1:A10 and B1:B10), and would like to calculate the sum of each row in Column C. + + +Using the mouse, select the range C1:C10, in which the results are to be displayed. + + +Press F2, or click in the input line of the Formula bar. + + +Enter an equal sign (=). + + +Select the range A1:A10, which contains the first values for the sum formula. + + +Press the (+) key from the numerical keypad. + + +Select the numbers in the second column in cells B1:B10. + + +End the input with the matrix key combination: Shift+CommandCtrl+Enter. + + +The matrix area is automatically protected against modifications, such as deleting rows or columns. It is, however, possible to edit any formatting, such as the cell background. +
+ +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/move_dragdrop.xhp b/helpcontent2/source/text/scalc/guide/move_dragdrop.xhp new file mode 100644 index 000000000..a89af2096 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/move_dragdrop.xhp @@ -0,0 +1,121 @@ + + + + + + + + +Moving Cells by Drag-and-Drop +/text/scalc/guide/move_dragdrop.xhp + + + +drag and drop; moving cells +cells; moving by drag and drop +rows;moving by drag and drop +columns;moving by drag and drop +moving;cells, rows and columns by drag and drop +inserting;cells, by drag and drop +mw added "columns;" +Moving Cells by Drag-and-Drop + +When you drag-and-drop a selection of cells, rows or columns on a Calc sheet, the cells (including the ones in selected rows or columns) normally overwrite the existing cells in the area where you drop. This is the normal overwrite mode. +Note that to drag-and-drop entire rows or columns, you must select the rows or columns you want to move (or copy) first, then start dragging from selected cells, not from the row or column headers (cells would be deselected by this). +When you hold down the OptionAlt key while releasing the mouse button, you enter the insert mode. + + +In insert mode, the existing cells where you drop will be shifted to the right or to the bottom, and the dropped cells are inserted into the now empty positions without overwriting. + + +The surrounding box of the moved cells looks different in insert mode. +In overwrite mode you see all four borders around the selected area. In insert mode you see only the left border when target cells will be shifted to the right. You see only the upper border when target cells will be shifted down. +Whether the target area will be shifted to the right or to the bottom depends on the distance between source and target cells, if you move within the same sheet. It depends on the number of horizontal or vertical cells in the moved area, if you move to a different sheet. + + +If you move cells in insert mode within the same row (only horizontally), then after insertion of the cells, all cells will be shifted to the left to fill the source area. + + +In both modes, you can hold down the CommandCtrl key, or CommandCtrl+Shift keys while you release the mouse button to insert a copy or a link, respectively. + + + +Keys pressed while releasing the mouse button + + +Result + + + + +No key + + +Cells are moved and overwrite the cells in the target area. Source cells are emptied. + + + + +CommandCtrl key + + +Cells are copied and overwrite the cells in the target area. Source cells stay as they are. + + + + +CommandCtrl+Shift keys + + +Links to the source cells are inserted and overwrite the cells in the target area. Source cells stay as they are. + + + + +OptionAlt key + + +Cells are moved and shift the cells in the target area to the right or to the bottom. Source cells are emptied, except if you move within the same rows on the same sheet. +If you move within the same rows on the same sheet, the cells in the target area shift to the right, and then the whole row shifts to fill the source area. + + + + +Option+Command Alt+Ctrl keys + + +Cells are copied and shift the cells in the target area to the right or to the bottom. Source cells stay as they are. + + + + +Option+CommandAlt+Ctrl+Shift keys + + +Links to the source cells are inserted and shift the cells in the target area to the right or to the bottom. Source cells stay as they are. + + +
+ +
+ + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/multi_tables.xhp b/helpcontent2/source/text/scalc/guide/multi_tables.xhp new file mode 100644 index 000000000..54efa74b1 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/multi_tables.xhp @@ -0,0 +1,66 @@ + + + + + + + + + + +Navigating Through Sheets Tabs +/text/scalc/guide/multi_tables.xhp + + + + + + +sheets; showing multiple +sheet tabs;using +views;multiple sheets + + Navigating Through Sheet Tabs + + By default $[officename] displays three sheets "Sheet1" to "Sheet3", in each new spreadsheet. You can switch between sheets in a spreadsheet using the sheet tabs at the bottom of the screen. + +Sheet Tabs + + + + + + + +Icon + + + + Use the navigation buttons to display all the sheets belonging to your document. Clicking the button on the far left or the far right displays, respectively, the first or last sheet tab. The middle buttons allow the user to scroll forward and backward through all sheet tabs. To display the sheet itself click on the sheet tab. + + +
+
+ + + + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/multioperation.xhp b/helpcontent2/source/text/scalc/guide/multioperation.xhp new file mode 100644 index 000000000..8a4a8e0e0 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/multioperation.xhp @@ -0,0 +1,124 @@ + + + + + + + + +Applying Multiple Operations +/text/scalc/guide/multioperation.xhp + + + +multiple operations +what if operations;two variables +tables; multiple operations in +data tables; multiple operations in +cross-classified tables +mw made "what if operations" a two level entry +

Applying Multiple Operations +

+

Multiple Operations in Columns or Rows

+The Data - Multiple Operations command provides a planning tool for "what if" questions. In your spreadsheet, you enter a formula to calculate a result from values that are stored in other cells. Then, you set up a cell range where you enter some fixed values, and the Multiple Operations command will calculate the results depending on the formula. +In the Formulas field, enter the cell reference to the formula that applies to the data range. In the Column input cell/Row input cell field, enter the cell reference to the corresponding cell that is part of the formula. This can be explained best by examples: +

Examples

+You produce toys which you sell for $10 each. Each toy costs $2 to make, in addition to which you have fixed costs of $10,000 per year. How much profit will you make in a year if you sell a particular number of toys? + +what-if sheet area +

Calculating With One Formula and One Variable

+ + +To calculate the profit, first enter any number as the quantity (items sold) - in this example 2000. The profit is found from the formula Profit=Quantity * (Selling price - Direct costs) - Fixed costs. Enter this formula in B5. + + +In column D enter given annual sales, one below the other; for example, 500 to 5000, in steps of 500. + + +Select the range D2:E11, and thus the values in column D and the empty cells alongside in column E. + + +Choose Data - Multiple operations. + + +With the cursor in the Formulas field, click cell B5. + + +Set the cursor in the Column input cell field and click cell B4. This means that B4, the quantity, is the variable in the formula, which is replaced by the selected column values. + + +Close the dialog with OK. You see the profits for the different quantities in column E. + + +

Calculating with Several Formulas Simultaneously

+ + +Delete column E. + + +Enter the following formula in C5: = B5 / B4. You are now calculating the annual profit per item sold. + + +Select the range D2:F11, thus three columns. + + +Choose Data - Multiple Operations. + + +With the cursor in the Formulas field, select cells B5 thru C5. + + +Set the cursor in the Column input cell field and click cell B4. + + +Close the dialog with OK. You will now see the profits in column E and the annual profit per item in column F. + + +

Multiple Operations Across Rows and Columns

+ +%PRODUCTNAME allows you to carry out joint multiple operations for columns and rows in so-called cross-tables. The formula cell has to refer to both the data range arranged in rows and the one arranged in columns. Select the range defined by both data ranges and call the multiple operation dialog. Enter the reference to the formula in the Formulas field. The Row input cell and the Column input cell fields are used to enter the reference to the corresponding cells of the formula. +

Calculating with Two Variables

+Consider columns A and B of the sample table above. You now want to vary not just the quantity produced annually, but also the selling price, and you are interested in the profit in each case. +Expand the table shown above. D2 thru D11 contain the numbers 500, 1000 and so on, up to 5000. In E1 through H1 enter the numbers 8, 10, 15 and 20. + + +Select the range D1:H11. + + +Choose Data - Multiple Operations. + + +With the cursor in the Formulas field, click cell B5. + + +Set the cursor in the Row input cell field and click cell B1. This means that B1, the selling price, is the horizontally entered variable (with the values 8, 10, 15 and 20). + + +Set the cursor in the Column input cell field and click in B4. This means that B4, the quantity, is the vertically entered variable. + + +Close the dialog with OK. You see the profits for the different selling prices in the range E2:H11. + + +
+Multiple operations + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/multitables.xhp b/helpcontent2/source/text/scalc/guide/multitables.xhp new file mode 100644 index 000000000..7061c99dc --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/multitables.xhp @@ -0,0 +1,73 @@ + + + + + + + + + Applying Multiple Sheets + /text/scalc/guide/multitables.xhp + + + +sheets; inserting + inserting; sheets + sheets; selecting multiple + appending sheets + selecting;multiple sheets + multiple sheets + calculating;multiple sheets +MW moved "sheets;simultaneous.." to edit_multitables.xhp, transferred 2 entries from there and added "calculating;" +Applying Multiple Sheets + + Inserting a Sheet + + + Choose Insert - Sheet to insert a new sheet or an existing sheet from another file. + + + +Sheet Events +Opens a dialog box where you can assign macros to sheet events. + +Tab Color + +Opens a window where you can assign a color to the sheet tab. + + +Click to select all sheets in the document. + +Click to deselect all sheets in the document, except the current sheet. + Selecting Multiple Sheets + The sheet tab of the current sheet is always visible in white in front of the other sheet tabs. The other sheet tabs are gray when they are not selected. By clicking other sheet tabs while pressing CommandCtrl you can select multiple sheets. + You can use Shift+Command +Ctrl+Page Up or Page Down to select multiple sheets using the keyboard. + Undoing a Selection + To undo the selection of a sheet, click its sheet tab again while pressing the CommandCtrl key. The sheet that is currently visible cannot be removed from the selection. + Calculating Across Multiple Sheets + You can refer to a range of sheets in a formula by specifying the first and last sheet of the range, for example, =SUM(Sheet1.A1:Sheet3.A1) sums up all A1 cells on Sheet1 through Sheet3. + + +
+ + +
+ +
\ No newline at end of file diff --git a/helpcontent2/source/text/scalc/guide/note_insert.xhp b/helpcontent2/source/text/scalc/guide/note_insert.xhp new file mode 100644 index 000000000..ca75f649c --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/note_insert.xhp @@ -0,0 +1,66 @@ + + + + + + + + + Inserting and Editing Comments + /text/scalc/guide/note_insert.xhp + + + +comments; on cells + cells;comments + remarks on cells + formatting;comments on cells + viewing;comments on cells + displaying; comments +MW deleted double index "comments;on cells" and copied "displaying;comments" from shared/optionen/01060100.xhp +Inserting and Editing Comments + +You can assign a comment to each cell by choosing Insert - Comment. The comment is indicated by a small red square, the comment indicator, in the cell. + + +The comment is visible whenever the mouse pointer is over the cell. + + +When you select the cell, you can choose Show Comment from the context menu of the cell. Doing so keeps the comment visible until you deactivate the Show Comment command from the same context menu. + + +To edit a permanently visible comment, just click in it. If you delete the entire text of the comment, the comment itself is deleted. + + +Move or resize each comment as you like. + + +Format each comment by specifying background color, transparency, border style, and text alignment. Choose the commands from the context menu of the comment. + + +To show or hide the comment indicator, choose %PRODUCTNAME - PreferencesTools - Options - %PRODUCTNAME Calc - View and mark or unmark the Comment indicator check box. + + +To display a help tip for a selected cell, use Data - Validity - Input Help. +
+Insert - Comment + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/numbers_text.xhp b/helpcontent2/source/text/scalc/guide/numbers_text.xhp new file mode 100644 index 000000000..e63054fb0 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/numbers_text.xhp @@ -0,0 +1,93 @@ + + + + + + + + Converting Text to Numbers + /text/scalc/guide/numbers_text.xhp + + + + + + formats; text as numbers + time format conversion + date formats;conversion + converting;text, into numbers + +

Converting Text to Numbers

+
+ Defaults settings in Calc converts text inside cells to the respective numeric values if an unambiguous conversion is possible. If no conversion is possible, Calc returns a #VALUE! error. + Only integer numbers including exponent are converted, and ISO 8601 dates and times in their extended formats with separators. Anything else, like fractional numbers with decimal separators or dates other than ISO 8601, is not converted, as the text string would be locale dependent. Leading and trailing blanks are ignored. + The following ISO 8601 formats are converted: + + + CCYY-MM-DD + + + CCYY-MM-DDThh:mm + + + CCYY-MM-DDThh:mm:ss + + + CCYY-MM-DDThh:mm:ss,s + + + CCYY-MM-DDThh:mm:ss.s + + + hh:mm + + + hh:mm:ss + + + hh:mm:ss,s + + + hh:mm:ss.s + + + The century code CC may not be omitted. Instead of the T date and time separator, exactly one space character may be used. + If a date is given, it must be a valid Gregorian calendar date. In this case the optional time must be in the range 00:00 to 23:59:59.99999... + If only a time string is given, it may have an hours value of more than 24, while minutes and seconds can have a maximum value of 59. + The conversion is done for single scalar values only, not within ranges. + The conversion is done for single scalar values, as in =A1+A2, or ="1E2"+1. Cell range arguments are not affected, so SUM(A1:A2) differs from A1+A2 if at least one of the two cells contain a convertible string. + Strings inside formulas are also converted, such as in ="1999-11-22"+42, which returns the date 42 days after November 22nd, 1999. Calculations involving localized dates as strings inside the formula return an error. For example, the localized date string "11/22/1999" or "22.11.1999" cannot be used for the automatic conversion. + +

Example

+ In A1 enter the text '1e2 (which is converted to the number 100 internally). + In A2 enter =A1+1 (which correctly results in 101). + The formula =SUM(A1:A2), returns 101 instead of 201 because the conversion does not occur in a range, only for single scalar values. Here, '1e2 is treated as string which is ignored for the SUM function. + =SUM("1E2";1) returns #VALUE! because SUM() and some others that iterate over number sequences explicitly check the argument type. +
+

Changing the default text to number conversion settings

+ The text to number conversion can be customized in the Detailed Calculation Settings option. +
+ + + + Format - Cells - Numbers + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/pivotchart.xhp b/helpcontent2/source/text/scalc/guide/pivotchart.xhp new file mode 100644 index 000000000..80dc442ad --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/pivotchart.xhp @@ -0,0 +1,40 @@ + + + + + + + Pivot Chart + /text/scalc/guide/pivotchart.xhp + + + + + chart;pivot chart + pivot table;pivot chart + +

Pivot Chart

+ + A pivot chart is a chart with data range and data series of a pivot table. + Different from static sized tables, where the number of rows and columns are constant, pivot tables can have varying dimensions, depending on the pivot table settings and its data source contents. + + Pivot charts track the changes in the data issued from a pivot table and adjust the data series and data range accordingly. + + +
+ + + + + + Technical details on %PRODUCTNAME pivot chart implementation. +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/pivotchart_create.xhp b/helpcontent2/source/text/scalc/guide/pivotchart_create.xhp new file mode 100644 index 000000000..a4ff84dcf --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/pivotchart_create.xhp @@ -0,0 +1,58 @@ + + + + + + + Creating Pivot Charts + /text/scalc/guide/pivotchart_create.xhp + + + + + pivot chart;creating + + Creating Pivot Charts + To create a pivot chart proceed as below: + + + Click inside the pivot table that you want to present in your chart. + + + Choose Insert – Chart or click in the + Insert Chart Icon Insert Chart icon in the main toolbar. + + + %PRODUCTNAME Calc automatically detects the pivot table and opens the pivot chart wizard. + + + Select the Chart type for the data in the chart wizard. + + + The data range and the data series pages of the chart wizard are not enabled. They are controlled by the pivot table. + + + Select the Chart Elements of the pivot chart in the wizard. + + + Click OK to close the wizard and create the pivot chart. + + + + +
+ + + + + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/pivotchart_delete.xhp b/helpcontent2/source/text/scalc/guide/pivotchart_delete.xhp new file mode 100644 index 000000000..597730164 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/pivotchart_delete.xhp @@ -0,0 +1,36 @@ + + + + + + + Deleting Pivot Charts + /text/scalc/guide/pivotchart_delete.xhp + + + + Deleting a Pivot Chart + + pivot chart;deleting + + To delete a pivot chart, select the chart and press Del. + When deleting a pivot chart, the linked pivot table is not affected. + If you delete a pivot table linked to a pivot chart, the pivot chart is also deleted. A dialog box opens to confirm the pivot chart deletion. + + +
+ + + + + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/pivotchart_edit.xhp b/helpcontent2/source/text/scalc/guide/pivotchart_edit.xhp new file mode 100644 index 000000000..428edacd3 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/pivotchart_edit.xhp @@ -0,0 +1,41 @@ + + + + + + + Editing Pivot Charts + /text/scalc/guide/pivotchart_edit.xhp + + + + + pivot chart;editing + + Editing Pivot Charts + Edit a pivot chart in the same way as normal charts. + To edit a pivot chart + + + + + + + + +
+ + + + + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/pivotchart_filter.xhp b/helpcontent2/source/text/scalc/guide/pivotchart_filter.xhp new file mode 100644 index 000000000..11ccabb53 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/pivotchart_filter.xhp @@ -0,0 +1,44 @@ + + + + + + + Filtering Pivot Charts + /text/scalc/guide/pivotchart_filter.xhp + + + + Filtering Pivot Charts + Filters are used to remove unwanted data from the pivot chart. You can use filters in the pivot chart or in the corresponding pivot table, since the resulting chart is exactly the same. + + Pivot chart field buttons + + Pivot chart buttons are unique to pivot charts, normal charts don't have them. The buttons shows the layout of the pivot table, which are the pivot table fields. If present, filters are displayed in the top. Row fields are displayed on the bottom of the chart next to each other and the legend shows the buttons from column fields stacked. + + + Pivot chart buttons + + + The buttons have a pop-up action attached to them. If there is some filtering applied, then the arrow turns blue (similar to the pivot table), so it is easier to see when a field has any filter applied. + + Existing filters shows what is filtered: when nothing is filtered "- all -" is shown, when some data is filtered, then "- multiple -" is shown and when only one value is not filtered, the value is shown. + + + +
+ + + + + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/pivotchart_update.xhp b/helpcontent2/source/text/scalc/guide/pivotchart_update.xhp new file mode 100644 index 000000000..41cfed9cb --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/pivotchart_update.xhp @@ -0,0 +1,42 @@ + + + + + + + Pivot Chart Update + /text/scalc/guide/pivotchart_update.xhp + + + + + pivot chart;update + + Updating Pivot Charts + If the data of the source sheet has been changed, you must refresh the pivot table and the pivot chart is updated accordingly. To refresh the pivot table (and thus the pivot chart): + + + Choose Data - Pivot Table - Refresh. + + + Choose Refresh... in the context menu of any cell in the pivot table. + + + + +
+ + + + + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/print_details.xhp b/helpcontent2/source/text/scalc/guide/print_details.xhp new file mode 100644 index 000000000..8b419dfc6 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/print_details.xhp @@ -0,0 +1,93 @@ + + + + + + + + +Printing Sheet Details +/text/scalc/guide/print_details.xhp + + +Sun Microsystems, Inc. + + + +printing;sheet details +sheets; printing details +grids; printing sheet grids +formulas; printing, instead of results +comments; printing +charts;printing +sheet grids; printing +cells; printing grids +borders; printing cells +zero values; printing +null values; printing +draw objects;printing +mw inserted 4 index entries from text/scalc/01/05070500.xhp. Added "draw objects;..." entry and changed "formulas;..." entry +Printing Sheet Details + +When printing a sheet you can select which details are to be printed: + + +Row and column headers + + +Sheet grid + + +Comments + + +Objects and images + + +Charts + + +Drawing objects + + +Formulas + + +To choose the details proceed as follows: + + +Select the sheet you want to print. + + +Choose Format - Page. +The command is not visible if the sheet was opened with write protection on. In that case, click the Edit File icon on the Standard Bar. + + +Select the Sheet tab. In the Print area mark the details to be printed and click OK. + + +Print the document. + + +
+View - Page Break + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/print_exact.xhp b/helpcontent2/source/text/scalc/guide/print_exact.xhp new file mode 100644 index 000000000..5e6715cd7 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/print_exact.xhp @@ -0,0 +1,63 @@ + + + + + + + + +Defining Number of Pages for Printing +/text/scalc/guide/print_exact.xhp + + +Sun Microsystems, Inc. + + + +printing; sheet counts +sheets; printing sheet counts +page breaks; spreadsheet preview +editing;print ranges +viewing;print ranges +previews;page breaks for printing + +Defining Number of Pages for Printing + +If a sheet is too large for a single printed page, $[officename] Calc will print the current sheet evenly divided over several pages. Since the automatic page break does not always take place in the optimal position, you can define the page distribution yourself. + + +Go to the sheet to be printed. + + +Choose View - Page Break. + + +You will see the automatic distribution of the sheet across the print pages. The automatically created print ranges are indicated by dark blue lines, and the user-defined ones by light blue lines. The page breaks (line breaks and column breaks) are marked as black lines. + + +You can move the blue lines with the mouse. You will find further options in the Context menu, including adding an additional print range, removing the scaling and inserting additional manual line and column breaks. + + +
+View - Page Break + + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/print_landscape.xhp b/helpcontent2/source/text/scalc/guide/print_landscape.xhp new file mode 100644 index 000000000..542e2d9dc --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/print_landscape.xhp @@ -0,0 +1,79 @@ + + + + + + + + + Printing Sheets in Landscape Format + /text/scalc/guide/print_landscape.xhp + + + +printing; sheet selections + sheets; printing in landscape + printing; landscape + landscape printing +mw corrected a typo in "printing; sheet..." +Printing Sheets in Landscape Format + + In order to print a sheet you have a number of interactive options available under View - Page Break. Drag the delimiter lines to define the range of printed cells on each page. + To print in landscape format, proceed as follows: + + + Go to the sheet to be printed. + + + Choose Format - Page. + The command is not visible if the sheet has been opened with write protection on. In that case, click the Edit File icon on the Standard bar. + + + Select the Page tab. Select the Landscape paper format and click OK. + + + Choose File - Print. You will see the Print dialog. + Depending on the printer driver and the operating system, it may be necessary to click the Properties button and to change your printer to landscape format there. + + + In the Print dialog in the General tab page, select the contents to be printed: + + All sheets - All sheets will be printed. + + Selected sheets - Only the selected sheets will be printed. All sheets whose names (at the bottom on the sheet tabs) are selected will be printed. By pressing Command +Ctrl while clicking a sheet name you can change this selection. + + Selected cells - All selected cells are printed. + + + From all the paper pages that result from the above selection, you can select the range of paper pages to be printed: + + All pages - Print all resulting pages. + + Pages - Enter the pages to be printed. The pages will also be numbered from the first sheet onwards. If you see in the Page Break Preview that Sheet1 will be printed on 4 pages and you want to print the first two pages of Sheet2, enter 5-6 here. + + + If under Format - Print ranges you have defined one or more print ranges, only the contents of these print ranges will be printed. +
+ View - Page Break + Defining Print Ranges on a Sheet + +
+ +
\ No newline at end of file diff --git a/helpcontent2/source/text/scalc/guide/print_title_row.xhp b/helpcontent2/source/text/scalc/guide/print_title_row.xhp new file mode 100644 index 000000000..d399b383c --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/print_title_row.xhp @@ -0,0 +1,82 @@ + + + + + +Printing Rows or Columns on Every Page +/text/scalc/guide/print_title_row.xhp + + +Sun Microsystems, Inc. + + + +printing; sheets on multiple pages +sheets; printing on multiple pages +rows; repeating when printing +columns; repeating when printing +repeating;columns/rows on printed pages +title rows; printing on all sheets +headers; printing on sheets +footers; printing on sheets +printing; rows/columns as table headings +headings;repeating rows/columns as +mw deleted one index entry ("fixed...") and added "headings;..." entry + +

Printing Rows or Columns on Every Page +

+If you have a sheet that is so large that it will be printed multiple pages, you can set up rows or columns to repeat on each printed page. +As an example, If you want to print the top two rows of the sheet as well as the first column (A) on all pages, do the following: + + +Choose Format - Print Ranges - Edit. The Edit Print Ranges dialog appears. + + +Click the icon at the far right of the Rows to repeat area. +The dialog shrinks so that you can see more of the sheet. + + +Select the first two rows and, for this example, click cell A1 and drag to A2. +In the shrunk dialog you will see $1:$2. Rows 1 and 2 are now rows to repeat. + + +Click the icon at the far right of the Rows to repeat area. The dialog is restored again. + + +If you also want column A as a column to repeat, click the icon at the far right of the Columns to repeat area. + + +Click column A (not in the column header). + + +Click the icon again at the far right of the Columns to repeat area. + + +Rows to repeat are rows from the sheet. You can define headers and footers to be printed on each print page independently of this in Format - Page. +
+ + + +View - Page Break Preview + +Format - Print ranges - Edit +Format - Page - (Header / Footer) +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/printranges.xhp b/helpcontent2/source/text/scalc/guide/printranges.xhp new file mode 100644 index 000000000..54211ba36 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/printranges.xhp @@ -0,0 +1,105 @@ + + + + + + + + + + +Using Print Ranges on a Spreadsheet +/text/scalc/guide/printranges.xhp + + + + + + +exporting;cells +printing; cells +ranges;print ranges +PDF export of print ranges +cell ranges; printing +cells; print ranges +print ranges +clearing, see also deleting/removing +defining;print ranges +extending print ranges +deleting;print ranges + + mw deleted "adding;" and corrected two typos in "defining;" and "extending.." + MW changed "clearing," + Defining Print Ranges on a Sheet + + You can define which range of cells on a spreadsheet to print. + The cells on the sheet that are not part of the defined print range are not printed or exported. Sheets without a defined print range are not printed and not exported to a PDF file, unless the document uses the Excel file format. + For files opened in Excel format, all sheets that do not contain a defined print range are printed. The same behavior occurs when you export the Excel formatted spreadsheet to a PDF file.UFI: New, see spec "Calc Print Settings Sheet Property "Print Entire Sheet"" + To Define a Print Range + + + Select the cells that you want to print. + + + Choose Format - Print Ranges - Define. + + + To Add Cells to a Print Range + + + Select the cells that you want to add to the existing print range. + + + Choose Format - Print Ranges - Add. + + + To Clear a Print Range + + + Choose Format - Print Ranges - Clear. + + + Using the Page Break Preview to Edit Print Ranges + In the Page Break Preview, print ranges as well as page break regions are outlined by a blue border and contain a centered page number in gray. Nonprinting areas have a gray background. + To define a new page break region, drag the border to a new location. When you define a new page break region, an automatic page break is replaced by a manual page break. + To View and Edit Print Ranges + + + Choose View - Page Break Preview. + To change the default zoom factor of the Page Break Preview, double click the percentage value on the Status bar, and select a new zoom factor. + + + Edit the print range. + To change the size of a print range, drag a border of the range to a new location. + To delete a manual page break that is contained in a print range, drag the border of the page break outside of the print range. + To clear a print range, drag a border of the range onto the opposite border of the range. + + + To exit the Page Break Preview, choose View - Normal. + + +
+ + + + Editing Print Ranges + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/relativ_absolut_ref.xhp b/helpcontent2/source/text/scalc/guide/relativ_absolut_ref.xhp new file mode 100644 index 000000000..35d15b6a5 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/relativ_absolut_ref.xhp @@ -0,0 +1,60 @@ + + + + + + + + +Addresses and References, Absolute and Relative +/text/scalc/guide/relativ_absolut_ref.xhp + + +Sun Microsystems, Inc. + + + +addressing; relative and absolute +references; absolute/relative +absolute addresses in spreadsheets +relative addresses +absolute references in spreadsheets +relative references +references; to cells +cells; references + +Addresses and References, Absolute and Relative + +Relative Addressing +The cell in column A, row 1 is addressed as A1. You can address a range of adjacent cells by first entering the coordinates of the upper left cell of the area, then a colon followed by the coordinates of the lower right cell. For example, the square formed by the first four cells in the upper left corner is addressed as A1:B2. +By addressing an area in this way, you are making a relative reference to A1:B2. Relative here means that the reference to this area will be adjusted automatically when you copy the formulas. +Absolute Addressing +Absolute referencing is the opposite of relative addressing. A dollar sign is placed before each letter and number in an absolute reference, for example, $A$1:$B$2. +$[officename] can convert the current reference, in which the cursor is positioned in the input line, from relative to absolute and vice versa by pressing F4. If you start with a relative address such as A1, the first time you press this key combination, both row and column are set to absolute references ($A$1). The second time, only the row (A$1), and the third time, only the column ($A1). If you press the key combination once more, both column and row references are switched back to relative (A1) +$[officename] Calc shows the references to a formula. If, for example, you click the formula =SUM(A1:C5;D15:D24) in a cell, the two referenced areas in the sheet will be highlighted in color. For example, the formula component "A1:C5" may be in blue and the cell range in question bordered in the same shade of blue. The next formula component "D15:D24" can be marked in red in the same way. +When to Use Relative and Absolute References +What distinguishes a relative reference? Assume you want to calculate in cell E1 the sum of the cells in range A1:B2. The formula to enter into E1 would be: =SUM(A1:B2). If you later decide to insert a new column in front of column A, the elements you want to add would then be in B1:C2 and the formula would be in F1, not in E1. After inserting the new column, you would therefore have to check and correct all formulas in the sheet, and possibly in other sheets. +Fortunately, $[officename] does this work for you. After having inserted a new column A, the formula =SUM(A1:B2) will be automatically updated to =SUM(B1:C2). Row numbers will also be automatically adjusted when a new row 1 is inserted. Absolute and relative references are always adjusted in $[officename] Calc whenever the referenced area is moved. But be careful if you are copying a formula since in that case only the relative references will be adjusted, not the absolute references. +Absolute references are used when a calculation refers to one specific cell in your sheet. If a formula that refers to exactly this cell is copied relatively to a cell below the original cell, the reference will also be moved down if you did not define the cell coordinates as absolute. +Aside from when new rows and columns are inserted, references can also change when an existing formula referring to particular cells is copied to another area of the sheet. Assume you entered the formula =SUM(A1:A9) in row 10. If you want to calculate the sum for the adjacent column to the right, simply copy this formula to the cell to the right. The copy of the formula in column B will be automatically adjusted to =SUM(B1:B9). +
+mw changed link target from "address_byname" to "value_with_name" +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/remove_duplicates.xhp b/helpcontent2/source/text/scalc/guide/remove_duplicates.xhp new file mode 100644 index 000000000..812f26153 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/remove_duplicates.xhp @@ -0,0 +1,68 @@ + + + + + + + Removing Duplicate Values + /text/scalc/guide/remove_duplicates.xhp + + + + + + filters; removing duplicates + filters; finding unique values + +

Removing Duplicate Values

+ Consider a single column with values where some may be duplicates. To remove duplicate values and obtain only the unique entries in the column: + + + Select the range of values from which duplicate values are to be removed. The values have to be arranged in a single column. + + + Go to Data - More Filters - Standard Filter. This opens the Standard Filter dialog. + + + In Field Name make sure that the selected column is the column where the values are stored. If a single column is selected this field will be set automatically. + + + In Condition choose the option = (equals sign), which is the default option. + + + In Value choose the option Not Empty. + + + Click Options and select No duplications. If the first value is the column header check Range contains column labels. + + + Check Copy results and use the input box below it to inform a cell address where the unique entries are to be entered. + + + Click OK. The unique values in the range will be entered starting with the cell selected in the previous step. + + + The No duplications option is case sensitive. Therefore, values "A" and "a" are each considered as unique values. +
+ + + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/rename_table.xhp b/helpcontent2/source/text/scalc/guide/rename_table.xhp new file mode 100644 index 000000000..dd03da71e --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/rename_table.xhp @@ -0,0 +1,91 @@ + + + + + + + Renaming Sheets + /text/scalc/guide/rename_table.xhp + + + +renaming;sheets + sheet tabs;renaming + tables;renaming + names; sheets + +

Renaming Sheets +

+Setting sheet names is an important feature to produce readable and understandable spreadsheets documents. +The name of a sheet is independent of the name of the spreadsheet. You enter the spreadsheet name when you save it for the first time as a file. +To rename a sheet in your document: + + + Double-click the sheet tab or open its context menu and choose Rename Sheet. A dialog box appears where you can enter a new name. + + + Enter a new name for the sheet and click OK. + + + Alternatively, hold down the Option key +Alt key and click on any sheet name and enter the new name directly. + + +The document can contain up to 10,000 individual sheets, which must have different names. +

Sheet Naming Restrictions

+ Sheet names can contain almost any character. Some naming restrictions apply, the following characters are not allowed in sheet names: + + + colon : + + + back slash \ + + + forward slash / + + + question mark ? + + + asterisk * + + + left square bracket [ + + + right square bracket ] + + + single quote ' as the first or last character of the name + + +The single quote is Unicode U+0027, also known as apostrophe. Other single-quote characters, similar to apostrophe, are allowed, such as ʼ and . +

Using a Default Prefix for Sheet Names

+ You can set a prefix for the names of new sheets you create. Choose %PRODUCTNAME - PreferencesTools - Options - %PRODUCTNAME Calc - Defaults and enter the prefix name in Prefix name for new worksheet. +

Referencing Sheet Names with Special Characters

+ In cell references, a sheet name must be enclosed in single quotes ' when the name contains other characters than alphanumeric or underscore. A single quote contained within a name has to be escaped by doubling it (two single quotes). + For example, you want to reference the cell A1 on a sheet named This year's sheet. + + The reference must be enclosed in single quotes, and the one single quote inside the name must be doubled: 'This year''s sheet'.A1 +
+ +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/rounding_numbers.xhp b/helpcontent2/source/text/scalc/guide/rounding_numbers.xhp new file mode 100644 index 000000000..b9ebc4ac7 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/rounding_numbers.xhp @@ -0,0 +1,84 @@ + + + + + + + + +Using Rounded Off Numbers +/text/scalc/guide/rounding_numbers.xhp + + +Sun Microsystems, Inc. + + + +numbers; rounded off +rounded off numbers +exact numbers in $[officename] Calc +decimal places; showing +changing;number of decimal places +values;rounded in calculations +calculating;rounded off values +numbers; decimal places +precision as shown +rounding precision +spreadsheets; values as shown +mw reduced "tables in spreadsheets;" to "tables;" + +Using Rounded Off Numbers + +In $[officename] Calc, all decimal numbers are displayed rounded off to two decimal places. +To change this for selected cells + + +Mark all the cells you want to modify. + + +Choose Format - Cells and go to the Numbers tab page. + + +In the Category field, select Number. Under Options, change the number of Decimal places and exit the dialog with OK. + + +To change this everywhere + + +Choose %PRODUCTNAME - PreferencesTools - Options - %PRODUCTNAME Calc. + + +Go to the Calculate page. Modify the number of Decimal places and exit the dialog with OK. + + +To calculate with the rounded off numbers instead of the internal exact values + + +Choose %PRODUCTNAME - PreferencesTools - Options - %PRODUCTNAME Calc. + + +Go to the Calculate page. Mark the Precision as shown field and exit the dialog with OK. + + +
+Numbers +Calculate +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/row_height.xhp b/helpcontent2/source/text/scalc/guide/row_height.xhp new file mode 100644 index 000000000..0275f52dc --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/row_height.xhp @@ -0,0 +1,73 @@ + + + + + + + + +Changing Row Height or Column Width +/text/scalc/guide/row_height.xhp + + +Sun Microsystems, Inc. + + + +heights of cells +cell heights +cell widths +cells; heights and widths +widths of cells +column widths +rows; heights +columns; widths +changing;row heights/column widths + +Changing Row Height or Column Width + +You can change the height of the rows with the mouse or through the dialog. +What is described here for rows and row height applies accordingly for columns and column width. +Using the mouse to change the row height or column width + + +Click the area of the headers on the separator below the current row, keep the mouse button pressed and drag up or down in order to change the row height. + + +Select the optimal row height by double-clicking the separator below the row. + + +Using the dialog to change the row height or column width + + +Click the row so that you achieve the focus. + + +Start the context menu on the header at the left-hand side. +You will see the commands Row Height and Optimal row height. Choosing either opens a dialog. + + +
+Row height +Optimal row height +Column width +Optimal column width +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/scenario.xhp b/helpcontent2/source/text/scalc/guide/scenario.xhp new file mode 100644 index 000000000..a6cdd2979 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/scenario.xhp @@ -0,0 +1,85 @@ + + + + + + + + + + +Using Scenarios +/text/scalc/guide/scenario.xhp + + + +scenarios; creating/editing/deleting +opening;scenarios +selecting;scenarios in Navigator +UFI: removed "sample" from index term: no sample in OOoMW changed "scenarios;"Using Scenarios + +A $[officename] Calc scenario is a set of cell values that can be used within your calculations. You assign a name to every scenario on your sheet. Define several scenarios on the same sheet, each with some different values in the cells. Then you can easily switch the sets of cell values by their name and immediately observe the results. Scenarios are a tool to test out "what-if" questions. +Creating Your Own Scenarios +To create a scenario, select all the cells that provide the data for the scenario. + + +Select the cells that contain the values that will change between scenarios. To select multiple cells, hold down the CommandCtrl key as you click each cell. + + +Choose Tools - Scenarios. The Create Scenario dialog appears. + + +Enter a name for the new scenario and leave the other fields unchanged with their default values. Close the dialog with OK. Your new scenario is automatically activated. + + +Using Scenariosremoved "commercial" switched contentsScenarios can be selected in the Navigator: + + +Open the Navigator with the Navigator icon +Navigator icon + on the Standard bar. + + +Click the Scenarios icon +Scenarios icon + in the Navigator. + + +In the Navigator, you see the defined scenarios with the comments that were entered when the scenarios were created. + + +Double-click a scenario name in the Navigator to apply that scenario to the current sheet. + + +To delete a scenario, right-click the name in the Navigator and choose Delete. + + +To edit a scenario, right-click the name in the Navigator and choose Properties. + + +To hide the border of a set of cells that are part of a scenario, open the Properties dialog for each scenario that affects the cells and clear the Display border checkbox. Hiding the border also removes the listbox on the sheet where you can choose the scenarios. + + +If you want to know which values in the scenario affect other values, choose Tools - Detective - Trace Dependents. You see arrows to the cells that are directly dependent on the current cell. +
+Creating Scenarios + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/sorted_list.xhp b/helpcontent2/source/text/scalc/guide/sorted_list.xhp new file mode 100644 index 000000000..26a27df95 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/sorted_list.xhp @@ -0,0 +1,58 @@ + + + + + + + + + + +Applying Sort Lists +/text/scalc/guide/sorted_list.xhp + + + + + + +filling;customized lists +sort lists;applying +defining;sort lists +geometric lists +arithmetic lists +series;sort lists +lists; user-defined +customized lists + + mw deleted "applying;" + Applying Sort Lists + + Sort lists allow you to type one piece of information in a cell, then drag it to fill in a consecutive list of items. + For example, enter the text "Jan" or "January" in an empty cell. Select the cell and click the mouse on the lower right corner of the cell border. Then drag the selected cell a few cells to the right or downwards. When you release the mouse button, the highlighted cells will be filled with the names of the months. + Hold down CommandCtrl if you do not want to fill the cells with different values. + The predefined series can be found under %PRODUCTNAME - PreferencesTools - Options - %PRODUCTNAME Calc - Sort Lists. You can also create your own lists of text strings tailored to your needs, such as a list of your company's branch offices. When you use the information in these lists later (for example, as headings), just enter the first name in the list and expand the entry by dragging it with your mouse. +
+ + + Sort lists + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/specialfilter.xhp b/helpcontent2/source/text/scalc/guide/specialfilter.xhp new file mode 100644 index 000000000..e20621436 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/specialfilter.xhp @@ -0,0 +1,223 @@ + + + + + + + + Applying Advanced Filters + /text/scalc/guide/specialfilter.xhp + + + + +filters;defining advanced filters +advanced filters +defining; advanced filters +database ranges; advanced filters + +MW made "applying;advanced filters" a one level entry +
+

Applying Advanced Filters +

+ + + Copy the column headers of the sheet ranges to be filtered into an empty area of the sheet, and then enter the criteria for the filter in a row beneath the headers. Horizontally arranged data in a row will always be logically connected with AND, and vertically arranged data in a column will always be logically connected with OR. + + + Once you have created a filter matrix, select the sheet ranges to be filtered. Open the Advanced Filter dialog by choosing Data - More Filters - Advanced Filter, and define the filter conditions. + + + Then click OK, and you will see that only the rows from the original sheet whose contents have met the search criteria are still visible. All other rows are temporarily hidden and can be made to reappear with the Format - Rows - Show command. + + +

Example

+ Load a spreadsheet with a large number of records. We are using a fictional Turnover document, but you can just as easily use any other document. The document has the following layout: + + + + + A + + + B + + + C + + + D + + + E + + + + + 1 + + + Month + + + Standard + + + Business + + + Luxury + + + Suite + + + + + 2 + + + January + + + 125600 + + + 200500 + + + 240000 + + + 170000 + + + + + 3 + + + February + + + 160000 + + + 180300 + + + 362000 + + + 220000 + + + + + 4 + + + March + + + 170000 + + + + + and so on... + + +
+ Copy row 1 with the row headers (field names), to row 20, for example. Enter the filter conditions linked with OR in rows 21, 22, and so on. + + + + + A + + + B + + + C + + + D + + + E + + + + + 20 + + + Month + + + Standard + + + Business + + + Luxury + + + Suite + + + + + 21 + + + January + + + + + + + + + 22 + + + + <160000 + + + + + +
+ Specify that only rows which either have the value January in the Month cells OR a value of under 160000 in the Standardstandard not default, look at U59!!! cells will be displayed. + Choose Data - More Filters - Advanced Filter, and then select the range A20:E22. After you click OK, only the filtered rows will be displayed. The other rows will be hidden from view. +
+ +
+ + + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/subtotaltool.xhp b/helpcontent2/source/text/scalc/guide/subtotaltool.xhp new file mode 100644 index 000000000..3ec316002 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/subtotaltool.xhp @@ -0,0 +1,66 @@ + + + + + + + Using Subtotals Tool + /text/scalc/guide/subtotaltool.xhp + + + + + subtotals;using subtotals tool + +
+

Using Subtotal Tool

+ Calc offers the Subtotals tool as a more comprehensive alternative to the SUBTOTAL function. In contrast to SUBTOTAL, which only works on a single array, the Subtotals tool can create subtotals for up to three arrays arranged in labeled columns. It also groups subtotals by category and sorts them automatically, thereby eliminating the need to apply AutoFilters and filter categories by hand. +
+
+ +
+

Using the Subtotals tool

+To insert subtotal values into a worksheet: + + + Select the cell range for the subtotals that you want to calculate, and remember to include the column heading labels. Alternatively, click on a single cell within your data to allow Calc to automatically identify the range. + + + Choose Data - Subtotals to open the Subtotals dialog. + + + In the Group by drop-down list on the First Group page, select a column by its label. Entries in the cell range from step 1 will be grouped and sorted by matching values in this column. + + + In the Calculate subtotals for box on the First Group page, select a column containing values to be subtotaled. If you later change values in this column, Calc will automatically recalculate the subtotals. + + + In the Use function box on the First Group page, select a function to calculate the subtotals for the column selected in step 4. + + + Repeat steps 4 and 5 to create subtotals for other columns on the First Group page. + + + You can create two more subtotal categories by using the Second Group and Third Group pages and repeating steps 3 to 6. If you do not want to add more groups, then leave the Group by list for each page set to “- none -”. + + + Click OK. Calc will add subtotal and grand total rows to your cell range. + + +

Subtotal outline

+ +When you use the Subtotals tool, Calc inserts an outline to the left of the row number column. This outline represents the hierarchical structure of your subtotals, and can be used to hide or show data at different levels in the hierarchy using the numbered column indicators at the top of the outline or the group indicators, denoted by plus (+) and minus (-) signs. +This feature is useful if you have many subtotals, as you can simply hide low-level details, such as individual entries, to produce a high-level summary of your data. +To turn off outlines, choose Data - Group and Outline - Remove Outline. To reinstate them, choose Data - Group and Outline - AutoOutline. +
+ +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/super_subscript.xhp b/helpcontent2/source/text/scalc/guide/super_subscript.xhp new file mode 100644 index 000000000..d70047639 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/super_subscript.xhp @@ -0,0 +1,60 @@ + + + + + + + + +Text Superscript / Subscript +/text/scalc/guide/super_subscript.xhp + + +Sun Microsystems, Inc. + + + +superscript text in cells +subscript text in cells +cells; text super/sub +characters;superscript/subscript + +Text Superscript / Subscript + + + +In the cell, select the character that you want to put in superscript or subscript. +If, for example, you want to write H20 with a subscript 2, select the 2 in the cell (not in the input line). + + +Open the context menu for the selected character and choose Character. You will see the Character dialog. + + +Click the Font Position tab. + + +Select the Subscript option and click OK. + + +
+Context menu - Character - Font Position + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/table_cellmerge.xhp b/helpcontent2/source/text/scalc/guide/table_cellmerge.xhp new file mode 100644 index 000000000..fe16ebb63 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/table_cellmerge.xhp @@ -0,0 +1,70 @@ + + + + + + + Merge and Unmerge Cells + /text/scalc/guide/table_cellmerge.xhp + + + + + merge/merging cells + unmerge/unmerging cells + split/splitting cells + +
+ Merge and Unmerge Cells + You can select a range of cells, then merge them into a single cell. Conversely, you can take a previously merged cell and divide it back into individual cells. +
+ When you copy cells into a target range containing merged cells, the target range gets unmerged first, then the copied cells are pasted in. If the copied cells are merged cells, they retain their merge state. + Merge Cells + + +
+ Click and drag to select the cells to be merged then do one of the following: + In the Formatting toolbar click: + + Or, right click the selection to open the context menu and choose Merge Cells.
If Unmerge Cells is present instead then the cell selection contains merged cells and cannot be merged further.
+ Or, in the Properties sidebar mark the Merge Cells checkbox. + Or, choose Format - Merge and Unmerge Cells - Merge Cells + Or, choose Format - Merge and Unmerge Cells - Merge and Center Cells + The cells will be merged and the content will be centered in the merged cell. +
+ + Unmerge Cells +
+ Select the cell to be unmerged, or a selection that includes the cells to be unmerged then do one of the following: + In the Formatting toolbar, click: + + Or, right click the selection to open the context menu and choose Unmerge Cells.
If Merge Cells is present instead then the selection does not contain any merged cells.
+ Or, in the Properties sidebar clear the Merge Cells checkbox. + Or, choose Format - Merge and Unmerge Cells - Unmerge Cells. + Or, toggle Format - Merge and Unmerge Cells - Merge and Center Cells +
+ +
+ + + + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/table_rotate.xhp b/helpcontent2/source/text/scalc/guide/table_rotate.xhp new file mode 100644 index 000000000..2593105f7 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/table_rotate.xhp @@ -0,0 +1,67 @@ + + + + + + + + +Rotating Tables (Transposing) +/text/scalc/guide/table_rotate.xhp + + +Sun Microsystems, Inc. + + + +tables; transposing +transposing tables +inverting tables +swapping tables +columns; swap with rows +rows; swapping with columns +tables; rotating +rotating; tables + +Rotating Tables (Transposing) + +In $[officename] Calc, there is a way to "rotate" a spreadsheet so that rows become columns and columns become rows. + + +Select the cell range that you want to transpose. + + +Choose Edit - Cut. + + +Click the cell that is to be the top left cell in the result. + + +Choose Edit - Paste Special. + + +In the dialog, mark Paste all and Transpose. +If you now click OK the columns and rows are transposed. + + +
+Paste Special +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/table_view.xhp b/helpcontent2/source/text/scalc/guide/table_view.xhp new file mode 100644 index 000000000..b36cee5f5 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/table_view.xhp @@ -0,0 +1,59 @@ + + + + + + + + +Changing Table Views +/text/scalc/guide/table_view.xhp + + +Sun Microsystems, Inc. + + + +row headers; hiding +column headers; hiding +tables; views +views; tables +grids;hiding lines in sheets +hiding;headers/grid lines +changing;table views + +Changing Table Views + +To hide column and line headers in a table: + + +Under the menu item %PRODUCTNAME - PreferencesTools - Options - %PRODUCTNAME Calc, go to the View tab page. Unmark Column/row headers. Confirm with OK. + + +To hide grid lines: + + +Under the menu item %PRODUCTNAME - PreferencesTools - Options - %PRODUCTNAME Calc, go to the View tab page. Choose Hide in the Grid lines dropdown. Confirm with OK. + + +
+ +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/text_numbers.xhp b/helpcontent2/source/text/scalc/guide/text_numbers.xhp new file mode 100644 index 000000000..139ae3469 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/text_numbers.xhp @@ -0,0 +1,50 @@ + + + + + + + + + Formatting Numbers as Text + /text/scalc/guide/text_numbers.xhp + + + +numbers;entering as text + text formats; for numbers + formats; numbers as text + cell formats; text/numbers + formatting;numbers as text +mw deleted "numbers; entering without..." and changed "numbers;as text" +Formatting Numbers as Text + +
+ You can format numbers as text in $[officename] Calc. Open the context menu of a cell or range of cells and choose Format Cells - Numbers, then select "Text" from the Category list. Any numbers subsequently entered into the formatted range are interpreted as text. The display of these "numbers" is left-justified, just as with other text. + If you have already entered normal numbers in cells and have afterwards changed the format of the cells to "Text", the numbers will remain normal numbers. They will not be converted. Only numbers entered afterwards, or numbers which are then edited, will become text numbers. + If you decide to enter a number directly as text, enter an apostrophe (') first. For example, for years in column headings, you can enter '1999, '2000 and '2001. The apostrophe is not visible in the cell, it only indicates that the entry is to be recognized as a text. This is useful if, for example, you enter a telephone number or postal code that begins with a zero (0), because a zero (0) at the start of a sequence of digits is removed in normal number formats. +
+
+ + + Format - Cells - Numbers + +
+ +
\ No newline at end of file diff --git a/helpcontent2/source/text/scalc/guide/text_rotate.xhp b/helpcontent2/source/text/scalc/guide/text_rotate.xhp new file mode 100644 index 000000000..2c8b1bbaa --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/text_rotate.xhp @@ -0,0 +1,55 @@ + + + + + + + + + Rotating Text + /text/scalc/guide/text_rotate.xhp + + + +cells; rotating text + rotating; text in cells + text in cells; writing vertically + +Rotating Text + + + + Select the cells whose text you want to rotate. + + + Choose Format - Cells. You will see the Format Cells dialog. + + + Click the Alignment tab. + + + In the Text orientation area use the mouse to select in the preview wheel the direction in which the text is to be rotated. Click OK. + + removed a wrong para, i104207 +
+ Format - Cells + Format - Cells - Alignment +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/text_wrap.xhp b/helpcontent2/source/text/scalc/guide/text_wrap.xhp new file mode 100644 index 000000000..2bc0603e7 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/text_wrap.xhp @@ -0,0 +1,56 @@ + + + + + + + + +Writing Multi-line Text +/text/scalc/guide/text_wrap.xhp + + + +text in cells; multi-line +cells; text breaks +breaks in cells +multi-line text in cells + +

Writing Multi-line Text +

+
+Pressing the CommandCtrl+Enter keys inserts a manual line break. This shortcut works directly in the cell or in the input line. The input line can be expanded to the multi-line by the Down arrow button on the right. +If you want the text to automatically break at the right border of the cell, proceed as follows: + + +Select all the cells where you want the text to break at the right border. + + + In Format - Cells - Alignment, mark the Wrap text automatically option and click OK. + + +
+For automatic wrapping in XLS files, the rows in question should be set to Optimal Height. +
+
+
+Format - Cells +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/userdefined_function.xhp b/helpcontent2/source/text/scalc/guide/userdefined_function.xhp new file mode 100644 index 000000000..80d4f2525 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/userdefined_function.xhp @@ -0,0 +1,120 @@ + + + + + + +User-Defined Functions +/text/scalc/guide/userdefined_function.xhp + + +Sun Microsystems, Inc. + + + +functions; user-defined +user-defined functions +Basic IDE for user-defined functions +IDE; Basic IDE +programming;functions + +

User-Defined Functions +

+You can apply user-defined functions in $[officename] Calc in the following ways: + + +You can define your own functions using the Basic-IDE. This method requires a basic knowledge of programming. + + +You can program functions as add-ins. This method requires an advanced knowledge of programming. + + +

Defining A Function Using %PRODUCTNAME Basic

+ + + Choose Tools - Macros - Edit Macros. + + +You will now see the Basic IDE. + + +In the Object Catalog window, double-click on the module where you want to store your macro. + + +Enter the function code. In this example, we define a VOL(a; b; c) function that calculates the volume of a rectangular solid with side lengths a, b and c: + + + + Function VOL(a, b, c) + VOL = a*b*c + End Function + + + +Close the Basic-IDE window. +Your function is automatically saved in the selected module and is now available. If you apply the function in a Calc document that is to be used on another computer, you can copy the function to the Calc document as described in the next section. + + +

Copying a Function To a Document

+In stage 2 of "Defining A Function Using %PRODUCTNAME Basic", in the Macro dialog you clicked on Edit . As the default, in the Macro from field the My Macros - Standard - Module1 module is selected. The Standard library resides locally in your user directory. +If you want to copy the user-defined function to a Calc document: + + + Choose Tools - Macros - Organize Macros - Basic. + + +In the Macro from field select My Macros - Standard - Module1 and click Edit. + + +In the Basic-IDE, select the source of your user-defined function and copy it to the clipboard. + + +Close the Basic-IDE. + + +Choose Tools - Macros - Organize Macros - Basic . + + +In the Macro from field select (Name of the Calc document) - Standard - Module1. Click Edit. + + +Paste the clipboard contents in the Basic-IDE of the document. + + +

Applying a User-defined Function in $[officename] Calc

+Once you have defined the function VOL(a; b; c) in the Basic-IDE, you can apply it the same way as the built-in functions of $[officename] Calc. + + +Open a Calc document and enter numbers for the function parameters a, b and c in cells A1, B1, and C1. + + +Set the cursor in another cell and enter the following: +=VOL(A1;B1;C1) + + +The function is evaluated and you will see the result in the selected cell. + + +
+ + + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/validity.xhp b/helpcontent2/source/text/scalc/guide/validity.xhp new file mode 100644 index 000000000..76d5eb8ec --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/validity.xhp @@ -0,0 +1,93 @@ + + + + + + + + + +Validity of Cell Contents +/text/scalc/guide/validity.xhp + + +Sun Microsystems, Inc. + + + +values; limiting on input +limits; specifying value limits on input +permitted cell contents +data validity +validity +cells; validity +error messages; defining for incorrect input +actions in case of incorrect input +Help tips; defining text for cell input +comments;help text for cells +cells; defining input help +macros; running when incorrect input +data; validity check +mw changed "limit...;" +Validity of Cell Contents + +For each cell, you can define entries to be valid. Invalid entries to a cell will be rejected. +The validity rule is activated when a new value is entered. If an invalid value has already been inserted into the cell, or if you insert a value in the cell either with drag-and-drop or by copying and pasting, the validity rule will not take effect. +You can choose Tools - Detective at any time and choose the command Mark Invalid Data to display which cells contain invalid values. +Using Cell Contents Validity + + +Select the cells for which you want to define a new validity rule. + + +Choose Data - Validity. + + +On the Criteria tab page, enter the conditions for new values entered into cells. + + +In the Allow field, select an option. + + +If you select "Whole Numbers", values such as "12.5" are not allowed. Choosing "Date" allows date information both in the local date format as well as in the form of a serial date. Similarly, the "Time" condition permits time values such as "12:00" or serial time numbers. "Text Length" stipulates that cells are allowed to contain text only. +Select "List" to enter a list of valid entries. + + +Select the next condition under Data. According to what you choose, additional options will be selectable. + + +After you have determined the conditions for cell validity, you can use the other two tab pages to create message boxes: + + +On the Input Help tab page, enter the title and the text of the tip, which will then be displayed if the cell is selected. + + +On the Error Alert tab page, select the action to be carried out in the event of an error. +If you select "Stop" as the action, invalid entries are not accepted, and the previous cell contents are retained. +Select "Warning" or "Information" to display a dialog in which the entry can either be canceled or accepted. +If you select "Macro", then by using the Browse button you can specify a macro to be run in the event of an error. + + +To display the error message, select Show error message when invalid values are entered. +After changing the action for a cell on the Error Alert tab page and closing the dialog with OK, you must first select another cell before the change takes effect. +
+Data - Validity +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/value_with_name.xhp b/helpcontent2/source/text/scalc/guide/value_with_name.xhp new file mode 100644 index 000000000..5a82195f7 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/value_with_name.xhp @@ -0,0 +1,92 @@ + + + + + + + + + Naming Cells + /text/scalc/guide/value_with_name.xhp + + + +cells; defining names + names; defining for cells + values; defining names + constants definition + variables; defining names + cell ranges; defining names + defining;names for cell ranges + formulas; defining names + addressing; by defined names + cell names; defining/addressing + references; by defined names + allowed cell names + renaming;cells +mw changed "names;...", "addressing;..." and "references,..." entries.mw added "renaming;" +Naming Cells + + Allowed names + Names in Calc can contain letters, numeric characters, and some special characters. Names must start with a letter or an underline character. + Allowed special characters: + + + underline (_) + + + period (.) - allowed within a name, but not as first or last character + + + blank ( ) - allowed within a name, but not as first or last character, and not for a cell range + + + Names must not be the same as cell references. For example, the name A1 is invalid because A1 is a cell reference to the top left cell. + Names must not start with the letters C or R followed by a number; also single characters C and R are not allowed as names. See the ADDRESS function for more information. + Names for cell ranges must not include blanks. Blanks are allowed within names for single cells, sheets and documents. + Naming cells and formulas + A good way of making the references to cells and cell ranges in formulas legible is to give the ranges names. For example, you can name the range A1:B2 Start. You can then write a formula such as "=SUM(Start)". Even after you insert or delete rows or columns, $[officename] still correctly assigns the ranges identified by name. Range names must not contain any spaces. + For example, it is much easier to read a formula for sales tax if you can write "= Amount * Tax_rate" instead of "= A5 * B12". In this case, you would name cell A5 "Amount" and cell B12 "Tax_rate." + Use the Define Names dialog to define names for formulas or parts of formulas you need more often. In order to specify range names, + + + Select a cell or range of cells, then choose Sheet - Named Ranges and Expressions - Define. The Define Names dialog appears. + + + Type the name of the selected area in the Name field. Click Add. The newly defined name appears in the list below. Click OK to close the dialog. + + + You can also name other cell ranges in this dialog by entering the name in the field and then selecting the respective cells. + If you type the name in a formula, after the first few characters entered you will see the entire name as a tip. + + + Press the Enter key in order to accept the name from the tip. + + + If more than one name starts with the same characters, you can scroll forward through all the names using the CommandCtrl + Tab keys and backward using the Shift + CommandCtrl + Tab keys.mw copied contents from Calc guide address_byname.xhp + + +
+ Sheet - Named Ranges and Expressions - Define + + + mw deleted one EMBED paragraph and copied two EMBED paragraphs from Calc guide address_byname.xhp +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/webquery.xhp b/helpcontent2/source/text/scalc/guide/webquery.xhp new file mode 100644 index 000000000..c98461be3 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/webquery.xhp @@ -0,0 +1,107 @@ + + + + + + + + + + +Inserting External Data in Table (WebQuery) +/text/scalc/guide/webquery.xhp + + + +HTML WebQuery +ranges; inserting in tables +external data; inserting +tables; inserting external data +web pages; importing data +WebQuery filter +inserting; external data +data sources; external data +UFI: removed "external data;WebQuery" because both index entries "external data" led to this page. +Inserting External Data in Table (WebQuery) + +With the help of the Web Page Query ($[officename] Calc) import filter, you can insert tables from HTML documents in a Calc spreadsheet. +You can use the same method to insert ranges defined by name from a Calc or Microsoft Excel spreadsheet. +The following insert methods are available: +Inserting by Dialog + + +Set the cell cursor at the cell where the new content will be inserted. + + +Choose Sheet - External Links. This opens the External Data dialog. + + +Enter the URL of the HTML document or the name of the spreadsheet. Press Enter when finished. Click the Browse button to open a file selection dialog.only after Enter the URL will be requested from the net. + + +In the large list box of the dialog, select the named ranges or tables you want to insert. + + +You can also specify that the ranges or tables are updated every n seconds. + + +The import filter can create names for cell ranges on the fly. As much formatting as possible is retained, while the filter intentionally does not load any images. +Inserting by Navigator + + +Open two documents: the $[officename] Calc spreadsheet in which the external data is to be inserted (target document) and the document from which the external data derives (source document). + + +In the target document open the Navigator. + + +In the lower combo box of the Navigator select the source document. The Navigator now shows the range names and database ranges or the tables contained in the source document. + + +In the Navigator select the Insert as link drag mode +Icon + . + + +Drag the desired external data from the Navigator into the target document. + + +If you have loaded an HTML document with the Web Page Query filter as the source document, you will find the tables in the Navigator, named continuously from "HTML_table1" onwards, and also two range names that have been created: + + + +HTML_all - designates the entire document + + + +HTML_tables - designates all HTML tables in the document + + +Editing the external data + + +Open Edit - Links. Here you can edit the link to the external data. + + +
+External data dialog + +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/wildcards.xhp b/helpcontent2/source/text/scalc/guide/wildcards.xhp new file mode 100644 index 000000000..6f8c46fe4 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/wildcards.xhp @@ -0,0 +1,93 @@ + + + + + + + Using Wildcards in Formulas + /text/scalc/guide/wildcards.xhp + + + + + + wildcards in formulas + wildcards;examples + +

Using Wildcards in Formulas

+ Wildcards are special characters that can be used in search strings that are passed as arguments to some Calc functions. They can also be used to define search criteria in the Find & Replace dialog. The use of wildcards enables the definition of more advanced search parameters with a single search string. + %PRODUCTNAME Calc supports either wildcards or regular expressions as arguments depending on the current application settings. By default %PRODUCTNAME Calc is set to support wildcards instead of regular expressions. + To make sure wildcards are supported, go to %PRODUCTNAME - Preferences - %PRODUCTNAME Calc - CalculateTools - Options - %PRODUCTNAME Calc - Calculate and check if the option Enable wildcards in formulas is selected. Note that you can use this dialog to switch to regular expressions by choosing Enable regular expressions in formulas or choose to support neither wildcards nor regular expressions. + The following wildcards are supported: + + + + Wildcard + + + Description + + + + + ? (question mark) + + + Matches any single character. For example, the search string "b?g" matches “bag” and “beg” but will not match "boog" or "mug". + Note that it will not match "bg" as well, since "?" must match exactly one character. The "?" wildcard does not correspond to a zero-character match. + + + + + * (asterisk) + + + Matches any sequence of characters, including an empty string. For example, the search string "*cast" will match “cast”, “forecast”, and “outcast”, but will not match "forecaster" using default %PRODUCTNAME settings. + If the option Search criteria = and <> must apply to whole cells is disabled in %PRODUCTNAME - Preferences - %PRODUCTNAME Calc - CalculateTools - Options - %PRODUCTNAME Calc - Calculate, then "forecaster" will be a match using the "*cast" search string. + + + + + ~ (tilde) + + + Escapes the special meaning of a question mark, asterisk, or tilde character that follows immediately after the tilde character. + For example, the search string "why~?" matches “why?” but will not match "whys" nor "why~s". + + +
+ Wildcards are supported in %PRODUCTNAME Calc and in Microsoft Excel. Therefore, if interoperability between both applications is needed, choose to work with wildcards instead of regular expressions. Conversely, if interoperability is not necessary, consider using regular expressions for more powerful search capabilities. +

Supported Spreadsheet Functions

+ Wildcards are supported by the following spreadsheet functions: + + + Database functions: DAVERAGE, DCOUNT, DCOUNTA, DGET, DMAX, DMIN, DPRODUCT, DSTDEV, DSTDEVP, DSUM, DVAR and DVARP. + + + Conditional functions: AVERAGEIF, AVERAGEIFS, COUNTIF, COUNTIFS, MAXIFS, MINIFS, SUMIF and SUMIFS. + + + Lookup functions: HLOOKUP, LOOKUP and VLOOKUP. + + + Other functions: MATCH and SEARCH. + + +

Examples of Wildcards in Formulas

+ The following examples consider that the options Enable wildcards in formulas and Search criteria = and <> must apply to whole cells are enabled in %PRODUCTNAME - Preferences - %PRODUCTNAME Calc - CalculateTools - Options - %PRODUCTNAME Calc - Calculate. + =COUNTIF(A1:A10;"Chi*") counts the number of cells in the range A1:A10 containing strings that start with "Chi" followed by zero or more characters. + =SUMIF(A1:A5;"A??";B1:B5) sums the values in B1:B5 whose corresponding values in A1:A5 start with "A" followed by exactly two other characters. + Wildcard comparisons are not case sensitive, hence "A?" will match both "A1" and "a1". + +
+ +
+ +
diff --git a/helpcontent2/source/text/scalc/guide/year2000.xhp b/helpcontent2/source/text/scalc/guide/year2000.xhp new file mode 100644 index 000000000..8ff336c55 --- /dev/null +++ b/helpcontent2/source/text/scalc/guide/year2000.xhp @@ -0,0 +1,51 @@ + + + + + + + + +19xx/20xx Years +/text/scalc/guide/year2000.xhp + + +Sun Microsystems, Inc. + + + +years; 2-digits +dates; 19xx/20xx + +19xx/20xx Years + +
+The year in a date entry is often entered as two digits. Internally, the year is managed by $[officename] as four digits, so that in the calculation of the difference from 1/1/99 to 1/1/01, the result will correctly be two years. + + +Under %PRODUCTNAME - PreferencesTools - Options - $[officename] - General you can define the century that is used when you enter a year with only two digits. The default is 1930 to 2029. + + +This means that if you enter a date of 1/1/30 or higher, it will be treated internally as 1/1/1930 or higher. All lower two-digit years apply to the 20xx century. So, for example, 1/1/20 is converted into 1/1/2020. +
+
+ +
+ +
-- cgit v1.2.3