source/text/sbasic/shared/03/sf_calc.xhp     |   10 +++--
 source/text/sbasic/shared/03/sf_document.xhp |   47 ++-------------------------
 source/text/sbasic/shared/03/sf_writer.xhp   |   42 ++++++++++++++++++++++--
 3 files changed, 50 insertions(+), 49 deletions(-)

New commits:
commit 6dfa12485814931cf7161b53561940cb976116df
Author:     Alain Romedenne <[email protected]>
AuthorDate: Tue Feb 20 17:10:38 2024 +0100
Commit:     Adolfo Jayme Barrientos <[email protected]>
CommitDate: Tue Feb 20 19:42:13 2024 +0100

    typo in sf_Document help
    
    Change-Id: I27eedb23bb03a38510df9338245725d323c168b7
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/163616
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <[email protected]>

diff --git a/source/text/sbasic/shared/03/sf_calc.xhp 
b/source/text/sbasic/shared/03/sf_calc.xhp
index cc2f274405..34040f40d1 100644
--- a/source/text/sbasic/shared/03/sf_calc.xhp
+++ b/source/text/sbasic/shared/03/sf_calc.xhp
@@ -558,11 +558,11 @@
              <link 
href="text/sbasic/shared/03/sf_calc.xhp#CreateChart">CreateChart</link><br/>
              <link 
href="text/sbasic/shared/03/sf_calc.xhp#CreatePivotTable">CreatePivotTable</link><br/>
              <link 
href="text/sbasic/shared/03/sf_calc.xhp#DAvg">DAvg</link><br/>
+             <link 
href="text/sbasic/shared/03/sf_calc.xhp#DAvg">DCount</link><br/>
            </paragraph>
        </tablecell>
        <tablecell>
            <paragraph id="par_id541611613601554" role="tablecontent" 
localize="false">
-             <link 
href="text/sbasic/shared/03/sf_calc.xhp#DAvg">DCount</link><br/>
              <link 
href="text/sbasic/shared/03/sf_calc.xhp#DAvg">DMax</link><br/>
              <link 
href="text/sbasic/shared/03/sf_calc.xhp#DAvg">DMin</link><br/>
              <link 
href="text/sbasic/shared/03/sf_calc.xhp#DAvg">DSum</link><br/>
@@ -573,15 +573,16 @@
              <link 
href="text/sbasic/shared/03/sf_calc.xhp#GetValue">GetValue</link><br/>
              <link 
href="text/sbasic/shared/03/sf_calc.xhp#ImportFromCSVFile">ImportFromCSVFile</link><br/>
              <link 
href="text/sbasic/shared/03/sf_calc.xhp#ImportFromDatabase">ImportFromDatabase</link><br/>
+             <link 
href="text/sbasic/shared/03/sf_calc.xhp#ImportStylesFromFile">ImportStylesFromFile</link><br/>
              <link 
href="text/sbasic/shared/03/sf_calc.xhp#InsertSheet">InsertSheet</link><br/>
              <link 
href="text/sbasic/shared/03/sf_calc.xhp#MoveRange">MoveRange</link><br/>
              <link 
href="text/sbasic/shared/03/sf_calc.xhp#MoveSheet">MoveSheet</link><br/>
              <link 
href="text/sbasic/shared/03/sf_calc.xhp#Offset">Offset</link><br/>
+             <link 
href="text/sbasic/shared/03/sf_calc.xhp#OpenRangeSelector">OpenRangeSelector</link><br/>
            </paragraph>
        </tablecell>
        <tablecell>
            <paragraph id="par_id701611613601554" role="tablecontent" 
localize="false">
-             <link 
href="text/sbasic/shared/03/sf_calc.xhp#OpenRangeSelector">OpenRangeSelector</link><br/>
              <link 
href="text/sbasic/shared/03/sf_calc.xhp#PrintOut">PrintOut</link><br/>
              <link 
href="text/sbasic/shared/03/sf_calc.xhp#Printf">Printf</link><br/>
              <link 
href="text/sbasic/shared/03/sf_calc.xhp#RemoveDuplicates">RemoveDuplicates</link><br/>
@@ -595,7 +596,7 @@
              <link 
href="text/sbasic/shared/03/sf_calc.xhp#ShiftLeft">ShiftLeft</link><br/>
              <link 
href="text/sbasic/shared/03/sf_calc.xhp#ShiftRight">ShiftRight</link><br/>
              <link 
href="text/sbasic/shared/03/sf_calc.xhp#ShiftUp">ShiftUp</link><br/>
-             <link 
href="text/sbasic/shared/03/sf_calc.xhp#SortRange">SortRange</link><br/>
+             <link 
href="text/sbasic/shared/03/sf_calc.xhp#SortRange">SortRange</link><br/><br/><br/>
            </paragraph>
        </tablecell>
    </tablerow>
