[Libreoffice-commits] help.git: AllLangHelp_scalc.mk source/auxiliary source/text

Rafael Lima (via logerrit) logerrit at kemper.freedesktop.org
Fri Aug 27 13:25:35 UTC 2021


 AllLangHelp_scalc.mk                          |    1 
 source/auxiliary/scalc.tree                   |    1 
 source/text/scalc/guide/remove_duplicates.xhp |   69 ++++++++++++++++++++++++++
 source/text/shared/02/12090100.xhp            |   32 ++++++------
 4 files changed, 87 insertions(+), 16 deletions(-)

New commits:
commit 8e447138612f8e266c8a997813f9f673efa4ebb1
Author:     Rafael Lima <rafael.palma.lima at gmail.com>
AuthorDate: Fri Aug 27 02:18:24 2021 +0200
Commit:     Olivier Hallot <olivier.hallot at libreoffice.org>
CommitDate: Fri Aug 27 15:25:13 2021 +0200

    Create help page about how to Remove Duplicates in Calc
    
    This patch creates a new "guide" page on how to remove Duplicate values in Calc.
    
    This is a question I see being frequently asked in forums and I could not find any entry in the Help that explained how this can be done.
    
    Change-Id: I6e115739752fdc1f5aa35cf45f041655b3e614be
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121067
    Tested-by: Jenkins
    Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
    Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>

diff --git a/AllLangHelp_scalc.mk b/AllLangHelp_scalc.mk
index 5f217c7f6..57f5aa446 100644
--- a/AllLangHelp_scalc.mk
+++ b/AllLangHelp_scalc.mk
@@ -387,6 +387,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,scalc,\
     helpcontent2/source/text/scalc/guide/print_title_row \
     helpcontent2/source/text/scalc/guide/printranges \
     helpcontent2/source/text/scalc/guide/relativ_absolut_ref \
+    helpcontent2/source/text/scalc/guide/remove_duplicates \
     helpcontent2/source/text/scalc/guide/rename_table \
     helpcontent2/source/text/scalc/guide/rounding_numbers \
     helpcontent2/source/text/scalc/guide/row_height \
diff --git a/source/auxiliary/scalc.tree b/source/auxiliary/scalc.tree
index 9d5f986af..4705fdff0 100644
--- a/source/auxiliary/scalc.tree
+++ b/source/auxiliary/scalc.tree
@@ -121,6 +121,7 @@
 <topic id="scalc/text/scalc/guide/specialfilter.xhp">Applying Advanced Filters</topic>
 <topic id="scalc/text/scalc/guide/autofilter.xhp">Applying AutoFilter</topic>
 <topic id="scalc/text/scalc/guide/sorted_list.xhp">Applying Sort Lists</topic>
+<topic id="scalc/text/scalc/guide/remove_duplicates.xhp">Removing Duplicate Values</topic>
 		</node>
 		<node id="0807" title="Printing">
 <topic id="scalc/text/scalc/guide/print_title_row.xhp">Printing Rows or Columns on Every Page</topic>
diff --git a/source/text/scalc/guide/remove_duplicates.xhp b/source/text/scalc/guide/remove_duplicates.xhp
new file mode 100644
index 000000000..360ef2861
--- /dev/null
+++ b/source/text/scalc/guide/remove_duplicates.xhp
@@ -0,0 +1,69 @@
+<?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 <embedvar href="text/shared/02/12090100.xhp#StandardFilter_h1"/> 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/source/text/shared/02/12090100.xhp b/source/text/shared/02/12090100.xhp
index ccaeebc42..8830deef6 100644
--- a/source/text/shared/02/12090100.xhp
+++ b/source/text/shared/02/12090100.xhp
@@ -21,27 +21,27 @@
 
 
 <meta>
-      <topic id="textshared0212090100xml" indexer="include" status="PUBLISH">
-         <title xml-lang="en-US" id="tit">Standard Filter</title>
-         <filename>/text/shared/02/12090100.xhp</filename>
-      </topic>
-   </meta>
-   <body>
-<bookmark xml-lang="en-US" branch="hid/.uno:DataFilterStandardFilter" id="bm_id9065823" localize="false"/>
-<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/standardfilterdialog/StandardFilterDialog" id="bm_id3154232" localize="false"/>
-<bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/standardfilterdialog/@@nowidget@@" id="bm_id3154232" localize="false"/>
-<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/queryfilterdialog/QueryFilterDialog" id="bm_id3155888" localize="false"/>
-<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/queryfilterdialog/@@nowidget@@" id="bm_id3155888" localize="false"/>
-<paragraph xml-lang="en-US" id="hd_id3151097" role="heading" level="1">Standard Filter</paragraph>
-      <paragraph xml-lang="en-US" id="par_id3149716" role="paragraph"><ahelp hid=".">Specifies the logical conditions to filter your table data.</ahelp> This dialog is available for spreadsheet documents, database tables and database forms. The dialog for databases does not contain the <emph>More Options</emph> button.</paragraph>
+  <topic id="textshared0212090100xml" indexer="include" status="PUBLISH">
+    <title xml-lang="en-US" id="tit">Standard Filter</title>
+    <filename>/text/shared/02/12090100.xhp</filename>
+  </topic>
+</meta>
+<body>
+  <bookmark xml-lang="en-US" branch="hid/.uno:DataFilterStandardFilter" id="bm_id9065823" localize="false"/>
+  <bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/standardfilterdialog/StandardFilterDialog" id="bm_id3154232" localize="false"/>
+  <bookmark xml-lang="en-US" branch="hid/modules/scalc/ui/standardfilterdialog/@@nowidget@@" id="bm_id3154232" localize="false"/>
+  <bookmark xml-lang="en-US" branch="hid/dbaccess/ui/queryfilterdialog/QueryFilterDialog" id="bm_id3155888" localize="false"/>
+  <bookmark xml-lang="en-US" branch="hid/dbaccess/ui/queryfilterdialog/@@nowidget@@" id="bm_id3155888" localize="false"/>
+  <h1 id="hd_id3151097"><variable id="StandardFilter_h1"><link href="text/shared/02/12090100.xhp" name="StandardFilter_link">Standard Filter</link></variable></h1>
+  <paragraph xml-lang="en-US" id="par_id3149716" role="paragraph"><ahelp hid=".">Specifies the logical conditions to filter your table data.</ahelp> This dialog is available for spreadsheet documents, database tables and database forms. The dialog for databases does not contain the <emph>More Options</emph> button.</paragraph>
       <section id="howtoget">
          <embed href="text/shared/00/00000409.xhp#standard_filter"/>
       </section>
 <switch select="appl">
 <case select="CALC">
-	<paragraph xml-lang="en-US" id="par_idN105EE" role="paragraph" localize="false">
-         <embedvar href="text/scalc/guide/filters.xhp#filters"/>
-	</paragraph>
+<paragraph xml-lang="en-US" id="par_idN105EE" role="paragraph" localize="false">
+<embedvar href="text/scalc/guide/filters.xhp#filters"/>
+</paragraph>
 </case>
 </switch>
 <paragraph xml-lang="en-US" id="hd_id3155555" role="heading" level="2">Filter criteria</paragraph>


More information about the Libreoffice-commits mailing list