diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
commit | ed5640d8b587fbcfed7dd7967f3de04b37a76f26 (patch) | |
tree | 7a5f7c6c9d02226d7471cb3cc8fbbf631b415303 /helpcontent2/source/text/scalc/guide | |
parent | Initial commit. (diff) | |
download | libreoffice-ed5640d8b587fbcfed7dd7967f3de04b37a76f26.tar.xz libreoffice-ed5640d8b587fbcfed7dd7967f3de04b37a76f26.zip |
Adding upstream version 4:7.4.7.upstream/4%7.4.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'helpcontent2/source/text/scalc/guide')
97 files changed, 7473 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . +--> + +<meta> + <topic id="textscalcguideaddress_autoxml" indexer="include" status="PUBLISH"> + <title id="tit" xml-lang="en-US">Recognizing Names as Addressing</title> + <filename>/text/scalc/guide/address_auto.xhp</filename> + </topic> +</meta> + +<body> + +<bookmark xml-lang="en-US" branch="index" id="bm_id3148797"> + <bookmark_value>automatic addressing in tables</bookmark_value> + <bookmark_value>natural language addressing</bookmark_value> + <bookmark_value>formulas; using row/column labels</bookmark_value> + <bookmark_value>text in cells; as addressing</bookmark_value> + <bookmark_value>addressing; automatic</bookmark_value> + <bookmark_value>name recognition on/off</bookmark_value> + <bookmark_value>row headers;using in formulas</bookmark_value> + <bookmark_value>column headers;using in formulas</bookmark_value> + <bookmark_value>columns; finding labels automatically</bookmark_value> + <bookmark_value>rows; finding labels automatically</bookmark_value> + <bookmark_value>recognizing; column and row labels</bookmark_value> +</bookmark> +<comment>mw changes "names;..." entry to "text in cells;..."</comment><comment>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.</comment> + +<paragraph id="hd_id3148797" role="heading" level="1" xml-lang="en-US"><variable id="address_auto"><link href="text/scalc/guide/address_auto.xhp" name="Recognizing Names as Addressing">Recognizing Names as Addressing</link></variable></paragraph> +<paragraph id="par_id3152597" role="paragraph" xml-lang="en-US">You can use cells with text to refer to the rows or to the columns that contain the cells.</paragraph><comment>removed table as a workaround for issue 108715</comment> +<paragraph id="par_id3156283" role="paragraph" xml-lang="en-US"><image id="img_id3154942" src="media/helpimg/names_as_addressing.png" width="5.408cm" height="2.212cm" localize="true"><alt xml-lang="en-US" id="alt_id3154942">Example spreadsheet</alt></image></paragraph> +<paragraph id="par_id3154512" role="paragraph" xml-lang="en-US">In the example spreadsheet, you can use the string <item type="literal">'Column One'</item> in a formula to refer to the cell range <item type="literal">B3</item> to <item type="literal">B5</item>, or <item type="literal">'Column Two'</item> for the cell range <item type="literal">C2</item> to <item type="literal">C5</item>. You can also use <item type="literal">'Row One'</item> for the cell range <item type="literal">B3</item> to <item type="literal">D3</item>, or <item type="literal">'Row Two'</item> for the cell range <item type="literal">B4</item> to <item type="literal">D4</item>. The result of a formula that uses a cell name, for example, <item type="literal">SUM('Column One')</item>, is 600.</paragraph> +<paragraph id="par_id3155443" role="paragraph" xml-lang="en-US">This function is active by default. To turn this function off, choose <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - %PRODUCTNAME Calc - Calculate</emph> and clear the <emph>Automatically find column and row labels</emph> check box.</paragraph> +<paragraph id="par_id3149210" role="tip" xml-lang="en-US">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, <item type="literal">'Harry\'s Bar'</item>.</paragraph> + +<section id="relatedtopics"><comment>mw changed reference to deleted Calc guide address_byname.xhp to refer to Calc guide value_with_name.xhp</comment><comment>UFI: changed embedvar links to embed links</comment> +<embed href="text/scalc/guide/value_with_name.xhp#value_with_name"/> +<embed href="text/scalc/01/04070400.xhp#define_label_range"/> +<embed href="text/scalc/guide/relativ_absolut_ref.xhp#relativ_absolut_ref"/> +</section> +</body> + +</helpdocument>
\ 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . +--> + +<meta> + <topic id="textscalcguideauto_offxml" indexer="include"> + <title id="tit" xml-lang="en-US">Deactivating Automatic Changes</title> + <filename>/text/scalc/guide/auto_off.xhp</filename> + </topic> +</meta> + +<body> + +<bookmark xml-lang="en-US" branch="index" id="bm_id3149456"> + <bookmark_value>deactivating; automatic changes</bookmark_value> + <bookmark_value>tables; deactivating automatic changes in</bookmark_value> + <bookmark_value>AutoInput function on/off</bookmark_value> + <bookmark_value>text in cells;AutoInput function</bookmark_value> + <bookmark_value>cells; AutoInput function of text</bookmark_value> + <bookmark_value>input support in spreadsheets</bookmark_value> + <bookmark_value>changing; input in cells</bookmark_value> + <bookmark_value>AutoCorrect function;cell contents</bookmark_value> + <bookmark_value>cell input;AutoInput function</bookmark_value> + <bookmark_value>lowercase letters;AutoInput function (in cells)</bookmark_value> + <bookmark_value>capital letters;AutoInput function (in cells)</bookmark_value> + <bookmark_value>date formats;avoiding conversion to</bookmark_value> + <bookmark_value>number completion on/off</bookmark_value> + <bookmark_value>text completion on/off</bookmark_value> + <bookmark_value>word completion on/off</bookmark_value> +</bookmark> +<comment>mw added one entry</comment> + +<paragraph id="hd_id3149456" role="heading" level="1" xml-lang="en-US"><variable id="auto_off"><link href="text/scalc/guide/auto_off.xhp" name="Deactivating Automatic Changes">Deactivating Automatic Changes</link> </variable></paragraph> +<paragraph id="par_id3156442" role="paragraph" xml-lang="en-US">By default, $[officename] automatically corrects many common typing errors and applies formatting while you type. You can immediately undo any automatic changes with <switchinline select="sys"><caseinline select="MAC">Command +</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Z.</paragraph> +<paragraph id="par_id3145273" role="paragraph" xml-lang="en-US">The following shows you how to deactivate and reactivate the automatic changes in $[officename] Calc:</paragraph> + +<paragraph id="hd_id3145748" role="heading" level="2" xml-lang="en-US">Automatic Text or Number Completion</paragraph> +<paragraph id="par_id3154730" role="paragraph" xml-lang="en-US">When making an entry in a cell, $[officename] Calc automatically suggests matching input found in the same column. This function is known as <emph>AutoInput</emph>.</paragraph> +<paragraph id="par_id3153878" role="paragraph" xml-lang="en-US">To turn the AutoInput on and off, set or remove the check mark in front of <link href="text/scalc/01/06130000.xhp" name="Tools - AutoInput"><emph>Tools - AutoInput</emph></link>.</paragraph> + +<paragraph id="hd_id3146972" role="heading" level="2" xml-lang="en-US">Automatic Conversion to Date Format</paragraph> +<paragraph id="par_id3153707" role="paragraph" xml-lang="en-US">$[officename] Calc automatically converts certain entries to dates. For example, the entry <emph>1.1</emph> 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.<comment>for sure 1.1 will not be interpreted as a date in the USofA !!</comment></paragraph> +<paragraph id="par_id3159267" role="paragraph" xml-lang="en-US">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.</paragraph> + +<paragraph id="hd_id3150043" role="heading" level="2" xml-lang="en-US">Quotation Marks Replaced by Custom Quotes</paragraph> +<paragraph id="par_id3155333" role="paragraph" xml-lang="en-US">Choose <emph>Tools - AutoCorrect - AutoCorrect Options</emph>. Go to the <emph>Localized Options</emph> tab and unmark <emph>Replace</emph>.</paragraph> + +<paragraph id="hd_id3149565" role="heading" level="2" xml-lang="en-US">Cell Content Always Begins With Uppercase</paragraph> +<paragraph id="par_id3147001" role="paragraph" xml-lang="en-US">Choose <item type="menuitem">Tools - AutoCorrect - AutoCorrect Options</item>. Go to the <item type="menuitem">Options</item> tab. Unmark <item type="menuitem">Capitalize first letter of every sentence</item>.</paragraph> + +<paragraph id="hd_id3150345" role="heading" level="2" xml-lang="en-US">Replace Word With Another Word</paragraph> +<paragraph id="par_id3166425" role="paragraph" xml-lang="en-US">Choose <item type="menuitem">Tools - AutoCorrect - AutoCorrect Options</item>. Go to the <item type="menuitem">Replace</item> tab. Select the word pair and click <item type="menuitem">Delete</item>.</paragraph> + +<section id="relatedtopics"> +<paragraph id="par_id3152992" role="paragraph" xml-lang="en-US"><link href="text/scalc/01/06130000.xhp" name="Tools - AutoInput">Tools - AutoInput</link></paragraph> +<paragraph id="par_id3154368" role="paragraph" xml-lang="en-US"><link href="text/shared/01/06040000.xhp" name="Tools - AutoCorrect">Tools - AutoCorrect - AutoCorrect Options</link></paragraph> +</section> +</body> + +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<meta> + <topic id="textscalcguideautofilterxml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Applying AutoFilter</title> + <filename>/text/scalc/guide/autofilter.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3156423"><bookmark_value>filters, see also AutoFilter function</bookmark_value> + <bookmark_value>AutoFilter function;applying</bookmark_value> + <bookmark_value>sheets; filter values</bookmark_value> + <bookmark_value>numbers; filter sheets</bookmark_value> + <bookmark_value>columns; AutoFilter function</bookmark_value> + <bookmark_value>drop-down menus in sheet columns</bookmark_value> + <bookmark_value>database ranges; AutoFilter function</bookmark_value> +</bookmark><comment>mw made "drop-down..." a one level entry and added a "see also" reference</comment> +<h1 id="hd_id3156423"><variable id="autofilter"><link href="text/scalc/guide/autofilter.xhp" name="Applying AutoFilter">Applying AutoFilter</link> +</variable></h1> + <paragraph xml-lang="en-US" id="par_id3147427" role="paragraph">The <emph>AutoFilter</emph> function inserts a combo box on one or more data columns that lets you select the records (rows) to be displayed.</paragraph> + <section id="autofiltertext"> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3152576" role="listitem">Select the columns you want to use AutoFilter on.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3153157" role="listitem">Choose <emph>Data - Filter - AutoFilter</emph>. The combo box arrows are visible in the first row of the range selected.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3154510" role="listitem">Run the filter by clicking the drop-down arrow in the column heading and choosing an item.</paragraph> + <paragraph xml-lang="en-US" id="par_id3155064" role="listitem">Only those rows whose contents meet the filter criteria are displayed. The other rows are filtered<comment>UFI: 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.</comment>. 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.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_id9216589" role="paragraph">When you apply an additional AutoFilter on another column of a filtered data range, then the other combo boxes list only the filtered data.</paragraph> + <paragraph xml-lang="en-US" id="par_id3153714" role="paragraph">To display all records again, select the <emph>all</emph> entry in the AutoFilter combo box. If you choose <emph>Standard</emph>, the <item type="menuitem">Standard Filter</item> dialog appears, allowing you to set up a standard filter. Choose "Top 10" to display the highest 10 values only. </paragraph> + <paragraph xml-lang="en-US" id="par_id3147340" role="paragraph">To stop using AutoFilter, reselect all cells selected in step 1 and once again choose <emph>Data - Filter - AutoFilter</emph>.</paragraph> + <section id="autofiltertip"> + <tip id="par_id4303415">To assign different AutoFilters to different sheets, you must first define a database range on each sheet.</tip> + </section> + <warning id="par_id3159236">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 <link href="text/scalc/01/04060106.xhp" name="SUBTOTAL">SUBTOTAL</link> function if only the cells visible after the application of a filter are to be taken into account.</warning> + </section> + <section id="relatedtopics"> + <embed href="text/scalc/01/12040100.xhp#autofilterh1"/> + <embed href="text/scalc/guide/filters.xhp#filters"/> + <embed href="text/scalc/guide/specialfilter.xhp#specialfilter"/> + <embed href="text/scalc/guide/cellcopy.xhp#cellcopy"/> + <paragraph xml-lang="en-US" id="par_id3152985" role="paragraph"><link href="text/scalc/01/12040100.xhp" name="Data - Filter - AutoFilter">Data - Filter - AutoFilter</link></paragraph> + <paragraph xml-lang="en-US" id="par_id3154484" role="paragraph"><link href="text/scalc/01/04060106.xhp" name="SUBTOTAL">SUBTOTAL</link></paragraph> + </section> + </body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<meta> + <topic id="textscalcguideautoformatxml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Using AutoFormat for Tables</title> + <filename>/text/scalc/guide/autoformat.xhp</filename> + </topic> +</meta> + +<body> + <bookmark xml-lang="en-US" branch="index" id="bm_id3155132"> + <bookmark_value>tables; AutoFormat</bookmark_value> + <bookmark_value>AutoFormat cell ranges</bookmark_value> + <bookmark_value>formats; automatically formatting spreadsheets</bookmark_value> + <bookmark_value>sheets;AutoFormat</bookmark_value> + </bookmark> + <h1 id="hd_id3155132"><variable id="autoformat"><link href="text/scalc/guide/autoformat.xhp" name="Using AutoFormat for Tables">Applying Automatic Formatting to a Selected Cell Range</link></variable></h1> + <paragraph xml-lang="en-US" id="par_id3149401" role="paragraph">Use the AutoFormat feature to quickly apply a format to a selected cell range.</paragraph> + <h2 id="par_idN10702">Applying an AutoFormat to a Selected Cell Range</h2> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_idN106CE" role="listitem">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.</paragraph> + </listitem> + <listitem> + <paragraph id="par_idN106D5" role="listitem">Go to <menuitem>Format - AutoFormat Styles</menuitem> to open the AutoFormat dialog.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id771630333791025" role="listitem">In the <emph>Format</emph> list choose the AutoFormat style to apply.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3151242" role="listitem">In the <emph>Formatting</emph> section choose which properties from the AutoFormat style to apply to the selected cell range.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN10715" role="listitem">Click <emph>OK</emph> to apply the AutoFormat style and close the dialog.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_id3149210" role="note">In case the color of the cell contents does not change, make sure <menuitem>View - Value Highlighting</menuitem> is disabled.</paragraph> + <bookmark xml-lang="en-US" branch="index" id="bm_id11630343392868"> + <bookmark_value>defining;AutoFormat styles</bookmark_value> + </bookmark> + <h2 id="hd_id731630343367098">Defining a new AutoFormat style</h2> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3152985" role="listitem">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.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3145384" role="listitem">Select the cell range formatted in the previous step and go to <menuitem>Format - AutoFormat Styles</menuitem>.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN107A9" role="listitem">Click <emph>Add</emph>.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN10760" role="listitem">In the <emph>Name</emph> box of the <emph>Add AutoFormat</emph> dialog, enter a name for the new AutoFormat style.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN107C3" role="listitem">Click <emph>OK</emph> and close the dialog.</paragraph> + </listitem> + </list> + <note id="par_id51630343134146">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.</note> + <section id="relatedtopics"> + <paragraph xml-lang="en-US" id="par_id3159203" role="paragraph"><link href="text/scalc/01/05110000.xhp" name="Format - AutoFormat">Format - AutoFormat Styles</link></paragraph> + </section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + + <!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + <meta> + <topic id="textscalcguidebackgroundxhp" indexer="include"> + <title xml-lang="en-US" id="tit">Defining Background Colors or Background Graphics</title> + <filename>/text/scalc/guide/background.xhp</filename> + </topic> + </meta> + <body> + <bookmark xml-lang="en-US" branch="index" id="bm_id3149346"> +<bookmark_value>spreadsheets; backgrounds</bookmark_value> +<bookmark_value>backgrounds;cell ranges</bookmark_value> +<bookmark_value>tables; backgrounds</bookmark_value> +<bookmark_value>cells; backgrounds</bookmark_value> +<bookmark_value>rows, see also cells</bookmark_value> +<bookmark_value>columns, see also cells</bookmark_value> + </bookmark> + <h1 id="hd_id3149346"><variable id="background"><link href="text/scalc/guide/background.xhp" name="Defining Background Colors or Background Graphics">Defining Background Colors or Background Graphics</link> + </variable></h1><comment>MW created this file from splitting shared/guide/background.xhp</comment> + <paragraph xml-lang="en-US" id="par_id9520249" role="paragraph">You can define a background color or use a graphic as a background for cell ranges in $[officename] Calc.</paragraph> + <h2 id="hd_id3144760">Applying a Background Color to a $[officename] Calc Spreadsheet</h2> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3155429" role="listitem">Select the cells.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3149260" role="listitem">Choose <emph>Format - Cells</emph> (or <emph>Format Cells</emph> from the context menu).</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3152938" role="listitem">On the <emph>Background</emph> tab page, select the background color.</paragraph> + </listitem> + </list> + <h2 id="hd_id3146974">Graphics in the Background of Cells</h2> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3155414" role="listitem">Choose <emph>Insert - Image - From File</emph>.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3149664" role="listitem">Select the graphic and click <emph>Open</emph>.</paragraph> + <paragraph xml-lang="en-US" id="par_id3153575" role="listitem">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 <menuitem>Arrange - To Background</menuitem> command to place this in the background. To select a graphic that has been placed in the background, use the <link href="text/scalc/01/02110000.xhp" name="Navigator">Navigator</link>.</paragraph> + </listitem> + </list> + <section id="relatedtopics"> + <paragraph xml-lang="en-US" id="par_id51576" role="paragraph"><link href="text/shared/guide/background.xhp">Watermarks</link></paragraph> + <paragraph xml-lang="en-US" id="par_id3156180" role="paragraph"><link href="text/shared/01/05210100.xhp" name="Background tab page"><emph>Background</emph> tab page</link></paragraph> + <paragraph xml-lang="en-US" id="par_id7601245" role="paragraph"><link href="text/scalc/guide/format_table.xhp">Formatting Spreadsheets</link></paragraph> + </section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<meta> + <topic id="textscalcguidebordersxhp" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">User Defined Borders in Cells </title> + <filename>/text/scalc/guide/borders.xhp</filename> + </topic> +</meta> + +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3457441"> + <bookmark_value>cells;borders</bookmark_value> + <bookmark_value>line arrangements with cells</bookmark_value> + <bookmark_value>borders;cells</bookmark_value> +</bookmark> +<paragraph xml-lang="en-US" id="hd_id4544816" role="heading" level="1"><variable id="borders"><link href="text/scalc/guide/borders.xhp">User Defined Borders in Cells</link> +</variable></paragraph> + <paragraph xml-lang="en-US" id="par_id2320017" role="paragraph">You can apply a variety of different lines to selected cells.</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id8055665" role="paragraph">Select the cell or a block of cells.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id9181188" role="paragraph">Choose <item type="menuitem">Format - Cells</item>.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id9947508" role="paragraph">In the dialog, click the <emph>Borders</emph> tab.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id7907956" role="paragraph">Choose the border options you want to apply and click OK.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_id1342204" role="paragraph">The options in the <emph>Line arrangement</emph> area can be used to apply multiple border styles.</paragraph> + <paragraph xml-lang="en-US" id="hd_id4454481" role="heading" level="2">Selection of cells</paragraph> + <paragraph xml-lang="en-US" id="par_id7251503" role="paragraph">Depending on the selection of cells, the area looks different.</paragraph> + <table id="tbl_id4423352"> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id8716696" role="tablehead">Selection</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id4677877" role="tablehead">Line arrangement area</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id807824" role="tablecontent">One cell</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id8473464" role="tablecontent"> +<image id="img_id1737113" src="media/helpimg/border_ca_1.png" width="1.2602in" height="1.5937in"><alt xml-lang="en-US" id="alt_id1737113">borders with one cell selected</alt> + </image></paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3509933" role="tablecontent">Cells in a column</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id6635639" role="tablecontent"> +<image id="img_id1680959" src="media/helpimg/border_ca_2.png" width="1.2602in" height="1.5937in"><alt xml-lang="en-US" id="alt_id1680959">borders with a column selected</alt> + </image></paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id8073366" role="tablecontent">Cells in a row</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id6054567" role="tablecontent"> +<image id="img_id9623096" src="media/helpimg/border_ca_3.png" width="1.2602in" height="1.5937in"><alt xml-lang="en-US" id="alt_id9623096">borders with a row selected</alt> + </image></paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id466322" role="tablecontent">Cells in a block of 2x2 or more</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id4511551" role="tablecontent"> +<image id="img_id8139591" src="media/helpimg/border_ca_4.png" width="1.2602in" height="1.5937in"><alt xml-lang="en-US" id="alt_id8139591">borders with a block selected</alt> + </image></paragraph> + </tablecell> + </tablerow> + </table> + <h2 id="hd_id7790154">Default Settings</h2> + <paragraph xml-lang="en-US" id="par_id2918485" role="paragraph">Click one of the <emph>Default</emph> icons to set or reset multiple borders.</paragraph> + <list type="unordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id1836909" role="listitem">The thin gray lines inside an icon show the borders that will be reset or cleared.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id5212561" role="listitem">The dark lines inside an icon show the lines that will be set using the selected line style and color.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id4818872" role="listitem">The thick gray lines inside an icon show the lines that will not be changed.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="hd_id8989226" role="heading" level="3">Examples</paragraph> + <paragraph xml-lang="en-US" id="par_id622577" role="paragraph">Select a block of about 8x8 cells, then choose <emph>Format - Cells - Borders</emph>.</paragraph> + <paragraph xml-lang="en-US" id="par_id8119754" role="paragraph"> +<image id="img_id7261268" src="media/helpimg/border_ca_5.png" width="1.0937in" height="0.2189in"><alt xml-lang="en-US" id="alt_id7261268">default icon row of Borders tab page</alt> + </image></paragraph> + <list type="unordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id8964201" role="listitem">Click the left icon to clear all lines. This removes all outer borders, all inner lines, and all diagonal lines.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id6048463" role="listitem">Click the second icon from the left to set an outer border and to remove all other lines.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id1495406" role="listitem">Click the rightmost icon to set an outer border. The inner lines are not changed, except the diagonal lines, which will be removed.<comment>is this a bug?</comment></paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_id9269386" role="paragraph">Now you can continue to see which lines the other icons will set or remove.</paragraph> + <paragraph xml-lang="en-US" id="hd_id3593554" role="heading" level="2">User Defined Settings</paragraph> + <paragraph xml-lang="en-US" id="par_id4018066" role="paragraph">In the <emph>User defined</emph> area, you can click to set or remove individual lines. The preview shows lines in three different states. </paragraph> + <paragraph xml-lang="en-US" id="par_id8004699" role="paragraph">Repeatedly click an edge or a corner to switch through the three different states.</paragraph> + <table id="tbl_id5196996"> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id8037659" role="tablehead">Line types</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id2305978" role="tablehead">Image</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id8716086" role="tablehead">Meaning</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3978087" role="tablecontent">A black line</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id4065065" role="tablecontent"> +<image id="img_id9379863" src="media/helpimg/border_ca_7.png" width="1.2602in" height="1.1252in"><alt xml-lang="en-US" id="alt_id9379863">solid line for user defined border</alt> + </image></paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id6987823" role="tablecontent">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.</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id1209143" role="tablecontent">A gray line</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id6653340" role="tablecontent"> +<image id="img_id6972563" src="media/helpimg/border_ca_gray.png" width="1.2602in" height="1.1252in"><alt xml-lang="en-US" id="alt_id6972563">gray line for user defined border</alt> + </image></paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id2278817" role="tablecontent">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.</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id5374919" role="tablecontent">A white line</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id52491" role="tablecontent"> +<image id="img_id3801080" src="media/helpimg/border_ca_white.png" width="1.2602in" height="1.1252in"><alt xml-lang="en-US" id="alt_id3801080">white line for user defined border</alt> + </image></paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id372325" role="tablecontent">A white line is shown when the corresponding line of the selected cells will be removed.</paragraph> + </tablecell> + </tablerow> + </table> + <paragraph xml-lang="en-US" id="hd_id7282937" role="heading" level="3">Examples</paragraph> + <paragraph xml-lang="en-US" id="par_id4230780" role="paragraph">Select a single cell, then choose <emph>Format - Cells - Borders</emph>.</paragraph> + <paragraph xml-lang="en-US" id="par_id1712393" role="paragraph">Click the lower edge to set a very thin line as a lower border. All other lines will be removed from the cell.</paragraph> + <paragraph xml-lang="en-US" id="par_id5149693" role="paragraph"> +<image id="img_id9467452" src="media/helpimg/border_ca_6.png" width="1.2602in" height="1.1252in"><alt xml-lang="en-US" id="alt_id9467452">setting a thin lower border</alt> + </image></paragraph> + <paragraph xml-lang="en-US" id="par_id5759453" role="paragraph">Choose a thicker line style and click the lower edge. This sets a thicker line as a lower border.</paragraph> + <paragraph xml-lang="en-US" id="par_id6342051" role="paragraph"> +<image id="img_id7431562" src="media/helpimg/border_ca_7.png" width="1.2602in" height="1.1252in"><alt xml-lang="en-US" id="alt_id7431562">setting a thick line as a border</alt> + </image></paragraph> + <paragraph xml-lang="en-US" id="par_id5775322" role="paragraph">Click the second <emph>Default</emph> 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.</paragraph> + <paragraph xml-lang="en-US" id="par_id2882778" role="paragraph"> +<image id="img_id8155766.00000001" src="media/helpimg/border_ca_8.png" width="1.2602in" height="1.1252in"><alt xml-lang="en-US" id="alt_id8155766.00000001">removing lower border</alt> + </image></paragraph> + <paragraph xml-lang="en-US" id="par_id8102053" role="paragraph">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).</paragraph> + <paragraph xml-lang="en-US" id="par_id2102420" role="paragraph"> +<image id="img_id5380718" src="media/helpimg/border_ca_9.png" width="1.2602in" height="1.1252in"><alt xml-lang="en-US" id="alt_id5380718">advanced example for cell borders</alt> + </image></paragraph> + <bookmark xml-lang="en-US" branch="index" id="bm_id151630452717743"> + <bookmark_value>adjacent cells;remove border</bookmark_value> + </bookmark> + <switch select="appl"> + <case select="CALC"> + <h2 id="hd_id861630451554176">Adjacent Cells</h2> + <paragraph role="paragraph" id="par_id231630451548190">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.</paragraph> + <paragraph role="paragraph" id="par_id931630451706604">By default the option <emph>Remove border</emph> 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.</paragraph> + <note id="par_id641630452272324">If the preset <emph>No Borders</emph> is chosen then the <emph>Remove border</emph> option is enabled.</note> + </case> + </switch> + <section id="relatedtopics"> + <switch select="appl"> + <case select="WRITER"> + <embed href="text/swriter/guide/border_page.xhp#border_page"/> + </case> + </switch> + <embed href="text/shared/guide/border_paragraph.xhp#border_paragraph"/> + </section> + </body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . +--> + +<meta> + <topic id="textscalcguidecalc_datexml" indexer="include" status="PUBLISH"> + <title id="tit" xml-lang="en-US">Calculating With Dates and Times</title> + <filename>/text/scalc/guide/calc_date.xhp</filename> + </topic> +</meta> + +<body> + +<bookmark xml-lang="en-US" branch="index" id="bm_id3146120"> + <bookmark_value>dates; in cells</bookmark_value> + <bookmark_value>times; in cells</bookmark_value> + <bookmark_value>cells;date and time formats</bookmark_value> + <bookmark_value>current date and time values</bookmark_value> +</bookmark> + + +<paragraph id="hd_id3146120" role="heading" level="1" xml-lang="en-US"><variable id="calc_date"><link href="text/scalc/guide/calc_date.xhp" name="Calculating With Dates and Times">Calculating With Dates and Times</link></variable></paragraph> +<paragraph id="par_id3154320" role="paragraph" xml-lang="en-US">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:</paragraph> + +<list type="ordered"> + <listitem> + <paragraph id="par_id3150750" role="listitem" xml-lang="en-US">In a spreadsheet, enter your birthday in cell A1.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id3145642" role="listitem" xml-lang="en-US">Enter the following formula in cell A3: <item type="literal">=NOW()-A1</item></paragraph> + </listitem> + <listitem> + <paragraph id="par_id3149020" role="listitem" xml-lang="en-US">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.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id3155335" role="listitem" xml-lang="en-US">Place the cursor in cell A3, right-click to open a context menu and choose <emph>Format Cells</emph>.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id3147343" role="listitem" xml-lang="en-US">The <item type="menuitem">Format Cells</item> dialog appears. On the <item type="menuitem">Numbers</item> 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 <item type="menuitem">OK</item> button.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id3147001" role="listitem" xml-lang="en-US">The number of days between today's date and the specified date is displayed in cell A3.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id3150304" role="listitem" xml-lang="en-US">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.</paragraph> + </listitem> +</list> +<paragraph id="par_id3149207" role="paragraph" xml-lang="en-US">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 <emph>Data</emph> menu, the menu item <emph>Calculate - AutoCalculate</emph> 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.</paragraph> + +<section id="relatedtopics"> +<embed href="text/scalc/guide/calc_timevalues.xhp#calc_timevalues"/> +</section> +</body> + +</helpdocument>
\ 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> + <topic id="textscalcguidecalc_seriesxml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Automatically Calculating Series</title> + <filename>/text/scalc/guide/calc_series.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3150769"><bookmark_value>series; calculating</bookmark_value> + <bookmark_value>calculating; series</bookmark_value> + <bookmark_value>linear series</bookmark_value> + <bookmark_value>growth series</bookmark_value> + <bookmark_value>date series</bookmark_value> + <bookmark_value>powers of 2 calculations</bookmark_value> + <bookmark_value>cells; filling automatically</bookmark_value> + <bookmark_value>automatic cell filling</bookmark_value> + <bookmark_value>AutoFill function</bookmark_value> + <bookmark_value>filling;cells, automatically</bookmark_value> +</bookmark><comment>mw made "powers of 2;..." a one level entry and changed "AutoFill" entry</comment><comment>MW changed "auto filling cells"</comment> +<paragraph xml-lang="en-US" id="hd_id3150769" role="heading" level="1"><variable id="calc_series"><link href="text/scalc/guide/calc_series.xhp" name="Automatically Calculating Series">Automatically Filling in Data Based on Adjacent Cells</link> +</variable></paragraph> + <paragraph xml-lang="en-US" id="par_idN106A8" role="paragraph">You can automatically fill cells with data with the AutoFill command or the Series command.</paragraph> + <paragraph xml-lang="en-US" id="par_idN106D3" role="heading" level="2">Using AutoFill</paragraph> + <paragraph xml-lang="en-US" id="par_idN106D7" role="paragraph">AutoFill automatically generates a data series based on a defined pattern.</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3154319" role="listitem">On a sheet, click in a cell, and type a number.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN106CB" role="listitem">Click in another cell and then click back in the cell where you typed the number.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3145272" role="listitem">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.</paragraph> + <paragraph xml-lang="en-US" id="par_id3145801" role="listitem">The cells are filled with ascending numbers.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_idN106EE" role="tip">To quickly create a list of consecutive days, enter <item type="literal">Monday</item> in a cell, and drag the fill handle.</paragraph> + <paragraph xml-lang="en-US" id="par_id9720145" role="paragraph">Hold down <switchinline select="sys"><caseinline select="MAC">Command +</caseinline><defaultinline>Ctrl</defaultinline></switchinline> if you do not want to fill the cells with different values.</paragraph> + <paragraph xml-lang="en-US" id="par_id3154490" role="note">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 <switchinline select="sys"><caseinline select="MAC"><item type="menuitem">%PRODUCTNAME - Preferences</item></caseinline><defaultinline><item type="menuitem">Tools - Options</item></defaultinline></switchinline><item type="menuitem"> - %PRODUCTNAME Calc - Sort Lists</item>.</paragraph> + <paragraph xml-lang="en-US" id="par_idN10737" role="tip">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.</paragraph> + <paragraph xml-lang="en-US" id="par_idN10713" role="heading" level="2">Using a Defined Series</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3150749" role="listitem">Select the cell range in the sheet that you want to fill.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3154754" role="listitem">Choose <item type="menuitem">Sheet - Fill Cells - Series</item>.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN10716" role="listitem">Select the parameters for the series. </paragraph> + <paragraph xml-lang="en-US" id="par_idN10731" role="listitem">If you select a <emph>linear</emph> series, the increment that you enter is <emph>added</emph> to each consecutive number in the series to create the next value.</paragraph> + <paragraph xml-lang="en-US" id="par_idN1073C" role="listitem">If you select a <emph>growth</emph> series, the increment that you enter is <emph>multiplied</emph> by each consecutive number to create the next value.</paragraph> + <paragraph xml-lang="en-US" id="par_idN10747" role="listitem">If you select a <emph>date</emph> series, the increment that you enter is added to the time unit that you specify.</paragraph> + </listitem> + </list> + <section id="relatedtopics"> + <embed href="text/scalc/guide/sorted_list.xhp#sorted_list"/> + <paragraph xml-lang="en-US" id="par_id3159173" role="paragraph"><link href="text/shared/optionen/01060400.xhp" name="Sort lists">Sort lists</link></paragraph> + </section> + </body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<helpdocument version="1.0"> +<meta> +<topic id="textscalcguidecalc_timevaluesxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Calculating Time Differences</title> +<filename>/text/scalc/guide/calc_timevalues.xhp</filename> +</topic> +<history> +<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> +</history> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3150769"><bookmark_value>calculating;time differences</bookmark_value> +<bookmark_value>time differences</bookmark_value> +</bookmark> +<paragraph role="heading" id="hd_id3150769" xml-lang="en-US" level="1"><variable id="calc_timevalues"><link href="text/scalc/guide/calc_timevalues.xhp" name="Calculating Time Differences">Calculating Time Differences</link> +</variable></paragraph> +<paragraph role="paragraph" id="par_id3149263" xml-lang="en-US">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:</paragraph> +<paragraph role="paragraph" id="par_id3159153" xml-lang="en-US">=(B2<A2)+B2-A2</paragraph> +<paragraph role="paragraph" id="par_id3152598" xml-lang="en-US">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.</paragraph> +<paragraph role="paragraph" id="par_id3145271" xml-lang="en-US">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.</paragraph> +<section id="relatedtopics"> +<embed href="text/scalc/guide/calc_date.xhp#calc_date"/> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?><helpdocument version="1.0"> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<meta> +<topic id="textscalcguidecalculatexml" indexer="include" status="PUBLISH"> +<title xml-lang="en-US" id="tit">Calculating in Spreadsheets</title> +<filename>/text/scalc/guide/calculate.xhp</filename> +</topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3150791"> +<bookmark_value>spreadsheets; calculating</bookmark_value> +<bookmark_value>calculating; spreadsheets</bookmark_value> +<bookmark_value>formulas; calculating</bookmark_value> +</bookmark><comment>mw changed "formulas;..." entry</comment> +<paragraph id="hd_id3150791" role="heading" xml-lang="en-US" level="1"><variable id="calculate"><link href="text/scalc/guide/calculate.xhp" name="Calculating in Spreadsheets">Calculating in Spreadsheets</link></variable></paragraph> +<paragraph id="par_id3146120" role="paragraph" xml-lang="en-US">The following is an example of a calculation in $[officename] Calc.</paragraph> +<list type="ordered"> +<listitem> +<paragraph id="par_id3153951" role="listitem" xml-lang="en-US">Click in a cell, and type a number</paragraph> +</listitem> +<listitem> +<paragraph id="par_idN10656" role="listitem" xml-lang="en-US">Press Enter.</paragraph> +<paragraph id="par_idN1065D" role="listitem" xml-lang="en-US">The cursor moves down to the next cell.</paragraph> +</listitem> +<listitem> +<paragraph id="par_id3155064" role="listitem" xml-lang="en-US">Enter another number.</paragraph> +</listitem> +<listitem> +<paragraph id="par_idN1066F" role="listitem" xml-lang="en-US">Press the Tab key.</paragraph> +<paragraph id="par_idN10676" role="listitem" xml-lang="en-US">The cursor moves to the right into the next cell.</paragraph> +</listitem> +<listitem> +<paragraph id="par_id3154253" role="listitem" xml-lang="en-US">Type in a formula, for example, <item type="literal">=A3 * A4 / 100.</item></paragraph> +</listitem> +<listitem> +<paragraph id="par_idN1068B" role="listitem" xml-lang="en-US"> Press Enter.</paragraph> +<paragraph id="par_id3147343" role="listitem" xml-lang="en-US">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.</paragraph> +<paragraph id="par_id3155378" role="listitem" xml-lang="en-US">When you edit a formula, the new result is calculated automatically.</paragraph> +</listitem> +</list> +<section id="relatedtopics"><embed href="text/scalc/guide/calc_date.xhp#calc_date"/><embed href="text/scalc/guide/calc_series.xhp#calc_series"/><embed href="text/scalc/guide/calc_timevalues.xhp#calc_timevalues"/><embed href="text/scalc/guide/cellreferences.xhp#cellreferences"/> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> + <topic id="textscalcguidecell_enterxml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Entering Values</title> + <filename>/text/scalc/guide/cell_enter.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3150868"><bookmark_value>values; inserting in multiple cells</bookmark_value> + <bookmark_value>inserting;values</bookmark_value> + <bookmark_value>cell ranges;selecting for data entries</bookmark_value> + <bookmark_value>areas, see also cell ranges</bookmark_value> +</bookmark> +<h1 id="hd_id3405255"><variable id="cell_enter"><link href="text/scalc/guide/cell_enter.xhp">Entering Values</link> +</variable></h1> + <paragraph xml-lang="en-US" id="par_id7147129" role="paragraph">Calc can simplify entering data and values into multiple cells. You can change some settings to conform to your preferences.</paragraph> + <h2 id="hd_id5621509">To Enter Values Into a Range of Cells Manually</h2> + <paragraph xml-lang="en-US" id="par_id8200018" role="paragraph">There are two features that assist you when you enter a block of data manually.</paragraph> + <h3 id="hd_id1867427">Area Detection for New Rows</h3> + <paragraph xml-lang="en-US" id="par_id7908871" role="paragraph">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.</paragraph> + <paragraph xml-lang="en-US" id="par_id6196783" role="paragraph"> +<image id="img_id6473586" src="media/helpimg/area1.png" width="4.8335in" height="1.5937in"><alt xml-lang="en-US" id="alt_id6473586">area detection</alt> + </image></paragraph> + <paragraph xml-lang="en-US" id="par_id8118839" role="paragraph">In row 3, press Tab to advance from cell B3 to C3, D3, and E3. Then press Enter to advance to B4.</paragraph> + <h3 id="hd_id3583788">Area Selection</h3> + <paragraph xml-lang="en-US" id="par_id2011780" role="paragraph">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 <keycode>Tab</keycode> key to advance to the next cell or <keycode>Shift</keycode> + <keycode>Tab</keycode> 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.</paragraph> + <paragraph xml-lang="en-US" id="par_id7044282" role="paragraph"> +<image id="img_id2811365" src="media/helpimg/area2.png" width="4.8335in" height="1.5937in"><alt xml-lang="en-US" id="alt_id2811365">area selection</alt> + </image></paragraph> + <paragraph xml-lang="en-US" id="par_id3232520" role="paragraph">Select the area from B3 to E7. Now B3 is waiting for your input. Press <keycode>Tab</keycode> to advance to the next cell within the selected area.</paragraph> + <h2 id="hd_id8950163">To Enter Values to a Range of Cells Automatically</h2> + <paragraph xml-lang="en-US" id="par_id633869" role="paragraph">See <link href="text/scalc/guide/calc_series.xhp">Automatically Filling in Data Based on Adjacent Cells</link>.</paragraph> + <section id="relatedtopics"> + <embed href="text/scalc/guide/formula_enter.xhp#formula_enter"/> + <embed href="text/scalc/guide/multitables.xhp#multitables"/> + <embed href="text/scalc/guide/multi_tables.xhp#multi_tables"/> + </section> + </body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> + <topic id="textscalcguidecell_protectxml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Protecting Cells from Changes</title> + <filename>/text/scalc/guide/cell_protect.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3146119"><bookmark_value>protecting;cells and sheets</bookmark_value> + <bookmark_value>cells; protecting</bookmark_value> + <bookmark_value>cell protection; enabling</bookmark_value> + <bookmark_value>sheets; protecting</bookmark_value> + <bookmark_value>documents; protecting</bookmark_value> + <bookmark_value>cells; hiding for printing</bookmark_value> + <bookmark_value>changing; sheet protection</bookmark_value> + <bookmark_value>hiding;formulas</bookmark_value> + <bookmark_value>formulas;hiding</bookmark_value> +</bookmark> + +<h1 id="hd_id3146119"><variable id="cell_protect"><link href="text/scalc/guide/cell_protect.xhp" name="Protecting Cells from Changes">Protecting Cells from Changes</link> +</variable></h1> + <paragraph xml-lang="en-US" id="par_id3153368" role="paragraph">In <item type="productname">%PRODUCTNAME</item> 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.</paragraph> + <paragraph xml-lang="en-US" id="par_id3145261" role="paragraph">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.</paragraph> + <paragraph xml-lang="en-US" id="par_id3148576" role="paragraph">Note that the cell protection for cells with the <emph>Protected</emph> attribute is only effective when you protect the whole sheet. In the default condition, every cell has the <emph>Protected</emph> 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.</paragraph> + <warning id="par_id5974303">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.</warning> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_idN1066B" role="listitem">Select the cells that you want to specify the cell protection options for.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3149019" role="listitem">Choose <item type="menuitem">Format - Cells</item> and click the <emph>Cell Protection</emph> tab.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3152985" role="listitem">Select the protection options that you want. All options will be applied only after you protect the sheet from the Tools menu - see below.</paragraph> + <paragraph xml-lang="en-US" id="par_id31529866655" role="listitem">Uncheck <emph>Protected</emph> to allow the user to change the currently selected cells.</paragraph> + <paragraph xml-lang="en-US" id="par_id3152898" role="listitem">Select <emph>Protected</emph> to prevent changes to the contents and the format of a cell. </paragraph> + <paragraph xml-lang="en-US" id="par_idN1069A" role="listitem">Select <emph>Hide formula</emph> to hide and to protect formulas from changes.</paragraph> + <paragraph xml-lang="en-US" id="par_idN106A1" role="listitem">Select <emph>Hide when printing</emph> to hide protected cells in the printed document. The cells are not hidden onscreen.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3152872" role="listitem">Click <emph>OK</emph>.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3145362" role="listitem">Apply the protection options.</paragraph> + <paragraph xml-lang="en-US" id="par_idN106C0" role="listitem">To protect the cells from being changed, viewed or printed according to your settings in the <emph>Format - Cells</emph> dialog, choose <link href="text/scalc/01/06060100.xhp" name="Tools protect sheet"><menuitem>Tools - Protect Sheet</menuitem></link>.</paragraph> + <paragraph xml-lang="en-US" id="par_idN106C7" role="listitem">To protect the structure of the document, for example the count, <link href="text/scalc/guide/rename_table.xhp">names</link>, and order of the sheets, from being changed, choose <item type="menuitem">Tools - Protect Spreadsheet Structure</item>.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN106CF" role="listitem">(Optional) Enter a password.</paragraph> + <warning id="par_idN106D2">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.</warning> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3153810" role="listitem">Click <emph>OK</emph>.</paragraph> + </listitem> + </list> + <section id="relatedtopics"> + <embed href="text/scalc/01/06060100.xhp#ProtectingSheeth1"/> + <embed href="text/scalc/guide/cell_unprotect.xhp#cell_unprotect"/> + <embed href="text/shared/guide/protection.xhp#protection"/> + <paragraph xml-lang="en-US" id="par_idN10B8C" role="paragraph" localize="false"> + <embedvar href="text/shared/guide/digital_signatures.xhp#digital_signatures"/> + </paragraph> + </section> + </body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> + <topic id="textscalcguidecell_unprotectxml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Unprotecting Cells</title> + <filename>/text/scalc/guide/cell_unprotect.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3153252"><bookmark_value>cell protection; unprotecting</bookmark_value> + <bookmark_value>protecting; unprotecting cells</bookmark_value> + <bookmark_value>unprotecting cells</bookmark_value> +</bookmark> +<paragraph xml-lang="en-US" id="hd_id3153252" role="heading" level="1"><variable id="cell_unprotect"><link href="text/scalc/guide/cell_unprotect.xhp" name="Unprotecting Cells">Unprotecting Cells</link> +</variable></paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3151112" role="listitem">Click the sheet for which you want to cancel the protection.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3149656" role="listitem">Select <emph>Tools - Protect Sheet</emph> or <emph>Tools - Protect Spreadsheet Structure</emph> to remove the check mark indicating the protected status.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3145171" role="listitem">If you have assigned a password, enter it in this dialog and click <emph>OK</emph>.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_id3153771" role="paragraph">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.</paragraph> + <section id="relatedtopics"> + <embed href="text/scalc/guide/cell_protect.xhp#cell_protect"/> + </section> + </body> +</helpdocument>
\ 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> + <topic id="textscalcguidecellcopyxml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Only Copy Visible Cells</title> + <filename>/text/scalc/guide/cellcopy.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3150440"><bookmark_value>cells; copying/deleting/formatting/moving</bookmark_value> + <bookmark_value>rows;visible and invisible</bookmark_value> + <bookmark_value>copying; visible cells only</bookmark_value> + <bookmark_value>formatting;visible cells only</bookmark_value> + <bookmark_value>moving;visible cells only</bookmark_value> + <bookmark_value>deleting;visible cells only</bookmark_value> + <bookmark_value>invisible cells</bookmark_value> + <bookmark_value>filters;copying visible cells only</bookmark_value> + <bookmark_value>hidden cells</bookmark_value> +</bookmark><comment>mw changed "cells;"</comment> +<paragraph xml-lang="en-US" id="hd_id3150440" role="heading" level="1"><variable id="cellcopy"><link href="text/scalc/guide/cellcopy.xhp" name="Only Copy Visible Cells">Only Copy Visible Cells</link> +</variable></paragraph> + <paragraph xml-lang="en-US" id="par_id3148577" role="paragraph">Assume you have hidden a few rows in a cell range. Now you want to copy, delete, or format only the remaining visible rows.</paragraph> + <paragraph xml-lang="en-US" id="par_id3154729" role="paragraph">$[officename] behavior depends on how the cells were made invisible, by a filter or manually.</paragraph> + <table id="tbl_id3154942"> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3155603" role="tablehead">Method and Action</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3150751" role="tablehead">Result</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3149018" role="tablecontent">Cells were filtered by AutoFilters, standard filters or advanced filters.</paragraph> + <paragraph xml-lang="en-US" id="par_id3150044" role="tablecontent">Copy, delete, move, or format a selection of currently visible cells.</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3146918" role="tablecontent">Only the visible cells of the selection are copied, deleted, moved, or formatted.</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3166427" role="tablecontent">Cells were hidden using the <emph>Hide</emph> command in the context menu of the row or column headers, or through an <link href="text/scalc/01/12080000.xhp" name="outline">outline</link>.</paragraph> + <paragraph xml-lang="en-US" id="par_id3152990" role="tablecontent">Copy, delete, move, or format a selection of currently visible cells.</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3154371" role="tablecontent">By default, all cells of the selection, including the hidden cells, are copied, deleted, moved, or formatted. Restrict the selection to visible rows choosing <menuitem>Edit - Select - Select Visible Rows Only</menuitem> or to visible columns choosing <menuitem>Edit - Select - Select Visible Columns Only</menuitem>.</paragraph> + </tablecell> + </tablerow> + </table> + + <section id="relatedtopics"> + <embed href="text/scalc/guide/filters.xhp#filters"/> + <embed href="text/scalc/guide/autofilter.xhp#autofilter"/> + <embed href="text/scalc/guide/specialfilter.xhp#specialfilter"/> + </section> + </body> +</helpdocument>
\ 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> + <topic id="textscalcguidecellreference_dragdropxml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Referencing Cells by Drag-and-Drop</title> + <filename>/text/scalc/guide/cellreference_dragdrop.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3154686"><bookmark_value>drag and drop; referencing cells</bookmark_value> + <bookmark_value>cells; referencing by drag and drop </bookmark_value> + <bookmark_value>references;inserting by drag and drop</bookmark_value> + <bookmark_value>inserting;references, by drag and drop</bookmark_value> +</bookmark> +<paragraph xml-lang="en-US" id="hd_id3154686" role="heading" level="1"><variable id="cellreference_dragdrop"><link href="text/scalc/guide/cellreference_dragdrop.xhp" name="Referencing Cells by Drag-and-Drop">Referencing Cells by Drag-and-Drop</link> +</variable></paragraph> + <paragraph xml-lang="en-US" id="par_id3156444" role="paragraph">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.</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3152576" role="listitem">Open the document that contains the source cells.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3154011" role="listitem">To set the source range as the range, select the cells and choose <emph>Sheet - Named Ranges and Expressions - Define</emph>. Save the source document, and do not close it.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3151073" role="listitem">Open the sheet in which you want to insert something.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3154732" role="listitem">Open the <link href="text/scalc/01/02110000.xhp" name="Navigator">Navigator</link>. In the lower box of the Navigator select the source file.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3150752" role="listitem">In the Navigator, the source file object appears under "Range names".</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3154754" role="listitem">Using the <emph>Drag Mode</emph> icon in Navigator, choose whether you want the reference to be a hyperlink, link, or copy.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3154256" role="listitem">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.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_id3149565" role="paragraph">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.</paragraph> + <section id="relatedtopics"> + <embed href="text/scalc/guide/cellreferences.xhp#cellreferences"/> + <embed href="text/shared/guide/dragdrop.xhp#dragdrop"/> + </section> + </body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> + <topic id="textscalcguidecellreferencesxml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Referencing a Cell in Another Document</title> + <filename>/text/scalc/guide/cellreferences.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3147436"><bookmark_value>sheet references</bookmark_value> + <bookmark_value>references; to cells in other sheets/documents</bookmark_value> + <bookmark_value>cells; operating in another document</bookmark_value> + <bookmark_value>documents;references</bookmark_value> +</bookmark><comment>mw made "sheet references;" a one level entry</comment><comment>MW changed "references;" and added "documents;"</comment> +<h1 id="hd_id3147436"><variable id="cellreferences"><link href="text/scalc/guide/cellreferences.xhp" name="Referencing Other Sheets">Referencing Other Sheets</link> +</variable></h1> + <paragraph xml-lang="en-US" id="par_id9663075" role="paragraph">In a sheet cell you can show a reference to a cell in another sheet.</paragraph> + <paragraph xml-lang="en-US" id="par_id1879329" role="paragraph">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.</paragraph> + <h2 id="hd_id7122409">To Reference a Cell in the Same Document</h2> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id2078005" role="listitem">Open a new, empty spreadsheet. By default, it has only a single sheet named Sheet1. Add a second sheet clicking on <emph>+</emph> button to the left of the sheet tab in the bottom (it will be named Sheet2 by default).</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id4943693" role="listitem">By way of example, enter the following formula in cell A1 of Sheet1:</paragraph> + <paragraph xml-lang="en-US" id="par_id9064302" role="listitem"> + <item type="literal">=Sheet2.A1</item> + </paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id7609790" role="listitem">Click the <emph>Sheet 2</emph> tab at the bottom of the spreadsheet. Set the cursor in cell A1 there and enter text or a number.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id809961" role="listitem">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.</paragraph> + </listitem> + </list> + <tip id="par_id3147338">When referencing a sheet with name containing spaces, use single quotes around the name: <item type="literal">='Sheet with spaces in name'.A1</item></tip> + <tip id="par_id3147383">The example uses Calc formula syntax. It is also possible to use Excel A1 or R1C1 formula syntax; this is configured on <link href="text/shared/optionen/01060900.xhp">Formula options page</link>.</tip> + <h2 id="hd_id9209570">To Reference a Cell in Another Document</h2> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id5949278" role="listitem">Choose <emph>File - Open</emph>, to load an existing spreadsheet document.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id8001953" role="listitem">Choose <emph>File - New</emph>, 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.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id8571123" role="listitem">Now switch to the document you have just loaded. Click the cell with the data that you want to insert in the new document.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id8261665" role="listitem">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. </paragraph> + <paragraph xml-lang="en-US" id="par_id5888241" role="listitem">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.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id7697683" role="listitem">Confirm the formula by clicking the green check mark.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id7099826" role="listitem">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 <link href="text/scalc/guide/relativ_absolut_ref.xhp">absolute reference</link>.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_id674459" role="paragraph">If you examine the name of the other document in this formula, you will notice that it is written as a <link href="text/shared/00/00000002.xhp#url" name="URL">URL</link>. This means that you can also enter a URL from the Internet.</paragraph> + <section id="relatedtopics"> + <embed href="text/scalc/guide/cellreferences_url.xhp#cellreferences_url"/> + <embed href="text/scalc/guide/relativ_absolut_ref.xhp#relativ_absolut_ref"/> + </section> + </body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> +<topic id="textscalcguidecellreferences_urlxml" indexer="include" status="PUBLISH"> +<title xml-lang="en-US" id="tit">References to Other Sheets and Referencing URLs</title> +<filename>/text/scalc/guide/cellreferences_url.xhp</filename> +</topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3150441"><bookmark_value>HTML; in sheet cells</bookmark_value> +<bookmark_value>references; URL in cells</bookmark_value> +<bookmark_value>cells; Internet references</bookmark_value> +<bookmark_value>URL; in Calc</bookmark_value> +</bookmark><comment>mw deleted "sheet references;"</comment> +<paragraph xml-lang="en-US" id="hd_id3150441" role="heading" level="1"><variable id="cellreferences_url"><link href="text/scalc/guide/cellreferences_url.xhp" name="Referencing URLs">Referencing URLs</link> +</variable></paragraph> +<paragraph xml-lang="en-US" id="par_id1955626" role="paragraph">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:</paragraph> +<list type="ordered"> +<listitem> +<paragraph xml-lang="en-US" id="par_id3152993" role="listitem">In a $[officename] Calc document, position the cursor in the cell into which you want to insert the external data.</paragraph> +</listitem> +<listitem> +<paragraph xml-lang="en-US" id="par_id3145384" role="listitem">Choose <item type="menuitem">Sheet - External Links</item>. The <link href="text/scalc/01/04090000.xhp" name="External Data"><item type="menuitem">External Data</item></link> dialog appears.</paragraph> +</listitem> +<listitem> +<paragraph xml-lang="en-US" id="par_id3152892" role="listitem">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 <item type="menuitem">File - Open</item> dialog.</paragraph> +<paragraph xml-lang="en-US" id="par_id3153068" role="listitem">$[officename] loads the Web page or file in the "background", that is, without displaying it. In the large list box of the <item type="menuitem">External Data</item> dialog, you can see the name of all the sheets or named ranges you can choose from.</paragraph> +</listitem> +<listitem> +<paragraph xml-lang="en-US" id="par_id3153914" role="listitem">Select one or more sheets or named ranges. You can also activate the automatic update function every "n" seconds and click <item type="menuitem">OK</item>.</paragraph> +<paragraph xml-lang="en-US" id="par_id3157979" role="listitem">The contents will be inserted as a link in the $[officename] Calc document.</paragraph> +</listitem> +<listitem> +<paragraph xml-lang="en-US" id="par_id3144768" role="listitem">Save your spreadsheet. When you open it again later, $[officename] Calc will update the linked cells following an inquiry.</paragraph> +</listitem> +<listitem> +<paragraph xml-lang="en-US" id="par_id3159204" role="listitem">Under <switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - <link href="text/shared/optionen/01040900.xhp" name="Spreadsheet - General"><item type="menuitem">%PRODUCTNAME Calc - General</item></link> 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 <item type="menuitem">Edit - Links</item>.</paragraph> +</listitem> +</list> +<section id="relatedtopics"> +<embed href="text/scalc/guide/webquery.xhp#webquery"/> +<embed href="text/scalc/guide/cellreferences.xhp#cellreferences"/> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . +--> + +<meta> + <topic id="textscalcguidecellstyle_by_formulaxml" indexer="include" status="PUBLISH"> + <title id="tit" xml-lang="en-US">Assigning Formats by Formula</title> + <filename>/text/scalc/guide/cellstyle_by_formula.xhp</filename> + </topic> +</meta> + +<body> + +<bookmark xml-lang="en-US" branch="index" id="bm_id3145673"> + <bookmark_value>formats; assigning by formulas</bookmark_value> + <bookmark_value>cell formats; assigning by formulas</bookmark_value> + <bookmark_value>STYLE function example</bookmark_value> + <bookmark_value>cell styles;assigning by formulas</bookmark_value> + <bookmark_value>formulas;assigning cell formats</bookmark_value> +</bookmark> +<comment>mw deleted "applying;"</comment> + +<paragraph id="hd_id3145673" role="heading" level="1" xml-lang="en-US"><variable id="cellstyle_by_formula"><link href="text/scalc/guide/cellstyle_by_formula.xhp" name="Assigning Formats by Formula">Assigning Formats by Formula</link></variable></paragraph> +<paragraph id="par_id3150275" role="paragraph" xml-lang="en-US">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.</paragraph> +<paragraph id="par_id3151385" role="paragraph" xml-lang="en-US">If you would like to apply a formula to all cells in a selected area, you can use the <item type="menuitem">Find & Replace</item> dialog.</paragraph> + +<list type="ordered"> + <listitem> + <paragraph id="par_id3149456" role="listitem" xml-lang="en-US">Select all the desired cells.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id3148797" role="listitem" xml-lang="en-US">Select the menu command <emph>Edit - Find & Replace</emph>.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id3150767" role="listitem" xml-lang="en-US">For the <item type="menuitem">Find</item> term, enter: .<item type="literal">*</item></paragraph> + <paragraph id="par_id3153770" role="listitem" xml-lang="en-US">".*" is a regular expression that designates the contents of the current cell.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id3153143" role="listitem" xml-lang="en-US">Enter the following formula in the <item type="menuitem">Replace</item> field: <item type="literal">=&+STYLE(IF(CURRENT()>3;"Red";"Green"))</item></paragraph> + <paragraph id="par_id3146975" role="listitem" xml-lang="en-US">The "&" symbol designates the current contents of the <emph>Find</emph> 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.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id3149262" role="listitem" xml-lang="en-US">Mark the fields <link href="text/shared/01/02100000.xhp" name="Regular expressions"><emph>Regular expressions</emph></link> and <emph>Current selection only</emph>. Click <emph>Find All</emph>.</paragraph> + <paragraph id="par_id3144767" role="listitem" xml-lang="en-US">All cells with contents that were included in the selection are now highlighted.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id3147127" role="listitem" xml-lang="en-US">Click <item type="menuitem">Replace all</item>.</paragraph> + </listitem> +</list> + +<section id="relatedtopics"> +<embed href="text/scalc/guide/cellstyle_conditional.xhp#cellstyle_conditional"/> +<embed href="text/scalc/guide/cellstyle_minusvalue.xhp#cellstyle_minusvalue"/> +</section> +</body> + +</helpdocument>
\ 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> + <topic id="textscalcguidecellstyle_conditionalxml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Applying Conditional Formatting</title> + <filename>/text/scalc/guide/cellstyle_conditional.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3149263"><bookmark_value>conditional formatting; cells</bookmark_value> + <bookmark_value>cells; conditional formatting</bookmark_value> + <bookmark_value>formatting; conditional formatting</bookmark_value> + <bookmark_value>styles;conditional styles</bookmark_value> + <bookmark_value>cell formats; conditional</bookmark_value> + <bookmark_value>random numbers;examples</bookmark_value> + <bookmark_value>cell styles; copying</bookmark_value> + <bookmark_value>copying; cell styles</bookmark_value> + <bookmark_value>tables; copying cell styles</bookmark_value> +</bookmark><comment>mw deleted "formats;"</comment> +<paragraph xml-lang="en-US" id="hd_id3149263" role="heading" level="1"><variable id="cellstyle_conditional"><link href="text/scalc/guide/cellstyle_conditional.xhp" name="Applying Conditional Formatting">Applying Conditional Formatting</link> +</variable></paragraph> + <paragraph xml-lang="en-US" id="par_id3159156" role="paragraph">Using the menu command <emph>Format - Conditional - Condition</emph>, the dialog allows you to define conditions per cell, which must be met in order for the selected cells to have a particular format.</paragraph> + <paragraph xml-lang="en-US" id="par_id8039796" role="warning">To apply conditional formatting, AutoCalculate must be enabled. Choose <emph>Data - Calculate - AutoCalculate</emph> (you see a check mark next to the command when AutoCalculate is enabled).</paragraph> + <paragraph xml-lang="en-US" id="par_id3154944" role="paragraph">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.</paragraph> + <paragraph xml-lang="en-US" id="hd_id4480727" role="heading" level="2">To Define the Conditions</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3154490" role="listitem">Select the cells to which you want to apply a conditional style.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3155603" role="listitem">Choose <emph>Format - Conditional - Condition</emph>.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3146969" role="listitem">Enter the condition(s) into the dialog box. The dialog is described in detail in <link href="text/scalc/01/05120000.xhp" name="$[officename] Help">$[officename] Help</link>, and an example is provided below:</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="hd_id3155766" role="heading" level="2">Example of Conditional Formatting: Highlighting Totals Above/Under the Average Value</paragraph> + <paragraph xml-lang="en-US" id="hd_id4341868" role="heading" level="3">Step1: Generate Number Values</paragraph> + <paragraph xml-lang="en-US" id="par_id3150043" role="paragraph">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.</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3155337" role="listitem">First of all, create a table in which a few different values occur. For your test you can create tables with any random numbers:</paragraph> + <paragraph xml-lang="en-US" id="par_id3149565" role="listitem">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).</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3149258" role="listitem">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.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3159236" role="listitem">In the same way as described above, drag down the corner of the rightmost cell in order to create more rows of random numbers.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="hd_id3149211" role="heading" level="3">Step 2: Define Cell Styles</paragraph> + <paragraph xml-lang="en-US" id="par_id3154659" role="paragraph">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.</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3150883" role="listitem">Click in a blank cell and select the command <emph>Format Cells</emph> in the context menu.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3155529" role="listitem">In the <emph>Format Cells</emph> dialog on the <emph>Background</emph> tab, click the <emph>Color</emph> button and then select a background color. Click <emph>OK</emph>.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3154484" role="listitem">In the Styles deck of the Sidebar, click the <emph>New Style from Selection</emph> icon. Enter the name of the new style. For this example, name the style "Above".</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3152889" role="listitem">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").</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="hd_id3148704" role="heading" level="3">Step 3: Calculate Average</paragraph> + <paragraph xml-lang="en-US" id="par_id3148837" role="paragraph">In our particular example, we are calculating the average of the random values. The result is placed in a cell:</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3144768" role="listitem">Set the cursor in a blank cell, for example, J14, and choose <emph>Insert - Function</emph>.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3156016" role="listitem">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 <link href="text/shared/00/00000001.xhp#shrink_maximize" name="Shrink or Maximize"><item type="menuitem">Shrink</item></link> icon.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3153246" role="listitem">Close the Function Wizard with <item type="menuitem">OK</item>.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="hd_id3149898" role="heading" level="3">Step 4: Apply Cell Styles</paragraph> + <paragraph xml-lang="en-US" id="par_id3149126" role="paragraph">Now you can apply the conditional formatting to the sheet:</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3150049" role="listitem">Select all cells with the random numbers.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3153801" role="listitem">Choose the <emph>Format - Conditional - Condition</emph> command to open the corresponding dialog.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3153013" role="listitem">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".</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="hd_id3155761" role="heading" level="3">Step 5: Copy Cell Style</paragraph> + <paragraph xml-lang="en-US" id="par_id3145320" role="paragraph">To apply the conditional formatting to other cells later:</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3153074" role="listitem">Click one of the cells that has been assigned conditional formatting.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3149051" role="listitem">Copy the cell to the clipboard.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3150436" role="listitem">Select the cells that are to receive this same formatting.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3147298" role="listitem">Choose <emph>Edit - Paste Special - Paste Special</emph>. The <emph>Paste Special</emph> dialog appears.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3166465" role="listitem">In the <emph>Paste</emph> area, check only the <emph>Formats</emph> box. All other boxes must be unchecked. Click <emph>OK</emph>. Or you can click the <emph>Formats only</emph> button instead.</paragraph> + </listitem> + </list> + <section id="relatedtopics"> + <embed href="text/scalc/guide/cellstyle_by_formula.xhp#cellstyle_by_formula"/> + <embed href="text/scalc/guide/cellstyle_minusvalue.xhp#cellstyle_minusvalue"/> + <paragraph xml-lang="en-US" id="par_id3159123" role="paragraph"><link href="text/scalc/01/05120000.xhp" name="Format - Conditional formatting">Format - Conditional - Condition</link></paragraph> + </section> + </body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> + <topic id="textscalcguidecellstyle_minusvaluexml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Highlighting Negative Numbers</title> + <filename>/text/scalc/guide/cellstyle_minusvalue.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3147434"><bookmark_value>negative numbers</bookmark_value> + <bookmark_value>numbers; highlighting negative numbers</bookmark_value> + <bookmark_value>highlighting;negative numbers</bookmark_value> + <bookmark_value>colors;negative numbers</bookmark_value> + <bookmark_value>number formats;colors for negative numbers</bookmark_value> +</bookmark><comment>MW made "negative numbers;" a one level entry</comment><comment>MW changed "numbers formats;" and "colors;"</comment> +<paragraph xml-lang="en-US" id="hd_id3147434" role="heading" level="1"><variable id="cellstyle_minusvalue"><link href="text/scalc/guide/cellstyle_minusvalue.xhp" name="Highlighting Negative Numbers">Highlighting Negative Numbers</link> +</variable></paragraph> + <paragraph xml-lang="en-US" id="par_id3153878" role="paragraph">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.</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3155600" role="listitem">Select the cells and choose <emph>Format - Cells</emph>.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3146969" role="listitem">On the <emph>Numbers</emph> tab, select a number format and mark <emph>Negative numbers red</emph> check box. Click <emph>OK</emph>.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_id3145640" role="paragraph">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 <item type="menuitem">Format code</item>. For example, instead of RED, enter <item type="literal">YELLOW</item>. If the new code appears in the list after clicking the <item type="menuitem">Add</item> icon, this is a valid entry.</paragraph> + <section id="relatedtopics"> + <embed href="text/scalc/guide/cellstyle_conditional.xhp#cellstyle_conditional"/> + <embed href="text/scalc/guide/cellstyle_by_formula.xhp#cellstyle_by_formula"/> + </section> + </body> +</helpdocument>
\ 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + * +--> + +<meta> + <topic id="Image_Anchor" indexer="include" status="PUBLISH"> + <title id="image_anc" xml-lang="en-US">Changing Image Anchor in Calc</title> + <filename>/text/scalc/guide/change_image_anchor.xhp</filename> + </topic> +</meta> +<body> + <bookmark xml-lang="en-US" branch="index" id="bm_id471607970579914"> +<bookmark_value>anchor;image</bookmark_value> +<bookmark_value>image anchor;in Calc</bookmark_value> +<bookmark_value>image anchor in Calc;changing</bookmark_value> +</bookmark> +<h1 id="par_id851607971999527"><variable id="anchor_image"><link href="text/scalc/guide/change_image_anchor.xhp" name="Changing Anchor of Image">Changing the Anchor of an Image</link> + </variable></h1> +<paragraph xml-lang="en-US" role="paragraph" id="par_id881607972030094">Images are inserted in a Calc spreadsheet anchored to cells by default and do not resize when the cell is moved.</paragraph> +<paragraph xml-lang="en-US" role="paragraph" id="par_id741607810664944">Images can be anchored in three different ways:</paragraph> + <list type="unordered"> + <listitem> + <paragraph xml-lang="en-US" role="listitem" id="par_id351607809926451"><emph>To Cell:</emph> 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.</paragraph> + </listitem> + <listitem><paragraph xml-lang="en-US" role="listitem" id="par_id871607809971823"><emph>To Cell (resize with cell):</emph> 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.</paragraph> + </listitem> + <listitem><paragraph xml-lang="en-US" role="listitem" id="par_id551607810008215"><emph>To Page:</emph> the image position in the page is not affected by cells ordering or cells movements.</paragraph> + </listitem> + </list> + <h2 xml-lang="en-US" id="hd_id151607809776222">To Change the anchor of an image</h2><paragraph role="paragraph" id="par_id41607978764613">Select the image and choose <menuitem>Format - Anchor</menuitem>, or, on the context menu of the image choose <menuitem>Anchor</menuitem></paragraph> + <tip xml-lang="en-US" id="par_id761607809520625"> The original size of the image and cell is preserved while pasting the entire row or entire column for both <emph>To Cell</emph> and <emph>To Cell (resize with cell)</emph> options.</tip> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> + <topic id="textscalcguideconsolidatexml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Consolidating Data</title> + <filename>/text/scalc/guide/consolidate.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3150791"><bookmark_value>consolidating data</bookmark_value> + <bookmark_value>ranges; combining</bookmark_value> + <bookmark_value>combining;cell ranges</bookmark_value> + <bookmark_value>tables; combining</bookmark_value> + <bookmark_value>data; merging cell ranges</bookmark_value> + <bookmark_value>merging;data ranges</bookmark_value> +</bookmark><comment>mw deleted "values;"</comment> +<paragraph xml-lang="en-US" id="hd_id3150791" role="heading" level="1"><variable id="consolidate"><link href="text/scalc/guide/consolidate.xhp" name="Consolidating Data">Consolidating Data</link> +</variable></paragraph> + <paragraph xml-lang="en-US" id="par_id3153191" role="paragraph">During consolidation, the contents of the cells from several sheets will be combined in one place.</paragraph> + <paragraph xml-lang="en-US" id="hd_id892056" role="heading" level="2">To Combine Cell Contents</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3151073" role="listitem">Open the document that contains the cell ranges to be consolidated.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3154513" role="listitem">Choose <item type="menuitem">Data - Consolidate</item> to open the <emph>Consolidate</emph> dialog.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3147345" role="listitem">From the <emph>Source data area</emph> box select a source cell range to consolidate with other areas.</paragraph> + <paragraph xml-lang="en-US" id="par_id3149209" role="listitem">If the range is not named, click in the field next to the <emph>Source data area</emph>. A blinking text cursor appears. Type a reference for the first source data range or select the range with the mouse.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3155529" role="listitem">Click <emph>Add</emph> to insert the selected range in the <emph>Consolidation areas</emph> field.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3153816" role="listitem">Select additional ranges and click <emph>Add</emph> after each selection.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3157983" role="listitem">Specify where you want to display the result by selecting a target range from the <emph>Copy results to</emph> box.</paragraph> + <paragraph xml-lang="en-US" id="par_id3150215" role="listitem">If the target range is not named, click in the field next to <emph>Copy results to</emph> 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.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3153813" role="listitem">Select a function from the <emph>Function</emph> box. The function specifies how the values of the consolidation ranges are linked. The "Sum" function is the default setting.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3149315" role="listitem">Click <emph>OK</emph> to consolidate the ranges.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_idN107DE" role="heading" level="2">Additional Settings</paragraph> + <paragraph xml-lang="en-US" id="par_id3147250" role="paragraph">Click <emph>More</emph> in the <emph>Consolidate</emph> dialog to display additional settings:</paragraph> + <list type="unordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3156400" role="listitem">Select <emph>Link to source data</emph> 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.</paragraph> + <paragraph xml-lang="en-US" id="par_id3150538" role="listitem">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.</paragraph> + </listitem> + </list> + <list type="unordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3149945" role="listitem">Under <emph>Consolidate by</emph>, select either <emph>Row labels</emph> or <emph>Column labels</emph> 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.</paragraph> + <paragraph xml-lang="en-US" id="par_id3157871" role="listitem">To consolidate by row labels or column labels, the label must be contained in the selected source ranges.</paragraph> + <paragraph xml-lang="en-US" id="par_id3150478" role="note">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.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_id3147468" role="paragraph">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.</paragraph> + <section id="relatedtopics"> + <paragraph xml-lang="en-US" id="par_id3153039" role="paragraph"><link href="text/scalc/01/12070000.xhp" name="Data - Consolidate">Data - Consolidate</link></paragraph> + </section> + </body> +</helpdocument>
\ 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<meta> +<topic id="textscalcguidecsv_filesxml" indexer="include"> +<title xml-lang="en-US" id="tit"> Importing and Exporting CSV Files </title> +<filename>/text/scalc/guide/csv_files.xhp</filename> +</topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id892361"><bookmark_value>number series import</bookmark_value> +<bookmark_value>data series import</bookmark_value> +<bookmark_value>exporting; tables as text</bookmark_value> +<bookmark_value>importing; tables as text</bookmark_value> +<bookmark_value>delimited values and files</bookmark_value> +<bookmark_value>comma separated files and values</bookmark_value> +<bookmark_value>text file import and export</bookmark_value> +<bookmark_value>csv files;importing and exporting</bookmark_value> +<bookmark_value>tables; importing/exporting as text</bookmark_value> +<bookmark_value>text documents; importing to spreadsheets</bookmark_value> +<bookmark_value>opening;text csv files</bookmark_value> +<bookmark_value>saving;as text csv</bookmark_value> +</bookmark><comment>MW deleted "importing;text data bases" and copied 4 index entries from scalc/guide/csv_formula.xhp</comment><comment>mw added "saving;" and "opening;"</comment> +<h1 id="par_idN10862"><variable id="csv_files"><link href="text/scalc/guide/csv_files.xhp">Opening and Saving Text CSV Files</link> +</variable></h1> +<paragraph xml-lang="en-US" id="par_idN10880" role="paragraph">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.</paragraph> +<paragraph xml-lang="en-US" id="par_idN10886" role="paragraph">If the field or cell contains a comma, the field or cell <emph>must</emph> be enclosed by single quotes (') or double quotes (").</paragraph> +<h2 id="par_idN10890">To Open a Text CSV File in Calc</h2> +<list type="ordered"> +<listitem> +<paragraph xml-lang="en-US" id="par_idN10897" role="listitem">Choose <item type="menuitem">File - Open</item>.</paragraph> +</listitem> +<listitem> +<paragraph xml-lang="en-US" id="par_idN1089F" role="listitem">Locate the CSV file that you want to open.</paragraph> +<paragraph xml-lang="en-US" id="par_idN108A2" role="listitem">If the file has a *.csv extension, select the file.</paragraph> +<paragraph xml-lang="en-US" id="par_idN108A5" role="listitem">If the CSV file has another extension, select the file, and then select "Text CSV" in the <emph>Filter</emph> box</paragraph> +</listitem> +<listitem> +<paragraph xml-lang="en-US" id="par_idN1082D" role="listitem">Click <item type="menuitem">Open</item>.</paragraph> +<paragraph xml-lang="en-US" id="par_idN10834" role="listitem">The <item type="menuitem">Text Import</item> dialog opens.</paragraph> +</listitem> +<listitem> +<paragraph xml-lang="en-US" id="par_idN108B1" role="listitem">Specify the options to divide the text in the file into columns.</paragraph> +<paragraph xml-lang="en-US" id="par_idN108BB" role="listitem">You can preview the layout of the imported data at the bottom of the <item type="menuitem">Text Import</item> dialog. </paragraph> +<paragraph xml-lang="en-US" id="par_id8444166" role="listitem">Right-click a column in the preview to set the format or to hide the column.</paragraph> +<paragraph role="tip" id="par_idN108E2">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.</paragraph> +</listitem> +<listitem> +<paragraph xml-lang="en-US" id="par_idN108C5" role="listitem">Click <item type="menuitem">OK</item>.</paragraph> +</listitem> +</list> +<h2 id="par_idN108FA">To Save a Sheet as a Text CSV File</h2> +<note id="par_idN106FC">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.</note> +<list type="ordered"> +<listitem> +<paragraph xml-lang="en-US" id="par_idN10901" role="listitem">Open the Calc sheet that you want to save as a Text CSV file.</paragraph> +<paragraph role="note" id="par_idN107AF">Only the current sheet can be exported.</paragraph> +</listitem> +<listitem> +<paragraph xml-lang="en-US" id="par_idN10905" role="listitem">Choose <item type="menuitem">File - Save as</item>.</paragraph> +</listitem> +<listitem> +<paragraph xml-lang="en-US" id="par_idN10915" role="listitem">In the <item type="menuitem">File name</item> box, enter a name for the file.</paragraph> +</listitem> +<listitem> +<paragraph xml-lang="en-US" id="par_idN1090D" role="listitem">In the <emph>Filter</emph> box, select "Text CSV".</paragraph> +</listitem> +<listitem> +<paragraph xml-lang="en-US" id="par_idN107DD" role="listitem">(Optional) Set the field options for the Text CSV file.</paragraph> +<paragraph xml-lang="en-US" id="par_idN1091C" role="listitem">Select <item type="menuitem">Edit filter settings</item>.</paragraph> +<paragraph xml-lang="en-US" id="par_idN107ED" role="listitem">In the <item type="menuitem">Export of text files</item> dialog, select the options that you want.</paragraph> +<paragraph xml-lang="en-US" id="par_idN107F4" role="listitem">Click <item type="menuitem">OK</item>.</paragraph> +</listitem> +<listitem> +<paragraph xml-lang="en-US" id="par_idN107FC" role="listitem">Click <item type="menuitem">Save</item>.</paragraph> +</listitem> +</list> +<section id="relatedtopics"> +<embed href="text/scalc/guide/csv_formula.xhp#csv_formula"/> +<embed href="text/shared/guide/data_im_export.xhp#data_im_export"/> +<paragraph xml-lang="en-US" id="par_id3153487" role="paragraph"><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - <link href="text/shared/optionen/01060100.xhp" name="Spreadsheet - View">%PRODUCTNAME Calc - View</link></paragraph> +<paragraph xml-lang="en-US" id="par_id3153008" role="paragraph"><link href="text/shared/00/00000207.xhp" name="Export text files">Export text files</link></paragraph> +<paragraph xml-lang="en-US" id="par_id3155595" role="paragraph"><link href="text/shared/00/00000208.xhp" name="Import text files">Import text files</link></paragraph> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> + <topic id="textscalcguidecsv_formulaxml" indexer="include"> + <title xml-lang="en-US" id="tit">Importing and Exporting Text Files</title> + <filename>/text/scalc/guide/csv_formula.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3153726"><bookmark_value>csv files;formulas</bookmark_value> + <bookmark_value>formulas; importing/exporting as csv files</bookmark_value> + <bookmark_value>exporting;formulas as csv files</bookmark_value> + <bookmark_value>importing;csv files with formulas</bookmark_value> +</bookmark><comment>mw deleted "inserting;", copied 4 index entries to scalc/guide/csv_files.xhp, changed "csv files;" and "formulas;" and added 2 index entries</comment> +<paragraph xml-lang="en-US" id="hd_id3153726" role="heading" level="1"><variable id="csv_formula"><link href="text/scalc/guide/csv_formula.xhp" name="Importing and Exporting Text Files">Importing and Exporting CSV Text Files with Formulas</link> +</variable></paragraph> + <paragraph xml-lang="en-US" id="par_id3149402" role="paragraph">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.</paragraph> + <paragraph xml-lang="en-US" id="hd_id3150715" role="heading" level="2">To Import a CSV File</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3153709" role="listitem">Choose <emph>File - Open</emph>.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3155445" role="listitem">In the <emph>File type</emph> field, select the format "Text CSV". Select the file and click <emph>Open</emph>. When a file has the .csv extension, the file type is automatically recognized.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3149565" role="listitem">You will see the <item type="menuitem">Text Import</item> dialog. Click <item type="menuitem">OK</item>.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_id3149255" role="tip">If the csv file contains formulas, but you want to import the results of those formulas, then choose <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - %PRODUCTNAME Calc - View</emph> and clear the <emph>Formulas</emph> check box.</paragraph> + <paragraph xml-lang="en-US" id="hd_id3154022" role="heading" level="2">To Export Formulas and Values as CSV Files</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3150342" role="listitem">Click the sheet to be written as a csv file.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3166423" role="listitem">If you want to export the formulas as formulas, for example, in the form =SUM(A1:B5), proceed as follows:</paragraph> + <paragraph xml-lang="en-US" id="par_id3155111" role="listitem">Choose <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - %PRODUCTNAME Calc - View</emph>.</paragraph> + <paragraph xml-lang="en-US" id="par_id3150200" role="listitem">Under <emph>Display</emph>, mark the <emph>Formulas</emph> check box. Click <emph>OK</emph>.</paragraph> + <paragraph xml-lang="en-US" id="par_id3154484" role="listitem">If you want to export the calculation results instead of the formulas, do not mark <emph>Formulas</emph>.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3148702" role="listitem">Choose <emph>File - Save as</emph>. You will see the <emph>Save as</emph> dialog.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3153912" role="listitem">In the + <item type="menuitem">File type</item> field select the format "Text CSV".</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3157978" role="listitem">Enter a name and click <emph>Save</emph>.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3152869" role="listitem">From the <emph>Export of text files</emph> dialog that appears, select the character set and the field and text delimiters for the data to be exported, and confirm with <emph>OK</emph>.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3150050" role="listitem">If necessary, after you have saved, clear the <emph>Formulas</emph> check box to see the calculated results in the table again.</paragraph> + </listitem> + </list> + <section id="relatedtopics"> + <embed href="text/scalc/guide/csv_files.xhp#csv_files"/> + <paragraph xml-lang="en-US" id="par_id3153487" role="paragraph"><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - <link href="text/shared/optionen/01060100.xhp" name="Spreadsheet - View">%PRODUCTNAME Calc - View</link></paragraph> + <paragraph xml-lang="en-US" id="par_id3153008" role="paragraph"><link href="text/shared/00/00000207.xhp" name="Export text files">Export text files</link></paragraph> + <paragraph xml-lang="en-US" id="par_id3155595" role="paragraph"><link href="text/shared/00/00000208.xhp" name="Import text files">Import text files</link></paragraph> + </section> + </body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> +<topic id="textscalcguidecurrency_formatxml" indexer="include" status="PUBLISH"> +<title xml-lang="en-US" id="tit">Cells in Currency Format</title> +<filename>/text/scalc/guide/currency_format.xhp</filename> +</topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3156329"><bookmark_value>currency formats; spreadsheets</bookmark_value> +<bookmark_value>cells; currency formats</bookmark_value> +<bookmark_value>international currency formats</bookmark_value> +<bookmark_value>formats; currency formats in cells</bookmark_value> +<bookmark_value>currencies; default currencies</bookmark_value> +<bookmark_value>defaults;currency formats</bookmark_value> +<bookmark_value>changing;currency formats</bookmark_value> +</bookmark><comment>mw changed one index entry</comment> +<paragraph xml-lang="en-US" id="hd_id3156329" role="heading" level="1"><variable id="currency_format"><link href="text/scalc/guide/currency_format.xhp" name="Cells in Currency Format">Cells in Currency Format</link> +</variable></paragraph> +<paragraph xml-lang="en-US" id="par_id3153968" role="paragraph">In <item type="productname">%PRODUCTNAME</item> Calc you can give numbers any currency format. When you click the <item type="menuitem">Currency</item> icon +<image id="img_id3150791" src="cmd/sc_currencyfield.png" width="0.1665in" height="0.1665in"><alt xml-lang="en-US" id="alt_id3150791">Icon</alt> +</image> in the <item type="menuitem">Formatting</item> bar to format a number, the cell is given the default currency format set under <switchinline select="sys"><caseinline select="MAC"><item type="menuitem">%PRODUCTNAME - Preferences</item></caseinline><defaultinline><item type="menuitem">Tools - Options</item></defaultinline></switchinline><item type="menuitem"> - Language Settings - Languages</item>.</paragraph> +<paragraph xml-lang="en-US" id="par_id3150010" role="note">Exchanging of <item type="productname">%PRODUCTNAME</item> Calc documents can lead to misunderstandings, if your <item type="productname">%PRODUCTNAME</item> Calc document is loaded by a user who uses a different default currency format.</paragraph> +<paragraph xml-lang="en-US" id="par_id3156442" role="paragraph">In <item type="productname">%PRODUCTNAME</item> 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.</paragraph> +<paragraph xml-lang="en-US" id="par_id3151075" role="paragraph">You can change the currency format in the <item type="menuitem">Format Cells</item> dialog (choose <item type="menuitem">Format - Cells - Numbers</item> tab) by two country settings. In the <item type="menuitem">Language</item> combo box select the basic setting for decimal and thousands separators. In the <item type="menuitem">Format</item> list box you can select the currency symbol and its position.</paragraph> +<list type="ordered"> +<listitem> +<paragraph xml-lang="en-US" id="par_id3150749" role="listitem">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 <item type="menuitem">Format</item> 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.</paragraph> +</listitem> +<listitem> +<paragraph xml-lang="en-US" id="par_id3145640" role="listitem">If, under <item type="menuitem">Language</item>, 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".</paragraph> +</listitem> +</list> +<section id="relatedtopics"> +<embed href="text/scalc/guide/text_numbers.xhp#text_numbers"/> +<paragraph xml-lang="en-US" id="par_id3154255" role="paragraph"><link href="text/shared/01/05020300.xhp" name="Format - Cells - Numbers">Format - Cells - Numbers</link></paragraph> +</section> +</body> +</helpdocument>
\ 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> + <topic id="textscalcguidedatabase_definexml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Defining Database Ranges</title> + <filename>/text/scalc/guide/database_define.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3154758"><bookmark_value>tables; database ranges</bookmark_value> + <bookmark_value>database ranges; defining</bookmark_value> + <bookmark_value>ranges; defining database ranges</bookmark_value> + <bookmark_value>defining;database ranges</bookmark_value> +</bookmark> +<paragraph xml-lang="en-US" id="hd_id3154758" role="heading" level="1"><variable id="database_define"><link href="text/scalc/guide/database_define.xhp" name="Defining Database Ranges">Defining a Database Range</link> +</variable></paragraph> + <paragraph xml-lang="en-US" id="par_id3153768" role="paragraph">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.</paragraph> + <paragraph xml-lang="en-US" id="par_id3145801" role="warning">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. </paragraph> + <paragraph xml-lang="en-US" id="par_idN10648" role="paragraph">To define a database range</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3155064" role="listitem">Select the range of cells that you want to define as a database range.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN10654" role="listitem">Choose <item type="menuitem">Data - Define Range</item>.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3153715" role="listitem">In the <emph>Name</emph> box, enter a name for the database range.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN1066A" role="listitem">Click <emph>More</emph>.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3154253" role="listitem">Specify the options for the database range.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN10675" role="listitem">Click <emph>OK</emph>.</paragraph> + </listitem> + </list> + <section id="relatedtopics"> + <embed href="text/scalc/guide/database_sort.xhp#database_sort"/> + <embed href="text/scalc/guide/database_filter.xhp#database_filter"/> + </section> + </body> +</helpdocument>
\ 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<meta> + <topic id="textscalcguidedatabase_filterxml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Filtering Cell Ranges </title> + <filename>/text/scalc/guide/database_filter.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3153541"><bookmark_value>cell ranges;applying/removing filters</bookmark_value> + <bookmark_value>filtering;cell ranges/database ranges</bookmark_value> + <bookmark_value>database ranges;applying/removing filters</bookmark_value> + <bookmark_value>removing;cell range filters</bookmark_value> +</bookmark><comment>MW changed "cell ranges," added "removing;" and made one "database ranges;" entry out of two. Same for "filtering;"</comment> +<paragraph xml-lang="en-US" id="hd_id3153541" role="heading" level="1"><variable id="database_filter"><link href="text/scalc/guide/database_filter.xhp" name="Filtering Cell Ranges">Filtering Cell Ranges</link> +</variable></paragraph> + <paragraph xml-lang="en-US" id="par_id3145069" role="paragraph">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.</paragraph> + <paragraph xml-lang="en-US" id="par_idN10682" role="heading" level="2">To Apply a Standard Filter to a Cell Range</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3150398" role="listitem">Click in a cell range.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN10693" role="listitem">Choose <item type="menuitem">Data - More Filters - Standard Filter</item>.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3156422" role="listitem">In the <emph>Standard Filter</emph> dialog, specify the filter options that you want.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN106A5" role="listitem">Click <emph>OK</emph>.</paragraph> + <paragraph xml-lang="en-US" id="par_id3153143" role="paragraph">The records that match the filter options that you specified are shown.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_id3153728" role="heading" level="2">To Apply an AutoFilter to a Cell Range</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3144764" role="listitem">Click in a cell range or a database range.</paragraph> + <paragraph xml-lang="en-US" id="par_id9303872" role="tip">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.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3154944" role="listitem">Choose <item type="menuitem">Data - AutoFilter</item>.</paragraph> + <paragraph xml-lang="en-US" id="par_idN106DB" role="listitem">An arrow button is added to the head of each column in the database range.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3153878" role="listitem">Click the arrow button in the column that contains the value or string that you want to set as the filter criteria.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN10749" role="listitem">Select the value or string that you want to use as the filter criteria.</paragraph> + <paragraph xml-lang="en-US" id="par_idN1074C" role="listitem">The records that match the filter criteria that you selected are shown.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_idN106E8" role="heading" level="2">To Remove a Filter From a Cell Range</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_idN1075C" role="paragraph">Click in a filtered cell range.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN106EC" role="paragraph">Choose <item type="menuitem">Data - Filter - Reset Filter</item>.</paragraph> + </listitem> + </list> + <section id="relatedtopics"> + <embed href="text/scalc/guide/database_define.xhp#database_define"/> + <embed href="text/scalc/guide/database_sort.xhp#database_sort"/> + <embed href="text/scalc/guide/cellcopy.xhp#cellcopy"/> + <embed href="text/scalc/guide/specialfilter.xhp#specialfilter"/> + <paragraph xml-lang="en-US" id="par_id4525284" role="paragraph"><link href="https://wiki.documentfoundation.org/Documentation/How_Tos/Defining_a_Data_Range" name="wiki.documentfoundation.org Defining a Data Range">Wiki page about defining a data range</link></paragraph> + </section> + </body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<meta> + <topic id="textscalcguidedatabase_sortxml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Sorting Data </title> + <filename>/text/scalc/guide/database_sort.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3150767"><bookmark_value>database ranges; sorting</bookmark_value> + <bookmark_value>sorting; database ranges</bookmark_value> + <bookmark_value>data;sorting in databases</bookmark_value> +</bookmark> +<paragraph xml-lang="en-US" id="hd_id3150767" role="heading" level="1"><variable id="database_sort"><link href="text/scalc/guide/database_sort.xhp" name="Sorting Database Ranges">Sorting Data</link> +</variable></paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3145751" role="listitem">Click in a database range.</paragraph> + <paragraph xml-lang="en-US" id="par_id121020081121549" role="listitem">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.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN10635" role="listitem">Choose <item type="menuitem">Data - Sort</item>.</paragraph> + <paragraph xml-lang="en-US" id="par_id121020081121547" role="listitem">The range of cells that will get sorted is shown in inverted colors.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN10645" role="listitem">Select the sort options that you want.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN1063D" role="listitem">Click <emph>OK</emph>.</paragraph> + </listitem> + </list> + <section id="relatedtopics"> + <embed href="text/scalc/guide/database_define.xhp#database_define"/> + <embed href="text/scalc/guide/database_filter.xhp#database_filter"/> + <paragraph xml-lang="en-US" id="par_id1846980" role="paragraph"><link href="https://wiki.documentfoundation.org/Documentation/How_Tos/Defining_a_Data_Range" name="wiki.documentfoundation.org: Defining a Data Range">Wiki page about defining a data range</link></paragraph> + </section> + </body> +</helpdocument>
\ 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> +<helpdocument version="1.0"> +<meta> +<topic id="textscalcguidedatapilotxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Pivot Table</title> +<filename>/text/scalc/guide/datapilot.xhp</filename> +</topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3150448"><bookmark_value>pivot table function; introduction</bookmark_value> +<bookmark_value>DataPilot, see pivot table function</bookmark_value> +</bookmark> +<h1 id="hd_id3150448"><variable id="datapilot"><link href="text/scalc/guide/datapilot.xhp" name="Pivot Table">Pivot Table</link> +</variable></h1> +<paragraph role="paragraph" id="par_id3156024" xml-lang="en-US">The <emph>pivot table</emph> (formerly known as <emph>DataPilot</emph>) 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.</paragraph> +<paragraph role="paragraph" id="par_id3145069" xml-lang="en-US">A table that has been created as a <link href="text/scalc/01/12090000.xhp" name="pivot table">pivot table</link> is an interactive table. Data can be arranged, rearranged or summarized according to different points of view.</paragraph> + +<embed href="text/scalc/06/calcsamplefiles.xhp#pivot"/> +<section id="relatedtopics"> +<embed href="text/scalc/guide/datapilot_createtable.xhp#datapilot_createtable"/> +<embed href="text/scalc/guide/datapilot_edittable.xhp#datapilot_edittable"/> +<embed href="text/scalc/guide/datapilot_formatting.xhp#h1"/> +<embed href="text/scalc/guide/datapilot_filtertable.xhp#datapilot_filtertable"/> +<embed href="text/scalc/guide/datapilot_updatetable.xhp#datapilot_updatetable"/> +<embed href="text/scalc/guide/datapilot_tipps.xhp#datapilot_tipps"/> +<embed href="text/scalc/guide/datapilot_deletetable.xhp#datapilot_deletetable"/> +<embed href="text/scalc/guide/pivotchart.xhp#pivotchart"/> + +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> + <topic id="textscalcguidedatapilot_createtablexml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Creating Pivot Tables</title> + <filename>/text/scalc/guide/datapilot_createtable.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3148491"><bookmark_value>pivot tables</bookmark_value> + <bookmark_value>pivot table function; calling up and applying</bookmark_value> +</bookmark> +<h1 id="hd_id3148491"><variable id="datapilot_createtable"><link href="text/scalc/guide/datapilot_createtable.xhp" name="Creating Pivot Tables">Creating Pivot Tables</link> +</variable></h1> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3156023" role="listitem">Position the cursor within a range of cells containing values, row and column headings.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3147264" role="listitem">Choose <emph>Insert - Pivot Table</emph>. The <emph>Select Source</emph> dialog appears. Choose <emph>Current selection</emph> and confirm with <emph>OK</emph>. The table headings are shown as buttons in the <emph>Pivot Table</emph> dialog. Drag these buttons as required and drop them into the layout areas "Filters", "Column Fields", "Row Fields" and "Data Fields".</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3150868" role="listitem">Drag the desired buttons into one of the four areas.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_id7599414" role="paragraph">Drag a button to the <emph>Filters</emph> 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.</paragraph> + <paragraph xml-lang="en-US" id="par_id3154011" role="paragraph">If the button is dropped in the <emph>Data Fields</emph> area it will be given a caption that also shows the formula that will be used to calculate the data.</paragraph> + <list type="unordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3146974" role="listitem">By double-clicking on one of the fields in the <emph>Data Fields</emph> area you can call up the <link href="text/scalc/01/12090105.xhp" name="Data Field"><emph>Data Field</emph></link> dialog.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3156286" role="listitem">Use the <item type="menuitem">Data Field</item> dialog to select the calculations to be used for the data. To make a multiple selection, press the <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline> key while clicking the desired calculation.</paragraph> + </listitem> + </list> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3150329" role="listitem">The order of the buttons can be changed at any time by moving them to a different position in the area with the mouse.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3153714" role="listitem">Remove a button by dragging it back to the area of the other buttons at the right of the dialog.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3147338" role="listitem">To open the <link href="text/scalc/01/12090105.xhp" name="Data Field"><emph>Data Field</emph></link> dialog, double-click one of the buttons in the <emph>Row Fields</emph> or <emph>Column Fields</emph> area. Use the dialog to select if and to what extent <item type="productname">%PRODUCTNAME</item> calculates display subtotals.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_id3154020" role="paragraph">Exit the Pivot Table dialog by pressing OK. A <emph>Filter</emph> button will now be inserted, or a page button for every data field that you dropped in the <emph>Filters</emph> area. The pivot table is inserted further down.</paragraph> + + <embed href="text/scalc/06/calcsamplefiles.xhp#pivot"/> + <section id="relatedtopics"> + <embed href="text/scalc/guide/datapilot.xhp#datapilot"/> + <embed href="text/scalc/guide/datapilot_edittable.xhp#datapilot_edittable"/> + <embed href="text/scalc/guide/datapilot_formatting.xhp#h1"/> + <embed href="text/scalc/guide/datapilot_filtertable.xhp#datapilot_filtertable"/> + <embed href="text/scalc/guide/datapilot_updatetable.xhp#datapilot_updatetable"/> + <embed href="text/scalc/guide/datapilot_grouping.xhp#datapilot_grouping"/> + <embed href="text/scalc/guide/datapilot_tipps.xhp#datapilot_tipps"/> + <embed href="text/scalc/guide/datapilot_deletetable.xhp#datapilot_deletetable"/> + <embed href="text/scalc/guide/pivotchart.xhp#pivotchart"/> + </section> + </body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> + <topic id="textscalcguidedatapilot_deletetablexml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Deleting Pivot Tables</title> + <filename>/text/scalc/guide/datapilot_deletetable.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3153726"><bookmark_value>pivot table function; deleting tables</bookmark_value> + <bookmark_value>deleting;pivot tables</bookmark_value> +</bookmark> +<h1 id="hd_id3153726"><variable id="datapilot_deletetable"><link href="text/scalc/guide/datapilot_deletetable.xhp" name="Deleting Pivot Tables">Deleting Pivot Tables</link> +</variable></h1> + <paragraph xml-lang="en-US" id="par_id3154014" role="paragraph">In order to delete a pivot table, click any cell in the pivot table, then choose <emph>Delete</emph> in the context menu.</paragraph> + <warning id="par_id141525148751543">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.</warning> + + <embed href="text/scalc/06/calcsamplefiles.xhp#pivot"/> + <section id="relatedtopics"> + <embed href="text/scalc/guide/datapilot.xhp#datapilot"/> + <embed href="text/scalc/guide/datapilot_createtable.xhp#datapilot_createtable"/> + <embed href="text/scalc/guide/datapilot_edittable.xhp#datapilot_edittable"/> + <embed href="text/scalc/guide/datapilot_formatting.xhp#h1"/> + <embed href="text/scalc/guide/datapilot_filtertable.xhp#datapilot_filtertable"/> + <embed href="text/scalc/guide/datapilot_updatetable.xhp#datapilot_updatetable"/> + <embed href="text/scalc/guide/datapilot_tipps.xhp#datapilot_tipps"/> + <embed href="text/scalc/guide/pivotchart.xhp#pivotchart"/> + </section> + </body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> + <topic id="textscalcguidedatapilot_edittablexml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Editing Pivot Tables</title> + <filename>/text/scalc/guide/datapilot_edittable.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3148663"><bookmark_value>pivot table function; editing tables</bookmark_value> +<bookmark_value>editing;pivot tables</bookmark_value> +</bookmark> +<h1 id="hd_id3148663"><variable id="datapilot_edittable"><link href="text/scalc/guide/datapilot_edittable.xhp" name="Editing Pivot Tables">Editing Pivot Tables</link> +</variable></h1> + <paragraph xml-lang="en-US" id="par_id3150868" role="paragraph">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.</paragraph> + <paragraph xml-lang="en-US" id="par_id3145786" role="paragraph">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.</paragraph> + <paragraph xml-lang="en-US" id="par_id1648915" role="paragraph">In the Pivot Table dialog, you can drag a button to the <emph>Filters</emph> 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.</paragraph> + <paragraph xml-lang="en-US" id="par_id3147434" role="paragraph">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.</paragraph> + <paragraph xml-lang="en-US" id="par_id3156442" role="paragraph">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 <emph>Properties</emph>, which displays the <emph>Pivot Table Layout</emph> dialog for the current pivot table.</paragraph> + <paragraph xml-lang="en-US" id="par_id2666096" role="paragraph">In the pivot table, you can use drag-and-drop or cut/paste commands to rearrange the order of data fields.</paragraph> + <paragraph xml-lang="en-US" id="par_id266609688" role="paragraph">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.</paragraph> + + <embed href="text/scalc/06/calcsamplefiles.xhp#pivot"/> + <section id="relatedtopics"> + <embed href="text/scalc/guide/datapilot.xhp#datapilot"/> + <embed href="text/scalc/guide/datapilot_createtable.xhp#datapilot_createtable"/> + <embed href="text/scalc/guide/datapilot_filtertable.xhp#datapilot_filtertable"/> + <embed href="text/scalc/guide/datapilot_updatetable.xhp#datapilot_updatetable"/> + <embed href="text/scalc/guide/datapilot_formatting.xhp#h1"/> + <embed href="text/scalc/guide/datapilot_grouping.xhp#datapilot_grouping"/> + <embed href="text/scalc/guide/datapilot_tipps.xhp#datapilot_tipps"/> + <embed href="text/scalc/guide/datapilot_deletetable.xhp#datapilot_deletetable"/> + <embed href="text/scalc/guide/pivotchart.xhp#pivotchart"/> + </section> + </body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<meta> +<topic id="textscalcguidedatapilot_filtertablexml" indexer="include" status="PUBLISH"> +<title xml-lang="en-US" id="tit">Filtering Pivot Tables</title> +<filename>/text/scalc/guide/datapilot_filtertable.xhp</filename> +</topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3150792"> +<bookmark_value>pivot table function; filtering tables</bookmark_value> +<bookmark_value>filtering;pivot tables</bookmark_value> +</bookmark> +<h1 id="hd_id3150792"><variable id="datapilot_filtertable"><link href="text/scalc/guide/datapilot_filtertable.xhp" name="Filtering Pivot Tables">Filtering Pivot Tables</link></variable></h1> +<paragraph id="par_id3153192" role="paragraph" xml-lang="en-US">You can use filters to remove unwanted data from a pivot table.</paragraph> +<paragraph id="par_id3150441" role="paragraph" xml-lang="en-US">Click the <emph>Filter</emph> 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 <emph>Filter</emph> command. The <link href="text/scalc/01/12090103.xhp" name="Filter"><emph>Filter</emph></link> dialog appears. Here you can filter the pivot table.</paragraph> +<paragraph id="par_id315044199" role="paragraph" xml-lang="en-US">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.</paragraph> +<list type="unordered"> +<listitem> +<paragraph id="par_id0720201001344485" role="paragraph" xml-lang="en-US">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.</paragraph> +</listitem> +<listitem> +<paragraph id="par_id0720201001344449" role="paragraph" xml-lang="en-US">Enable or disable a checkbox to show or hide the associated field member in the pivot table.</paragraph> +</listitem> +<listitem> +<paragraph id="par_id0720201001344493" role="paragraph" xml-lang="en-US">Enable or disable the <emph>All</emph> checkbox to show all or none of the field members.</paragraph> +</listitem> +<listitem> +<paragraph id="par_id0720201001344431" role="paragraph" xml-lang="en-US">Select a field member in the pop-up window and click the <item type="menuitem">Show only the current item</item> button to show only the selected field member. All other field members are hidden in the pivot table.</paragraph> +</listitem> +<listitem> +<paragraph id="par_id0720201001344484" role="paragraph" xml-lang="en-US">Select a field member in the pop-up window and click the <item type="menuitem">Hide only the current item</item> button to hide only the selected field member. All other field members are shown in the pivot table.</paragraph> +</listitem> +<listitem> +<paragraph id="par_id0720201001344578" role="paragraph" xml-lang="en-US">Commands enable you to sort the field members in ascending order, descending order, or using a custom sort list.</paragraph> +</listitem> +<listitem> +<paragraph id="par_id0720201001344584" role="paragraph" xml-lang="en-US">To edit the custom sort lists, open <switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences +</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - %PRODUCTNAME Calc - Sort Lists.</paragraph> +</listitem> +<listitem> +<paragraph id="par_id0720201001344811" role="paragraph" xml-lang="en-US">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.</paragraph> +</listitem> +<listitem> +<paragraph id="par_id0720201001344884" role="paragraph" xml-lang="en-US">You can also open the pop-up window by positioning the cell cursor at the button and pressing <switchinline select="sys"><caseinline select="MAC">Command +</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+D.</paragraph> +</listitem></list> + +<embed href="text/scalc/06/calcsamplefiles.xhp#pivot"/> +<section id="relatedtopics"> + <embed href="text/scalc/guide/datapilot.xhp#datapilot"/> + <embed href="text/scalc/guide/datapilot_createtable.xhp#datapilot_createtable"/> + <embed href="text/scalc/guide/datapilot_edittable.xhp#datapilot_edittable"/> + <embed href="text/scalc/guide/datapilot_formatting.xhp#h1"/> + <embed href="text/scalc/guide/datapilot_updatetable.xhp#datapilot_updatetable"/> + <embed href="text/scalc/guide/datapilot_grouping.xhp#datapilot_grouping"/> + <embed href="text/scalc/guide/datapilot_tipps.xhp#datapilot_tipps"/> + <embed href="text/scalc/guide/datapilot_deletetable.xhp#datapilot_deletetable"/> + <embed href="text/scalc/guide/pivotchart.xhp#pivotchart"/> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + <!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + --> + + <meta> + <topic id="datapilotformatting" indexer="include" status="PUBLISH"> + <title id="tit" xml-lang="en-US">Formatting Pivot Tables</title> + <filename>/text/scalc/guide/datapilot_formatting.xhp</filename> + </topic> +</meta> +<body> +<section id="sectionpivotformat"> + <bookmark xml-lang="en-US" branch="index" id="bm_id931656104694657"> + <bookmark_value>formatting;pivot tables</bookmark_value> + </bookmark> + <h1 id="hd_id341656099297638"><variable id="h1"><link href="text/scalc/guide/datapilot_formatting.xhp" name="Formatting Pivot Tables">Formatting Pivot Tables</link></variable></h1> + <paragraph id="par_id121656099297641" role="paragraph" xml-lang="en-US">You can format pivot tables cells using specific cell styles.</paragraph> + </section> + <warning id="par_id751656100824556">Direct formatting of pivot tables cells is lost when updating or editing the table.</warning> + <paragraph role="paragraph" id="par_id31656100011920">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.</paragraph> + <note id="par_id601656100455727">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.</note> + <paragraph role="paragraph" id="par_id941656100017412">The six cell styles are:</paragraph> + <list type="unordered"> + <listitem> + <paragraph id="par_id181656100070568" role="listitem">Pivot Table Categories</paragraph> + </listitem> + <listitem> + <paragraph id="par_id781656100074986" role="listitem">Pivot Table Corner</paragraph> + </listitem> + <listitem> + <paragraph id="par_id311656100079561" role="listitem">Pivot Table Field</paragraph> + </listitem> + <listitem> + <paragraph id="par_id601656100083888" role="listitem">Pivot Table Result</paragraph> + </listitem> + <listitem> + <paragraph id="par_id521656100088324" role="listitem">Pivot Table Value</paragraph> + </listitem> + <listitem> + <paragraph id="par_id111656100092437" role="listitem">Pivot Table Title</paragraph> + </listitem> + </list> + <warning id="par_id971656104293716">The number format of these cell styles cannot be changed in the cell style itself; you must format it in the data source.</warning> + <embed href="text/scalc/06/calcsamplefiles.xhp#pivot"/> + <section id="relatedtopics"> + <embed href="text/scalc/guide/datapilot.xhp#datapilot"/> + <embed href="text/scalc/guide/datapilot_createtable.xhp#datapilot_createtable"/> + <embed href="text/scalc/guide/datapilot_edittable.xhp#datapilot_edittable"/> + <embed href="text/scalc/guide/datapilot_filtertable.xhp#datapilot_filtertable"/> + <embed href="text/scalc/guide/datapilot_updatetable.xhp#datapilot_updatetable"/> + <embed href="text/scalc/guide/datapilot_grouping.xhp#datapilot_grouping"/> + <embed href="text/scalc/guide/datapilot_tipps.xhp#datapilot_tipps"/> + <embed href="text/scalc/guide/datapilot_deletetable.xhp#datapilot_deletetable"/> + <embed href="text/scalc/guide/pivotchart.xhp#pivotchart"/> + </section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> +<helpdocument version="1.0"> +<meta> +<topic id="textscalcguidedatapilot_groupingxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Grouping Pivot Tables</title> +<filename>/text/scalc/guide/datapilot_grouping.xhp</filename> +</topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id4195684"><bookmark_value>grouping; pivot tables</bookmark_value> +<bookmark_value>pivot table function;grouping table entries</bookmark_value> +<bookmark_value>ungrouping entries in pivot tables</bookmark_value> +</bookmark> +<h1 id="par_idN10643"><variable id="datapilot_grouping"><link href="text/scalc/guide/datapilot_grouping.xhp">Grouping Pivot Tables</link> +</variable></h1><comment>see http://specs.openoffice.org/calc/compatibility/grouping.sxw</comment><paragraph role="paragraph" id="par_idN10661" xml-lang="en-US">The resulting pivot table can contain many different entries. By grouping the entries, you can improve the visible result.</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="paragraph" id="par_idN10667" xml-lang="en-US">Select a cell or range of cells in the pivot table.</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_idN1066B" xml-lang="en-US">Choose <emph>Data - Group and Outline - Group</emph>.</paragraph> +</listitem> +</list> +<paragraph role="paragraph" id="par_idN1066E" xml-lang="en-US">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 <link href="text/scalc/01/12090400.xhp">Grouping</link> dialogs, either for numeric values, or for date values.</paragraph> +<paragraph role="paragraph" id="par_id3328653" xml-lang="en-US">The pivot table must be organized in a way that grouping can be applied.</paragraph> +<list type="unordered"> +<listitem> +<paragraph role="paragraph" id="par_idN10682" xml-lang="en-US">To remove a grouping, click inside the group, then choose <emph>Data - Group and Outline - Ungroup</emph>.</paragraph> +</listitem> +</list> + +<embed href="text/scalc/06/calcsamplefiles.xhp#pivot"/> +<section id="relatedtopics"> +<embed href="text/scalc/guide/datapilot.xhp#datapilot"/> +<embed href="text/scalc/guide/datapilot_createtable.xhp#datapilot_createtable"/> +<embed href="text/scalc/guide/datapilot_formatting.xhp#h1"/> +<embed href="text/scalc/guide/datapilot_filtertable.xhp#datapilot_filtertable"/> +<embed href="text/scalc/guide/datapilot_updatetable.xhp#datapilot_updatetable"/> +<embed href="text/scalc/guide/datapilot_tipps.xhp#datapilot_tipps"/> +<embed href="text/scalc/guide/datapilot_deletetable.xhp#datapilot_deletetable"/> +<embed href="text/scalc/guide/pivotchart.xhp#pivotchart"/> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> +<helpdocument version="1.0"> +<meta> +<topic id="textscalcguidedatapilot_tippsxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Selecting Pivot Table Output Ranges</title> +<filename>/text/scalc/guide/datapilot_tipps.xhp</filename> +</topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3148663"><bookmark_value>pivot table function; preventing data overwriting</bookmark_value> +<bookmark_value>output ranges of pivot tables</bookmark_value> +</bookmark> +<h1 id="hd_id3148663"><variable id="datapilot_tipps"><link href="text/scalc/guide/datapilot_tipps.xhp" name="Selecting Pivot Table Output Ranges">Selecting Pivot Table Output Ranges</link> +</variable></h1> +<paragraph role="paragraph" id="par_id3154123" xml-lang="en-US">Click the button <emph>More</emph> in the <emph>Pivot Table</emph> dialog. The dialog will be extended.</paragraph> +<paragraph role="paragraph" id="par_id3153771" xml-lang="en-US">You can select a named range in which the pivot table is to be created, from the <emph>Results to</emph> 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 <emph>Results to</emph> box. You can also click on the appropriate cell to have the coordinates entered accordingly.</paragraph> +<paragraph role="paragraph" id="par_id3146974" xml-lang="en-US">If you mark the <emph>Ignore empty rows</emph> check box, they will not be taken into account when the pivot table is created.</paragraph> +<paragraph role="paragraph" id="par_id3145273" xml-lang="en-US">If the <emph>Identify categories</emph> check box is marked, the categories will be identified by their headings and assigned accordingly when the pivot table is created.</paragraph> + +<embed href="text/scalc/06/calcsamplefiles.xhp#pivot"/> +<section id="relatedtopics"> +<embed href="text/scalc/guide/datapilot.xhp#datapilot"/> +<embed href="text/scalc/guide/datapilot_createtable.xhp#datapilot_createtable"/> +<embed href="text/scalc/guide/datapilot_edittable.xhp#datapilot_edittable"/> +<embed href="text/scalc/guide/datapilot_formatting.xhp#h1"/> +<embed href="text/scalc/guide/datapilot_filtertable.xhp#datapilot_filtertable"/> +<embed href="text/scalc/guide/datapilot_grouping.xhp#datapilot_grouping"/> +<embed href="text/scalc/guide/datapilot_updatetable.xhp#datapilot_updatetable"/> +<embed href="text/scalc/guide/datapilot_deletetable.xhp#datapilot_deletetable"/> +<embed href="text/scalc/guide/pivotchart.xhp#pivotchart"/> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> +<helpdocument version="1.0"> +<meta> +<topic id="textscalcguidedatapilot_updatetablexml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Updating Pivot Tables</title> +<filename>/text/scalc/guide/datapilot_updatetable.xhp</filename> +</topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3150792"><bookmark_value>pivot table import</bookmark_value> +<bookmark_value>pivot table function; refreshing tables</bookmark_value> +<bookmark_value>recalculating;pivot tables</bookmark_value> +<bookmark_value>updating;pivot tables</bookmark_value> +</bookmark> +<h1 id="hd_id3150792"><variable id="datapilot_updatetable"><link href="text/scalc/guide/datapilot_updatetable.xhp" name="Updating Pivot Tables">Updating Pivot Tables</link> +</variable></h1> +<paragraph role="paragraph" id="par_id3154684" xml-lang="en-US">If the data of the source sheet has been changed, $[officename] recalculates the pivot table. To recalculate the table, choose <emph>Data - Pivot Table - Refresh</emph>. Do the same after you have imported an Excel pivot table into $[officename] Calc.</paragraph> + +<embed href="text/scalc/06/calcsamplefiles.xhp#pivot"/> +<section id="relatedtopics"> +<embed href="text/scalc/guide/datapilot.xhp#datapilot"/> +<embed href="text/scalc/guide/datapilot_createtable.xhp#datapilot_createtable"/> +<embed href="text/scalc/guide/datapilot_edittable.xhp#datapilot_edittable"/> +<embed href="text/scalc/guide/datapilot_formatting.xhp#h1"/> +<embed href="text/scalc/guide/datapilot_filtertable.xhp#datapilot_filtertable"/> +<embed href="text/scalc/guide/datapilot_grouping.xhp#datapilot_grouping"/> +<embed href="text/scalc/guide/datapilot_tipps.xhp#datapilot_tipps"/> +<embed href="text/scalc/guide/datapilot_deletetable.xhp#datapilot_deletetable"/> +<embed href="text/scalc/guide/pivotchart.xhp#pivotchart"/> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> + <topic id="textscalcguidedbase_filesxhp" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Importing and Exporting dBASE Files </title> + <filename>/text/scalc/guide/dbase_files.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id1226844"><bookmark_value>exporting;spreadsheets to dBASE</bookmark_value> + <bookmark_value>importing;dBASE files</bookmark_value> + <bookmark_value>dBASE import/export</bookmark_value> + <bookmark_value>spreadsheets; importing from/exporting to dBASE files</bookmark_value> + <bookmark_value>tables in databases;importing dBASE files</bookmark_value> +</bookmark><comment>mw changed "database tables;" to "tables in databases;" and reduced "spreadsheets;" from two to one entry</comment> +<paragraph xml-lang="en-US" id="par_idN10738" role="heading" level="1"><variable id="dbase_files"><link href="text/scalc/guide/dbase_files.xhp">Importing and Exporting dBASE Files</link> +</variable></paragraph> + <paragraph xml-lang="en-US" id="par_idN10756" role="paragraph">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.</paragraph> + <paragraph xml-lang="en-US" id="par_idN10759" role="heading" level="2">To Import a dBASE File Into a Spreadsheet</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_idN10760" role="paragraph">Choose <emph>File - Open</emph>.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN1071F" role="paragraph">Locate the *.dbf file that you want to import. </paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN10768" role="paragraph">Click <emph>Open</emph>.</paragraph> + <paragraph xml-lang="en-US" id="par_idN10730" role="paragraph">The <emph>Import dBASE files</emph> dialog opens.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN10774" role="paragraph">Click <emph>OK</emph>.</paragraph> + <paragraph xml-lang="en-US" id="par_idN10777" role="paragraph">The dBASE file opens as a new Calc spreadsheet.</paragraph> + <paragraph xml-lang="en-US" id="par_idN1074E" role="warning">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.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_idN1077A" role="heading" level="2">To Import a dBASE File Into a Database Table</paragraph> + <paragraph xml-lang="en-US" id="par_idN1076C" role="paragraph">A %PRODUCTNAME Base database table is actually a link to an existing database.</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_idN10796" role="paragraph">Choose <item type="menuitem">File - New - Database</item>.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN10786" role="paragraph">In the <emph>File name</emph> box of the <emph>Save As</emph> dialog, enter a name for the database.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN10792" role="paragraph">Click <emph>Save</emph>.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN1079A" role="paragraph">In the <emph>Database type </emph>box of the <emph>Database Properties</emph> dialog, select "dBASE".</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN107A6" role="paragraph">Click <emph>Next</emph>.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN107AE" role="paragraph">Click <emph>Browse</emph>.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN107B6" role="paragraph">Locate the directory that contains the dBASE file, and click <emph>OK</emph>.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN107BE" role="paragraph">Click <emph>Create</emph>.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_idN107F1" role="heading" level="2">To Save a Spreadsheet as a dBASE File</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_idN107F8" role="paragraph">Choose <emph>File - Save As</emph>.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN10800" role="paragraph">In the <emph>File format</emph> box, select "dBASE file".</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN107F9" role="paragraph">In the <emph>File name</emph> box, type a name for the dBASE file.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN10801" role="paragraph">Click <emph>Save</emph>.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_idN10808" role="note">Only the data on the current sheet is exported.</paragraph> + <section id="relatedtopics"> + <embed href="text/shared/guide/data_im_export.xhp#data_im_export"/> + <embed href="text/shared/guide/data_dbase2office.xhp#data_dbase2office"/> + </section> + </body> +</helpdocument>
\ 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + + <helpdocument version="1.0"> +<meta> +<topic id="textscalcguidedesignxml" indexer="include" status="PUBLISH"> +<title xml-lang="en-US" id="tit">Selecting Themes for Sheets</title> +<filename>/text/scalc/guide/design.xhp</filename> +</topic> +</meta> +<body> + + + +<bookmark xml-lang="en-US" branch="index" id="bm_id3150791"><bookmark_value>theme selection for sheets</bookmark_value> +<bookmark_value>layout;spreadsheets</bookmark_value> +<bookmark_value>cell styles; selecting</bookmark_value> +<bookmark_value>selecting;formatting themes</bookmark_value> +<bookmark_value>sheets;formatting themes</bookmark_value> +<bookmark_value>formats;themes for sheets</bookmark_value> +<bookmark_value>formatting;themes for sheets</bookmark_value> +</bookmark> + <comment>mw deleted "applying;"</comment> + <paragraph xml-lang="en-US" id="hd_id3150791" role="heading" level="1"><variable id="design"><link href="text/scalc/guide/design.xhp" name="Selecting Themes for Sheets">Selecting Themes for Sheets</link> +</variable></paragraph> + <paragraph xml-lang="en-US" id="par_id3145786" role="paragraph">$[officename] Calc comes with a predefined set of formatting themes that you can apply to your spreadsheets.</paragraph> + <paragraph xml-lang="en-US" id="par_id3154490" role="paragraph">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.</paragraph> + <paragraph xml-lang="en-US" id="par_id3154757" role="paragraph">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 <emph>Theme Selection</emph> dialog.</paragraph> + <paragraph xml-lang="en-US" id="par_id3156382" role="paragraph">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.</paragraph> + <paragraph xml-lang="en-US" id="par_id3153963" role="paragraph">To apply a theme to a spreadsheet:</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3146920" role="listitem">Click the <emph>Choose Themes</emph> icon in the <emph>Tools</emph> bar. </paragraph> + <embed href="text/scalc/02/06080000.xhp#sythemes"/> + <paragraph xml-lang="en-US" id="par_id3148488" role="listitem">The <emph>Theme Selection</emph> dialog appears. This dialog lists the available themes for the whole spreadsheet and the Styles window lists the custom styles for specific cells.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3155114" role="listitem">In the <emph>Theme Selection </emph>dialog, select the theme that you want to apply to the spreadsheet.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3150090" role="listitem">Click OK</paragraph> + <paragraph xml-lang="en-US" id="par_id3150201" role="listitem">As soon as you select another theme in the <emph>Theme Selection</emph> 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.</paragraph> + </listitem> + </list> + <section id="relatedtopics"> + + <embed href="text/scalc/guide/autoformat.xhp#autoformat"/> + <paragraph xml-lang="en-US" id="par_id3146979" role="paragraph"><link href="text/scalc/02/06080000.xhp" name="Theme selection">Theme selection</link></paragraph> + + </section> + </body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<meta> + <topic id="textscalcguideedit_multitablesxml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Copying to Multiple Sheets</title> + <filename>/text/scalc/guide/edit_multitables.xhp</filename> + </topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3149456"> +<bookmark_value>copying;values, to multiple sheets</bookmark_value> +<bookmark_value>pasting;values in multiple sheets</bookmark_value> +<bookmark_value>data;inserting in multiple sheets</bookmark_value> +<bookmark_value>sheets; simultaneous multiple filling</bookmark_value> +</bookmark> + <comment>mw moved "multiple sheets" and "selecting;" to multitables.xhp, transferred "sheets;" from there and deleted "sheets;transferring.."</comment> +<paragraph xml-lang="en-US" id="hd_id3149456" role="heading" level="1"><variable id="edit_multitables"><link href="text/scalc/guide/edit_multitables.xhp" name="Copying to Multiple Sheets">Copying to Multiple Sheets</link></variable></paragraph> + <paragraph xml-lang="en-US" id="par_id3150868" role="paragraph">In $[officename] Calc, you can insert values, text or formulas that are simultaneously copied to other selected sheets of your document.</paragraph> +<list type="unordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3153768" role="listitem">Select all desired sheets by holding down the <switchinline select="sys"><caseinline select="MAC"><emph>Command</emph></caseinline><defaultinline><emph>Ctrl</emph></defaultinline></switchinline> 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.</paragraph> + <paragraph xml-lang="en-US" id="par_idN10614" role="paragraph">You can use <emph>Shift</emph>+<switchinline select="sys"><caseinline select="MAC"><emph>Command</emph></caseinline><defaultinline><emph>Ctrl</emph></defaultinline></switchinline>+<emph>Page Up</emph> or <emph>Page Down</emph> to select multiple sheets using the keyboard.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3147435" role="listitem">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.</paragraph> + </listitem> + </list> +<section id="relatedtopics"> + <embed href="text/scalc/guide/multitables.xhp#multitables"/> + <embed href="text/scalc/guide/multi_tables.xhp#multi_tables"/> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> + <topic id="textscalcguidefiltersxml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Applying Filters</title> + <filename>/text/scalc/guide/filters.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3153896"><bookmark_value>filters; applying/removing</bookmark_value> + <bookmark_value>rows;removing/redisplaying with filters</bookmark_value> + <bookmark_value>removing;filters</bookmark_value> +</bookmark> +<paragraph xml-lang="en-US" id="hd_id3153896" role="heading" level="1"><variable id="filters"><link href="text/scalc/guide/filters.xhp" name="Applying Filters">Applying Filters</link> +</variable></paragraph> + <paragraph xml-lang="en-US" id="par_id3150869" role="paragraph">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.</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3155131" role="listitem">One use for the <emph>AutoFilter</emph> function is to quickly restrict the display to records with identical entries in a data field.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3146119" role="listitem">In the <emph>Standard Filter</emph> 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.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3150010" role="listitem">The <emph>Advanced filter</emph> allows up to a total of eight filter conditions. With advanced filters you enter the conditions directly into the sheet.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_id9384746" role="tip">To remove a filter, so that you see all cells again, click inside the area where the filter was applied, then choose <item type="menuitem">Data - Filter - Reset Filter</item>.</paragraph> + <paragraph xml-lang="en-US" id="par_idN10663" role="note">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. </paragraph> + <paragraph xml-lang="en-US" id="par_id218817" role="note">This is the opposite to rows that you have hidden manually by the <emph>Format - Rows - Hide Rows</emph> command. Manually hidden rows are deleted when you delete a selection that contains them.</paragraph> + <section id="relatedtopics"> + <embed href="text/scalc/guide/autofilter.xhp#autofilter"/> + <embed href="text/scalc/guide/specialfilter.xhp#specialfilter"/> + <embed href="text/scalc/guide/cellcopy.xhp#cellcopy"/> + </section> + </body> +</helpdocument>
\ 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> +<topic id="textscalcguidefindingxhp" indexer="include"> +<title id="tit" xml-lang="en-US">Finding and Replacing in Calc</title> +<filename>/text/scalc/guide/finding.xhp</filename> +</topic> +</meta> +<body> +<section id="finding_text"> +<bookmark xml-lang="en-US" branch="index" id="bm_id3769341"><bookmark_value>searching, see also finding</bookmark_value> +<bookmark_value>finding;formulas/values/text/objects</bookmark_value> +<bookmark_value>replacing; cell contents</bookmark_value> +<bookmark_value>formatting;multiple cell texts</bookmark_value> +</bookmark><comment>2. mw deleted 2 entries, changed "finding;" and added "formatting;"</comment><comment>1. mw copied 5 entries from shared/01/02100000.xhp and changed then "finding," and "replacing;"</comment> +<paragraph role="heading" id="hd_id3149204" xml-lang="en-US" level="1"><variable id="finding"><link href="text/scalc/guide/finding.xhp">Finding and Replacing in Calc</link> +</variable></paragraph> +<paragraph role="paragraph" id="par_id9363689" xml-lang="en-US">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.</paragraph> +</section> +<paragraph role="heading" id="hd_id3610644" xml-lang="en-US" level="2">The Find & Replace dialog</paragraph> +<paragraph role="paragraph" id="par_id2224494" xml-lang="en-US">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.</paragraph> +<paragraph role="heading" id="hd_id2423780" xml-lang="en-US" level="3">To find formulas or values</paragraph> +<paragraph role="paragraph" id="par_id2569658" xml-lang="en-US">You can specify in the Find & Replace dialog either to find the parts of a formula or the results of a calculation.</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="paragraph" id="par_id6394238" xml-lang="en-US">Choose <emph>Edit - Find & Replace</emph> to open the Find & Replace dialog.</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id7214270" xml-lang="en-US">Click <emph>More Options</emph> to expand the dialog.</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id2186346" xml-lang="en-US">Select "Formulas" or "Values" in the <emph>Search in</emph> list box.</paragraph> +</listitem> +</list> +<paragraph role="paragraph" id="par_id1331217" xml-lang="en-US">With "Formulas" you will find all parts of the formulas. </paragraph> +<paragraph role="paragraph" id="par_id393993" xml-lang="en-US">With "Values" you will find the results of the calculations. </paragraph> +<paragraph role="note" id="par_id3163853">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.</paragraph> +<paragraph role="heading" id="hd_id7359233" xml-lang="en-US" level="3">Finding text</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="paragraph" id="par_id6549272" xml-lang="en-US">Choose <emph>Edit - Find & Replace</emph> to open the Find & Replace dialog.</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id6529740" xml-lang="en-US">Enter the text to find in the <emph>Find</emph> text box.</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id9121982" xml-lang="en-US">Either click <emph>Find Next</emph> or <emph>Find All</emph>.</paragraph> +</listitem> +</list> +<paragraph role="paragraph" id="par_id3808404" xml-lang="en-US">When you click <emph>Find Next</emph>, Calc will select the next cell that contains your text. You can watch and edit the text, then click <emph>Find Next</emph> again to advance to the next found cell. </paragraph> +<list type="ordered"> +<listitem> +<paragraph role="paragraph" id="par_id2394482" xml-lang="en-US">If you closed the dialog, you can press a key combination (<switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Shift+F) to find the next cell without opening the dialog. </paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id631733" xml-lang="en-US">By default, Calc searches the current sheet. Check the <emph>All sheets</emph> box to search through all sheets of the document.</paragraph> +</listitem> +</list> +<paragraph role="paragraph" id="par_id7811822" xml-lang="en-US">When you click <emph>Find All</emph>, 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.</paragraph> +<paragraph role="heading" id="hd_id8531449" xml-lang="en-US" level="2">The Navigator</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="paragraph" id="par_id9183935" xml-lang="en-US">Choose <emph>View - Navigator</emph> to open the Navigator window.</paragraph> +</listitem> +</list> +<paragraph role="paragraph" id="par_id946684" xml-lang="en-US">The Navigator is the main tool for finding and selecting objects.</paragraph> +<paragraph role="paragraph" id="par_id9607226" xml-lang="en-US">Use the Navigator for inserting objects and links within the same document or from other open documents.</paragraph> +<section id="relatedtopics"> +<embed href="text/swriter/guide/search_regexp.xhp#search_regexp"/> +<embed href="text/shared/01/02100001.xhp#02100001"/> +<embed href="text/swriter/guide/finding.xhp#finding"/> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> +<topic id="textscalcguideformat_tablexml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Formatting Spreadsheets</title> +<filename>/text/scalc/guide/format_table.xhp</filename> +</topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3154125"><bookmark_value>text in cells; formatting</bookmark_value> +<bookmark_value>spreadsheets;formatting</bookmark_value> +<bookmark_value>backgrounds;cells and pages</bookmark_value> +<bookmark_value>borders;cells and pages</bookmark_value> +<bookmark_value>formatting;spreadsheets</bookmark_value> +<bookmark_value>numbers; formatting options for selected cells</bookmark_value> +<bookmark_value>cells; number formats</bookmark_value> +<bookmark_value>currencies;formats</bookmark_value> +</bookmark><comment>mw transferred 2 entries from shared/01/05020300.xhp and added 2 new entries</comment><comment>mw deleted "defaults;"</comment> +<paragraph role="heading" id="hd_id3154125" xml-lang="en-US" level="1"><variable id="format_table"><link href="text/scalc/guide/format_table.xhp" name="Designing Spreadsheets">Formatting Spreadsheets</link> +</variable></paragraph> +<paragraph role="heading" id="hd_id3153912" xml-lang="en-US" level="2">Formatting Text in a Spreadsheet </paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3144772" xml-lang="en-US">Select the text you want to format.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3155268" xml-lang="en-US">Choose the desired text attributes from the <emph>Formatting </emph>Bar. You can also choose <emph>Format - Cells</emph>. The <emph>Format Cells</emph> dialog will appear in which you can choose various text attributes on the <emph>Font</emph> tab page.</paragraph> +</listitem> +</list> +<paragraph role="heading" id="hd_id3149899" xml-lang="en-US" level="2">Formatting Numbers in a Spreadsheet</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3159226" xml-lang="en-US">Select the cells containing the numbers you want to format.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3150046" xml-lang="en-US">To format numbers in the default currency format or as percentages, use the icons on the <emph>Formatting </emph>Bar. For other formats, choose <emph>Format - Cells</emph>. You can choose from the preset formats or define your own on the <emph>Numbers</emph> tab page.</paragraph> +</listitem> +</list> +<paragraph role="heading" id="hd_id3153483" xml-lang="en-US" level="2">Formatting Borders and Backgrounds for Cells and Pages</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3154733" xml-lang="en-US">You can assign a format to any group of cells by first selecting the cells (for multiple selection, hold down the <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline> key when clicking), and then activating the <emph>Format Cells</emph> dialog in <item type="menuitem">Format - Cells</item>. In this dialog, you can select attributes such as shadows and backgrounds.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3145116" xml-lang="en-US">To apply formatting attributes to an entire sheet, choose <emph>Format - Page</emph>. You can define headers and footers, for example, to appear on each printed page.</paragraph> +</listitem> +</list> +<paragraph role="note" id="par_id3145389" xml-lang="en-US">An image that you have loaded with <item type="menuitem">Format - Page - Background</item> 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 <item type="menuitem">Insert - Image - From File</item> and arrange the image behind the cells by choosing <item type="menuitem">Format - Arrange - To Background</item>. Use the <link href="text/scalc/01/02110000.xhp" name="Navigator">Navigator</link> to select the background image.</paragraph> +<section id="relatedtopics"> +<embed href="text/scalc/guide/autoformat.xhp#autoformat"/> +<paragraph role="paragraph" id="par_id2837916" xml-lang="en-US"><link href="text/shared/01/05020300.xhp">Number Formatting Options</link></paragraph> +<paragraph role="paragraph" id="par_id2614215" xml-lang="en-US"><link href="text/scalc/guide/background.xhp">Backgrounds for Cells</link></paragraph> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> + <topic id="textscalcguideformat_valuexml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Formatting Numbers With Decimals</title> + <filename>/text/scalc/guide/format_value.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3145367"><bookmark_value>numbers;formatting decimals</bookmark_value> + <bookmark_value>formats; numbers in tables</bookmark_value> + <bookmark_value>tables; number formats</bookmark_value> + <bookmark_value>defaults; number formats in spreadsheets</bookmark_value> + <bookmark_value>decimal places;formatting numbers</bookmark_value> + <bookmark_value>formatting;numbers with decimals</bookmark_value> + <bookmark_value>formatting;adding/deleting decimal places</bookmark_value> + <bookmark_value>number formats; adding/deleting decimal places in cells</bookmark_value> + <bookmark_value>deleting; decimal places</bookmark_value> + <bookmark_value>decimal places; adding/deleting</bookmark_value> +</bookmark><comment>mw changed "numbers;"</comment> +<paragraph xml-lang="en-US" id="hd_id3145367" role="heading" level="1"><variable id="format_value"><link href="text/scalc/guide/format_value.xhp" name="Formatting Numbers With Decimals">Formatting Numbers With Decimals</link> +</variable></paragraph> + <paragraph xml-lang="en-US" id="par_id3148576" role="paragraph">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.</paragraph> + <paragraph xml-lang="en-US" id="par_id3154012" role="paragraph">To format numbers with decimals:</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3147394" role="listitem">Set the cursor at the number and choose <emph>Format - Cells</emph> to start the <emph>Format Cells</emph> dialog.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3153157" role="listitem">On the <emph>Numbers</emph> 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.</paragraph> + </listitem> + </list> + <table id="tbl_id3149121"> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3155766" role="paragraph"> +<image id="img_id3149021" src="cmd/sc_numberformatincdecimals.png" width="0.222in" height="0.222in"><alt xml-lang="en-US" id="alt_id3149021">Icon</alt> + </image></paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3149256" role="paragraph">If you only want to modify the number of the decimal places displayed, the easiest method is to use the <emph>Number Format: Add Decimal Place</emph> or <emph>Number Format: Delete Decimal Place</emph> icons on the Formatting Bar.</paragraph> + </tablecell> + </tablerow> + </table> + + <section id="relatedtopics"> + <embed href="text/scalc/guide/format_value_userdef.xhp#format_value_userdef"/> + <embed href="text/scalc/guide/currency_format.xhp#currency_format"/> + <embed href="text/shared/01/05020301.xhp#zahlenformatcodes"/> + <embed href="text/scalc/guide/text_numbers.xhp#text_numbers"/> + </section> + </body> +</helpdocument>
\ 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> + <topic id="textscalcguideformat_value_userdefxml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">User-defined Number Formats</title> + <filename>/text/scalc/guide/format_value_userdef.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3143268"><bookmark_value>numbers;user-defined formatting</bookmark_value> + <bookmark_value>formatting; user-defined numbers</bookmark_value> + <bookmark_value>number formats; millions</bookmark_value> + <bookmark_value>format codes; user-defined number formats</bookmark_value> +</bookmark><comment>mw changed "numbers;"</comment> +<paragraph xml-lang="en-US" id="hd_id3143268" role="heading" level="1"><variable id="format_value_userdef"><link href="text/scalc/guide/format_value_userdef.xhp" name="User-defined Number Formats">User-defined Number Formats</link> +</variable></paragraph> + <paragraph xml-lang="en-US" id="par_id3150400" role="paragraph">You can define your own number formats to display numbers in <item type="productname">%PRODUCTNAME</item> Calc.</paragraph> + <paragraph xml-lang="en-US" id="par_id3150767" role="paragraph">As an example, to display the number 10,200,000 as 10.2 Million:</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3150868" role="listitem">Select the cells to which you want to apply a new, user-defined format.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3149664" role="listitem">Choose <emph>Format - Cells - Numbers</emph>.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3149260" role="listitem">In the <emph>Categories</emph> list box select "User-defined".</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3148646" role="listitem">In the <emph>Format code</emph> text box enter the following code:</paragraph> + <paragraph xml-lang="en-US" id="par_id3152596" role="code">0.0,, "Million"</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3144764" role="listitem">Click OK.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_id3155417" role="paragraph">The following table shows the effects of rounding, thousands delimiters (,), decimal delimiters (.) and the placeholders # and 0.</paragraph> + <table id="tbl_id3153157"> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3146971" role="tablehead">Number</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3154757" role="tablehead">.#,, "Million"</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3147338" role="tablehead">0.0,, "Million"</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3146920" role="tablehead">#,, "Million"</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3147344" role="paragraph">10200000</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3147003" role="paragraph">10.2 Million</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3166426" role="paragraph">10.2 Million</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3155113" role="paragraph">10 Million</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3150369" role="paragraph">500000</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3145585" role="paragraph">.5 Million</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3154486" role="paragraph">0.5 Million</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3146114" role="paragraph">1 Million</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3155810" role="paragraph">100000000</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3153818" role="paragraph">100. Million</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3151241" role="paragraph">100.0 Million</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3144771" role="paragraph">100 Million</paragraph> + </tablecell> + </tablerow> + </table> + + <section id="relatedtopics"> + <embed href="text/scalc/guide/format_value.xhp#format_value"/> + <embed href="text/scalc/guide/currency_format.xhp#currency_format"/> + <embed href="text/scalc/guide/text_numbers.xhp#text_numbers"/> + <embed href="text/shared/01/05020301.xhp#zahlenformatcodes"/> + </section> + </body> +</helpdocument>
\ 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<helpdocument version="1.0"> +<meta> +<topic id="textscalcguideformula_copyxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Copying Formulas</title> +<filename>/text/scalc/guide/formula_copy.xhp</filename> +</topic> +<history> +<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> +</history> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3151113"><bookmark_value>formulas; copying and pasting</bookmark_value> +<bookmark_value>copying; formulas</bookmark_value> +<bookmark_value>pasting;formulas</bookmark_value> +</bookmark><comment>mw added "pasting;" and changed "formulas;"</comment> +<paragraph role="heading" id="hd_id3151113" xml-lang="en-US" level="1"><variable id="formula_copy"><link href="text/scalc/guide/formula_copy.xhp" name="Copying Formulas">Copying Formulas</link> +</variable></paragraph> +<section id="copytext"> +<paragraph role="paragraph" id="par_id3156424" xml-lang="en-US">There are various ways to copy a formula. One suggested method is:</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3150439" xml-lang="en-US">Select the cell containing the formula.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3154319" xml-lang="en-US">Choose <emph>Edit - Copy</emph>, or press <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+C to copy it.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3159155" xml-lang="en-US">Select the cell into which you want the formula to be copied.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3153728" xml-lang="en-US">Choose <emph>Edit - Paste</emph>, or press <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+V. The formula will be positioned in the new cell.</paragraph> +</listitem> +</list> +<paragraph role="paragraph" id="par_id3149961" xml-lang="en-US">If you want to copy a formula into multiple cells, there is a quick and easy way to copy into adjacent cell areas:</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3149400" xml-lang="en-US">Select the cell containing the formula.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3154018" xml-lang="en-US">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.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3150749" xml-lang="en-US">With the mouse button pressed, drag it down or to the right over all the cells into which you want to copy the formula.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3153714" xml-lang="en-US">When you release the mouse button, the formula will be copied into the cells and automatically adjusted.</paragraph> +</listitem> +</list> +<paragraph role="paragraph" id="par_id3156385" xml-lang="en-US">If you do not want values and texts to be automatically adjusted, then hold down the <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline> key when dragging. Formulas, however, are always adjusted accordingly.</paragraph> +</section> +<section id="relatedtopics"> +<embed href="text/scalc/guide/relativ_absolut_ref.xhp#relativ_absolut_ref"/> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + + <helpdocument version="1.0"> +<meta> +<topic id="textscalcguideformula_enterxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Entering Formulas </title> +<filename>/text/scalc/guide/formula_enter.xhp</filename> +</topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3150868"><bookmark_value>formula bar; input line</bookmark_value> +<bookmark_value>input line in formula bar</bookmark_value> +<bookmark_value>formulas; inputting</bookmark_value> +<bookmark_value>inserting;formulas</bookmark_value> +</bookmark> +<paragraph role="heading" id="hd_id3150868" xml-lang="en-US" level="1"><variable id="formula_enter"><link href="text/scalc/guide/formula_enter.xhp" name="Entering Formulas">Entering Formulas</link> +</variable></paragraph> +<paragraph role="paragraph" id="par_id6848353" xml-lang="en-US">You can enter formulas in several ways: using the icons, or by typing on the keyboard, or by a mixture of both methods.</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3145364" xml-lang="en-US">Click the cell in which you want to enter the formula.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3150012" xml-lang="en-US">Click the <emph>Function</emph> icon on the Formula Bar.</paragraph> +<paragraph role="listitem" id="par_id3156441" xml-lang="en-US">You will now see an equals sign in the input line and you can begin to input the formula.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3153726" xml-lang="en-US">After entering the required values, press Enter or click <emph>Accept</emph> to insert the result in the active cell. If you want to clear your entry in the input line, press Escape or click <emph>Cancel</emph>.</paragraph> +</listitem> +</list> +<paragraph role="paragraph" id="par_id3147394" xml-lang="en-US">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.</paragraph> +<paragraph role="paragraph" id="par_id4206976" xml-lang="en-US">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:</paragraph> +<paragraph role="code" id="par_id1836909" xml-lang="en-US">+ 5 0 - 8 Enter</paragraph> +<paragraph role="paragraph" id="par_id8171330" xml-lang="en-US">You see the result <item type="literal">42</item> in the cell. The cell contains the formula <item type="literal">=+50-8</item>.</paragraph> +<paragraph role="note" id="par_id3155764" xml-lang="en-US">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. <emph>Show references in color</emph> can be deactivated under <switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - <link href="text/shared/optionen/01060300.xhp" name="Spreadsheet - View">%PRODUCTNAME Calc - View</link>.</paragraph> +<paragraph role="tip" id="par_id3149210" xml-lang="en-US"><variable id="tip">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. +</variable></paragraph> +<paragraph role="paragraph" id="par_id3150304" xml-lang="en-US">If an error occurs when creating the formula, an <link href="text/scalc/05/02140000.xhp" name="error message">error message</link> appears in the active cell.</paragraph> +<section id="relatedtopics"> +<embed href="text/scalc/guide/formulas.xhp#formulas"/> +<paragraph role="paragraph" id="par_id3152993" xml-lang="en-US"><link href="text/scalc/main0206.xhp" name="Formula bar">Formula bar</link></paragraph> +<embed href="text/scalc/guide/cell_enter.xhp#cell_enter"/> +<embed href="text/scalc/guide/multitables.xhp#multitables"/> +<embed href="text/scalc/guide/multi_tables.xhp#multi_tables"/> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<helpdocument version="1.0"> +<meta> +<topic id="textscalcguideformula_valuexml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Displaying Formulas or Values</title> +<filename>/text/scalc/guide/formula_value.xhp</filename> +</topic> +<history> +<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> +</history> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3153195"><bookmark_value>formulas; displaying in cells</bookmark_value> +<bookmark_value>values; displaying in tables</bookmark_value> +<bookmark_value>tables; displaying formulas/values</bookmark_value> +<bookmark_value>results display vs. formulas display</bookmark_value> +<bookmark_value>displaying; formulas instead of results</bookmark_value> +</bookmark><comment>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.</comment> +<paragraph role="heading" id="hd_id3153195" xml-lang="en-US" level="1"><variable id="formula_value"><link href="text/scalc/guide/formula_value.xhp" name="Displaying Formulas or Values">Displaying Formulas or Values</link> +</variable></paragraph> +<paragraph role="paragraph" id="par_id3150010" xml-lang="en-US">If you want to display the formulas in the cells, for example in the form =SUM(A1:B5), proceed as follows:</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3151116" xml-lang="en-US">Choose <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - %PRODUCTNAME Calc - View</emph>.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3146120" xml-lang="en-US">In the <emph>Display</emph> area mark the <emph>Formulas</emph> box. Click OK.</paragraph> +</listitem> +</list> +<paragraph role="paragraph" id="par_id3147396" xml-lang="en-US">If you want to view the calculation results instead of the formula, do not mark the Formulas box.</paragraph> +<section id="relatedtopics"> +<paragraph role="paragraph" id="par_id3153157" xml-lang="en-US"><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - <link href="text/shared/optionen/01060100.xhp" name="Spreadsheet - View">%PRODUCTNAME Calc - View</link></paragraph> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + + <helpdocument version="1.0"> +<meta> +<topic id="textscalcguideformulasxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Calculating With Formulas</title> +<filename>/text/scalc/guide/formulas.xhp</filename> +</topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3155411"><bookmark_value>formulas;calculating with</bookmark_value> +<bookmark_value>calculating; with formulas</bookmark_value> +<bookmark_value>examples;formula calculation</bookmark_value> +</bookmark><paragraph role="heading" id="hd_id3155411" xml-lang="en-US" level="1"><variable id="formulas"><link href="text/scalc/guide/formulas.xhp" name="Calculating With Formulas">Calculating With Formulas</link> +</variable></paragraph> +<paragraph role="paragraph" id="par_id3156281" xml-lang="en-US">All formulas begin with an equals sign. The formulas can contain numbers, text, arithmetic operators, logic operators, or functions.</paragraph> +<paragraph role="tip" id="par_id3145272" xml-lang="en-US">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.</paragraph> +<paragraph role="tip" id="par_id3146119" xml-lang="en-US">Parentheses can also be used. The result of the formula =(1+2)*3 produces a different result than =1+2*3.</paragraph> +<paragraph role="paragraph" id="par_id3156285" xml-lang="en-US">Here are a few examples of $[officename] Calc formulas:</paragraph> +<table id="tbl_id3153878"> +<tablerow> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3154015" xml-lang="en-US">=A1+10</paragraph> +</tablecell> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3146972" xml-lang="en-US">Displays the contents of cell A1 plus 10.</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3145643" xml-lang="en-US">=A1*16%</paragraph> +</tablecell> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3154255" xml-lang="en-US">Displays 16% of the contents of A1.</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3146917" xml-lang="en-US">=A1 * A2</paragraph> +</tablecell> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3146315" xml-lang="en-US">Displays the result of the multiplication of A1 and A2.</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3154022" xml-lang="en-US">=ROUND(A1;1)</paragraph> +</tablecell> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3150363" xml-lang="en-US">Displays the contents of cell A1 rounded to one decimal place.</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3150209" xml-lang="en-US">=EFFECTIVE(5%;12)</paragraph> +</tablecell> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3150883" xml-lang="en-US">Calculates the effective interest for 5% annual nominal interest with 12 payments a year.</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3146114" xml-lang="en-US">=B8-SUM(B10:B14)</paragraph> +</tablecell> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3154486" xml-lang="en-US">Calculates B8 minus the sum of the cells B10 to B14.</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3152890" xml-lang="en-US">=SUM(B8;SUM(B10:B14))</paragraph> +</tablecell> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3159171" xml-lang="en-US">Calculates the sum of cells B10 to B14 and adds the value to B8.</paragraph> +</tablecell> +</tablerow> +</table> +<paragraph role="paragraph" id="par_id3150109" xml-lang="en-US">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.</paragraph> +<section id="relatedtopics"> +<embed href="text/scalc/guide/formula_enter.xhp#formula_enter"/> +<paragraph role="paragraph" id="par_id3150213" xml-lang="en-US"><link href="text/scalc/01/04060100.xhp" name="Functions list">Functions list</link></paragraph> +<paragraph role="paragraph" id="par_id3152869" xml-lang="en-US"><link href="text/scalc/01/04060000.xhp" name="AutoPilot: Functions">Function Wizard</link></paragraph> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<helpdocument version="1.0"> +<meta> +<topic id="textscalcguidefraction_enterxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Entering Fractions </title> +<filename>/text/scalc/guide/fraction_enter.xhp</filename> +</topic> +<history> +<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> +</history> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3155411"><bookmark_value>fractions; entering</bookmark_value> +<bookmark_value>numbers; entering fractions </bookmark_value> +<bookmark_value>inserting;fractions</bookmark_value> +</bookmark> +<paragraph role="heading" id="hd_id3155411" xml-lang="en-US" level="1"><variable id="fraction_enter"><link href="text/scalc/guide/fraction_enter.xhp" name="Entering Fractions ">Entering Fractions </link> +</variable></paragraph> +<section id="fractiontext"> +<paragraph role="paragraph" id="par_id3153968" xml-lang="en-US">You can enter a fractional number in a cell and use it for calculation:</paragraph> +<list type="unordered"> +<listitem> +<paragraph role="listitem" id="par_id3155133" xml-lang="en-US">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.</paragraph> +</listitem> +</list> +<paragraph role="paragraph" id="par_id3145750" xml-lang="en-US">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 <emph>Tools - AutoCorrect - AutoCorrect Options - Options</emph> tab.</paragraph> +<paragraph role="paragraph" id="par_id3145367" xml-lang="en-US">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 <emph>Format cells. </emph>Select "Fraction" from the <emph>Category</emph> 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.</paragraph> +</section> +<section id="relatedtopics"> +<embed href="text/scalc/guide/text_numbers.xhp#text_numbers"/> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> +<topic id="textscalcguidegoalseekxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Applying Goal Seek</title> +<filename>/text/scalc/guide/goalseek.xhp</filename> +</topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3145068"><bookmark_value>goal seeking;example</bookmark_value> +<bookmark_value>equations in goal seek</bookmark_value> +<bookmark_value>calculating;variables in equations</bookmark_value> +<bookmark_value>variables;calculating equations</bookmark_value> +<bookmark_value>examples;goal seek</bookmark_value> +</bookmark><comment>mw changed "goal seek example" to "goal seeking;"</comment> +<paragraph role="heading" id="hd_id3145068" xml-lang="en-US" level="1"><variable id="goalseek"><link href="text/scalc/guide/goalseek.xhp" name="Applying Goal Seek">Applying Goal Seek</link> +</variable></paragraph> +<paragraph role="paragraph" id="par_id3145171" xml-lang="en-US">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.</paragraph> +<paragraph role="heading" id="hd_id3153966" xml-lang="en-US" level="2">Goal Seek Example</paragraph> +<paragraph role="paragraph" id="par_id3150871" xml-lang="en-US">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:</paragraph> +<paragraph role="code" id="par_id3152596" xml-lang="en-US">I = C * n* i</paragraph> +<paragraph role="paragraph" id="par_id3155335" xml-lang="en-US">Let us assume that the interest rate <item type="literal">i</item> of 7.5% and the number of years <item type="literal">n</item> (1) will remain constant. However, you want to know how much the investment capital <item type="literal">C</item> would have to be modified in order to attain a particular return <item type="literal">I</item>. For this example, calculate how much capital <item type="literal">C</item> would be required if you want an annual return of $15,000.</paragraph> +<paragraph role="paragraph" id="par_id3155960" xml-lang="en-US">Enter each of the values for Capital <item type="literal">C</item> (an arbitrary value like <item type="literal">$100,000</item>), number of years <item type="literal">n </item>(<item type="literal">1</item>), and interest rate <item type="literal">i</item> (<item type="literal">7.5%</item>) in one cell each. Enter the formula to calculate the interest <item type="literal">I</item> in another cell. Instead of <item type="literal">C</item>, <item type="literal">n</item>, and <item type="literal">i</item> use the <link href="text/scalc/guide/relativ_absolut_ref.xhp">reference to the cell</link> with the corresponding value.</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3147001" xml-lang="en-US">Place the cursor in the cell containing the interest <item type="literal">I</item>, and choose <emph>Tools - Goal Seek</emph>. The <emph>Goal Seek</emph> dialog appears.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3150088" xml-lang="en-US">The correct cell is already entered in the field <emph>Formula Cell</emph>.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3166426" xml-lang="en-US">Place the cursor in the field <emph>Variable Cell</emph>. 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 <item type="literal">C</item>.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3150369" xml-lang="en-US">Enter the expected result of the formula in the <emph>Target Value</emph> text box. In this example, the value is 15,000. Click <emph>OK</emph>.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3146978" xml-lang="en-US">A dialog appears informing you that the Goal Seek was successful. Click <emph>Yes</emph> to enter the result in the cell with the variable value.</paragraph> +</listitem> +</list> +<section id="relatedtopics"> +<paragraph role="paragraph" id="par_id3149409" xml-lang="en-US"><link href="text/scalc/01/06040000.xhp" name="Goal Seek">Goal Seek</link></paragraph> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + + <helpdocument version="1.0"> +<meta> +<topic id="textscalcguidehtml_docxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Saving and Opening Sheets in HTML</title> +<filename>/text/scalc/guide/html_doc.xhp</filename> +</topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3150542"><bookmark_value>HTML; sheets</bookmark_value> +<bookmark_value>sheets; HTML</bookmark_value> +<bookmark_value>saving; sheets in HTML</bookmark_value> +<bookmark_value>opening; sheets in HTML</bookmark_value> +</bookmark> +<paragraph role="heading" id="hd_id3150542" xml-lang="en-US" level="1"><variable id="html_doc"><link href="text/scalc/guide/html_doc.xhp" name="Saving and Opening Sheets in HTML">Saving and Opening Sheets in HTML</link> +</variable></paragraph> +<paragraph role="heading" id="hd_id3154124" xml-lang="en-US" level="2">Saving Sheets in HTML</paragraph> +<paragraph role="paragraph" id="par_id3145785" xml-lang="en-US"> +<item type="productname">%PRODUCTNAME</item> 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.</paragraph> +<paragraph role="paragraph" id="par_id3155854" xml-lang="en-US">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 <item type="productname">%PRODUCTNAME</item> you know you have the exact values.</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3153188" xml-lang="en-US">To save the current Calc document as HTML, choose <emph>File - Save As</emph>.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3148645" xml-lang="en-US">In the <emph>File type</emph> list box, in the area with the other <item type="productname">%PRODUCTNAME</item> Calc filters, choose the file type "HTML Document (<item type="productname">%PRODUCTNAME</item> Calc)".</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3154729" xml-lang="en-US">Enter a <emph>File name</emph> and click <emph>Save</emph>.</paragraph> +</listitem> +</list> +<paragraph role="heading" id="hd_id3149379" xml-lang="en-US" level="2">Opening Sheets in HTML</paragraph> +<paragraph role="paragraph" id="par_id3149959" xml-lang="en-US"> +<item type="productname">%PRODUCTNAME</item> offers various filters for opening HTML files, which you can select under <emph>File - Open</emph> in the <emph>Files of type</emph> list box:</paragraph> +<list type="unordered"> +<listitem> +<paragraph role="listitem" id="par_id3146969" xml-lang="en-US">Choose the file type "HTML Document (<item type="productname">%PRODUCTNAME</item> Calc)" to open in <item type="productname">%PRODUCTNAME</item> Calc.</paragraph> +<paragraph role="listitem" id="par_id3155446" xml-lang="en-US">All <item type="productname">%PRODUCTNAME</item> Calc options are now available to you. However, not all options that <item type="productname">%PRODUCTNAME</item> Calc offers for editing can be saved in HTML format.</paragraph> +</listitem> +</list> +<section id="relatedtopics"> +<embed href="text/simpress/guide/html_export.xhp#html_export"/> +<embed href="text/swriter/guide/send2html.xhp#send2html"/> +<embed href="text/scalc/guide/webquery.xhp#webquery"/> +<paragraph role="paragraph" id="par_id3150370" xml-lang="en-US"><link href="text/shared/01/01020000.xhp" name="File - Open">File - Open</link></paragraph> +<paragraph role="paragraph" id="par_id3150199" xml-lang="en-US"><link href="text/shared/01/01070000.xhp" name="File - Save As">File - Save As</link></paragraph> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . +--> + +<meta> + <topic id="textscalcguideinteger_leading_zeroxml" indexer="include" status="PUBLISH"> + <title id="tit" xml-lang="en-US">Entering a Number with Leading Zeros</title> + <filename>/text/scalc/guide/integer_leading_zero.xhp</filename> + </topic> +</meta> + +<body> + +<bookmark xml-lang="en-US" branch="index" id="bm_id3147560"> + <bookmark_value>zero values; entering leading zeros</bookmark_value> + <bookmark_value>numbers; with leading zeros</bookmark_value> + <bookmark_value>leading zeros</bookmark_value> + <bookmark_value>integers with leading zeros</bookmark_value> + <bookmark_value>cells; changing text/number formats</bookmark_value> + <bookmark_value>formats; changing text/number</bookmark_value> + <bookmark_value>text in cells; changing to numbers</bookmark_value> + <bookmark_value>converting;text with leading zeros, into numbers</bookmark_value> +</bookmark> +<comment>UFI: inserted "converting;text to numbers"</comment><comment>mw changed "converting;" and deleted "numbers,changing..."</comment> + +<paragraph id="hd_id3147560" role="heading" level="1" xml-lang="en-US"><variable id="integer_leading_zero"><link href="text/scalc/guide/integer_leading_zero.xhp" name="Entering a Number with Leading Zeros">Entering a Number with Leading Zeros</link></variable></paragraph> + +<section id="inttext"> +<paragraph id="par_id3153194" role="paragraph" xml-lang="en-US">There are various ways to enter integers starting with a zero:</paragraph> + +<list type="unordered"> + <listitem> + <paragraph id="par_id3146119" role="listitem" xml-lang="en-US">Enter the number as text. The easiest way is to enter the number starting with an apostrophe (for example, <item type="input">'0987</item>). 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.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id3154013" role="listitem" xml-lang="en-US">Format a cell with a number format such as <item type="input">\0000</item>. This format can be assigned in the <emph>Format code</emph> field under the <emph>Format - Cells - Numbers</emph> 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".</paragraph> + </listitem></list> +<paragraph id="par_id3150011" role="paragraph" localize="false" xml-lang="en-US"/> +<paragraph id="par_id3153158" role="paragraph" xml-lang="en-US">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:</paragraph> + +<list type="ordered"> + <listitem> + <paragraph id="par_id3149377" role="listitem" xml-lang="en-US">Select the column in which the digits are found in text format. Set the cell format in that column as "Number".</paragraph> + </listitem> + <listitem> + <paragraph id="par_id3154944" role="listitem" xml-lang="en-US">Choose <emph>Edit - Find & Replace</emph></paragraph> + </listitem> + <listitem> + <paragraph id="par_id3154510" role="listitem" xml-lang="en-US">In the <emph>Find</emph> box, enter <item type="input">^[0-9]</item></paragraph> + </listitem> + <listitem> + <paragraph id="par_id3155068" role="listitem" xml-lang="en-US">In the <emph>Replace</emph> box, enter <item type="input">&</item></paragraph> + </listitem> + <listitem> + <paragraph id="par_id3149018" role="listitem" xml-lang="en-US">Check <emph>Regular expressions</emph></paragraph> + </listitem> + <listitem> + <paragraph id="par_id3156382" role="listitem" xml-lang="en-US">Check <emph>Current selection only</emph></paragraph> + </listitem> + <listitem> + <paragraph id="par_id3146916" role="listitem" xml-lang="en-US">Click <emph>Replace All</emph></paragraph> + </listitem> +</list> +</section> + +<section id="relatedtopics"> +<embed href="text/scalc/guide/text_numbers.xhp#text_numbers"/> +<embed href="text/scalc/guide/format_value.xhp#format_value"/> +</section> +</body> + +</helpdocument>
\ 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<helpdocument version="1.0"> +<meta> +<topic id="textscalcguidekeyboardxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Shortcut Keys (%PRODUCTNAME Calc Accessibility)</title> +<filename>/text/scalc/guide/keyboard.xhp</filename> +</topic> +<history> +<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> +</history> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3145120"><bookmark_value>accessibility; %PRODUCTNAME Calc shortcuts</bookmark_value> +<bookmark_value>shortcut keys;%PRODUCTNAME Calc accessibility</bookmark_value> +</bookmark> +<paragraph role="heading" id="hd_id3145120" xml-lang="en-US" level="1"><variable id="keyboard"><link href="text/scalc/guide/keyboard.xhp" name="Shortcut Keys (%PRODUCTNAME Calc Accessibility)">Shortcut Keys (<item type="productname">%PRODUCTNAME</item> Calc Accessibility)</link> +</variable></paragraph> +<paragraph role="paragraph" id="par_id3154760" xml-lang="en-US">Refer also to the lists of shortcut keys for <item type="productname">%PRODUCTNAME</item> Calc and <item type="productname">%PRODUCTNAME</item> in general.</paragraph> +<embed href="text/shared/00/00000099.xhp#keys"/> +<paragraph role="heading" id="hd_id3153360" xml-lang="en-US" level="2">Cell Selection Mode</paragraph> +<table id="tbl_id3153968"> +<tablerow> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3150870" xml-lang="en-US"> +<image id="img_id3150439" src="formula/res/refinp1.png" width="0.1327inch" height="0.1327inch"><alt id="alt_id3150439" xml-lang="en-US">Icon</alt> + </image></paragraph> +</tablecell> +<tablecell colspan="" rowspan=""> +<paragraph role="paragraph" id="par_id3154319" xml-lang="en-US">In a text box that has a button to minimize the dialog, press <item type="keycode">F2</item> to enter the cell selection mode. Select any number of cells, then press <item type="keycode">F2</item> again to show the dialog.</paragraph> +</tablecell> +</tablerow> +</table> + +<paragraph role="paragraph" id="par_id3145272" xml-lang="en-US">In the cell selection mode, you can use the common navigation keys to select cells.</paragraph> +<paragraph role="heading" id="hd_id3148646" xml-lang="en-US" level="2">Controlling the Outline</paragraph> +<paragraph role="paragraph" id="par_id3146120" xml-lang="en-US">You can use the keyboard in <link href="text/scalc/01/12080000.xhp" name="Outline">Outline</link>:</paragraph> +<list type="unordered"> +<listitem> +<paragraph role="listitem" id="par_id3147394" xml-lang="en-US">Press <item type="keycode">F6</item> or <item type="keycode">Shift+F6</item> until the vertical or horizontal outline window has the focus.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3149379" xml-lang="en-US"> +<item type="keycode">Tab</item> - cycle through all visible buttons from top to bottom or from left to right.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3156286" xml-lang="en-US"> +<item type="keycode">Shift+Tab</item> - cycle through all visible buttons in the opposite direction.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3149403" xml-lang="en-US"> +<switchinline select="sys"><caseinline select="MAC">Command+1 to Command+8</caseinline><defaultinline>Ctrl+1 to Ctrl+8</defaultinline></switchinline> - show all levels up to the specified number; hide all higher levels.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3150329" xml-lang="en-US">Use <item type="keycode">+</item> or <item type="keycode">-</item> to show or hide the focused outline group.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3155446" xml-lang="en-US">Press <item type="keycode">Enter</item> to activate the focused button.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3154253" xml-lang="en-US">Use <item type="keycode">Up</item>, <item type="keycode">Down</item>, <item type="keycode">Left</item>, or <item type="keycode">Right</item> arrow to cycle through all buttons in the current level.</paragraph> +</listitem> +</list> +<paragraph role="heading" id="hd_id3147343" xml-lang="en-US" level="2">Selecting a Drawing Object or a Graphic</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_idN107AA" xml-lang="en-US">Choose View - Toolbars - Drawing to open the Drawing toolbar.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3155333" xml-lang="en-US">Press <item type="keycode">F6</item> until the <emph>Drawing</emph> toolbar is selected.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3150345" xml-lang="en-US">If the selection tool is active, press <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Enter. This selects the first drawing object or graphic in the sheet.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3159240" xml-lang="en-US">With <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+F6 you set the focus to the document.</paragraph> +<paragraph role="listitem" id="par_id3155379" xml-lang="en-US">Now you can use <item type="keycode">Tab</item> to select the next drawing object or graphic and <item type="keycode">Shift+Tab</item> to select the previous one.</paragraph> +</listitem> +</list> +<section id="relatedtopics"> +<embed href="text/scalc/04/01020000.xhp#calc_keys"/> +<embed href="text/shared/04/01010000.xhp#common_keys"/> +<embed href="text/shared/guide/keyboard.xhp#keyboard"/> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . +--> + +<meta> + <topic id="textscalcguideline_fixxml" indexer="include" status="PUBLISH"> + <title id="tit" xml-lang="en-US">Freezing Rows or Columns as Headers</title> + <filename>/text/scalc/guide/line_fix.xhp</filename> + </topic> +</meta> + +<body> + +<bookmark xml-lang="en-US" branch="index" id="bm_id3154684"> + <bookmark_value>tables; freezing</bookmark_value> + <bookmark_value>title rows; freezing during table split</bookmark_value> + <bookmark_value>rows; freezing</bookmark_value> + <bookmark_value>columns; freezing</bookmark_value> + <bookmark_value>freezing rows or columns</bookmark_value> + <bookmark_value>headers; freezing during table split</bookmark_value> + <bookmark_value>scrolling prevention in tables</bookmark_value> + <bookmark_value>windows; splitting</bookmark_value> + <bookmark_value>tables; splitting windows</bookmark_value> +</bookmark> + + +<h1 id="hd_id3154684" xml-lang="en-US"><variable id="line_fix"><link href="text/scalc/guide/line_fix.xhp" name="Freezing Rows or Columns as Headers">Freezing Rows or Columns as Headers</link> </variable></h1> +<paragraph id="par_id3148576" role="paragraph" xml-lang="en-US">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.</paragraph> + +<list type="ordered"> + <listitem> + <paragraph id="par_id3156441" role="listitem" xml-lang="en-US">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.</paragraph> + <paragraph id="par_id3153158" role="listitem" xml-lang="en-US">To freeze both horizontally and vertically, select the <emph>cell</emph> that is below the row and to the right of the column that you want to freeze.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id3156286" role="listitem" xml-lang="en-US">Choose <item type="menuitem">View - Freeze Rows and Columns</item>.</paragraph> + <paragraph id="par_id3151073" role="listitem" xml-lang="en-US">To deactivate, choose <item type="menuitem">View - Freeze Rows and Columns</item> again.</paragraph> + </listitem> +</list> +<paragraph id="par_id3155335" role="note" xml-lang="en-US">If the area defined is to be scrollable, apply the <item type="menuitem">View - Split Window</item> command.</paragraph> +<paragraph id="par_id3147345" role="note" xml-lang="en-US">If you want to print a certain row on all pages of a document, choose <item type="menuitem">Format - Print ranges - Edit</item>.</paragraph> + +<section id="relatedtopics"> +<paragraph id="par_id3147004" role="paragraph" xml-lang="en-US"><link href="text/scalc/01/07090000.xhp" name="View - Freeze Cells - Freeze Rows and Columns">View - Freeze Rows and Columns</link></paragraph> +<paragraph id="par_id3150088" role="paragraph" xml-lang="en-US"><link href="text/scalc/01/07080000.xhp" name="View - Split">View - Split Window</link></paragraph> +<embed href="text/scalc/guide/print_title_row.xhp#print_title_row"/> +<paragraph id="par_id3150304" role="paragraph" xml-lang="en-US"><link href="text/scalc/01/05080300.xhp" name="Format - Print ranges - Edit">Format - Print ranges - Edit</link></paragraph> +</section> +</body> + +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + + <helpdocument version="1.0"> +<meta> +<topic id="textscalcguidemainxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Instructions for Using $[officename] Calc</title> +<filename>/text/scalc/guide/main.xhp</filename> +</topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3150770"><bookmark_value>HowTos for Calc</bookmark_value> +<bookmark_value>instructions; $[officename] Calc</bookmark_value> +</bookmark><comment>MWdeleted one entry and added one</comment><paragraph role="heading" id="hd_id3150770" xml-lang="en-US" level="1"><variable id="main"><link href="text/scalc/guide/main.xhp" name="Instructions for Using $[officename] Calc">Instructions for Using $[officename] Calc</link> +</variable></paragraph> +<embed href="text/shared/00/00000099.xhp#table"/> +<paragraph role="heading" id="hd_id3145748" xml-lang="en-US" level="2">Formatting Tables and Cells</paragraph> +<embed href="text/scalc/guide/line_fix.xhp#line_fix"/> +<embed href="text/scalc/guide/cellstyle_minusvalue.xhp#cellstyle_minusvalue"/> +<embed href="text/scalc/guide/currency_format.xhp#currency_format"/> +<embed href="text/scalc/guide/auto_off.xhp#auto_off"/> +<embed href="text/scalc/guide/format_table.xhp#format_table"/> +<embed href="text/scalc/guide/autoformat.xhp#autoformat"/> +<embed href="text/scalc/guide/design.xhp#design"/> +<embed href="text/scalc/guide/cellstyle_by_formula.xhp#cellstyle_by_formula"/> +<embed href="text/scalc/guide/cellstyle_conditional.xhp#cellstyle_conditional"/> +<embed href="text/shared/guide/undo_formatting.xhp#undo_formatting"/> +<embed href="text/scalc/guide/edit_multitables.xhp#edit_multitables"/> +<embed href="text/scalc/guide/mark_cells.xhp#mark_cells"/> +<embed href="text/scalc/guide/table_cellmerge.xhp#table_cellmerge"/> +<embed href="text/scalc/guide/format_value.xhp#format_value"/> +<embed href="text/scalc/guide/format_value_userdef.xhp#format_value_userdef"/> +<embed href="text/scalc/guide/text_numbers.xhp#text_numbers"/> +<embed href="text/scalc/guide/numbers_text.xhp#numbers_text"/> +<embed href="text/scalc/guide/note_insert.xhp#note_insert"/> +<embed href="text/scalc/guide/rename_table.xhp#rename_table"/> +<embed href="text/scalc/guide/row_height.xhp#row_height"/> +<embed href="text/scalc/guide/table_view.xhp#table_view"/> +<embed href="text/scalc/guide/rounding_numbers.xhp#rounding_numbers"/> +<embed href="text/scalc/guide/cellcopy.xhp#cellcopy"/> +<embed href="text/shared/guide/paintbrush.xhp#formatpaintbrush"/> +<embed href="text/shared/guide/breaking_lines.xhp#breaking_lines"/> +<embed href="text/scalc/guide/text_rotate.xhp#text_rotate"/> +<embed href="text/scalc/guide/text_wrap.xhp#text_wrap"/> +<embed href="text/scalc/guide/super_subscript.xhp#super_subscript"/> +<embed href="text/shared/guide/insert_specialchar.xhp#insert_specialchar"/> +<embed href="text/shared/guide/text_color.xhp#text_color"/> +<embed href="text/shared/guide/textmode_change.xhp#textmode_change"/> +<embed href="text/shared/guide/space_hyphen.xhp#space_hyphen"/> +<embed href="text/shared/guide/redlining_enter.xhp#redlining_enter"/> +<paragraph role="heading" id="hd_id3154022" xml-lang="en-US" level="2">Entering Values and Formulas</paragraph> +<embed href="text/scalc/guide/cell_enter.xhp#cell_enter"/> +<embed href="text/scalc/guide/formulas.xhp#formulas"/> +<embed href="text/scalc/guide/formula_value.xhp#formula_value"/> +<embed href="text/scalc/guide/formula_enter.xhp#formula_enter"/> +<embed href="text/scalc/guide/formula_copy.xhp#formula_copy"/> +<embed href="text/scalc/guide/calculate.xhp#calculate"/> +<embed href="text/scalc/guide/calc_date.xhp#calc_date"/> +<embed href="text/scalc/guide/calc_timevalues.xhp#calc_timevalues"/> +<embed href="text/scalc/guide/fraction_enter.xhp#fraction_enter"/> +<embed href="text/scalc/guide/integer_leading_zero.xhp#integer_leading_zero"/> +<embed href="text/scalc/guide/multitables.xhp#multitables"/> +<embed href="text/scalc/guide/multi_tables.xhp#multi_tables"/> +<embed href="text/scalc/guide/calc_series.xhp#calc_series"/> +<embed href="text/scalc/guide/sorted_list.xhp#sorted_list"/> +<embed href="text/scalc/guide/filters.xhp#filters"/> +<embed href="text/scalc/guide/autofilter.xhp#autofilter"/> +<embed href="text/scalc/guide/specialfilter.xhp#specialfilter"/> +<embed href="text/scalc/guide/cellcopy.xhp#cellcopy"/> +<embed href="text/scalc/guide/matrixformula.xhp#matrixformula"/> +<embed href="text/scalc/guide/table_rotate.xhp#table_rotate"/> +<embed href="text/scalc/guide/userdefined_function.xhp#userdefined_function"/> +<paragraph role="heading" id="hd_id3152899" xml-lang="en-US" level="2">Entering References<comment>mw deleted link to Calc guide address_byname.xhp</comment></paragraph> +<embed href="text/scalc/guide/value_with_name.xhp#value_with_name"/> +<embed href="text/scalc/guide/address_auto.xhp#address_auto"/> +<embed href="text/scalc/guide/cellreference_dragdrop.xhp#cellreference_dragdrop"/> +<embed href="text/scalc/guide/relativ_absolut_ref.xhp#relativ_absolut_ref"/> +<embed href="text/scalc/guide/cellreferences_url.xhp#cellreferences_url"/> +<embed href="text/scalc/guide/cellreferences.xhp#cellreferences"/> +<embed href="text/scalc/guide/matrixformula.xhp#matrixformula"/> +<embed href="text/scalc/guide/webquery.xhp#webquery"/> +<paragraph role="heading" id="hd_id3155382" xml-lang="en-US" level="2">Database Ranges in Tables</paragraph> +<embed href="text/scalc/guide/database_define.xhp#database_define"/> +<embed href="text/scalc/guide/database_filter.xhp#database_filter"/> +<embed href="text/scalc/guide/database_sort.xhp#database_sort"/> +<paragraph role="heading" id="hd_id3159229" xml-lang="en-US" level="2">Advanced Calculations</paragraph> +<embed href="text/scalc/guide/datapilot.xhp#datapilot"/> +<embed href="text/scalc/guide/datapilot_createtable.xhp#datapilot_createtable"/> +<embed href="text/scalc/guide/datapilot_edittable.xhp#datapilot_edittable"/> +<embed href="text/scalc/guide/datapilot_filtertable.xhp#datapilot_filtertable"/> +<embed href="text/scalc/guide/datapilot_updatetable.xhp#datapilot_updatetable"/> +<embed href="text/scalc/guide/datapilot_deletetable.xhp#datapilot_deletetable"/> +<embed href="text/scalc/guide/datapilot_tipps.xhp#datapilot_tipps"/> +<embed href="text/scalc/guide/consolidate.xhp#consolidate"/> +<embed href="text/scalc/guide/goalseek.xhp#goalseek"/> +<embed href="text/scalc/guide/multioperation.xhp#multioperation"/> +<embed href="text/scalc/guide/validity.xhp#validity"/> +<embed href="text/scalc/guide/scenario.xhp#scenario"/> +<paragraph role="heading" id="hd_id3153070" xml-lang="en-US" level="2">Printing and Print Preview</paragraph> +<embed href="text/scalc/guide/printranges.xhp#printranges"/> +<embed href="text/scalc/guide/print_details.xhp#print_details"/> +<embed href="text/scalc/guide/print_exact.xhp#print_exact"/> +<embed href="text/scalc/guide/print_landscape.xhp#print_landscape"/> +<embed href="text/scalc/guide/print_title_row.xhp#print_title_row"/> +<embed href="text/shared/guide/background.xhp#background"/> +<paragraph role="heading" id="hd_id3150437" xml-lang="en-US" level="2">Importing and Exporting Documents</paragraph> +<embed href="text/scalc/guide/csv_files.xhp#csv_files"/> +<embed href="text/scalc/guide/csv_formula.xhp#csv_formula"/> +<embed href="text/scalc/guide/dbase_files.xhp#dbase_files"/> +<embed href="text/scalc/guide/html_doc.xhp#html_doc"/> +<embed href="text/shared/guide/email.xhp#email"/> +<embed href="text/shared/guide/import_ms.xhp#import_ms"/> +<embed href="text/shared/guide/export_ms.xhp#export_ms"/> +<paragraph role="heading" id="hd_id3166464" xml-lang="en-US" level="2">Miscellaneous</paragraph> +<embed href="text/scalc/guide/keyboard.xhp#keyboard"/> +<embed href="text/shared/guide/pasting.xhp#pasting"/> +<embed href="text/shared/guide/workfolder.xhp#workfolder"/> +<embed href="text/scalc/guide/cell_protect.xhp#cell_protect"/> +<embed href="text/scalc/guide/cell_unprotect.xhp#cell_unprotect"/> +<embed href="text/scalc/guide/line_fix.xhp#line_fix"/> +<embed href="text/scalc/guide/note_insert.xhp#note_insert"/> +<embed href="text/scalc/guide/table_rotate.xhp#table_rotate"/> +<embed href="text/scalc/guide/userdefined_function.xhp#userdefined_function"/> +<embed href="text/scalc/guide/webquery.xhp#webquery"/> +<embed href="text/scalc/guide/year2000.xhp#year2000"/> +<embed href="text/shared/guide/insert_bitmap.xhp#insert_bitmap"/> +<embed href="text/shared/guide/linestyles.xhp#linestyles"/> +<embed href="text/shared/guide/lineend_define.xhp#lineend_define"/> +<embed href="text/shared/guide/linestyle_define.xhp#linestyle_define"/> +<embed href="text/shared/guide/macro_recording.xhp#macro_recording"/> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> + <topic id="textscalcguidemark_cellsxml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Selecting Multiple Cells</title> + <filename>/text/scalc/guide/mark_cells.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3153361"><bookmark_value>cells; selecting</bookmark_value> + <bookmark_value>marking cells</bookmark_value> + <bookmark_value>selecting;cells</bookmark_value> + <bookmark_value>multiple cells selection</bookmark_value> + <bookmark_value>selection modes in spreadsheets</bookmark_value> + <bookmark_value>tables; selecting ranges</bookmark_value> +</bookmark><comment>mw changed "selection modes..."</comment> +<paragraph xml-lang="en-US" id="hd_id3153361" role="heading" level="1"><variable id="mark_cells"><link href="text/scalc/guide/mark_cells.xhp" name="Selecting Multiple Cells">Selecting Multiple Cells</link> +</variable></paragraph> + <paragraph xml-lang="en-US" id="hd_id3145272" role="heading" level="2">Select a rectangular range</paragraph> + <paragraph xml-lang="en-US" id="par_id3149261" role="paragraph">With the mouse button pressed, drag from one corner to the diagonally opposed corner of the range.</paragraph> + <paragraph xml-lang="en-US" id="hd_id3151119" role="heading" level="2">Mark a single cell</paragraph> + <paragraph xml-lang="en-US" id="par_id3146975" role="paragraph">Do one of the following:</paragraph> + <list type="unordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3163710" role="listitem">Click, then Shift-click the cell.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3149959" role="listitem">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.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="hd_id3154942" role="heading" level="2">Select various dispersed cells</paragraph> + <paragraph xml-lang="en-US" id="par_id1001200901072060" role="paragraph">Do one of the following:</paragraph> + <list type="unordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3156284" role="paragraph">Mark at least one cell. Then while pressing <switchinline select="sys"><caseinline select="MAC">Command +</caseinline><defaultinline>Ctrl</defaultinline></switchinline>, click each of the additional cells.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id1001200901072023" role="paragraph">Click the STD / EXT / ADD area in the status bar until it shows ADD. Now click all cells that you want to select.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="hd_id3146971" role="heading" level="2">Switch marking mode</paragraph> + <paragraph xml-lang="en-US" id="par_id3155064" role="paragraph">On the status bar, click the box with the legend STD / EXT / ADD to switch the marking mode:</paragraph> + <table id="tbl_id3145643"> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3159264" role="paragraph">Field contents</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3155337" role="paragraph">Effect of clicking the mouse</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3149568" role="paragraph">STD</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3148486" role="paragraph">A mouse click selects the cell you have clicked on. Unmarks all marked cells.</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3150090" role="paragraph">EXT</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3150305" role="paragraph">A mouse click marks a rectangular range from the current cell to the cell you clicked. Alternatively, Shift-click a cell.</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3145587" role="paragraph">ADD</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3154368" role="paragraph">A mouse click in a cell adds it to the already marked cells. A mouse click in a marked cell unmarks it. Alternatively, <switchinline select="sys"><caseinline select="MAC">Command +</caseinline><defaultinline>Ctrl</defaultinline></switchinline>-click the cells.</paragraph> + </tablecell> + </tablerow> + </table> + + <section id="relatedtopics"> + <paragraph xml-lang="en-US" id="par_id3154487" role="paragraph"><link href="text/scalc/main0208.xhp" name="Status bar">Status bar</link></paragraph> + </section> + </body> +</helpdocument>
\ 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<helpdocument version="1.0"> +<meta> +<topic id="textscalcguidematrixformulaxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Entering Matrix Formulas</title> +<filename>/text/scalc/guide/matrixformula.xhp</filename> +</topic> +<history> +<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> +</history> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3153969"><bookmark_value>matrices; entering matrix formulas</bookmark_value> +<bookmark_value>formulas; matrix formulas</bookmark_value> +<bookmark_value>inserting;matrix formulas</bookmark_value> +</bookmark> +<paragraph role="heading" id="hd_id3153969" xml-lang="en-US" level="1"><variable id="matrixformula"><link href="text/scalc/guide/matrixformula.xhp" name="Entering Matrix Formulas">Entering Matrix Formulas</link> +</variable></paragraph> +<paragraph role="paragraph" id="par_id3153144" xml-lang="en-US">The following is an example of how you can enter a matrix formula, without going into the details of matrix functions.</paragraph> +<paragraph role="paragraph" id="par_id3153188" xml-lang="en-US">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.</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3154321" xml-lang="en-US">Using the mouse, select the range C1:C10, in which the results are to be displayed.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3149260" xml-lang="en-US">Press F2, or click in the input line of the Formula bar.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3154944" xml-lang="en-US">Enter an equal sign (=).</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3145252" xml-lang="en-US">Select the range A1:A10, which contains the first values for the sum formula.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3144767" xml-lang="en-US">Press the (+) key from the numerical keypad.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3154018" xml-lang="en-US">Select the numbers in the second column in cells B1:B10.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3150716" xml-lang="en-US">End the input with the matrix key combination: Shift+<switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Enter.</paragraph> +</listitem> +</list> +<paragraph role="paragraph" id="par_id3145640" xml-lang="en-US">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.</paragraph> +<section id="relatedtopics"> +<embed href="text/scalc/guide/formulas.xhp#formulas"/> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> +<topic id="textscalcguidemove_dragdropxml" indexer="include"> +<title id="tit" xml-lang="en-US">Moving Cells by Drag-and-Drop </title> +<filename>/text/scalc/guide/move_dragdrop.xhp</filename> +</topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3155686"><bookmark_value>drag and drop; moving cells</bookmark_value> +<bookmark_value>cells; moving by drag and drop </bookmark_value> +<bookmark_value>rows;moving by drag and drop</bookmark_value> +<bookmark_value>columns;moving by drag and drop</bookmark_value> +<bookmark_value>moving;cells, rows and columns by drag and drop</bookmark_value> +<bookmark_value>inserting;cells, by drag and drop</bookmark_value> +</bookmark><comment>mw added "columns;"</comment> +<paragraph role="heading" id="hd_id986358" xml-lang="en-US" level="1"><variable id="move_dragdrop"><link href="text/scalc/guide/move_dragdrop.xhp">Moving Cells by Drag-and-Drop</link> +</variable></paragraph> +<paragraph role="paragraph" id="par_id2760093" xml-lang="en-US">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 <emph>overwrite mode</emph>.</paragraph> +<paragraph role="paragraph" id="par_id2760101" xml-lang="en-US">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).</paragraph> +<paragraph role="paragraph" id="par_id9527268" xml-lang="en-US">When you hold down the <switchinline select="sys"><caseinline select="MAC">Option</caseinline><defaultinline>Alt</defaultinline></switchinline> key while releasing the mouse button, you enter the <emph>insert mode</emph>.</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="paragraph" id="par_id79653" xml-lang="en-US">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. </paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id8676717" xml-lang="en-US">The surrounding box of the moved cells looks different in insert mode. </paragraph> +<paragraph role="paragraph" id="par_id3968932" xml-lang="en-US">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. </paragraph> +<paragraph role="paragraph" id="par_id7399517" xml-lang="en-US">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.</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id8040406" xml-lang="en-US">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.</paragraph> +</listitem> +</list> +<paragraph role="paragraph" id="par_id2586748" xml-lang="en-US">In both modes, you can hold down the <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline> key, or <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Shift keys while you release the mouse button to insert a copy or a link, respectively.</paragraph> +<table id="tbl_id1674855"> +<tablerow> +<tablecell> +<paragraph role="tablehead" id="par_id5814081" xml-lang="en-US">Keys pressed while releasing the mouse button</paragraph> +</tablecell> +<tablecell> +<paragraph role="tablehead" id="par_id6581316" xml-lang="en-US">Result</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell> +<paragraph role="tablecontent" id="par_id9906613" xml-lang="en-US">No key</paragraph> +</tablecell> +<tablecell> +<paragraph role="tablecontent" id="par_id2815637" xml-lang="en-US">Cells are moved and overwrite the cells in the target area. Source cells are emptied.</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell> +<paragraph role="tablecontent" id="par_id6161687" xml-lang="en-US"><switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline> key</paragraph> +</tablecell> +<tablecell> +<paragraph role="tablecontent" id="par_id4278389" xml-lang="en-US">Cells are copied and overwrite the cells in the target area. Source cells stay as they are.</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell> +<paragraph role="tablecontent" id="par_id2805566" xml-lang="en-US"><switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Shift keys</paragraph> +</tablecell> +<tablecell> +<paragraph role="tablecontent" id="par_id5369121" xml-lang="en-US">Links to the source cells are inserted and overwrite the cells in the target area. Source cells stay as they are.</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell> +<paragraph role="tablecontent" id="par_id9518723" xml-lang="en-US"><switchinline select="sys"><caseinline select="MAC">Option</caseinline><defaultinline>Alt</defaultinline></switchinline> key</paragraph> +</tablecell> +<tablecell> +<paragraph role="tablecontent" id="par_id2926419" xml-lang="en-US">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. </paragraph> +<paragraph role="tablecontent" id="par_id4021423" xml-lang="en-US">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.</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell> +<paragraph role="tablecontent" id="par_id2783898" xml-lang="en-US"><switchinline select="sys"><caseinline select="MAC">Option+Command </caseinline><defaultinline>Alt+Ctrl</defaultinline></switchinline> keys</paragraph> +</tablecell> +<tablecell> +<paragraph role="tablecontent" id="par_id2785119" xml-lang="en-US">Cells are copied and shift the cells in the target area to the right or to the bottom. Source cells stay as they are.</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell> +<paragraph role="tablecontent" id="par_id584124" xml-lang="en-US"><switchinline select="sys"><caseinline select="MAC">Option+Command</caseinline><defaultinline>Alt+Ctrl</defaultinline></switchinline>+Shift keys</paragraph> +</tablecell> +<tablecell> +<paragraph role="tablecontent" id="par_id5590990" xml-lang="en-US">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.</paragraph> +</tablecell> +</tablerow> +</table> + +<section id="relatedtopics"> +<embed href="text/scalc/guide/cellreferences.xhp#cellreferences"/> +<embed href="text/shared/guide/dragdrop.xhp#dragdrop"/> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + + <helpdocument version="1.0"> +<meta> +<topic id="textscalcguidemulti_tablesxml" indexer="include" status="PUBLISH"> +<title xml-lang="en-US" id="tit">Navigating Through Sheets Tabs</title> +<filename>/text/scalc/guide/multi_tables.xhp</filename> +</topic> +</meta> +<body> + + + +<bookmark xml-lang="en-US" branch="index" id="bm_id3150769"><bookmark_value>sheets; showing multiple</bookmark_value> +<bookmark_value>sheet tabs;using</bookmark_value> +<bookmark_value>views;multiple sheets</bookmark_value> +</bookmark> + <paragraph xml-lang="en-US" id="hd_id3150769" role="heading" level="1"><variable id="multi_tables"><link href="text/scalc/guide/multi_tables.xhp" name="Navigating Through Sheet Tabs">Navigating Through Sheet Tabs</link> +</variable></paragraph> + <paragraph xml-lang="en-US" id="par_id3153771" role="paragraph">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.</paragraph> + <paragraph xml-lang="en-US" id="par_idN106AF" role="paragraph"> +<image id="img_id4829822" src="media/helpimg/sheettabs.png" width="3.3335inch" height="0.7638inch" localize="true"><alt xml-lang="en-US" id="alt_id4829822">Sheet Tabs</alt> + </image></paragraph> + <table id="tbl_id3153728"> + + + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3153144" role="paragraph"> +<image id="img_id3156441" src="media/helpimg/calcnav.png" width="0.6563inch" height="0.1457inch"><alt xml-lang="en-US" id="alt_id3156441">Icon</alt> + </image></paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3147396" role="paragraph">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.</paragraph> + </tablecell> + </tablerow> + </table> + <section id="relatedtopics"> + + <embed href="text/scalc/guide/multitables.xhp#multitables"/> + <embed href="text/scalc/guide/edit_multitables.xhp#edit_multitables"/> + + </section> + </body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> +<topic id="textscalcguidemultioperationxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Applying Multiple Operations</title> +<filename>/text/scalc/guide/multioperation.xhp</filename> +</topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3147559"><bookmark_value>multiple operations</bookmark_value> +<bookmark_value>what if operations;two variables</bookmark_value> +<bookmark_value>tables; multiple operations in</bookmark_value> +<bookmark_value>data tables; multiple operations in</bookmark_value> +<bookmark_value>cross-classified tables</bookmark_value> +</bookmark><comment>mw made "what if operations" a two level entry</comment> +<h1 id="hd_id3147559"><variable id="multioperation"><link href="text/scalc/guide/multioperation.xhp" name="Applying Multiple Operations">Applying Multiple Operations</link> +</variable></h1> +<h2 id="hd_id3145171">Multiple Operations in Columns or Rows</h2> +<paragraph role="paragraph" id="par_id4123966" xml-lang="en-US">The <item type="menuitem">Data - Multiple Operations</item> 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.</paragraph> +<paragraph role="paragraph" id="par_id3156424" xml-lang="en-US">In the <emph>Formulas</emph> field, enter the cell reference to the formula that applies to the data range. In the <emph>Column input cell/Row input cell</emph> field, enter the cell reference to the corresponding cell that is part of the formula. This can be explained best by examples:</paragraph> +<h3 id="hd_id3159153">Examples</h3> +<paragraph role="paragraph" id="par_id3153189" xml-lang="en-US">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?</paragraph> +<paragraph role="paragraph" id="par_id6478774" xml-lang="en-US"> +<image id="img_id1621753" src="media/helpimg/what-if.png"><alt id="alt_id1621753" xml-lang="en-US">what-if sheet area</alt></image></paragraph> +<h3 id="hd_id3145239">Calculating With One Formula and One Variable</h3> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3146888" xml-lang="en-US">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.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3157875" xml-lang="en-US">In column D enter given annual sales, one below the other; for example, 500 to 5000, in steps of 500.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3159115" xml-lang="en-US">Select the range D2:E11, and thus the values in column D and the empty cells alongside in column E.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3149723" xml-lang="en-US">Choose <emph>Data - Multiple operations</emph>.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3149149" xml-lang="en-US">With the cursor in the <emph>Formulas </emph>field, click cell B5.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3149355" xml-lang="en-US">Set the cursor in the <emph>Column input cell</emph> 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.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3149009" xml-lang="en-US">Close the dialog with <emph>OK</emph>. You see the profits for the different quantities in column E.</paragraph> +</listitem> +</list> +<h3 id="hd_id3148725">Calculating with Several Formulas Simultaneously</h3> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3146880" xml-lang="en-US">Delete column E.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3154675" xml-lang="en-US">Enter the following formula in C5: = B5 / B4. You are now calculating the annual profit per item sold.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3148885" xml-lang="en-US">Select the range D2:F11, thus three columns.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3147474" xml-lang="en-US">Choose <emph>Data - Multiple Operations</emph>.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3154846" xml-lang="en-US">With the cursor in the <emph>Formulas</emph> field, select cells B5 thru C5.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3153931" xml-lang="en-US">Set the cursor in the <emph>Column input cell</emph> field and click cell B4.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3150862" xml-lang="en-US">Close the dialog with <emph>OK</emph>. You will now see the profits in column E and the annual profit per item in column F.</paragraph> +</listitem> +</list> +<h2 id="hd_id3146139">Multiple Operations Across Rows and Columns</h2> +<paragraph role="paragraph" id="par_id3148584" xml-lang="en-US"> +<item type="productname">%PRODUCTNAME</item> 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 <emph>Formulas</emph> field. The <emph>Row input cell</emph> and the <emph>Column input cell</emph> fields are used to enter the reference to the corresponding cells of the formula.</paragraph> +<h3 id="hd_id3149949">Calculating with Two Variables</h3> +<paragraph role="paragraph" id="par_id3154808" xml-lang="en-US">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.</paragraph> +<paragraph role="paragraph" id="par_id3149731" xml-lang="en-US">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.</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3152810" xml-lang="en-US">Select the range D1:H11.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3153620" xml-lang="en-US">Choose <emph>Data - Multiple Operations</emph>.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3149981" xml-lang="en-US">With the cursor in the <emph>Formulas</emph> field, click cell B5.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3156113" xml-lang="en-US">Set the cursor in the <emph>Row input cell</emph> 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).</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3154049" xml-lang="en-US">Set the cursor in the <emph>Column input cell</emph> field and click in B4. This means that B4, the quantity, is the vertically entered variable.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3149141" xml-lang="en-US">Close the dialog with OK. You see the profits for the different selling prices in the range E2:H11.</paragraph> +</listitem> +</list> +<section id="relatedtopics"> +<paragraph role="paragraph" id="par_id3155104" xml-lang="en-US"><link href="text/scalc/01/12060000.xhp" name="Multiple operations">Multiple operations</link></paragraph> +<embed href="text/scalc/guide/scenario.xhp#scenario"/> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> + <topic id="textscalcguidemultitablesxml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Applying Multiple Sheets</title> + <filename>/text/scalc/guide/multitables.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3154759"><bookmark_value>sheets; inserting</bookmark_value> + <bookmark_value>inserting; sheets</bookmark_value> + <bookmark_value>sheets; selecting multiple</bookmark_value> + <bookmark_value>appending sheets</bookmark_value> + <bookmark_value>selecting;multiple sheets</bookmark_value> + <bookmark_value>multiple sheets</bookmark_value> + <bookmark_value>calculating;multiple sheets</bookmark_value> +</bookmark><comment>MW moved "sheets;simultaneous.." to edit_multitables.xhp, transferred 2 entries from there and added "calculating;"</comment> +<paragraph xml-lang="en-US" id="hd_id3154759" role="heading" level="1"><variable id="multitables"><link href="text/scalc/guide/multitables.xhp" name="Applying Multiple Sheets">Applying Multiple Sheets</link> +</variable></paragraph> + <paragraph xml-lang="en-US" id="hd_id3148576" role="heading" level="2">Inserting a Sheet</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3154731" role="paragraph">Choose <item type="menuitem">Insert - Sheet</item> to insert a new sheet or an existing sheet from another file.</paragraph> + </listitem> + </list> + +<bookmark xml-lang="en-US" branch="hid/FID_TAB_EVENTS" id="bm_id906582498" localize="false"/><comment>Sheet Events</comment> +<paragraph xml-lang="en-US" id="par_id05092009140203598" role="paragraph"><ahelp hid="." visibility="hidden">Opens a dialog box where you can assign macros to sheet events.</ahelp></paragraph> + +<bookmark xml-lang="en-US" branch="hid/FID_TAB_MENU_SET_TAB_BG_COLOR" id="bm_id906582434" localize="false"/><comment>Tab Color</comment> +<bookmark xml-lang="en-US" branch="hid/FID_TAB_SET_TAB_BG_COLOR" id="bm_id9016345434" localize="false"/> +<paragraph xml-lang="en-US" id="par_id05092009140203523" role="paragraph"><variable id="sheettabcolor"><ahelp hid="." visibility="hidden">Opens a window where you can assign a color to the sheet tab.</ahelp></variable></paragraph> + +<bookmark xml-lang="en-US" branch="hid/.uno:TableSelectAll" id="bm_id9065824" localize="false"/> +<paragraph xml-lang="en-US" id="par_id050920091402035" role="paragraph"><ahelp hid="." visibility="hidden">Click to select all sheets in the document.</ahelp></paragraph> +<bookmark xml-lang="en-US" branch="hid/.uno:TableDeselectAll" id="bm_id9065825" localize="false"/> +<paragraph xml-lang="en-US" id="par_id0509200914020391" role="paragraph"><ahelp hid="." visibility="hidden">Click to deselect all sheets in the document, except the current sheet.</ahelp></paragraph> + <paragraph xml-lang="en-US" id="hd_id3154491" role="heading" level="2">Selecting Multiple Sheets</paragraph> + <paragraph xml-lang="en-US" id="par_id3145251" role="paragraph">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 <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline> you can select multiple sheets.</paragraph> + <paragraph xml-lang="en-US" id="par_idN106B7" role="paragraph">You can use Shift+<switchinline select="sys"><caseinline select="MAC">Command +</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Page Up or Page Down to select multiple sheets using the keyboard.</paragraph> + <paragraph xml-lang="en-US" id="hd_id3155600" role="heading" level="2">Undoing a Selection</paragraph> + <paragraph xml-lang="en-US" id="par_id3146969" role="paragraph">To undo the selection of a sheet, click its sheet tab again while pressing the <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline> key. The sheet that is currently visible cannot be removed from the selection.</paragraph> + <paragraph xml-lang="en-US" id="hd_id3156382" role="heading" level="2">Calculating Across Multiple Sheets</paragraph> + <paragraph xml-lang="en-US" id="par_id3155333" role="paragraph">You can refer to a range of sheets in a formula by specifying the first and last sheet of the range, for example, <item type="literal">=SUM(Sheet1.A1:Sheet3.A1) </item>sums up all A1 cells on Sheet1 through Sheet3.</paragraph> + + + <section id="relatedtopics"> + <embed href="text/scalc/guide/multi_tables.xhp#multi_tables"/> + <embed href="text/scalc/guide/edit_multitables.xhp#edit_multitables"/> + </section> + </body> +</helpdocument>
\ 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> + <topic id="textscalcguidenote_insertxml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Inserting and Editing Comments</title> + <filename>/text/scalc/guide/note_insert.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3153968"><bookmark_value>comments; on cells</bookmark_value> + <bookmark_value>cells;comments</bookmark_value> + <bookmark_value>remarks on cells</bookmark_value> + <bookmark_value>formatting;comments on cells</bookmark_value> + <bookmark_value>viewing;comments on cells</bookmark_value> + <bookmark_value>displaying; comments</bookmark_value> +</bookmark><comment>MW deleted double index "comments;on cells" and copied "displaying;comments" from shared/optionen/01060100.xhp</comment> +<paragraph xml-lang="en-US" id="hd_id3153968" role="heading" level="1"><variable id="note_insert"><link href="text/scalc/guide/note_insert.xhp" name="Inserting and Editing Comments">Inserting and Editing Comments</link> +</variable></paragraph> +<paragraph role="paragraph" id="par_id3150440" xml-lang="en-US">You can assign a comment to each cell by choosing <link href="text/shared/01/04050000.xhp" name="Insert - Comment"><emph>Insert - Comment</emph></link>. The comment is indicated by a small red square, the comment indicator, in the cell.</paragraph> +<list type="unordered"> +<listitem> +<paragraph role="listitem" id="par_id3145750" xml-lang="en-US">The comment is visible whenever the mouse pointer is over the cell.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3148575" xml-lang="en-US">When you select the cell, you can choose <emph>Show Comment</emph> from the context menu of the cell. Doing so keeps the comment visible until you deactivate the <emph>Show Comment</emph> command from the same context menu.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3149958" xml-lang="en-US">To edit a permanently visible comment, just click in it. If you delete the entire text of the comment, the comment itself is deleted.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_idN10699" xml-lang="en-US">Move or resize each comment as you like.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_idN1069D" xml-lang="en-US">Format each comment by specifying background color, transparency, border style, and text alignment. Choose the commands from the context menu of the comment.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3144764" xml-lang="en-US">To show or hide the comment indicator, choose <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - %PRODUCTNAME Calc - View</emph> and mark or unmark the <emph>Comment indicator</emph> check box.</paragraph> +</listitem> +</list> +<paragraph role="paragraph" id="par_id3150715" xml-lang="en-US">To display a help tip for a selected cell, use <emph>Data - Validity - Input Help</emph>.</paragraph> +<section id="relatedtopics"> +<paragraph role="paragraph" id="par_id3153707" xml-lang="en-US"><link href="text/shared/01/04050000.xhp" name="Insert - Comment">Insert - Comment</link></paragraph> +<embed href="text/scalc/guide/validity.xhp#validity"/> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<meta> + <topic id="textscalcguidenumbers_textxml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Converting Text to Numbers</title> + <filename>/text/scalc/guide/numbers_text.xhp</filename> + </topic> +</meta> + +<body> + <bookmark xml-lang="en-US" branch="index" id="bm_id3145068"> + <bookmark_value>formats; text as numbers</bookmark_value> + <bookmark_value>time format conversion</bookmark_value> + <bookmark_value>date formats;conversion</bookmark_value> + <bookmark_value>converting;text, into numbers</bookmark_value> + </bookmark> + <h1 id="hd_id0908200901265171"><variable id="numbers_text"><link href="text/scalc/guide/numbers_text.xhp" name="Converting Text to Numbers">Converting Text to Numbers</link></variable></h1> + <section id="text"> + <paragraph xml-lang="en-US" id="par_id0908200901265127" role="paragraph">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.</paragraph> + <paragraph xml-lang="en-US" id="par_id0908200901265196" role="paragraph"><emph>Only integer numbers including exponent are converted</emph>, 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.</paragraph> + <paragraph xml-lang="en-US" id="par_id0908200901265220" role="paragraph">The following ISO 8601 formats are converted:</paragraph> + <list type="unordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id0908200901265288" role="paragraph">CCYY-MM-DD</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id0908200901265267" role="paragraph">CCYY-MM-DDThh:mm</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id0908200901265248" role="paragraph">CCYY-MM-DDThh:mm:ss</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id0908200901265374" role="paragraph">CCYY-MM-DDThh:mm:ss,s</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id0908200901265327" role="paragraph">CCYY-MM-DDThh:mm:ss.s</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id0908200901265399" role="paragraph">hh:mm</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id0908200901265347" role="paragraph">hh:mm:ss</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id0908200901265349" role="paragraph">hh:mm:ss,s</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id0908200901265342" role="paragraph">hh:mm:ss.s</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_id0908200901265491" role="paragraph">The century code CC may not be omitted. Instead of the T date and time separator, exactly one space character may be used.</paragraph> + <paragraph xml-lang="en-US" id="par_id0908200901265467" role="paragraph">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...</paragraph> + <paragraph xml-lang="en-US" id="par_id0908200901265420" role="paragraph">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.</paragraph> + <note id="par_id761567607207916">The conversion is done for single scalar values only, not within ranges.</note> + <paragraph xml-lang="en-US" id="par_id0908200901265448" role="paragraph">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.</paragraph> + <paragraph xml-lang="en-US" id="par_id090820090126540" role="paragraph">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.</paragraph> + <embed href="text/shared/00/00000001.xhp#regexnumex"/> + <h2 id="hd_id1005200903485368">Example</h2> + <paragraph xml-lang="en-US" id="par_id1005200903485359" role="paragraph">In A1 enter the text <literal>'1e2</literal> (which is converted to the number 100 internally).</paragraph> + <paragraph xml-lang="en-US" id="par_id1005200903485341" role="paragraph">In A2 enter <literal>=A1+1</literal> (which correctly results in 101).</paragraph> + <paragraph role="paragraph" id="par_id891567607263849">The formula <literal>=SUM(A1:A2)</literal>, 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.</paragraph> + <paragraph role="paragraph" id="par_id611567607779380"><literal>=SUM("1E2";1)</literal> returns #VALUE! because SUM() and some others that iterate over number sequences explicitly check the argument type.</paragraph> + </section> + <h2 id="hd_id871567772424915">Changing the default text to number conversion settings</h2> + <paragraph role="paragraph" id="par_id111567772433803">The text to number conversion can be customized in the <link href="text/shared/optionen/detailedcalculation.xhp" name="detailed_link">Detailed Calculation Settings</link> option.</paragraph> + <section id="relatedtopics"> + <embed href="text/shared/optionen/detailedcalculation.xhp#detailed_heading"/> + <embed href="text/scalc/guide/text_numbers.xhp#text_numbers"/> + <embed href="text/scalc/guide/integer_leading_zero.xhp#integer_leading_zero"/> + <paragraph xml-lang="en-US" id="par_id0908200901265544" role="paragraph"><link href="text/shared/01/05020300.xhp" name="Format - Cells - Numbers">Format - Cells - Numbers</link></paragraph> + <embed href="text/scalc/guide/format_value.xhp#format_value"/> + </section> + </body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + <!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + --> + + <meta> + <topic id="pivotchartintro" indexer="include" status="PUBLISH"> + <title id="tit" xml-lang="en-US">Pivot Chart</title> + <filename>/text/scalc/guide/pivotchart.xhp</filename> + </topic> + </meta> +<body> + <bookmark xml-lang="en-US" branch="index" id="bm_id541525139738752"> + <bookmark_value>chart;pivot chart</bookmark_value> + <bookmark_value>pivot table;pivot chart</bookmark_value> + </bookmark> + <h1 id="hd_id141525139671420"><variable id="pivotchart"><link href="text/scalc/guide/pivotchart.xhp" name="Pivot Chart">Pivot Chart</link></variable></h1> + + <paragraph role="paragraph" id="par_id291525139878423" xml-lang="en-US">A pivot chart is a chart with data range and data series of a <link href="text/scalc/guide/datapilot.xhp" name="Pivot Table">pivot table</link>.</paragraph> + <paragraph role="paragraph" id="par_id911525139890364" xml-lang="en-US">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.</paragraph> + + <paragraph role="paragraph" id="par_id201525141351484" xml-lang="en-US">Pivot charts track the changes in the data issued from a pivot table and adjust the data series and data range accordingly.</paragraph> + + <embed href="text/scalc/06/calcsamplefiles.xhp#pivot"/> + <section id="relatedtopics"> + <embed href="text/scalc/guide/pivotchart_create.xhp#pivotchartcreate"/> + <embed href="text/scalc/guide/pivotchart_edit.xhp#pivotchartedit"/> + <embed href="text/scalc/guide/pivotchart_update.xhp#pivotchartupdate"/> + <embed href="text/scalc/guide/pivotchart_filter.xhp#pivotchartfilter"/> + <embed href="text/scalc/guide/pivotchart_delete.xhp#pivotchartdelete"/> + <paragraph role="paragraph" id="par_id191525177790601" xml-lang="en-US"><link href="https://tomazvajngerl.blogspot.com/2017/03/pivot-charts-in-libreoffice-part-1.html" name="Tomaž Vajngerl blog">Technical details on %PRODUCTNAME pivot chart implementation</link>.</paragraph> + </section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + <!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + --> + + <meta> + <topic id="pivotchartcreate" indexer="include" status="PUBLISH"> + <title id="tit" xml-lang="en-US">Creating Pivot Charts</title> + <filename>/text/scalc/guide/pivotchart_create.xhp</filename> + </topic> + </meta> + <body> + <bookmark xml-lang="en-US" branch="index" id="bm_id531525141739769"> + <bookmark_value>pivot chart;creating</bookmark_value> + </bookmark> + <paragraph role="heading" id="hd_id441525141699185" level="1" xml-lang="en-US"><variable id="pivotchartcreate"><link href="text/scalc/guide/pivotchart_create.xhp" name="pivot chart create">Creating Pivot Charts</link></variable></paragraph> + <paragraph role="paragraph" id="par_id481525142550652" xml-lang="en-US">To create a pivot chart proceed as below:</paragraph> + <list type="ordered"> + <listitem> + <paragraph id="par_id761525140219212" role="listitem" xml-lang="en-US">Click inside the pivot table that you want to present in your chart.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id351525140237521" role="listitem" xml-lang="en-US">Choose <emph>Insert – Chart</emph> or click in the + <image id="img_id3157322" src="cmd/sc_insertobjectchart.png" width="0.2228in" height="0.2228in"><alt id="alt_id3159322" xml-lang="en-US">Insert Chart Icon</alt></image> <emph>Insert Chart</emph> icon in the main toolbar.</paragraph> + </listitem> + </list> + <paragraph role="paragraph" id="par_id151525140367370" xml-lang="en-US">%PRODUCTNAME Calc automatically detects the pivot table and opens the pivot chart wizard.</paragraph> + <list type="ordered" startwith="3"> + <listitem> + <paragraph id="par_id861525140391601" role="listitem" xml-lang="en-US">Select the <link href="text/schart/01/wiz_chart_type.xhp" name="Chart type">Chart type</link> for the data in the chart wizard.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_id41525141917275" role="note">The data range and the data series pages of the chart wizard are not enabled. They are controlled by the pivot table.</paragraph> + <list type="ordered" startwith="4"> + <listitem> + <paragraph id="par_id511525140411625" role="listitem" xml-lang="en-US">Select the <link href="text/schart/01/wiz_chart_elements.xhp" name="Chart elements">Chart Elements</link> of the pivot chart in the wizard.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id1001525165156188" role="listitem" xml-lang="en-US">Click <emph>OK</emph> to close the wizard and create the pivot chart.</paragraph> + </listitem> + </list> + + <embed href="text/scalc/06/calcsamplefiles.xhp#pivot"/> + <section id="relatedtopics"> + <embed href="text/scalc/guide/pivotchart.xhp#pivotchart"/> + <embed href="text/scalc/guide/pivotchart_edit.xhp#pivotchartedit"/> + <embed href="text/scalc/guide/pivotchart_update.xhp#pivotchartupdate"/> + <embed href="text/scalc/guide/pivotchart_filter.xhp#pivotchartfilter"/> + <embed href="text/scalc/guide/pivotchart_delete.xhp#pivotchartdelete"/> + </section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + <!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + --> + + <meta> + <topic id="pivotchartdelete" indexer="include" status="PUBLISH"> + <title id="tit" xml-lang="en-US">Deleting Pivot Charts</title> + <filename>/text/scalc/guide/pivotchart_delete.xhp</filename> + </topic> + </meta> + <body> + <paragraph role="heading" id="hd_id231525147891984" level="1" xml-lang="en-US"><variable id="pivotchartdelete"><link href="text/scalc/guide/pivotchart_delete.xhp" name="Deleting a Pivot Chart">Deleting a Pivot Chart</link></variable></paragraph> + <bookmark xml-lang="en-US" branch="index" id="bm_id231525149357908"> + <bookmark_value>pivot chart;deleting</bookmark_value> + </bookmark> + <paragraph role="paragraph" id="par_id141525147903623" xml-lang="en-US">To delete a pivot chart, select the chart and press <emph>Del</emph>.</paragraph> + <paragraph xml-lang="en-US" id="par_id431525148462157" role="note">When deleting a pivot chart, the linked pivot table is not affected.</paragraph> + <paragraph xml-lang="en-US" id="par_id141525148751543" role="warning">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.</paragraph> + + <embed href="text/scalc/06/calcsamplefiles.xhp#pivot"/> + <section id="relatedtopics"> + <embed href="text/scalc/guide/pivotchart.xhp#pivotchart"/> + <embed href="text/scalc/guide/pivotchart_create.xhp#pivotchartcreate"/> + <embed href="text/scalc/guide/pivotchart_edit.xhp#pivotchartedit"/> + <embed href="text/scalc/guide/pivotchart_update.xhp#pivotchartupdate"/> + <embed href="text/scalc/guide/pivotchart_filter.xhp#pivotchartfilter"/> + </section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + <!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + --> + + <meta> + <topic id="pivotchartedit" indexer="include" status="PUBLISH"> + <title id="tit" xml-lang="en-US">Editing Pivot Charts</title> + <filename>/text/scalc/guide/pivotchart_edit.xhp</filename> + </topic> + </meta> + <body> + <bookmark xml-lang="en-US" branch="index" id="bm_id661525144028976"> + <bookmark_value>pivot chart;editing</bookmark_value> + </bookmark> + <paragraph role="heading" id="hd_id271525144002806" level="1" xml-lang="en-US"><variable id="pivotchartedit"><link href="text/scalc/guide/pivotchart_edit.xhp" name="Pivot Chart Editing">Editing Pivot Charts</link></variable></paragraph> + <paragraph role="paragraph" id="par_id971525144066574" xml-lang="en-US">Edit a pivot chart in the same way as normal charts.</paragraph> + <paragraph xml-lang="en-US" id="hd_id5631580" role="heading" level="2">To edit a pivot chart</paragraph> + <embed href="text/schart/main0000.xhp#chartedit"/> + <embed href="text/shared/guide/chart_title.xhp#chart_title"/> + <embed href="text/shared/guide/chart_axis.xhp#chart_axis"/> + <embed href="text/shared/guide/chart_legend.xhp#chart_legend"/> + <embed href="text/shared/guide/chart_barformat.xhp#chart_barformat"/> + <embed href="text/schart/01/three_d_view.xhp#three_d_view"/> + + <embed href="text/scalc/06/calcsamplefiles.xhp#pivot"/> + <section id="relatedtopics"> + <embed href="text/scalc/guide/pivotchart.xhp#pivotchart"/> + <embed href="text/scalc/guide/pivotchart_create.xhp#pivotchartcreate"/> + <embed href="text/scalc/guide/pivotchart_update.xhp#pivotchartupdate"/> + <embed href="text/scalc/guide/pivotchart_filter.xhp#pivotchartfilter"/> + <embed href="text/scalc/guide/pivotchart_delete.xhp#pivotchartdelete"/> + </section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + <!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + --> + + <meta> + <topic id="pivotchartfilter" indexer="include" status="PUBLISH"> + <title id="tit" xml-lang="en-US">Filtering Pivot Charts</title> + <filename>/text/scalc/guide/pivotchart_filter.xhp</filename> + </topic> + </meta> + <body> + <paragraph role="heading" id="hd_id401525165755583" level="1" xml-lang="en-US"><variable id="pivotchartfilter"><link href="text/scalc/guide/pivotchart_filter.xhp" name="Filtering Pivot Charts">Filtering Pivot Charts</link></variable></paragraph> + <paragraph role="paragraph" id="par_id781525166702239" xml-lang="en-US">Filters are used to remove unwanted data from the pivot chart. You can use filters in the pivot chart or in the corresponding <link href="text/scalc/guide/datapilot_filtertable.xhp" name="Pivot table filtering">pivot table</link>, since the resulting chart is exactly the same.</paragraph> + + <paragraph role="heading" id="hd_id201525166689277" level="2" xml-lang="en-US">Pivot chart field buttons</paragraph> + + <paragraph role="paragraph" id="par_id751525167435160" xml-lang="en-US">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.</paragraph> + + <paragraph role="paragraph" id="par_id681525167692377" xml-lang="en-US"> + <image src="media/helpimg/sc_PivotChartButtons.png" id="img_id801525167692378" width="604px" height="340px"><alt xml-lang="en-US" id="alt_id881525167692378">Pivot chart buttons</alt></image> + </paragraph> + + <paragraph role="paragraph" id="par_id851525167448337" xml-lang="en-US">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.</paragraph> + + <paragraph role="paragraph" id="par_id401525167457977" xml-lang="en-US">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.</paragraph> + + <embed href="text/scalc/06/calcsamplefiles.xhp#pivot"/> + + <section id="relatedtopics"> + <embed href="text/scalc/guide/pivotchart.xhp#pivotchart"/> + <embed href="text/scalc/guide/pivotchart_create.xhp#pivotchartcreate"/> + <embed href="text/scalc/guide/pivotchart_edit.xhp#pivotchartedit"/> + <embed href="text/scalc/guide/pivotchart_update.xhp#pivotchartupdate"/> + <embed href="text/scalc/guide/pivotchart_delete.xhp#pivotchartdelete"/> + </section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + <!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + --> + + <meta> + <topic id="pivotchartupdate" indexer="include" status="PUBLISH"> + <title id="tit" xml-lang="en-US">Pivot Chart Update</title> + <filename>/text/scalc/guide/pivotchart_update.xhp</filename> + </topic> + </meta> + <body> + <bookmark xml-lang="en-US" branch="index" id="bm_id801525146393791"> + <bookmark_value>pivot chart;update</bookmark_value> + </bookmark> + <paragraph role="heading" id="hd_id281525146417678" level="1" xml-lang="en-US"><variable id="pivotchartupdate"><link href="text/scalc/guide/pivotchart_update.xhp" name="Pivot Chart Update">Updating Pivot Charts</link></variable></paragraph> + <paragraph role="paragraph" id="par_id831525146706944" xml-lang="en-US">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):</paragraph> + <list type="unordered"> + <listitem> + <paragraph id="par_id451525146722974" role="listitem" xml-lang="en-US">Choose <emph>Data - Pivot Table - Refresh</emph>.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id331525146738273" role="listitem" xml-lang="en-US">Choose <emph>Refresh...</emph> in the context menu of any cell in the pivot table.</paragraph> + </listitem> + </list> + + <embed href="text/scalc/06/calcsamplefiles.xhp#pivot"/> + <section id="relatedtopics"> + <embed href="text/scalc/guide/pivotchart.xhp#pivotchart"/> + <embed href="text/scalc/guide/pivotchart_create.xhp#pivotchartcreate"/> + <embed href="text/scalc/guide/pivotchart_edit.xhp#pivotchartedit"/> + <embed href="text/scalc/guide/pivotchart_filter.xhp#pivotchartfilter"/> + <embed href="text/scalc/guide/pivotchart_delete.xhp#pivotchartdelete"/> + </section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<helpdocument version="1.0"> +<meta> +<topic id="textscalcguideprint_detailsxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Printing Sheet Details</title> +<filename>/text/scalc/guide/print_details.xhp</filename> +</topic> +<history> +<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> +</history> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3154346"><bookmark_value>printing;sheet details</bookmark_value> +<bookmark_value>sheets; printing details</bookmark_value> +<bookmark_value>grids; printing sheet grids</bookmark_value> +<bookmark_value>formulas; printing, instead of results</bookmark_value> +<bookmark_value>comments; printing</bookmark_value> +<bookmark_value>charts;printing</bookmark_value> +<bookmark_value>sheet grids; printing</bookmark_value> +<bookmark_value>cells; printing grids</bookmark_value> +<bookmark_value>borders; printing cells</bookmark_value> +<bookmark_value>zero values; printing</bookmark_value> +<bookmark_value>null values; printing</bookmark_value> +<bookmark_value>draw objects;printing</bookmark_value> +</bookmark><comment>mw inserted 4 index entries from text/scalc/01/05070500.xhp. Added "draw objects;..." entry and changed "formulas;..." entry</comment> +<paragraph role="heading" id="hd_id3154346" xml-lang="en-US" level="1"><variable id="print_details"><link href="text/scalc/guide/print_details.xhp" name="Printing Sheet Details">Printing Sheet Details</link> +</variable></paragraph> +<paragraph role="paragraph" id="par_id3153728" xml-lang="en-US">When printing a sheet you can select which details are to be printed:</paragraph> +<list type="unordered"> +<listitem> +<paragraph role="listitem" id="par_id3150010" xml-lang="en-US">Row and column headers</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3154013" xml-lang="en-US">Sheet grid</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3145273" xml-lang="en-US">Comments</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3145801" xml-lang="en-US">Objects and images</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3154491" xml-lang="en-US">Charts</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3154731" xml-lang="en-US">Drawing objects</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3149400" xml-lang="en-US">Formulas</paragraph> +</listitem> +</list> +<paragraph role="paragraph" id="par_id3150752" xml-lang="en-US">To choose the details proceed as follows:</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3145640" xml-lang="en-US">Select the sheet you want to print.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3150042" xml-lang="en-US">Choose <emph>Format - Page</emph>.</paragraph> +<paragraph role="listitem" id="par_id3147340" xml-lang="en-US">The command is not visible if the sheet was opened with write protection on. In that case, click the <emph>Edit File </emph>icon on the <emph>Standard</emph> Bar.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3146916" xml-lang="en-US">Select the <emph>Sheet</emph> tab. In the <emph>Print </emph>area mark the details to be printed and click OK.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3145789" xml-lang="en-US">Print the document.</paragraph> +</listitem> +</list> +<section id="relatedtopics"> +<paragraph role="paragraph" id="par_id3150345" xml-lang="en-US"><link href="text/scalc/01/03100000.xhp" name="View - Page Break">View - Page Break</link></paragraph> +<embed href="text/scalc/guide/print_exact.xhp#print_exact"/> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<helpdocument version="1.0"> +<meta> +<topic id="textscalcguideprint_exactxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Defining Number of Pages for Printing</title> +<filename>/text/scalc/guide/print_exact.xhp</filename> +</topic> +<history> +<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> +</history> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3153194"><bookmark_value>printing; sheet counts</bookmark_value> +<bookmark_value>sheets; printing sheet counts</bookmark_value> +<bookmark_value>page breaks; spreadsheet preview</bookmark_value> +<bookmark_value>editing;print ranges</bookmark_value> +<bookmark_value>viewing;print ranges</bookmark_value> +<bookmark_value>previews;page breaks for printing</bookmark_value> +</bookmark> +<paragraph role="heading" id="hd_id3153194" xml-lang="en-US" level="1"><variable id="print_exact"><link href="text/scalc/guide/print_exact.xhp" name="Defining Number of Pages for Printing">Defining Number of Pages for Printing</link> +</variable></paragraph> +<paragraph role="paragraph" id="par_id3153771" xml-lang="en-US">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.</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3159155" xml-lang="en-US">Go to the sheet to be printed.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3150012" xml-lang="en-US">Choose <emph>View - Page Break</emph>.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3146974" xml-lang="en-US">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.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3152578" xml-lang="en-US">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.</paragraph> +</listitem> +</list> +<section id="relatedtopics"> +<paragraph role="paragraph" id="par_id3151073" xml-lang="en-US"><link href="text/scalc/01/03100000.xhp" name="View - Page Break">View - Page Break</link></paragraph> +<embed href="text/scalc/guide/print_landscape.xhp#print_landscape"/> +<embed href="text/scalc/guide/print_details.xhp#print_details"/> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> + <topic id="textscalcguideprint_landscapexml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Printing Sheets in Landscape Format</title> + <filename>/text/scalc/guide/print_landscape.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3153418"><bookmark_value>printing; sheet selections</bookmark_value> + <bookmark_value>sheets; printing in landscape</bookmark_value> + <bookmark_value>printing; landscape</bookmark_value> + <bookmark_value>landscape printing</bookmark_value> +</bookmark><comment>mw corrected a typo in "printing; sheet..."</comment> +<paragraph xml-lang="en-US" id="hd_id3153418" role="heading" level="1"><variable id="print_landscape"><link href="text/scalc/guide/print_landscape.xhp" name="Printing Sheets in Landscape Format">Printing Sheets in Landscape Format</link> +</variable></paragraph> + <paragraph xml-lang="en-US" id="par_id3149257" role="paragraph">In order to print a sheet you have a number of interactive options available under <emph>View - Page Break</emph>. Drag the delimiter lines to define the range of printed cells on each page.</paragraph> + <paragraph xml-lang="en-US" id="par_id3153963" role="paragraph">To print in landscape format, proceed as follows:</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3154020" role="listitem">Go to the sheet to be printed.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3150786" role="listitem">Choose <emph>Format - Page</emph>.</paragraph> + <paragraph xml-lang="en-US" id="par_id3150089" role="listitem">The command is not visible if the sheet has been opened with write protection on. In that case, click the <emph>Edit File </emph>icon on the <emph>Standard</emph> bar.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3166430" role="listitem">Select the <emph>Page</emph> tab. Select the <emph>Landscape</emph> paper format and click OK.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3150885" role="listitem">Choose <emph>File - Print</emph>. You will see the <emph>Print</emph> dialog.</paragraph> + <paragraph xml-lang="en-US" id="par_id3156288" role="listitem">Depending on the printer driver and the operating system, it may be necessary to click the <emph>Properties</emph> button and to change your printer to landscape format there.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3149404" role="listitem">In the <emph>Print </emph>dialog in the <emph>General</emph> tab page, select the contents to be printed:</paragraph> + <paragraph xml-lang="en-US" id="par_id3153305" role="listitem"> + <emph>All sheets</emph> - All sheets will be printed.</paragraph> + <paragraph xml-lang="en-US" id="par_id3148871" role="listitem"> + <emph>Selected sheets</emph> - 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 <switchinline select="sys"><caseinline select="MAC">Command +</caseinline><defaultinline>Ctrl</defaultinline></switchinline> while clicking a sheet name you can change this selection.</paragraph> + <paragraph xml-lang="en-US" id="par_id3764763" role="listitem"> + <emph>Selected cells</emph> - All selected cells are printed.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id5538804" role="listitem">From all the paper pages that result from the above selection, you can select the range of paper pages to be printed:</paragraph> + <paragraph xml-lang="en-US" id="par_id14343" role="listitem"> + <emph>All pages</emph> - Print all resulting pages.</paragraph> + <paragraph xml-lang="en-US" id="par_id3148699" role="listitem"> + <emph>Pages</emph> - 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.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_id3145076" role="paragraph">If under <emph>Format - Print ranges</emph> you have defined one or more print ranges, only the contents of these print ranges will be printed.</paragraph> + <section id="relatedtopics"> + <paragraph xml-lang="en-US" id="par_id3156019" role="paragraph"><link href="text/scalc/01/03100000.xhp" name="View - Page Break">View - Page Break</link></paragraph> + <paragraph xml-lang="en-US" id="par_id8254646" role="paragraph"><link href="text/scalc/guide/printranges.xhp">Defining Print Ranges on a Sheet</link></paragraph> + <embed href="text/scalc/guide/print_exact.xhp#print_exact"/> + </section> + </body> +</helpdocument>
\ 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> +<helpdocument version="1.0"> +<meta> +<topic id="textscalcguideprint_title_rowxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Printing Rows or Columns on Every Page</title> +<filename>/text/scalc/guide/print_title_row.xhp</filename> +</topic> +<history> +<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> +</history> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3151112"><bookmark_value>printing; sheets on multiple pages</bookmark_value> +<bookmark_value>sheets; printing on multiple pages</bookmark_value> +<bookmark_value>rows; repeating when printing</bookmark_value> +<bookmark_value>columns; repeating when printing</bookmark_value> +<bookmark_value>repeating;columns/rows on printed pages</bookmark_value> +<bookmark_value>title rows; printing on all sheets</bookmark_value> +<bookmark_value>headers; printing on sheets</bookmark_value> +<bookmark_value>footers; printing on sheets</bookmark_value> +<bookmark_value>printing; rows/columns as table headings</bookmark_value> +<bookmark_value>headings;repeating rows/columns as</bookmark_value> +</bookmark><comment>mw deleted one index entry ("fixed...") and added "headings;..." entry</comment> +<paragraph role="paragraph" id="par_id3151112" xml-lang="en-US" localize="false"/> +<h1 id="hd_id3153727"><variable id="print_title_row"><link href="text/scalc/guide/print_title_row.xhp" name="Printing Rows or Columns on Every Page">Printing Rows or Columns on Every Page</link> +</variable></h1> +<paragraph role="paragraph" id="par_id3154014" xml-lang="en-US">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.</paragraph> +<paragraph role="paragraph" id="par_id3146975" xml-lang="en-US">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:</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3163710" xml-lang="en-US">Choose <emph>Format - Print Ranges - Edit</emph>. The <emph>Edit Print Ranges</emph> dialog appears.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3149958" xml-lang="en-US">Click the icon at the far right of the <emph>Rows to repeat</emph> area.</paragraph> +<paragraph role="listitem" id="par_id3145800" xml-lang="en-US">The dialog shrinks so that you can see more of the sheet.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3155602" xml-lang="en-US">Select the first two rows and, for this example, click cell A1 and drag to A2.</paragraph> +<paragraph role="listitem" id="par_id3154018" xml-lang="en-US">In the shrunk dialog you will see $1:$2. Rows 1 and 2 are now rows to repeat.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3153707" xml-lang="en-US">Click the icon at the far right of the <emph>Rows to repeat</emph> area. The dialog is restored again.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3155443" xml-lang="en-US">If you also want column A as a column to repeat, click the icon at the far right of the <emph>Columns to repeat</emph> area.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3154256" xml-lang="en-US">Click column A (not in the column header).</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3154704" xml-lang="en-US">Click the icon again at the far right of the <emph>Columns to repeat</emph> area.</paragraph> +</listitem> +</list> +<note id="par_id3150088">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 <emph>Format - Page</emph>.</note> +<section id="relatedtopics"> +<paragraph role="paragraph" id="par_idN107A9" xml-lang="en-US" localize="false"> +<embedvar href="text/scalc/guide/printranges.xhp#printranges"/> +</paragraph> +<paragraph role="paragraph" id="par_id3155380" xml-lang="en-US"><link href="text/scalc/01/03100000.xhp" name="View - Page Break Preview">View - Page Break Preview</link></paragraph> +<embed href="text/scalc/guide/line_fix.xhp#line_fix"/> +<paragraph role="paragraph" id="par_id3154371" xml-lang="en-US"><link href="text/scalc/01/05080300.xhp" name="Format - Print ranges - Edit">Format - Print ranges - Edit</link></paragraph> +<paragraph role="paragraph" id="par_id3146113" xml-lang="en-US"><link href="text/scalc/01/05070000.xhp" name="Format - Page - (Header / Footer)">Format - Page - (Header / Footer)</link></paragraph> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + + <helpdocument version="1.0"> +<meta> +<topic id="textscalcguideprintrangesxml" indexer="include" status="PUBLISH"> +<title xml-lang="en-US" id="tit">Using Print Ranges on a Spreadsheet</title> +<filename>/text/scalc/guide/printranges.xhp</filename> +</topic> +</meta> +<body> + + + +<bookmark xml-lang="en-US" branch="index" id="bm_id14648"><bookmark_value>exporting;cells</bookmark_value> +<bookmark_value>printing; cells</bookmark_value> +<bookmark_value>ranges;print ranges</bookmark_value> +<bookmark_value>PDF export of print ranges</bookmark_value> +<bookmark_value>cell ranges; printing</bookmark_value> +<bookmark_value>cells; print ranges</bookmark_value> +<bookmark_value>print ranges</bookmark_value> +<bookmark_value>clearing, see also deleting/removing</bookmark_value> +<bookmark_value>defining;print ranges</bookmark_value> +<bookmark_value>extending print ranges</bookmark_value> +<bookmark_value>deleting;print ranges</bookmark_value> +</bookmark> + <comment>mw deleted "adding;" and corrected two typos in "defining;" and "extending.."</comment> + <comment>MW changed "clearing,"</comment> + <paragraph xml-lang="en-US" id="par_idN108D7" role="heading" level="1"><variable id="printranges"><link href="text/scalc/guide/printranges.xhp">Defining Print Ranges on a Sheet</link> +</variable></paragraph> + <paragraph xml-lang="en-US" id="par_idN108F5" role="paragraph">You can define which range of cells on a spreadsheet to print.</paragraph> + <paragraph xml-lang="en-US" id="par_idN108FB" role="paragraph">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.</paragraph> + <paragraph xml-lang="en-US" id="par_idN1077A" role="note">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.<comment>UFI: New, see spec "Calc Print Settings Sheet Property "Print Entire Sheet""</comment></paragraph> + <paragraph xml-lang="en-US" id="par_idN108FE" role="heading" level="2">To Define a Print Range</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_idN10905" role="paragraph">Select the cells that you want to print.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN10909" role="paragraph">Choose <emph>Format - Print Ranges - Define</emph>.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_idN10910" role="heading" level="2">To Add Cells to a Print Range</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_idN10917" role="paragraph">Select the cells that you want to add to the existing print range.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN1091B" role="paragraph">Choose <emph>Format - Print Ranges - Add</emph>.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_idN10922" role="heading" level="2">To Clear a Print Range</paragraph> + <list type="unordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_idN10929" role="paragraph">Choose <emph>Format - Print Ranges - Clear</emph>.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_idN10953" role="heading" level="2">Using the Page Break Preview to Edit Print Ranges</paragraph> + <paragraph xml-lang="en-US" id="par_idN1093E" role="paragraph">In the <emph>Page Break Preview</emph>, 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.</paragraph> + <paragraph xml-lang="en-US" id="par_id3153143" role="paragraph">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.</paragraph> + <paragraph xml-lang="en-US" id="par_idN10930" role="heading" level="3">To View and Edit Print Ranges</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_idN10937" role="paragraph">Choose <emph>View - Page Break Preview</emph>.</paragraph> + <paragraph xml-lang="en-US" id="par_idN1082A" role="tip">To change the default zoom factor of the <emph>Page Break Preview</emph>, double click the percentage value on the <emph>Status</emph> bar, and select a new zoom factor.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN10836" role="paragraph">Edit the print range.</paragraph> + <paragraph xml-lang="en-US" id="par_idN10944" role="paragraph">To change the size of a print range, drag a border of the range to a new location.</paragraph> + <paragraph xml-lang="en-US" id="par_id3151075" role="note">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.</paragraph> + <paragraph xml-lang="en-US" id="par_idN10948" role="paragraph">To clear a print range, drag a border of the range onto the opposite border of the range.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_idN10862" role="paragraph">To exit the <emph>Page Break Preview</emph>, choose <emph>View - Normal</emph>.</paragraph> + </listitem> + </list> + <section id="relatedtopics"> + + <embed href="text/scalc/guide/print_exact.xhp#print_exact"/> + <embed href="text/scalc/guide/print_title_row.xhp#print_title_row"/> + <paragraph xml-lang="en-US" id="par_idN109CF" role="paragraph"><link href="text/scalc/01/05080300.xhp">Editing Print Ranges</link></paragraph> + + </section> + </body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<helpdocument version="1.0"> +<meta> +<topic id="textscalcguiderelativ_absolut_refxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Addresses and References, Absolute and Relative</title> +<filename>/text/scalc/guide/relativ_absolut_ref.xhp</filename> +</topic> +<history> +<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> +</history> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3156423"><bookmark_value>addressing; relative and absolute</bookmark_value> +<bookmark_value>references; absolute/relative</bookmark_value> +<bookmark_value>absolute addresses in spreadsheets</bookmark_value> +<bookmark_value>relative addresses</bookmark_value> +<bookmark_value>absolute references in spreadsheets</bookmark_value> +<bookmark_value>relative references</bookmark_value> +<bookmark_value>references; to cells</bookmark_value> +<bookmark_value>cells; references</bookmark_value> +</bookmark> +<paragraph role="heading" id="hd_id3156423" xml-lang="en-US" level="1"><variable id="relativ_absolut_ref"><link href="text/scalc/guide/relativ_absolut_ref.xhp" name="Addresses and References, Absolute and Relative">Addresses and References, Absolute and Relative</link> +</variable></paragraph> +<paragraph role="heading" id="hd_id3163712" xml-lang="en-US" level="2">Relative Addressing</paragraph> +<paragraph role="paragraph" id="par_id3146119" xml-lang="en-US">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.</paragraph> +<paragraph role="paragraph" id="par_id3154730" xml-lang="en-US">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.</paragraph> +<paragraph role="heading" id="hd_id3149377" xml-lang="en-US" level="2">Absolute Addressing</paragraph> +<paragraph role="paragraph" id="par_id3154943" xml-lang="en-US">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.</paragraph> +<paragraph role="tip" id="par_id3147338" xml-lang="en-US">$[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)</paragraph> +<paragraph role="paragraph" id="par_id3153963" xml-lang="en-US">$[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.</paragraph> +<paragraph role="heading" id="hd_id3154704" xml-lang="en-US" level="2">When to Use Relative and Absolute References</paragraph> +<paragraph role="paragraph" id="par_id3147346" xml-lang="en-US">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.</paragraph> +<paragraph role="paragraph" id="par_id3155335" xml-lang="en-US">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.</paragraph> +<paragraph role="paragraph" id="par_id3145791" xml-lang="en-US">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.</paragraph> +<paragraph role="paragraph" id="par_id3147005" xml-lang="en-US">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).</paragraph> +<section id="relatedtopics"> +<embed href="text/scalc/guide/value_with_name.xhp#value_with_name"/><comment>mw changed link target from "address_byname" to "value_with_name"</comment><embed href="text/scalc/guide/address_auto.xhp#address_auto"/> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<meta> + <topic id="textscalcguidefiltersxml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Removing Duplicate Values</title> + <filename>/text/scalc/guide/remove_duplicates.xhp</filename> + </topic> +</meta> + +<body> + <bookmark xml-lang="en-US" branch="index" id="bm_id3153896"> + <bookmark_value>filters; removing duplicates</bookmark_value> + <bookmark_value>filters; finding unique values</bookmark_value> + </bookmark> + <h1 id="hd_id501630021281902"><variable id="filters"><link href="text/scalc/guide/remove_duplicates.xhp" name="Duplicates_h1">Removing Duplicate Values</link></variable></h1> + <paragraph xml-lang="en-US" id="par_id3150869" role="paragraph">Consider a single column with values where some may be duplicates. To remove duplicate values and obtain only the unique entries in the column:</paragraph> + <list type="ordered"> + <listitem> + <paragraph id="par_id631630021463659" role="listitem">Select the range of values from which duplicate values are to be removed. The values have to be arranged in a single column.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id31630021517873" role="listitem">Go to <menuitem>Data - More Filters - Standard Filter</menuitem>. This opens the <link href="text/shared/02/12090100.xhp" name="std_dialog_link"> Standard Filter</link> dialog.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id801630022108301" role="listitem">In <emph>Field Name</emph> 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.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id461630022298515" role="listitem">In <emph>Condition</emph> choose the option <emph>=</emph> (equals sign), which is the default option.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id261630022372414" role="listitem">In <emph>Value</emph> choose the option <emph>Not Empty</emph>.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id441630022436605" role="listitem">Click <emph>Options</emph> and select <emph>No duplications</emph>. If the first value is the column header check <emph>Range contains column labels</emph>.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id841630022924442" role="listitem">Check <emph>Copy results</emph> and use the input box below it to inform a cell address where the unique entries are to be entered.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id61630023053412" role="listitem">Click <emph>OK</emph>. The unique values in the range will be entered starting with the cell selected in the previous step.</paragraph> + </listitem> +</list> + <note id="par_id81630022708336">The <emph>No duplications</emph> option is case sensitive. Therefore, values "A" and "a" are each considered as unique values.</note> + <section id="relatedtopics"> + <embed href="text/scalc/guide/autofilter.xhp#autofilter"/> + <embed href="text/scalc/guide/specialfilter.xhp#specialfilter"/> + <embed href="text/scalc/guide/filters.xhp#filters"/> + </section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<meta> + <topic id="textscalcguiderename_tablexml" indexer="include"> + <title xml-lang="en-US" id="tit">Renaming Sheets</title> + <filename>/text/scalc/guide/rename_table.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3150398"><bookmark_value>renaming;sheets</bookmark_value> + <bookmark_value>sheet tabs;renaming</bookmark_value> + <bookmark_value>tables;renaming</bookmark_value> + <bookmark_value>names; sheets</bookmark_value> +</bookmark> +<h1 xml-lang="en-US" id="hd_id3150398"><variable id="rename_table"><link href="text/scalc/guide/rename_table.xhp" name="Renaming Sheets">Renaming Sheets</link> +</variable></h1> +<paragraph role="paragraph" id="par_id701519308848244" xml-lang="en-US">Setting sheet names is an important feature to produce readable and understandable spreadsheets documents.</paragraph> +<tip xml-lang="en-US" id="par_id3155444">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.</tip> +<paragraph role="paragraph" id="par_id471607437423400">To rename a sheet in your document:</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3146976" role="listitem">Double-click the sheet tab or open its context menu and choose <menuitem>Rename Sheet</menuitem>. A dialog box appears where you can enter a new name.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3149260" role="listitem">Enter a new name for the sheet and click <emph>OK</emph>.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3149667" role="listitem">Alternatively, hold down the <switchinline select="sys"><caseinline select="MAC">Option key +</caseinline><defaultinline>Alt key</defaultinline></switchinline> and click on any sheet name and enter the new name directly.</paragraph> + </listitem> + </list> +<note xml-lang="en-US" id="par_id471519308256437">The document can contain up to 10,000 individual sheets, which must have different names.</note> +<h2 id="hd_id541607437294635">Sheet Naming Restrictions</h2> + <paragraph xml-lang="en-US" id="par_id0909200810502833" role="paragraph">Sheet names can contain almost any character. Some naming restrictions apply, the following characters are not allowed in sheet names:</paragraph> + <list type="unordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id090920081050281" role="paragraph">colon <literal>:</literal></paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id0909200810502897" role="paragraph">back slash <literal>\</literal></paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id090920081050299" role="paragraph">forward slash <literal>/</literal></paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id0909200810502913" role="paragraph">question mark <literal>?</literal></paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id090920081050298" role="paragraph">asterisk <literal>*</literal></paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id0909200810502969" role="paragraph">left square bracket <literal>[</literal></paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id0909200810502910" role="paragraph">right square bracket <literal>]</literal></paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id0909200810502971" role="paragraph">single quote <literal>'</literal> as the first or last character of the name</paragraph> + </listitem> + </list> +<paragraph role="paragraph" id="par_id761607437686157">The single quote is Unicode <literal>U+0027</literal>, also known as <literal>apostrophe</literal>. Other single-quote characters, similar to <literal>apostrophe</literal>, are allowed, such as <literal>ʼ</literal> <literal>‛</literal> and <literal>‚</literal>.</paragraph> +<h2 id="hd_id251607438968588">Using a Default Prefix for Sheet Names</h2> + <paragraph role="paragraph" id="par_id81519309108908" xml-lang="en-US">You can set a prefix for the names of new sheets you create. Choose <switchinline select="sys"><caseinline select="MAC"><menuitem>%PRODUCTNAME - Preferences</menuitem></caseinline><defaultinline><menuitem>Tools - Options</menuitem></defaultinline></switchinline><menuitem> - %PRODUCTNAME Calc - Defaults</menuitem> and enter the prefix name in <emph>Prefix name for new worksheet</emph>.</paragraph> +<h2 id="hd_id821607437571713">Referencing Sheet Names with Special Characters</h2> + <paragraph xml-lang="en-US" id="par_id090920081050307" role="paragraph">In cell references, a sheet name must be enclosed in single quotes <literal>'</literal> 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).</paragraph> + <paragraph role="paragraph" id="par_id321519307869857" xml-lang="en-US">For example, you want to reference the <literal>cell A1</literal> on a sheet named <literal>This year's sheet</literal>.</paragraph> + + <paragraph xml-lang="en-US" id="par_id0909200810503054" role="paragraph"> The reference must be enclosed in single quotes, and the one single quote inside the name must be doubled: <literal>'This year''s sheet'.A1</literal></paragraph> + <section id="relatedtopics"> + <embed href="text/scalc/guide/multitables.xhp#multitables"/> + </section> + </body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<helpdocument version="1.0"> +<meta> +<topic id="textscalcguiderounding_numbersxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Using Rounded Off Numbers</title> +<filename>/text/scalc/guide/rounding_numbers.xhp</filename> +</topic> +<history> +<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> +</history> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3153361"><bookmark_value>numbers; rounded off</bookmark_value> +<bookmark_value>rounded off numbers</bookmark_value> +<bookmark_value>exact numbers in $[officename] Calc</bookmark_value> +<bookmark_value>decimal places; showing</bookmark_value> +<bookmark_value>changing;number of decimal places</bookmark_value> +<bookmark_value>values;rounded in calculations</bookmark_value> +<bookmark_value>calculating;rounded off values</bookmark_value> +<bookmark_value>numbers; decimal places</bookmark_value> +<bookmark_value>precision as shown</bookmark_value> +<bookmark_value>rounding precision</bookmark_value> +<bookmark_value>spreadsheets; values as shown</bookmark_value> +</bookmark><comment>mw reduced "tables in spreadsheets;" to "tables;"</comment> +<paragraph role="paragraph" id="par_id3153361" xml-lang="en-US" localize="false"/> +<paragraph role="heading" id="hd_id3156422" xml-lang="en-US" level="1"><variable id="rounding_numbers"><link href="text/scalc/guide/rounding_numbers.xhp" name="Using Rounded Off Numbers">Using Rounded Off Numbers</link> +</variable></paragraph> +<paragraph role="paragraph" id="par_id3153726" xml-lang="en-US">In $[officename] Calc, all decimal numbers are displayed rounded off to two decimal places.</paragraph> +<paragraph role="heading" id="hd_id3152596" xml-lang="en-US" level="3">To change this for selected cells</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3154321" xml-lang="en-US">Mark all the cells you want to modify.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3147428" xml-lang="en-US">Choose <emph>Format - Cells</emph> and go to the <emph>Numbers</emph> tab page.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3153876" xml-lang="en-US">In the <emph>Category</emph> field, select <emph>Number</emph>. Under <emph>Options</emph>, change the number of <emph>Decimal places</emph> and exit the dialog with OK.</paragraph> +</listitem> +</list> +<paragraph role="heading" id="hd_id3155415" xml-lang="en-US" level="3">To change this everywhere</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3150715" xml-lang="en-US">Choose <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - %PRODUCTNAME Calc</emph>.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3153707" xml-lang="en-US">Go to the <emph>Calculate</emph> page. Modify the number of <emph>Decimal places</emph> and exit the dialog with OK.</paragraph> +</listitem> +</list> +<paragraph role="heading" id="hd_id3154755" xml-lang="en-US" level="3">To calculate with the rounded off numbers instead of the internal exact values</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3150045" xml-lang="en-US">Choose <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - %PRODUCTNAME Calc</emph>.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3146920" xml-lang="en-US">Go to the <emph>Calculate</emph> page. Mark the <emph>Precision as shown</emph> field and exit the dialog with OK.</paragraph> +</listitem> +</list> +<section id="relatedtopics"> +<paragraph role="paragraph" id="par_id3145790" xml-lang="en-US"><link href="text/shared/01/05020300.xhp" name="Numbers">Numbers</link></paragraph> +<paragraph role="paragraph" id="par_id3147005" xml-lang="en-US"><link href="text/shared/optionen/01060500.xhp" name="Calculate">Calculate</link></paragraph> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<helpdocument version="1.0"> +<meta> +<topic id="textscalcguiderow_heightxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Changing Row Height or Column Width</title> +<filename>/text/scalc/guide/row_height.xhp</filename> +</topic> +<history> +<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> +</history> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3145748"><bookmark_value>heights of cells</bookmark_value> +<bookmark_value>cell heights</bookmark_value> +<bookmark_value>cell widths</bookmark_value> +<bookmark_value>cells; heights and widths</bookmark_value> +<bookmark_value>widths of cells</bookmark_value> +<bookmark_value>column widths</bookmark_value> +<bookmark_value>rows; heights</bookmark_value> +<bookmark_value>columns; widths</bookmark_value> +<bookmark_value>changing;row heights/column widths</bookmark_value> +</bookmark> +<paragraph role="heading" id="hd_id3145748" xml-lang="en-US" level="1"><variable id="row_height"><link href="text/scalc/guide/row_height.xhp" name="Changing Row Height or Column Width">Changing Row Height or Column Width</link> +</variable></paragraph> +<paragraph role="paragraph" id="par_id3154017" xml-lang="en-US">You can change the height of the rows with the mouse or through the dialog.</paragraph> +<paragraph role="note" id="par_id3154702" xml-lang="en-US">What is described here for rows and row height applies accordingly for columns and column width.</paragraph> +<paragraph role="heading" id="hd_id3153963" xml-lang="en-US" level="2">Using the mouse to change the row height or column width</paragraph> +<list type="unordered"> +<listitem> +<paragraph role="listitem" id="par_id3154020" xml-lang="en-US">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.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3159237" xml-lang="en-US">Select the optimal row height by double-clicking the separator below the row.</paragraph> +</listitem> +</list> +<paragraph role="heading" id="hd_id3154659" xml-lang="en-US" level="2">Using the dialog to change the row height or column width</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3150367" xml-lang="en-US">Click the row so that you achieve the focus.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3166432" xml-lang="en-US">Start the context menu on the header at the left-hand side.</paragraph> +<paragraph role="listitem" id="par_id3150519" xml-lang="en-US">You will see the commands <emph>Row Height</emph> and <emph>Optimal row height</emph>. Choosing either opens a dialog.</paragraph> +</listitem> +</list> +<section id="relatedtopics"> +<paragraph role="paragraph" id="par_id3154487" xml-lang="en-US"><link href="text/shared/01/05340100.xhp" name="Row height">Row height</link></paragraph> +<paragraph role="paragraph" id="par_id3149408" xml-lang="en-US"><link href="text/scalc/01/05030200.xhp" name="Optimal row height">Optimal row height</link></paragraph> +<paragraph role="paragraph" id="par_id3153305" xml-lang="en-US"><link href="text/shared/01/05340200.xhp" name="Column width">Column width</link></paragraph> +<paragraph role="paragraph" id="par_id3153815" xml-lang="en-US"><link href="text/scalc/01/05040200.xhp" name="Optimal column width">Optimal column width</link></paragraph> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + + <helpdocument version="1.0"> +<meta> +<topic id="textscalcguidescenarioxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Using Scenarios</title> +<filename>/text/scalc/guide/scenario.xhp</filename> +</topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3149664"><bookmark_value>scenarios; creating/editing/deleting</bookmark_value> +<bookmark_value>opening;scenarios</bookmark_value> +<bookmark_value>selecting;scenarios in Navigator</bookmark_value> +</bookmark><comment>UFI: removed "sample" from index term: no sample in OOo</comment><comment>MW changed "scenarios;"</comment><paragraph role="heading" id="hd_id3125863" xml-lang="en-US" level="1"><variable id="scenario"><link href="text/scalc/guide/scenario.xhp" name="Using Scenarios">Using Scenarios</link> +</variable></paragraph> +<paragraph role="paragraph" id="par_id3150869" xml-lang="en-US">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.</paragraph> +<paragraph role="heading" id="hd_id3149255" xml-lang="en-US" level="3">Creating Your Own Scenarios</paragraph> +<paragraph role="paragraph" id="par_id3154704" xml-lang="en-US">To create a scenario, select all the cells that provide the data for the scenario. </paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3154020" xml-lang="en-US">Select the cells that contain the values that will change between scenarios. To select multiple cells, hold down the <switchinline select="sys"><caseinline select="MAC"><item type="keycode">Command</item></caseinline><defaultinline><item type="keycode">Ctrl</item></defaultinline></switchinline> key as you click each cell.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3150364" xml-lang="en-US">Choose <emph>Tools - Scenarios</emph>. The <emph>Create Scenario</emph> dialog appears.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3166426" xml-lang="en-US">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.</paragraph> +</listitem> +</list> +<paragraph role="heading" id="hd_id3149664" xml-lang="en-US" level="3">Using Scenarios</paragraph><comment>removed "commercial" switched contents</comment><paragraph role="paragraph" id="par_id3153415" xml-lang="en-US">Scenarios can be selected in the Navigator:</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3150752" xml-lang="en-US">Open the Navigator with the <emph>Navigator</emph> icon +<image id="img_id1593676" src="cmd/sc_navigator.png" width="0.1665inch" height="0.1665inch"><alt id="alt_id1593676" xml-lang="en-US">Navigator icon</alt> + </image> on the Standard bar.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3155764" xml-lang="en-US">Click the <emph>Scenarios</emph> icon +<image id="img_id7617114" src="sc/res/na07.png" width="0.222inch" height="0.222inch"><alt id="alt_id7617114" xml-lang="en-US">Scenarios icon</alt> + </image> in the Navigator.</paragraph> +</listitem> +</list> +<paragraph role="paragraph" id="par_id3154256" xml-lang="en-US">In the Navigator, you see the defined scenarios with the comments that were entered when the scenarios were created.</paragraph> +<list type="unordered"> +<listitem> +<paragraph role="paragraph" id="par_id1243629" xml-lang="en-US">Double-click a scenario name in the Navigator to apply that scenario to the current sheet.</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id9044770" xml-lang="en-US">To delete a scenario, right-click the name in the Navigator and choose <emph>Delete</emph>.</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id3674123" xml-lang="en-US">To edit a scenario, right-click the name in the Navigator and choose <emph>Properties</emph>.</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id3424481" xml-lang="en-US">To hide the border of a set of cells that are part of a scenario, open the <emph>Properties</emph> 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.</paragraph> +</listitem> +</list> +<paragraph role="note" id="par_id3154368" xml-lang="en-US">If you want to know which values in the scenario affect other values, choose <emph>Tools - Detective - Trace Dependents</emph>. You see arrows to the cells that are directly dependent on the current cell.</paragraph> +<section id="relatedtopics"> +<paragraph role="paragraph" id="par_id3154484" xml-lang="en-US"><link href="text/scalc/01/06050000.xhp" name="Creating Scenarios">Creating Scenarios</link></paragraph> +<embed href="text/scalc/guide/multioperation.xhp#multioperation"/> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + + <helpdocument version="1.0"> +<meta> +<topic id="textscalcguidesorted_listxml" indexer="include" status="PUBLISH"> +<title xml-lang="en-US" id="tit">Applying Sort Lists</title> +<filename>/text/scalc/guide/sorted_list.xhp</filename> +</topic> +</meta> +<body> + + + +<bookmark xml-lang="en-US" branch="index" id="bm_id3150870"><bookmark_value>filling;customized lists</bookmark_value> +<bookmark_value>sort lists;applying</bookmark_value> +<bookmark_value>defining;sort lists</bookmark_value> +<bookmark_value>geometric lists</bookmark_value> +<bookmark_value>arithmetic lists</bookmark_value> +<bookmark_value>series;sort lists</bookmark_value> +<bookmark_value>lists; user-defined</bookmark_value> +<bookmark_value>customized lists</bookmark_value> +</bookmark> + <comment>mw deleted "applying;"</comment> + <paragraph xml-lang="en-US" id="hd_id3150870" role="heading" level="1"><variable id="sorted_list"><link href="text/scalc/guide/sorted_list.xhp" name="Applying Sort Lists">Applying Sort Lists</link> +</variable></paragraph> + <paragraph xml-lang="en-US" id="par_id3159154" role="paragraph">Sort lists allow you to type one piece of information in a cell, then drag it to fill in a consecutive list of items.</paragraph> + <paragraph xml-lang="en-US" id="par_id3148645" role="paragraph">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.</paragraph> + <paragraph xml-lang="en-US" id="par_id2367931" role="paragraph">Hold down <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline> if you do not want to fill the cells with different values.</paragraph> + <paragraph xml-lang="en-US" id="par_id3152577" role="paragraph">The predefined series can be found under <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - %PRODUCTNAME Calc - Sort Lists</emph>. 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.</paragraph> + <section id="relatedtopics"> + + <embed href="text/scalc/guide/calc_series.xhp#calc_series"/> + <paragraph xml-lang="en-US" id="par_id3147434" role="paragraph"><link href="text/shared/optionen/01060400.xhp" name="Sort lists">Sort lists</link></paragraph> + + </section> + </body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<meta> + <topic id="textscalcguidespecialfilterxml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Applying Advanced Filters</title> + <filename>/text/scalc/guide/specialfilter.xhp</filename> + </topic> +</meta> +<body> + +<bookmark xml-lang="en-US" branch="index" id="bm_id3148798"><bookmark_value>filters;defining advanced filters </bookmark_value> +<bookmark_value>advanced filters</bookmark_value> +<bookmark_value>defining; advanced filters</bookmark_value> +<bookmark_value>database ranges; advanced filters</bookmark_value> +</bookmark> +<comment>MW made "applying;advanced filters" a one level entry</comment> +<section id="AdvancedFilter"> + <h1 id="hd_id3148798"><variable id="specialfilter"><link href="text/scalc/guide/specialfilter.xhp" name="Applying Advanced Filters">Applying Advanced Filters</link> +</variable></h1> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3145785" role="listitem">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.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3153142" role="listitem">Once you have created a filter matrix, select the sheet ranges to be filtered. Open the <emph>Advanced Filter</emph> dialog by choosing <menuitem>Data - More Filters - Advanced Filter</menuitem>, and define the filter conditions.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3153726" role="listitem">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 <menuitem>Format - Rows - Show</menuitem> command.</paragraph> + </listitem> + </list> + <h2 id="par_id3149664">Example</h2> + <paragraph xml-lang="en-US" id="par_id3147427" role="paragraph">Load a spreadsheet with a large number of records. We are using a fictional <emph>Turnover</emph> document, but you can just as easily use any other document. The document has the following layout:</paragraph> + <table id="tbl_id3149377"> + <tablerow> + <tablecell></tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3154510" role="tablehead" localize="false"> <emph>A</emph> </paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3150327" role="tablehead" localize="false"> <emph>B</emph> </paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3154756" role="tablehead" localize="false"> <emph>C</emph> </paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3155335" role="tablehead" localize="false"> <emph>D</emph> </paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3146315" role="tablehead" localize="false"> <emph>E</emph> </paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3145790" role="tablehead" localize="false"> <emph>1</emph> </paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3159239" role="paragraph">Month</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3150086" role="paragraph">Standard</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3150202" role="paragraph">Business</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3150883" role="paragraph">Luxury</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3152987" role="paragraph">Suite</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3154486" role="tablehead" localize="false"> <emph>2</emph> </paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3148839" role="paragraph">January</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3153816" role="paragraph" localize="false">125600</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3157978" role="paragraph" localize="false">200500</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3155268" role="paragraph" localize="false">240000</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3153286" role="paragraph" localize="false">170000</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3146782" role="tablehead" localize="false"> <emph>3</emph> </paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3149900" role="paragraph">February</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3154763" role="paragraph" localize="false">160000</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3150050" role="paragraph" localize="false">180300</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3153801" role="paragraph" localize="false">362000</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3154708" role="paragraph" localize="false">220000</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3151191" role="tablehead" localize="false"> <emph>4</emph> </paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3147250" role="paragraph">March</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3153334" role="paragraph" localize="false">170000</paragraph> + </tablecell> + <tablecell></tablecell> + <tablecell></tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3151391" role="paragraph">and so on...</paragraph> + </tablecell> + </tablerow> + </table> + <paragraph xml-lang="en-US" id="par_id3147300" role="paragraph">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.</paragraph> + <table id="tbl_id3166462"> + <tablerow> + <tablecell></tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3159115" role="tablehead" localize="false"> <emph>A</emph> </paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3146886" role="tablehead" localize="false"> <emph>B</emph> </paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3153124" role="tablehead" localize="false"> <emph>C</emph> </paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3152979" role="tablehead" localize="false"> <emph>D</emph> </paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3145827" role="tablehead" localize="false"> <emph>E</emph> </paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3149892" role="tablehead" localize="false"> <emph>20</emph> </paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3150693" role="paragraph">Month</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3147475" role="paragraph">Standard</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3154846" role="paragraph">Business</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3153082" role="paragraph">Luxury</paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3149506" role="paragraph">Suite</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3149188" role="tablehead" localize="false"> <emph>21</emph> </paragraph> + </tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3149956" role="paragraph">January</paragraph> + </tablecell> + <tablecell></tablecell> + <tablecell></tablecell> + <tablecell></tablecell> + <tablecell></tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3150865" role="tablehead" localize="false"> <emph>22</emph> </paragraph> + </tablecell> + <tablecell></tablecell> + <tablecell> + <paragraph xml-lang="en-US" id="par_id3155957" role="paragraph" localize="false"><160000</paragraph> + </tablecell> + <tablecell></tablecell> + <tablecell></tablecell> + <tablecell></tablecell> + </tablerow> + </table> + <paragraph xml-lang="en-US" id="par_id3153566" role="paragraph">Specify that only rows which either have the value <literal>January</literal> in the <emph>Month</emph> cells OR a value of under 160000 in the <emph>Standard</emph><comment>standard not default, look at U59!!!</comment> cells will be displayed.</paragraph> + <paragraph xml-lang="en-US" id="par_id3147372" role="paragraph">Choose <menuitem>Data - More Filters - Advanced Filter</menuitem>, 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.</paragraph> +</section> + +<section id="relatedtopics"> + <embed href="text/scalc/guide/filters.xhp#filters"/> + <embed href="text/scalc/guide/autofilter.xhp#autofilter"/> + <embed href="text/scalc/guide/cellcopy.xhp#cellcopy"/> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * +--> + +<meta> + <topic id="usingsubtotaltooltopic" indexer="include" status="PUBLISH"> + <title id="tit" xml-lang="en-US">Using Subtotals Tool</title> + <filename>/text/scalc/guide/subtotaltool.xhp</filename> + </topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id521585182060496"> + <bookmark_value>subtotals;using subtotals tool</bookmark_value> +</bookmark> +<section id="usingsubtotal"> + <h1 id="hd_id631585177069332"><variable id="subtotaltoolh1"><link href="text/scalc/guide/subtotaltool.xhp" name="Using Subtotal Tool">Using Subtotal Tool</link></variable></h1> + <paragraph id="par_id301585177069332" role="paragraph">Calc offers the Subtotals tool as a more comprehensive alternative to the <link href="text/scalc/01/04060106.xhp#Section12" name="subtotal">SUBTOTAL function</link>. 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.</paragraph> +</section> +<section id="howtoget"> + <embed href="text/scalc/00/00000412.xhp#dntegs"/> +</section> +<h2 id="hd_id891585177511329">Using the Subtotals tool</h2> +<paragraph role="paragraph" id="par_id91585177517697">To insert subtotal values into a worksheet:</paragraph> + <list type="ordered"> + <listitem> + <paragraph id="par_id241585177550504" role="listitem">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.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id421585177574387" role="listitem">Choose <menuitem>Data - Subtotals</menuitem> to open the Subtotals dialog.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id41585177608508" role="listitem">In the <emph>Group by</emph> drop-down list on the <emph>First Group</emph> 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.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id451585177625978" role="listitem">In the <emph>Calculate subtotals for</emph> box on the <emph>First Group</emph> page, select a column containing values to be subtotaled. If you later change values in this column, Calc will automatically recalculate the subtotals.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id661585177644535" role="listitem"> In the <emph>Use function</emph> box on the <emph>First Group</emph> page, select a function to calculate the subtotals for the column selected in step 4.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id351585177661529" role="listitem">Repeat steps 4 and 5 to create subtotals for other columns on the <emph>First Group</emph> page.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id511585177679372" role="listitem">You can create two more subtotal categories by using the <emph>Second Group</emph> and <emph>Third Group</emph> 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 -”.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id301585177698777" role="listitem">Click <emph>OK</emph>. Calc will add subtotal and grand total rows to your cell range.</paragraph> + </listitem> +</list> +<h2 id="hd_id211585178799496">Subtotal outline</h2> +<paragraph role="paragraph" id="par_id841585178819108"> +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 <emph>(+)</emph> and minus <emph>(-)</emph> signs.</paragraph> +<paragraph role="paragraph" id="par_id371585181820075">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.</paragraph> +<paragraph role="paragraph" id="par_id161585178829165">To turn off outlines, choose <menuitem>Data - Group and Outline - Remove Outline</menuitem>. To reinstate them, choose <menuitem>Data - Group and Outline - AutoOutline</menuitem>.</paragraph> +<section id="relatedtopics"> +<embed href="text/scalc/01/12050000.xhp#subtotalheaderh1"/> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<helpdocument version="1.0"> +<meta> +<topic id="textscalcguidesuper_subscriptxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Text Superscript / Subscript</title> +<filename>/text/scalc/guide/super_subscript.xhp</filename> +</topic> +<history> +<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> +</history> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3151112"><bookmark_value>superscript text in cells</bookmark_value> +<bookmark_value>subscript text in cells</bookmark_value> +<bookmark_value>cells; text super/sub</bookmark_value> +<bookmark_value>characters;superscript/subscript</bookmark_value> +</bookmark> +<paragraph role="heading" id="hd_id3151112" xml-lang="en-US" level="1"><variable id="super_subscript"><link href="text/scalc/guide/super_subscript.xhp" name="Text Superscript / Subscript">Text Superscript / Subscript</link> +</variable></paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3154684" xml-lang="en-US">In the cell, select the character that you want to put in superscript or subscript.</paragraph> +<paragraph role="listitem" id="par_id3150439" xml-lang="en-US">If, for example, you want to write H20 with a subscript 2, select the 2 in the cell (not in the input line).</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3149260" xml-lang="en-US">Open the context menu for the selected character and choose <emph>Character</emph>. You will see the <emph>Character</emph> dialog.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3153142" xml-lang="en-US">Click the <emph>Font Position</emph> tab.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3153954" xml-lang="en-US">Select the <emph>Subscript</emph> option and click OK.</paragraph> +</listitem> +</list> +<section id="relatedtopics"> +<paragraph role="paragraph" id="par_id3153876" xml-lang="en-US"><link href="text/shared/01/05020500.xhp" name="Context menu - Character - Font Position">Context menu - Character - Font Position</link></paragraph> +<embed href="text/swriter/guide/subscript.xhp#subscript"/> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<meta> + <topic id="textscalcguidetable_cellmergexml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Merge and Unmerge Cells</title> + <filename>/text/scalc/guide/table_cellmerge.xhp</filename> + </topic> +</meta> +<body> + <bookmark xml-lang="en-US" branch="index" id="bm_id501632012952361"> + <bookmark_value>merge/merging cells</bookmark_value> + <bookmark_value>unmerge/unmerging cells</bookmark_value> + <bookmark_value>split/splitting cells</bookmark_value> + </bookmark> + <section id="merge_unmerge_cells"> + <paragraph xml-lang="en-US" id="hd_id8005005" role="heading" level="1"><variable id="table_cellmerge"><link href="text/scalc/guide/table_cellmerge.xhp" name="Merging and Unmerging Cells">Merge and Unmerge Cells</link></variable></paragraph> + <paragraph xml-lang="en-US" id="par_id8049867" role="paragraph">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.</paragraph> + </section> + <paragraph xml-lang="en-US" id="par_id0509200913480176" role="note">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.</paragraph> + <paragraph xml-lang="en-US" id="hd_id235602" role="heading" level="2">Merge Cells</paragraph> + <embed href="/text/scalc/01/05060000.xhp#mergecells_warning"/> + + <section id="howtoget"> + <paragraph xml-lang="en-US" id="par_id1272927" role="paragraph">Click and drag to select the cells to be merged then do one of the following:</paragraph> + <paragraph role="paragraph" id="par_id221632803290526" xml-lang="en-US">In the Formatting toolbar click:</paragraph> + <embed href="text/swriter/00/00000405.xhp#symerge_cells"/> + <paragraph role="paragraph" id="par_id3154351" xml-lang="en-US">Or, right click the selection to open the context menu and choose <menuitem>Merge Cells</menuitem>.<br/>If <menuitem>Unmerge Cells</menuitem> is present instead then the cell selection contains merged cells and cannot be merged further.</paragraph> + <paragraph role="paragraph" id="par_id931632803442925" xml-lang="en-US">Or, in the <emph>Properties</emph> sidebar mark the <emph>Merge Cells</emph> checkbox.</paragraph> + <paragraph role="paragraph" id="par_id3154020" xml-lang="en-US">Or, choose <menuitem>Format - Merge and Unmerge Cells - Merge Cells</menuitem></paragraph> + <paragraph xml-lang="en-US" id="par_id6424146" role="listitem">Or, choose <menuitem>Format - Merge and Unmerge Cells - Merge and Center Cells</menuitem></paragraph> + <paragraph xml-lang="en-US" id="par_id961632012538771" role="listitem">The cells will be merged and the content will be centered in the merged cell.</paragraph> + </section> + <embed href="text/scalc/01/05060000.xhp#mergenotes"/> + <paragraph xml-lang="en-US" id="hd_id451368" role="heading" level="2">Unmerge Cells</paragraph> + <section id="howtoget"> + <paragraph xml-lang="en-US" id="par_id7116611" role="paragraph">Select the cell to be unmerged, or a selection that includes the cells to be unmerged then do one of the following:</paragraph> + <paragraph role="listitem" id="par_id581632820903635" xml-lang="en-US">In the Formatting toolbar, click:</paragraph> + <embed href="text/swriter/00/00000405.xhp#sysplit_cells"/> + <paragraph xml-lang="en-US" id="par_id431632277778130" role="paragraph">Or, right click the selection to open the context menu and choose <menuitem>Unmerge Cells</menuitem>.<br/>If <menuitem>Merge Cells</menuitem> is present instead then the selection does not contain any merged cells.</paragraph> + <paragraph xml-lang="en-US" id="par_id261632277824041" role="paragraph">Or, in the <emph>Properties</emph> sidebar clear the <emph>Merge Cells</emph> checkbox.</paragraph> + <paragraph xml-lang="en-US" id="par_id9493087" role="listitem">Or, choose <menuitem>Format - Merge and Unmerge Cells - Unmerge Cells</menuitem>.</paragraph> + <paragraph xml-lang="en-US" id="par_id561632820960500" role="paragraph">Or, toggle <menuitem>Format - Merge and Unmerge Cells - Merge and Center Cells</menuitem></paragraph> + </section> + + <section id="relatedtopics"> + <embed href="text/shared/01/05100100.xhp#mergecells"/> + <embed href="text/scalc/01/05060000.xhp#togglemergecells"/> + <embed href="text/shared/01/05100200.xhp#unmergecells"/> + <embed href="text/scalc/guide/cellreferences.xhp#cellreferences"/> + </section> + </body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<helpdocument version="1.0"> +<meta> +<topic id="textscalcguidetable_rotatexml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Rotating Tables (Transposing)</title> +<filename>/text/scalc/guide/table_rotate.xhp</filename> +</topic> +<history> +<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> +</history> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3154346"><bookmark_value>tables; transposing</bookmark_value> +<bookmark_value>transposing tables</bookmark_value> +<bookmark_value>inverting tables</bookmark_value> +<bookmark_value>swapping tables</bookmark_value> +<bookmark_value>columns; swap with rows</bookmark_value> +<bookmark_value>rows; swapping with columns</bookmark_value> +<bookmark_value>tables; rotating</bookmark_value> +<bookmark_value>rotating; tables</bookmark_value> +</bookmark> +<paragraph role="heading" id="hd_id3154346" xml-lang="en-US" level="1"><variable id="table_rotate"><link href="text/scalc/guide/table_rotate.xhp" name="Rotating Tables (Transposing)">Rotating Tables (Transposing)</link> +</variable></paragraph> +<paragraph role="paragraph" id="par_id3154013" xml-lang="en-US">In $[officename] Calc, there is a way to "rotate" a spreadsheet so that rows become columns and columns become rows.</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3153142" xml-lang="en-US">Select the cell range that you want to transpose.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3153191" xml-lang="en-US">Choose <emph>Edit - Cut</emph>.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3148575" xml-lang="en-US">Click the cell that is to be the top left cell in the result.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3156286" xml-lang="en-US">Choose <emph>Edit - Paste Special</emph>.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3144764" xml-lang="en-US">In the dialog, mark <emph>Paste all</emph> and <emph>Transpose</emph>.</paragraph> +<paragraph role="listitem" id="par_id3155600" xml-lang="en-US">If you now click OK the columns and rows are transposed.</paragraph> +</listitem> +</list> +<section id="relatedtopics"> +<paragraph role="paragraph" id="par_id3146969" xml-lang="en-US"><link href="text/shared/01/02070000.xhp" name="Paste Special">Paste Special</link></paragraph> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<helpdocument version="1.0"> +<meta> +<topic id="textscalcguidetable_viewxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Changing Table Views</title> +<filename>/text/scalc/guide/table_view.xhp</filename> +</topic> +<history> +<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> +</history> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3147304"><bookmark_value>row headers; hiding</bookmark_value> +<bookmark_value>column headers; hiding</bookmark_value> +<bookmark_value>tables; views</bookmark_value> +<bookmark_value>views; tables</bookmark_value> +<bookmark_value>grids;hiding lines in sheets</bookmark_value> +<bookmark_value>hiding;headers/grid lines</bookmark_value> +<bookmark_value>changing;table views</bookmark_value> +</bookmark> +<paragraph role="heading" id="hd_id3147304" xml-lang="en-US" level="1"><variable id="table_view"><link href="text/scalc/guide/table_view.xhp" name="Changing Table Views">Changing Table Views</link> +</variable></paragraph> +<paragraph role="paragraph" id="par_id3153192" xml-lang="en-US">To hide column and line headers in a table:</paragraph> +<list type="unordered"> +<listitem> +<paragraph role="listitem" id="par_id3153768" xml-lang="en-US">Under the menu item <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - %PRODUCTNAME Calc,</emph> go to the <emph>View</emph> tab page. Unmark<emph> Column/row headers</emph>. Confirm with <emph>OK</emph>.</paragraph> +</listitem> +</list> +<paragraph role="paragraph" id="par_id3147436" xml-lang="en-US">To hide grid lines:</paragraph> +<list type="unordered"> +<listitem> +<paragraph role="listitem" id="par_id3153726" xml-lang="en-US">Under the menu item <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - %PRODUCTNAME Calc</emph>, go to the <emph>View</emph> tab page. Choose <emph>Hide</emph> in the <emph>Grid lines</emph> dropdown. Confirm with <emph>OK</emph>.</paragraph> +</listitem> +</list> +<section id="relatedtopics"> +<embed href="text/scalc/guide/autoformat.xhp#autoformat"/> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> + <topic id="textscalcguidetext_numbersxml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Formatting Numbers as Text</title> + <filename>/text/scalc/guide/text_numbers.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3145068"><bookmark_value>numbers;entering as text</bookmark_value> + <bookmark_value>text formats; for numbers</bookmark_value> + <bookmark_value>formats; numbers as text</bookmark_value> + <bookmark_value>cell formats; text/numbers</bookmark_value> + <bookmark_value>formatting;numbers as text</bookmark_value> +</bookmark><comment>mw deleted "numbers; entering without..." and changed "numbers;as text"</comment> +<paragraph xml-lang="en-US" id="hd_id3145068" role="heading" level="1"><variable id="text_numbers"><link href="text/scalc/guide/text_numbers.xhp" name="Formatting Numbers as Text">Formatting Numbers as Text</link> +</variable></paragraph> + <section id="text"> + <paragraph xml-lang="en-US" id="par_id3156280" role="paragraph">You can format numbers as text in $[officename] Calc. Open the context menu of a cell or range of cells and choose <emph>Format Cells - Numbers</emph>, then select "Text" from the <emph>Category</emph> 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.</paragraph> + <paragraph xml-lang="en-US" id="par_id3149377" role="paragraph">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.</paragraph> + <paragraph xml-lang="en-US" id="par_id3144765" role="paragraph">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.</paragraph> + </section> + <section id="relatedtopics"> + <embed href="text/scalc/guide/numbers_text.xhp#numbers_text"/> + <embed href="text/scalc/guide/integer_leading_zero.xhp#integer_leading_zero"/> + <paragraph xml-lang="en-US" id="par_id3156284" role="paragraph"><link href="text/shared/01/05020300.xhp" name="Format - Cells - Numbers">Format - Cells - Numbers</link></paragraph> + <embed href="text/scalc/guide/format_value.xhp#format_value"/> + </section> + </body> +</helpdocument>
\ 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> + <topic id="textscalcguidetext_rotatexml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Rotating Text</title> + <filename>/text/scalc/guide/text_rotate.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3151112"><bookmark_value>cells; rotating text</bookmark_value> + <bookmark_value>rotating; text in cells</bookmark_value> + <bookmark_value>text in cells; writing vertically</bookmark_value> +</bookmark> +<paragraph xml-lang="en-US" id="hd_id3151112" role="heading" level="1"><variable id="text_rotate"><link href="text/scalc/guide/text_rotate.xhp" name="Rotating Text">Rotating Text</link> +</variable></paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3145171" role="listitem">Select the cells whose text you want to rotate.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3155133" role="listitem">Choose <emph>Format - Cells</emph>. You will see the <emph>Format Cells</emph> dialog.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3155854" role="listitem">Click the <emph>Alignment</emph> tab.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3147426" role="listitem">In the <emph>Text orientation</emph> area use the mouse to select in the preview wheel the direction in which the text is to be rotated. Click <emph>OK</emph>.</paragraph> + </listitem> + </list><comment>removed a wrong para, i104207</comment> +<section id="relatedtopics"> + <paragraph xml-lang="en-US" id="par_id3148456" role="paragraph"><link href="text/scalc/01/05020000.xhp" name="Format - Cells">Format - Cells</link></paragraph> + <paragraph xml-lang="en-US" id="par_id3154944" role="paragraph"><link href="text/shared/01/05340300.xhp" name="Format - Cells - Alignment">Format - Cells - Alignment</link></paragraph> + </section> + </body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> +<topic id="textscalcguidetext_wrapxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Writing Multi-line Text</title> +<filename>/text/scalc/guide/text_wrap.xhp</filename> +</topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3154346"><bookmark_value>text in cells; multi-line</bookmark_value> +<bookmark_value>cells; text breaks</bookmark_value> +<bookmark_value>breaks in cells</bookmark_value> +<bookmark_value>multi-line text in cells</bookmark_value> +</bookmark> +<h1 id="hd_id3154346"><variable id="text_wrap"><link href="text/scalc/guide/text_wrap.xhp" name="Writing Multi-line Text">Writing Multi-line Text</link> +</variable></h1> +<section id="wraptext"> +<paragraph role="listitem" id="par_id3156280" xml-lang="en-US">Pressing the <switchinline select="sys"><caseinline select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline>+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.</paragraph> +<paragraph role="paragraph" id="par_id3153142" xml-lang="en-US">If you want the text to automatically break at the right border of the cell, proceed as follows:</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3153951" xml-lang="en-US">Select all the cells where you want the text to break at the right border.</paragraph> +</listitem> +<listitem> + <paragraph role="listitem" id="par_id3148575" xml-lang="en-US">In <menuitem>Format - Cells - Alignment</menuitem>, mark the <emph>Wrap text automatically</emph> option and click OK.</paragraph> +</listitem> +</list> +<section id="note_xls_optimal_height"> +<note id="par_id201608575657740">For automatic wrapping in XLS files, the rows in question should be set to Optimal Height.</note> +</section> +</section> +<section id="relatedtopics"> +<paragraph role="paragraph" id="par_id3145799" xml-lang="en-US"><link href="text/scalc/01/05020000.xhp" name="Format - Cells">Format - Cells</link></paragraph> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<meta> +<topic id="textscalcguideuserdefined_functionxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">User-Defined Functions</title> +<filename>/text/scalc/guide/userdefined_function.xhp</filename> +</topic> +<history> +<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> +</history> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3155411"><bookmark_value>functions; user-defined</bookmark_value> +<bookmark_value>user-defined functions</bookmark_value> +<bookmark_value>Basic IDE for user-defined functions</bookmark_value> +<bookmark_value>IDE; Basic IDE</bookmark_value> +<bookmark_value>programming;functions</bookmark_value> +</bookmark> +<h1 id="hd_id3155411"><variable id="userdefined_function"><link href="text/scalc/guide/userdefined_function.xhp" name="Defining Functions Yourself">User-Defined Functions</link> +</variable></h1> +<paragraph role="paragraph" id="par_id3153969" xml-lang="en-US">You can apply user-defined functions in $[officename] Calc in the following ways:</paragraph> +<list type="unordered"> +<listitem> +<paragraph role="listitem" id="par_id3145366" xml-lang="en-US">You can define your own functions using the Basic-IDE. This method requires a basic knowledge of programming.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3153768" xml-lang="en-US">You can program functions as <link href="text/scalc/01/04060111.xhp" name="add-ins">add-ins</link>. This method requires an advanced knowledge of programming.</paragraph> +</listitem> +</list> +<h2 id="hd_id3149260">Defining A Function Using %PRODUCTNAME Basic</h2> +<list type="ordered"> +<listitem> + <paragraph role="listitem" id="par_id3148456" xml-lang="en-US">Choose <menuitem>Tools - Macros - Edit Macros</menuitem>.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3154510" xml-lang="en-US">You will now see the Basic IDE.</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id651603905832952">In the Object Catalog window, double-click on the module where you want to store your macro.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3150327" xml-lang="en-US">Enter the function code. In this example, we define a <literal>VOL(a; b; c)</literal> function that calculates the volume of a rectangular solid with side lengths <literal>a</literal>, <literal>b</literal> and <literal>c</literal>:</paragraph> +</listitem> +</list> +<bascode> + <paragraph role="bascode" id="par_id9797426" xml-lang="en-US" localize="false">Function VOL(a, b, c)</paragraph> + <paragraph role="bascode" id="par_id781573129338912" xml-lang="en-US" localize="false"> VOL = a*b*c</paragraph> + <paragraph role="bascode" id="par_id291573129348062" xml-lang="en-US" localize="false">End Function</paragraph> +</bascode> +<list type="unordered"> +<listitem> +<paragraph role="listitem" id="par_id3155443" xml-lang="en-US">Close the Basic-IDE window.</paragraph> +<paragraph role="listitem" id="par_id3150043" xml-lang="en-US">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.</paragraph> +</listitem> +</list> +<h2 id="hd_id3147340">Copying a Function To a Document</h2> +<paragraph role="paragraph" id="par_id3145232" xml-lang="en-US">In stage 2 of "Defining A Function Using %PRODUCTNAME Basic", in the <emph>Macro</emph> dialog you clicked on <emph>Edit </emph>. As the default, in the <emph>Macro from</emph> field the <emph>My Macros - Standard - Module1</emph> module is selected. The <emph>Standard</emph> library resides locally in your user directory.</paragraph> +<paragraph role="paragraph" id="par_id3154022" xml-lang="en-US">If you want to copy the user-defined function to a Calc document:</paragraph> +<list type="ordered"> +<listitem> + <paragraph role="listitem" id="par_id3150304" xml-lang="en-US">Choose <menuitem>Tools - Macros - Organize Macros - Basic</menuitem>.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3150086" xml-lang="en-US">In the <emph>Macro from</emph> field select <emph>My Macros - Standard - Module1</emph> and click <emph>Edit</emph>.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3166430" xml-lang="en-US">In the Basic-IDE, select the source of your user-defined function and copy it to the clipboard.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_idN1081D" xml-lang="en-US">Close the Basic-IDE.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3150517" xml-lang="en-US">Choose <menuitem>Tools - Macros - Organize Macros - Basic</menuitem> .</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3145384" xml-lang="en-US">In the <emph>Macro from</emph> field select <emph>(Name of the Calc document) - Standard - Module1</emph>. Click <emph>Edit</emph>.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3148699" xml-lang="en-US">Paste the clipboard contents in the Basic-IDE of the document.</paragraph> +</listitem> +</list> +<h2 id="hd_id3153305">Applying a User-defined Function in $[officename] Calc</h2> +<paragraph role="paragraph" id="par_id3148869" xml-lang="en-US">Once you have defined the function <literal>VOL(a; b; c)</literal> in the Basic-IDE, you can apply it the same way as the built-in functions of $[officename] Calc.</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3148606" xml-lang="en-US">Open a Calc document and enter numbers for the function parameters <literal>a</literal>, <literal>b</literal> and <literal>c</literal> in cells A1, B1, and C1.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3156019" xml-lang="en-US">Set the cursor in another cell and enter the following:</paragraph> +<paragraph role="paragraph" localize="false" id="par_id3155264" xml-lang="en-US"><input>=VOL(A1;B1;C1)</input></paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3146776" xml-lang="en-US">The function is evaluated and you will see the result in the selected cell.</paragraph> +</listitem> +</list> +<section id="relatedtopics"> +<embed href="text/scalc/guide/calculate.xhp#calculate"/> +<embed href="text/scalc/guide/formula_enter.xhp#formula_enter"/> +<embed href="text/sbasic/guide/basic_2_python.xhp#basic2python"/> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<helpdocument version="1.0"> +<meta> +<topic id="textscalcguidevalidityxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Validity of Cell Contents</title> +<filename>/text/scalc/guide/validity.xhp</filename> +</topic> +<history> +<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> +</history> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3156442"><bookmark_value>values; limiting on input</bookmark_value> +<bookmark_value>limits; specifying value limits on input</bookmark_value> +<bookmark_value>permitted cell contents</bookmark_value> +<bookmark_value>data validity</bookmark_value> +<bookmark_value>validity</bookmark_value> +<bookmark_value>cells; validity</bookmark_value> +<bookmark_value>error messages; defining for incorrect input</bookmark_value> +<bookmark_value>actions in case of incorrect input</bookmark_value> +<bookmark_value>Help tips; defining text for cell input</bookmark_value> +<bookmark_value>comments;help text for cells</bookmark_value> +<bookmark_value>cells; defining input help</bookmark_value> +<bookmark_value>macros; running when incorrect input</bookmark_value> +<bookmark_value>data; validity check</bookmark_value> +</bookmark><comment>mw changed "limit...;"</comment> +<paragraph role="heading" id="hd_id3156442" xml-lang="en-US" level="1"><variable id="validity"><link href="text/scalc/guide/validity.xhp" name="Validity of Cell Contents">Validity of Cell Contents</link> +</variable></paragraph> +<paragraph role="paragraph" id="par_id3156283" xml-lang="en-US">For each cell, you can define entries to be valid. Invalid entries to a cell will be rejected.</paragraph> +<paragraph role="warning" id="par_id3145252" xml-lang="en-US">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.</paragraph> +<paragraph role="note" id="par_id5174718" xml-lang="en-US">You can choose <emph>Tools - Detective</emph> at any time and choose the command <link href="text/scalc/01/06030800.xhp" name="Mark Invalid Data"><emph>Mark Invalid Data</emph></link> to display which cells contain invalid values.</paragraph> +<paragraph role="heading" id="hd_id3155603" xml-lang="en-US" level="2">Using Cell Contents Validity</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="paragraph" id="par_id3155959" xml-lang="en-US">Select the cells for which you want to define a new validity rule.</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id3148837" xml-lang="en-US">Choose <item type="menuitem">Data - Validity</item>. </paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id3156020" xml-lang="en-US">On the <emph>Criteria</emph> tab page, enter the conditions for new values entered into cells. </paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id3159208" xml-lang="en-US">In the <emph>Allow</emph> field, select an option.</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id3153011" xml-lang="en-US">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 <link href="text/sbasic/shared/03030101.xhp" name="serial date">serial date</link>. 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.</paragraph> +<paragraph role="paragraph" id="par_id9224829" xml-lang="en-US">Select "List" to enter a list of valid entries.</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id3149317" xml-lang="en-US">Select the next condition under <emph>Data</emph>. According to what you choose, additional options will be selectable.</paragraph> +</listitem> +</list> +<paragraph role="paragraph" id="par_id3151389" xml-lang="en-US">After you have determined the conditions for cell validity, you can use the other two tab pages to create message boxes:</paragraph> +<list type="unordered"> +<listitem> +<paragraph role="listitem" id="par_id3159261" xml-lang="en-US">On the <emph>Input Help</emph> tab page, enter the title and the text of the tip, which will then be displayed if the cell is selected.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3156396" xml-lang="en-US">On the <emph>Error Alert</emph> tab page, select the action to be carried out in the event of an error.</paragraph> +<paragraph role="listitem" id="par_id3147416" xml-lang="en-US">If you select "Stop" as the action, invalid entries are not accepted, and the previous cell contents are retained.</paragraph> +<paragraph role="listitem" id="par_id3150033" xml-lang="en-US">Select "Warning" or "Information" to display a dialog in which the entry can either be canceled or accepted.</paragraph> +<paragraph role="listitem" id="par_id3149947" xml-lang="en-US">If you select "Macro", then by using the <emph>Browse</emph> button you can specify a macro to be run in the event of an error.</paragraph> +</listitem> +</list> +<paragraph role="paragraph" id="par_id3149011" xml-lang="en-US">To display the error message, select <link href="text/scalc/01/12120300.xhp" name="erroralert">Show error message when invalid values are entered</link>.</paragraph> +<paragraph role="note" id="par_id3148586" xml-lang="en-US">After changing the action for a cell on the <emph>Error Alert</emph> tab page and closing the dialog with OK, you must first select another cell before the change takes effect.</paragraph> +<section id="relatedtopics"> +<paragraph role="paragraph" id="par_id3154805" xml-lang="en-US"><link href="text/scalc/01/12120000.xhp" name="Data - Validity">Data - Validity</link></paragraph> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<meta> + <topic id="textscalcguidevalue_with_namexml" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Naming Cells</title> + <filename>/text/scalc/guide/value_with_name.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3147434"><bookmark_value>cells; defining names</bookmark_value> + <bookmark_value>names; defining for cells</bookmark_value> + <bookmark_value>values; defining names</bookmark_value> + <bookmark_value>constants definition</bookmark_value> + <bookmark_value>variables; defining names</bookmark_value> + <bookmark_value>cell ranges; defining names</bookmark_value> + <bookmark_value>defining;names for cell ranges</bookmark_value> + <bookmark_value>formulas; defining names</bookmark_value> + <bookmark_value>addressing; by defined names</bookmark_value> + <bookmark_value>cell names; defining/addressing</bookmark_value> + <bookmark_value>references; by defined names</bookmark_value> + <bookmark_value>allowed cell names</bookmark_value> + <bookmark_value>renaming;cells</bookmark_value> +</bookmark><comment>mw changed "names;...", "addressing;..." and "references,..." entries.</comment><comment>mw added "renaming;"</comment> +<paragraph xml-lang="en-US" id="hd_id3147434" role="heading" level="1"><variable id="value_with_name"><link href="text/scalc/guide/value_with_name.xhp" name="Naming Cells">Naming Cells</link> +</variable></paragraph> + <paragraph xml-lang="en-US" id="hd_id4391918" role="heading" level="2">Allowed names</paragraph> + <paragraph xml-lang="en-US" id="par_id2129581" role="paragraph">Names in Calc can contain letters, numeric characters, and some special characters. Names must start with a letter or an underline character.</paragraph> + <paragraph xml-lang="en-US" id="par_id1120029" role="paragraph">Allowed special characters:</paragraph> + <list type="unordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3362224" role="paragraph">underline (_) </paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id4891506" role="paragraph">period (.) - allowed within a name, but not as first or last character</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id2816553" role="paragraph">blank ( ) - allowed within a name, but not as first or last character, and not for a cell range</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_id328989" role="paragraph">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.</paragraph> + <paragraph xml-lang="en-US" id="par_id32898987" role="paragraph">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.</paragraph> + <paragraph xml-lang="en-US" id="par_id4769737" role="paragraph">Names for cell ranges must not include blanks. Blanks are allowed within names for single cells, sheets and documents.</paragraph> + <paragraph xml-lang="en-US" id="hd_id1226233" role="heading" level="2">Naming cells and formulas</paragraph> + <paragraph xml-lang="en-US" id="par_id5489364" role="paragraph">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 <emph>Start</emph>. 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.</paragraph> + <paragraph xml-lang="en-US" id="par_id953398" role="paragraph">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."</paragraph> + <paragraph xml-lang="en-US" id="par_id4889675" role="paragraph">Use the <emph>Define Names</emph> dialog to define names for formulas or parts of formulas you need more often. In order to specify range names,</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3153954" role="listitem">Select a cell or range of cells, then choose <emph>Sheet - Named Ranges and Expressions - Define</emph>. The <emph>Define Names</emph> dialog appears.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3156283" role="listitem">Type the name of the selected area in the <emph>Name</emph> field. Click <emph>Add</emph>. The newly defined name appears in the list below. Click OK to close the dialog.</paragraph> + </listitem> + </list> + <paragraph xml-lang="en-US" id="par_id5774101" role="paragraph">You can also name other cell ranges in this dialog by entering the name in the field and then selecting the respective cells.</paragraph> + <paragraph xml-lang="en-US" id="par_id3154942" role="paragraph">If you type the name in a formula, after the first few characters entered you will see the entire name as a tip.</paragraph> + <list type="unordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3154510" role="listitem">Press the Enter key in order to accept the name from the tip.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3150749" role="listitem">If more than one name starts with the same characters, you can scroll forward through all the names using the <switchinline select="sys"><caseinline select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline> <keycode>+ Tab keys</keycode> and backward using the <keycode>Shift +</keycode> <switchinline select="sys"><caseinline select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline> <keycode>+ Tab</keycode> keys.<comment>mw copied contents from Calc guide address_byname.xhp</comment></paragraph> + </listitem> + </list> + <section id="relatedtopics"> + <paragraph xml-lang="en-US" id="par_id3153711" role="paragraph"><link href="text/scalc/01/04070100.xhp" name="Sheet - Named Ranges and Expressions - Define">Sheet - Named Ranges and Expressions - Define</link></paragraph> + <embed href="text/scalc/guide/goalseek.xhp#goalseek"/> + <embed href="text/scalc/guide/relativ_absolut_ref.xhp#relativ_absolut_ref"/> + <embed href="text/scalc/guide/address_auto.xhp#address_auto"/><comment>mw deleted one EMBED paragraph and copied two EMBED paragraphs from Calc guide address_byname.xhp</comment> +</section> + </body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + + <helpdocument version="1.0"> +<meta> +<topic id="textscalcguidewebqueryxml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">Inserting External Data in Table (WebQuery)</title> +<filename>/text/scalc/guide/webquery.xhp</filename> +</topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3154346"><bookmark_value>HTML WebQuery</bookmark_value> +<bookmark_value>ranges; inserting in tables</bookmark_value> +<bookmark_value>external data; inserting</bookmark_value> +<bookmark_value>tables; inserting external data</bookmark_value> +<bookmark_value>web pages; importing data</bookmark_value> +<bookmark_value>WebQuery filter</bookmark_value> +<bookmark_value>inserting; external data</bookmark_value> +<bookmark_value>data sources; external data</bookmark_value> +</bookmark><comment>UFI: removed "external data;WebQuery" because both index entries "external data" led to this page.</comment><paragraph role="paragraph" id="par_id3154346" xml-lang="en-US" localize="false"/> +<paragraph role="heading" id="hd_id3125863" xml-lang="en-US" level="1"><variable id="webquery"><link href="text/scalc/guide/webquery.xhp" name="Inserting External Data in Table (WebQuery)">Inserting External Data in Table (WebQuery)</link> +</variable></paragraph> +<paragraph role="paragraph" id="par_id3155131" xml-lang="en-US">With the help of the <emph>Web Page Query ($[officename] Calc)</emph> import filter, you can insert tables from HTML documents in a Calc spreadsheet.</paragraph> +<paragraph role="paragraph" id="par_id3148575" xml-lang="en-US">You can use the same method to insert ranges defined by name from a Calc or Microsoft Excel spreadsheet.</paragraph> +<paragraph role="paragraph" id="par_id3149664" xml-lang="en-US">The following insert methods are available:</paragraph> +<paragraph role="heading" id="hd_id3146976" xml-lang="en-US" level="2">Inserting by Dialog</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3154319" xml-lang="en-US">Set the cell cursor at the cell where the new content will be inserted.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3145750" xml-lang="en-US">Choose <emph>Sheet - External Links</emph>. This opens the <link href="text/scalc/01/04090000.xhp">External Data</link> dialog.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3149958" xml-lang="en-US">Enter the URL of the HTML document or the name of the spreadsheet. Press Enter when finished. Click the <emph>Browse</emph> button to open a file selection dialog.<comment>only after Enter the URL will be requested from the net.</comment></paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3149400" xml-lang="en-US">In the large list box of the dialog, select the named ranges or tables you want to insert.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3155064" xml-lang="en-US">You can also specify that the ranges or tables are updated every n seconds.</paragraph> +</listitem> +</list> +<paragraph role="paragraph" id="par_id3155443" xml-lang="en-US">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.</paragraph> +<paragraph role="heading" id="hd_id3149021" xml-lang="en-US" level="2">Inserting by Navigator</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="paragraph" id="par_id3153965" xml-lang="en-US">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).</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id3150205" xml-lang="en-US">In the target document open the Navigator.</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id3152990" xml-lang="en-US">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.</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id3148842" xml-lang="en-US">In the Navigator select the <emph>Insert as link</emph> drag mode +<image id="img_id3152985" src="sw/res/sc20238.png" width="0.222inch" height="0.222inch"><alt id="alt_id3152985" xml-lang="en-US">Icon</alt> + </image>.</paragraph> +</listitem> +<listitem> +<paragraph role="paragraph" id="par_id3157978" xml-lang="en-US">Drag the desired external data from the Navigator into the target document.</paragraph> +</listitem> +</list> +<paragraph role="paragraph" id="par_id3144768" xml-lang="en-US">If you have loaded an HTML document with the <emph>Web Page Query</emph> 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:</paragraph> +<list type="unordered"> +<listitem> +<paragraph role="listitem" id="par_id3152873" xml-lang="en-US"> +<item type="literal">HTML_all</item> - designates the entire document</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3149897" xml-lang="en-US"> +<item type="literal">HTML_tables</item> - designates all HTML tables in the document</paragraph> +</listitem> +</list> +<paragraph role="heading" id="hd_id3149126" xml-lang="en-US" level="2">Editing the external data</paragraph> +<list type="unordered"> +<listitem> +<paragraph role="listitem" id="par_id3159228" xml-lang="en-US">Open <emph>Edit - Links</emph>. Here you can edit the link to the external data.</paragraph> +</listitem> +</list> +<section id="relatedtopics"> +<paragraph role="paragraph" id="par_id3154650" xml-lang="en-US"><link href="text/scalc/01/04090000.xhp" name="External data dialog">External data dialog</link></paragraph> +<embed href="text/scalc/guide/cellreferences_url.xhp#cellreferences_url"/> +</section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + --> + +<meta> + <topic id="calc_wildcards" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Using Wildcards in Formulas</title> + <filename>/text/scalc/guide/wildcards.xhp</filename> + </topic> +</meta> + +<body> + <bookmark xml-lang="en-US" branch="index" id="bm_id3152149"> + <bookmark_value>wildcards in formulas</bookmark_value> + <bookmark_value>wildcards;examples</bookmark_value> + </bookmark> + <h1 id="hd_id941629155075179"><variable id="wildcards_h1"><link href="text/scalc/guide/wildcards.xhp" name="wildcards_link">Using Wildcards in Formulas</link></variable></h1> + <paragraph role="paragraph" id="par_id571629155308959">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 <emph>Find & Replace</emph> dialog. The use of wildcards enables the definition of more advanced search parameters with a single search string.</paragraph> + <paragraph role="paragraph" id="par_id391629156224638">%PRODUCTNAME Calc supports either <emph>wildcards</emph> or <emph>regular expressions</emph> as arguments depending on the current application settings. By default %PRODUCTNAME Calc is set to support wildcards instead of regular expressions.</paragraph> + <tip id="par_id551629156504794">To make sure wildcards are supported, go to <switchinline select="sys"><caseinline select="MAC"><menuitem>%PRODUCTNAME - Preferences - %PRODUCTNAME Calc - Calculate</menuitem></caseinline><defaultinline><menuitem>Tools - Options - %PRODUCTNAME Calc - Calculate</menuitem></defaultinline></switchinline> and check if the option <emph>Enable wildcards in formulas</emph> is selected. Note that you can use this dialog to switch to regular expressions by choosing <emph>Enable regular expressions in formulas</emph> or choose to support neither wildcards nor regular expressions.</tip> + <paragraph role="paragraph" id="par_id141629156913731">The following wildcards are supported:</paragraph> + <table id="tab_id561629209073388"> + <tablerow> + <tablecell> + <paragraph id="par_id801629209195110" role="tablehead">Wildcard</paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id861629209212608" role="tablehead">Description</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id591629209073388" role="tablecontent"><emph>? (question mark)</emph></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id31629209073388" role="tablecontent">Matches any single character. For example, the search string "b?g" matches “bag” and “beg” but will not match "boog" or "mug".</paragraph> + <paragraph id="par_id121629209114452" role="tablecontent">Note that it will not match "bg" as well, since "?" must match exactly <emph>one</emph> character. The "?" wildcard does not correspond to a zero-character match.</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id981629209073388" role="tablecontent"><emph>* (asterisk)</emph></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id51629209073388" role="tablecontent">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.</paragraph> + <paragraph id="par_id351629209153307" role="tablecontent">If the option <menuitem>Search criteria = and <> must apply to whole cells</menuitem> is disabled in <switchinline select="sys"><caseinline select="MAC"><menuitem>%PRODUCTNAME - Preferences - %PRODUCTNAME Calc - Calculate</menuitem></caseinline><defaultinline><menuitem>Tools - Options - %PRODUCTNAME Calc - Calculate</menuitem></defaultinline></switchinline>, then "forecaster" will be a match using the "*cast" search string.</paragraph> + </tablecell> + </tablerow> + <tablerow> + <tablecell> + <paragraph id="par_id181629209277556" role="tablecontent"><emph>~ (tilde)</emph></paragraph> + </tablecell> + <tablecell> + <paragraph id="par_id881629209280877" role="tablecontent">Escapes the special meaning of a question mark, asterisk, or tilde character that follows immediately after the tilde character.</paragraph> + <paragraph id="par_id861629209431020" role="tablecontent">For example, the search string "why~?" matches “why?” but will not match "whys" nor "why~s".</paragraph> + </tablecell> + </tablerow> + </table> + <tip id="par_id1001629157561261">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.</tip> + <h2 id="hd_id671629158766165">Supported Spreadsheet Functions</h2> + <paragraph role="paragraph" id="par_id161629158785887">Wildcards are supported by the following spreadsheet functions:</paragraph> + <list type="unordered"> + <listitem> + <paragraph id="par_id441629158810517" role="listitem"><emph>Database functions:</emph> DAVERAGE, DCOUNT, DCOUNTA, DGET, DMAX, DMIN, DPRODUCT, DSTDEV, DSTDEVP, DSUM, DVAR and DVARP.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id321629158810916" role="listitem"><emph>Conditional functions:</emph> AVERAGEIF, AVERAGEIFS, COUNTIF, COUNTIFS, MAXIFS, MINIFS, SUMIF and SUMIFS.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id941629158811325" role="listitem"><emph>Lookup functions:</emph> HLOOKUP, LOOKUP and VLOOKUP.</paragraph> + </listitem> + <listitem> + <paragraph id="par_id41629158919808" role="listitem"><emph>Other functions:</emph> MATCH and SEARCH.</paragraph> + </listitem> + </list> + <h2 id="hd_id701629159564269">Examples of Wildcards in Formulas</h2> + <paragraph role="paragraph" id="par_id121629289062103">The following examples consider that the options <menuitem>Enable wildcards in formulas</menuitem> and <menuitem>Search criteria = and <> must apply to whole cells</menuitem> are enabled in <switchinline select="sys"><caseinline select="MAC"><menuitem>%PRODUCTNAME - Preferences - %PRODUCTNAME Calc - Calculate</menuitem></caseinline><defaultinline><menuitem>Tools - Options - %PRODUCTNAME Calc - Calculate</menuitem></defaultinline></switchinline>.</paragraph> + <paragraph role="paragraph" id="par_id271629159111490"><input>=COUNTIF(A1:A10;"Chi*")</input> counts the number of cells in the range <emph>A1:A10</emph> containing strings that start with "Chi" followed by zero or more characters.</paragraph> + <paragraph role="paragraph" id="par_id741629159343415"><input>=SUMIF(A1:A5;"A??";B1:B5)</input> sums the values in <emph>B1:B5</emph> whose corresponding values in <emph>A1:A5</emph> start with "A" followed by exactly two other characters.</paragraph> + <note id="par_id141629159465592">Wildcard comparisons are <emph>not</emph> case sensitive, hence "A?" will match both "A1" and "a1".</note> + + <section id="relatedtopics"> + <embed href="text/shared/01/02100001.xhp#02100001"/> + </section> +</body> +</helpdocument> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + +<helpdocument version="1.0"> +<meta> +<topic id="textscalcguideyear2000xml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">19xx/20xx Years</title> +<filename>/text/scalc/guide/year2000.xhp</filename> +</topic> +<history> +<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> +</history> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3150439"><bookmark_value>years; 2-digits</bookmark_value> +<bookmark_value>dates; 19xx/20xx</bookmark_value> +</bookmark> +<paragraph role="heading" id="hd_id3150439" xml-lang="en-US" level="1"><variable id="year2000"><link href="text/scalc/guide/year2000.xhp" name="19xx/20xx Years">19xx/20xx Years</link> +</variable></paragraph> +<section id="text"> +<paragraph role="paragraph" id="par_id3151116" xml-lang="en-US">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.</paragraph> +<list type="unordered"> +<listitem> +<paragraph role="listitem" id="par_id3154011" xml-lang="en-US">Under <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - $[officename] - General</emph> you can define the century that is used when you enter a year with only two digits. The default is 1930 to 2029.</paragraph> +</listitem> +</list> +<paragraph role="paragraph" id="par_id3150010" xml-lang="en-US">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.</paragraph> +</section> +<section id="relatedtopics"> +<embed href="text/scalc/guide/calc_date.xhp#calc_date"/> +</section> +</body> +</helpdocument> |