@@ -1162,7 +1163,6 @@
   <tip id="par_id231635441342284">To learn more about Pivot Tables in 
%PRODUCTNAME Calc, read the <link href="text/scalc/guide/datapilot.xhp">Pivot 
Table</link> help page.</tip>
 </section>
 
-
 <section id="DAvg">
   <comment> DAvg, DCount, DMax, DMin, DSum 
--------------------------------------------------------------------------------------------------------------------------
 </comment>
   <bookmark xml-lang="en-US" localize="false" branch="index" 
id="bm_id791595777001863">
@@ -1443,6 +1443,8 @@
   </pycode>
 </section>
 
+<embed href="text/sbasic/shared/03/sf_writer.xhp#ImportStylesFromFile"/>
+
 <section id="InsertSheet">
   <comment> InsertSheet 
--------------------------------------------------------------------------------------------------------------------------
 </comment>
   <bookmark xml-lang="en-US" localize="false" branch="index" 
id="bm_id511591698472720">
diff --git a/source/text/sbasic/shared/03/sf_document.xhp 
b/source/text/sbasic/shared/03/sf_document.xhp
index 3f1776e72d..af0890305e 100644
--- a/source/text/sbasic/shared/03/sf_document.xhp
+++ b/source/text/sbasic/shared/03/sf_document.xhp
@@ -395,26 +395,25 @@
              <link 
href="text/sbasic/shared/03/sf_document.xhp#Activate">Activate</link><br/>
              <link 
href="text/sbasic/shared/03/sf_document.xhp#CloseDocument">CloseDocument</link><br/>
              <link 
href="text/sbasic/shared/03/sf_document.xhp#CreateMenu">CreateMenu</link><br/>
-             <link 
href="text/sbasic/shared/03/sf_document.xhp#CreateMenu">DeleteStyles</link><br/>
+             <link 
href="text/sbasic/shared/03/sf_document.xhp#DeleteStyles">DeleteStyles</link><br/>
              <link 
href="text/sbasic/shared/03/sf_document.xhp#Echo">Echo</link><br/>
              <link 
href="text/sbasic/shared/03/sf_document.xhp#ExportAsPDF">ExportAsPDF</link><br/>
            </paragraph>
        </tablecell>
        <tablecell>
            <paragraph id="par_id141611086279902" role="tablecontent" 
localize="false">
-             <link 
href="text/sbasic/shared/03/sf_document.xhp#ExportAsPDF">ImportStylesFromFile</link><br/>
              <link 
href="text/sbasic/shared/03/sf_document.xhp#PrintOut">PrintOut</link><br/>
              <link 
href="text/sbasic/shared/03/sf_document.xhp#RemoveMenu">RemoveMenu</link><br/>
              <link 
href="text/sbasic/shared/03/sf_document.xhp#RunCommand">RunCommand</link><br/>
              <link 
href="text/sbasic/shared/03/sf_document.xhp#Save">Save</link><br/>
-             <link 
href="text/sbasic/shared/03/sf_document.xhp#SaveAs">SaveAs</link><br/>
+             <link 
href="text/sbasic/shared/03/sf_document.xhp#SaveAs">SaveAs</link><br/><br/>
            </paragraph>
        </tablecell>
        <tablecell>
            <paragraph id="par_id761611086279903" role="tablecontent" 
localize="false">
              <link 
href="text/sbasic/shared/03/sf_document.xhp#SaveCopyAs">SaveCopyAs</link><br/>
              <link 
href="text/sbasic/shared/03/sf_document.xhp#SetPrinter">SetPrinter</link><br/>
-             <link 
href="text/sbasic/shared/03/sf_document.xhp#SetPrinter">Style</link><br/>
+             <link 
href="text/sbasic/shared/03/sf_document.xhp#Style">Style</link><br/>
              <link 
href="text/sbasic/shared/03/sf_document.xhp#Toolbars">Toolbars</link><br/>
              <link 
href="text/sbasic/shared/03/sf_document.xhp#SetPrinter">XStyle</link><br/><br/>
            </paragraph>
@@ -534,13 +533,13 @@
   <paragraph role="paragraph" id="par_id652699200121080">Suppresses a single 
style or an array of styles given by their names within a specific styles 
family. Only user-defined styles may be deleted, built-in styles are ignored. 
It applies to all document types except <literal>Base</literal> and 
<literal>FormDocument</literal>.</paragraph>
   <embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
   <paragraph role="paragraph" localize="false" id="par_id1001623997222964">
-    <input>svc.DeleteStyles(family: str, stylelist: str[1..*])</input>
+    <input>svc.DeleteStyles(family: str, styleslist: str[1..*])</input>
   </paragraph>
   <embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
   <section id="family">
     <paragraph role="paragraph" 
id="par_id361580300131416"><emph>family</emph>: One of the style families 
present in the actual document, as a case-sensitive string. Valid family names 
can be retrieved using <literal>StyleFamilies</literal> property.</paragraph>
   </section>
-  <paragraph role="paragraph" 
id="par_id361589211129686"><emph>stylelist</emph>: A single style name as a 
string or an array of style names. The style names may be localized or not. The 
<literal>StylesList</literal> is typically the output of the execution of a 
<literal>Styles()</literal> method.</paragraph>
+  <paragraph role="paragraph" 
id="par_id361589211129686"><emph>styleslist</emph>: A single style name as a 
string or an array of style names. The style names may be localized or not. The 
<literal>StylesList</literal> is typically the output of the execution of a 
<literal>Styles()</literal> method.</paragraph>
   <embed href="text/sbasic/shared/00000003.xhp#functexample"/>
   <embed href="text/sbasic/shared/00000003.xhp#In_Basic"/>
   <bascode>
@@ -638,42 +637,6 @@
   </pycode>
 </section>
 
-<section id="ImportStylesFromFile">
-  <comment> ImportStylesFromFile 
---------------------------------------------------------------- </comment>
-  <bookmark localize="false" branch="index" id="bm_id832985200121350">
-    <bookmark_value>Document service;ImportStylesFromFile</bookmark_value>
-  </bookmark>
-  <h2 id="hd_id372589202101526" localize="false">ImportStylesFromFile</h2>
-  <paragraph role="paragraph" id="par_id266589200121149">This method loads all 
the styles belonging to one or more style families from a closed file into the 
actual document. The actual document must be a <literal>Calc</literal> or a 
<literal>Writer</literal> document.</paragraph>
-  <paragraph role="paragraph" id="par_id11701265953648">       Are always 
imported together:</paragraph>
-  <list type="unordered">
-    <listitem>
-        <paragraph id="par_id221701265998649" 
role="listitem"><literal>ParagraphStyles</literal> and 
<literal>CharacterStyles</literal></paragraph>
-    </listitem>
-    <listitem>
-        <paragraph id="par_id441701265999801" 
role="listitem"><literal>NumberingStyles</literal> and 
<literal>ListStyles</literal></paragraph>
-    </listitem>
-  </list>
-  <paragraph role="paragraph" id="par_id091611169416945">Returns 
<literal>True</literal> if styles were successfully imported.</paragraph>
-  <embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
-  <paragraph role="paragraph" localize="false" id="par_id2101622827822170">
-    <input>svc.ImportStylesFromFile(filename: str, families: str[1..*], 
overwrite = False): bool</input>
-  </paragraph>
-  <embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
-  <paragraph role="paragraph" 
id="par_id321635436910004"><emph>filename</emph>: The file from which to load 
the styles in the <literal>FileSystem</literal> notation. The file is presumed 
to be of the same document type as the actual document.</paragraph>
-  <paragraph role="paragraph" 
id="par_id251635436912157"><emph>families</emph>: One of the style families 
present in the actual document, as a case-sensitive string or an array of such 
strings. Leave this argument blank to import all families.</paragraph>
-  <paragraph role="paragraph" 
id="par_id362635436912268"><emph>overwrite</emph>: When 
<literal>True</literal>, the actual styles may be overwritten. Default is 
<literal>False</literal>.</paragraph>
-  <embed href="text/sbasic/shared/00000003.xhp#functexample"/>
-  <embed href="text/sbasic/shared/00000003.xhp#In_Basic"/>
-  <bascode>
-    <paragraph role="bascode" localize="false" 
id="bas_id89158920012167">oDoc.ImportStylesFromFile("C:\User\Documents\myFile.ods",
 "ParagraphStyles", True)</paragraph>
-  </bascode>
-  <embed href="text/sbasic/shared/00000003.xhp#In_Python"/>
-  <pycode>
-    <paragraph role="pycode" localize="false" 
id="pyc_id731622728946909">doc.ImportStylesFromFile('C:\User\Documents\myFile.ods',
 ("ParagraphStyles",), False)</paragraph>
-  </pycode>
-</section>
-
 <section id="PrintOut">
   <comment> PrintOut 
---------------------------------------------------------------- </comment>
   <bookmark xml-lang="en-US" localize="false" branch="index" 
id="bm_id721985200121249">
diff --git a/source/text/sbasic/shared/03/sf_writer.xhp 
b/source/text/sbasic/shared/03/sf_writer.xhp
index 27b3a8f295..27eb67e531 100644
--- a/source/text/sbasic/shared/03/sf_writer.xhp
+++ b/source/text/sbasic/shared/03/sf_writer.xhp
@@ -97,13 +97,13 @@
            </paragraph>
        </tablecell>
        <tablecell>
-           <paragraph id="par_id541611613601554" role="tablecontent" 
localize="false">
-             <link 
href="text/sbasic/shared/03/sf_writer.xhp#PrintOut">PrintOut</link><br/>
+           <paragraph id="par_id541611613612654" role="tablecontent" 
localize="false">
+             <link 
href="text/sbasic/shared/03/sf_writer.xhp#ImportStylesFromFile">ImportStylesFromFile</link><br/>
            </paragraph>
        </tablecell>
        <tablecell>
            <paragraph id="par_id701611613601554" role="tablecontent" 
localize="false">
-             <link 
href="text/sbasic/shared/03/sf_writer.xhp#MoveRange">…</link><br/>
+             <link 
href="text/sbasic/shared/03/sf_writer.xhp#PrintOut">PrintOut</link><br/>
            </paragraph>
        </tablecell>
    </tablerow>
@@ -152,6 +152,42 @@
   </pycode>
 </section>
 
+<section id="ImportStylesFromFile">
+  <comment> ImportStylesFromFile 
---------------------------------------------------------------- </comment>
+  <bookmark localize="false" branch="index" id="bm_id832985200121350">
+    <bookmark_value>Document service;ImportStylesFromFile</bookmark_value>
+  </bookmark>
+  <h2 id="hd_id372589202101526" localize="false">ImportStylesFromFile</h2>
+  <paragraph role="paragraph" id="par_id266589200121149">This method loads all 
the styles belonging to one or more style families from a closed file into the 
actual document. The actual document must be a <literal>Calc</literal> or a 
<literal>Writer</literal> document.</paragraph>
+  <paragraph role="paragraph" id="par_id11701265953648">       Are always 
imported together:</paragraph>
+  <list type="unordered">
+    <listitem>
+        <paragraph id="par_id221701265998649" 
role="listitem"><literal>ParagraphStyles</literal> and 
<literal>CharacterStyles</literal></paragraph>
+    </listitem>
+    <listitem>
+        <paragraph id="par_id441701265999801" 
role="listitem"><literal>NumberingStyles</literal> and 
<literal>ListStyles</literal></paragraph>
+    </listitem>
+  </list>
+  <paragraph role="paragraph" id="par_id091611169416945">Returns 
<literal>True</literal> if styles were successfully imported.</paragraph>
+  <embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
+  <paragraph role="paragraph" localize="false" id="par_id2101622827822170">
+    <input>svc.ImportStylesFromFile(filename: str, families: str[1..*], 
overwrite = False): bool</input>
+  </paragraph>
+  <embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
+  <paragraph role="paragraph" 
id="par_id321635436910004"><emph>filename</emph>: The file from which to load 
the styles in the <literal>FileSystem</literal> notation. The file is presumed 
to be of the same document type as the actual document.</paragraph>
+  <paragraph role="paragraph" 
id="par_id251635436912157"><emph>families</emph>: One of the style families 
present in the actual document, as a case-sensitive string or an array of such 
strings. Leave this argument blank to import all families.</paragraph>
+  <paragraph role="paragraph" 
id="par_id362635436912268"><emph>overwrite</emph>: When 
<literal>True</literal>, the actual styles may be overwritten. Default is 
<literal>False</literal>.</paragraph>
+  <embed href="text/sbasic/shared/00000003.xhp#functexample"/>
+  <embed href="text/sbasic/shared/00000003.xhp#In_Basic"/>
+  <bascode>
+    <paragraph role="bascode" localize="false" 
id="bas_id89158920012167">oDoc.ImportStylesFromFile("C:\User\Documents\myFile.ods",
 "ParagraphStyles", True)</paragraph>
+  </bascode>
+  <embed href="text/sbasic/shared/00000003.xhp#In_Python"/>
+  <pycode>
+    <paragraph role="pycode" localize="false" 
id="pyc_id731622728946909">doc.ImportStylesFromFile('C:\User\Documents\myFile.ods',
 ("ParagraphStyles",), False)</paragraph>
+  </pycode>
+</section>
+
 <section id="PrintOut">
   <comment> PrintOut 
--------------------------------------------------------------------------------------------------------------------------
 </comment>
   <bookmark xml-lang="en-US" localize="false" branch="index" 
id="bm_id231592919577434">

Reply via email to