[Libreoffice-commits] help.git: Branch 'distro/collabora/cp-4.1' - 5 commits - AllLangHelp_sbasic.mk source/text

Lionel Elie Mamane lionel at mamane.lu
Fri Nov 8 22:51:48 CET 2013


 AllLangHelp_sbasic.mk                  |    6 ++++++
 source/text/sbasic/shared/03030100.xhp |    6 +++++-
 source/text/sbasic/shared/03030111.xhp |    4 ++--
 source/text/sbasic/shared/03030112.xhp |    4 ++--
 source/text/sbasic/shared/03030113.xhp |    6 +++---
 source/text/sbasic/shared/03030114.xhp |    4 ++--
 source/text/sbasic/shared/03030115.xhp |    8 ++++----
 source/text/sbasic/shared/03030116.xhp |    2 +-
 source/text/sbasic/shared/03030200.xhp |    6 +++++-
 9 files changed, 30 insertions(+), 16 deletions(-)

New commits:
commit 7e41301c059b69141fbec2ea9dbde937a768229e
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Tue Nov 5 10:08:25 2013 +0100

    fixup examples of CDate(From|To)Uno(Date|Time|DateTime)
    
    also mark them as non-localizable
    
    Change-Id: I547317d52bf08bcfb0954267e25ce5f2881d1c75
    Reviewed-on: https://gerrit.libreoffice.org/6578
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>

diff --git a/source/text/sbasic/shared/03030111.xhp b/source/text/sbasic/shared/03030111.xhp
index a38e325..9b13464 100644
--- a/source/text/sbasic/shared/03030111.xhp
+++ b/source/text/sbasic/shared/03030111.xhp
@@ -50,8 +50,8 @@
     <paragraph role="heading" id="hd_id3147243" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
     <bascode>
       <paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleCDateToUnoDate</paragraph>
-      <paragraph role="bascode" id="par_id3153126" xml-lang="en-US" l10n="U">    aDatabaseRow.updateDate(3, CDateToUnoDate(Now))</paragraph>
-      <paragraph role="bascode" id="par_id3153127" xml-lang="en-US" l10n="U">    aDateControl.Date = CDateToUnoDate(Now)</paragraph>
+      <paragraph role="bascode" localize="false" id="par_id3153126" xml-lang="en-US" l10n="U">    aDatabaseRow.updateDate(3, CDateToUnoDate(Now))</paragraph>
+      <paragraph role="bascode" localize="false" id="par_id3153127" xml-lang="en-US" l10n="U">    aDateControl.Date = CDateToUnoDate(Now)</paragraph>
       <paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
     </bascode>
 </body>
diff --git a/source/text/sbasic/shared/03030112.xhp b/source/text/sbasic/shared/03030112.xhp
index d435880..bfa889d 100644
--- a/source/text/sbasic/shared/03030112.xhp
+++ b/source/text/sbasic/shared/03030112.xhp
@@ -50,8 +50,8 @@
     <paragraph role="heading" id="hd_id3147243" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
     <bascode>
       <paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleCDateFromUnoDate</paragraph>
-      <paragraph role="bascode" id="par_id3153126" xml-lang="en-US" l10n="U">    MsgBox(aDatabaseRow.getDate(3))</paragraph>
-      <paragraph role="bascode" id="par_id3153127" xml-lang="en-US" l10n="U">    MsgBox(CDateFromUnoDate(aDateControl.Date))</paragraph>
+      <paragraph role="bascode" localize="false" id="par_id3153126" xml-lang="en-US" l10n="U">    MsgBox(CDateFromUnoDate(aDatabaseRow.getDate(3)))</paragraph>
+      <paragraph role="bascode" localize="false" id="par_id3153127" xml-lang="en-US" l10n="U">    MsgBox(CDateFromUnoDate(aDateControl.Date))</paragraph>
       <paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
     </bascode>
 </body>
diff --git a/source/text/sbasic/shared/03030113.xhp b/source/text/sbasic/shared/03030113.xhp
index 4e63cd1..6957d16 100644
--- a/source/text/sbasic/shared/03030113.xhp
+++ b/source/text/sbasic/shared/03030113.xhp
@@ -50,8 +50,8 @@
     <paragraph role="heading" id="hd_id3147243" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
     <bascode>
       <paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleCDateToUnoTime</paragraph>
-      <paragraph role="bascode" id="par_id3153126" xml-lang="en-US" l10n="U">    aDatabaseRow.updateTime(3, CDateToUnoTime(Now))</paragraph>
-      <paragraph role="bascode" id="par_id3153127" xml-lang="en-US" l10n="U">    aTimeControl.Time = CDateToUnoTime(Now)</paragraph>
+      <paragraph role="bascode" localize="false" id="par_id3153126" xml-lang="en-US" l10n="U">    aDatabaseRow.updateTime(3, CDateToUnoTime(Now))</paragraph>
+      <paragraph role="bascode" localize="false" id="par_id3153127" xml-lang="en-US" l10n="U">    aTimeControl.Time = CDateToUnoTime(Now)</paragraph>
       <paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
     </bascode>
 </body>
diff --git a/source/text/sbasic/shared/03030114.xhp b/source/text/sbasic/shared/03030114.xhp
index 833cf2b..eec641b 100644
--- a/source/text/sbasic/shared/03030114.xhp
+++ b/source/text/sbasic/shared/03030114.xhp
@@ -50,8 +50,8 @@
     <paragraph role="heading" id="hd_id3147243" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
     <bascode>
       <paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleCDateFromUnoTime</paragraph>
-      <paragraph role="bascode" id="par_id3153126" xml-lang="en-US" l10n="U">    MsgBox(aDatabaseRow.getTime(3))</paragraph>
-      <paragraph role="bascode" id="par_id3153127" xml-lang="en-US" l10n="U">    MsgBox(CDateFromUnoTime(aTimeControl.Time))</paragraph>
+      <paragraph role="bascode" localize="false" id="par_id3153126" xml-lang="en-US" l10n="U">    MsgBox(CDateFromUnoTime(aDatabaseRow.getTime(3)))</paragraph>
+      <paragraph role="bascode" localize="false" id="par_id3153127" xml-lang="en-US" l10n="U">    MsgBox(CDateFromUnoTime(aTimeControl.Time))</paragraph>
       <paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
     </bascode>
 </body>
diff --git a/source/text/sbasic/shared/03030115.xhp b/source/text/sbasic/shared/03030115.xhp
index a8eb520..52c2128 100644
--- a/source/text/sbasic/shared/03030115.xhp
+++ b/source/text/sbasic/shared/03030115.xhp
@@ -50,7 +50,7 @@
     <paragraph role="heading" id="hd_id3147243" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
     <bascode>
       <paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleCDateToUnoDateTime</paragraph>
-      <paragraph role="bascode" id="par_id3153126" xml-lang="en-US" l10n="U">    aDatabaseRow.updateTimestamp(3, CDateToUnoDateTime(Now))</paragraph>
+      <paragraph role="bascode" localize="false" id="par_id3153126" xml-lang="en-US" l10n="U">    aDatabaseRow.updateTimestamp(3, CDateToUnoDateTime(Now))</paragraph>
       <paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
     </bascode>
 </body>
diff --git a/source/text/sbasic/shared/03030116.xhp b/source/text/sbasic/shared/03030116.xhp
index 6142e74..c39455d 100644
--- a/source/text/sbasic/shared/03030116.xhp
+++ b/source/text/sbasic/shared/03030116.xhp
@@ -50,7 +50,7 @@
     <paragraph role="heading" id="hd_id3147243" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
     <bascode>
       <paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleCDateFromUnoDateTime</paragraph>
-      <paragraph role="bascode" id="par_id3153126" xml-lang="en-US" l10n="U">    MsgBox(aDatabaseRow.getTime(3))</paragraph>
+      <paragraph role="bascode" localize="false" id="par_id3153126" xml-lang="en-US" l10n="U">    MsgBox(CDateFromUnoDateTime(aDatabaseRow.getTimestamp(3)))</paragraph>
       <paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
     </bascode>
 </body>
commit fb503301668895e0a28cca13414a5a6ce3b05630
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Tue Nov 5 11:49:49 2013 +0100

    wrong title
    
    Change-Id: I776db2914bb4e51af35d7c4610d457892b36e9b5
    Reviewed-on: https://gerrit.libreoffice.org/6581
    Tested-by: Andras Timar <andras.timar at collabora.com>
    Reviewed-by: Andras Timar <andras.timar at collabora.com>

diff --git a/source/text/sbasic/shared/03030113.xhp b/source/text/sbasic/shared/03030113.xhp
index 592278c..4e63cd1 100644
--- a/source/text/sbasic/shared/03030113.xhp
+++ b/source/text/sbasic/shared/03030113.xhp
@@ -22,7 +22,7 @@
 <helpdocument version="1.0">
   <meta>
     <topic id="textsbasicshared03030113xml" indexer="include" status="PUBLISH">
-      <title id="tit" xml-lang="en-US">CDateToUnoDate Function [Runtime]</title>
+      <title id="tit" xml-lang="en-US">CDateToUnoTime Function [Runtime]</title>
       <filename>/text/sbasic/shared/03030113.xhp</filename>
     </topic>
     <history>
commit 020968d3e75d51e95cd7d473625c2e200c065add
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Tue Nov 5 11:50:22 2013 +0100

    fixup confusion between CDateToUnoTime and CDateToUnoDateTime
    
    Change-Id: Ie3a13726086da113835f54f4eb1c68201edd44f9
    Reviewed-on: https://gerrit.libreoffice.org/6582
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>

diff --git a/source/text/sbasic/shared/03030115.xhp b/source/text/sbasic/shared/03030115.xhp
index 69fde10..a8eb520 100644
--- a/source/text/sbasic/shared/03030115.xhp
+++ b/source/text/sbasic/shared/03030115.xhp
@@ -21,9 +21,9 @@
 
 <helpdocument version="1.0">
   <meta>
-    <topic id="textsbasicshared03030113xml" indexer="include" status="PUBLISH">
-      <title id="tit" xml-lang="en-US">CDateToUnoDate Function [Runtime]</title>
-      <filename>/text/sbasic/shared/03030113.xhp</filename>
+    <topic id="textsbasicshared03030115xml" indexer="include" status="PUBLISH">
+      <title id="tit" xml-lang="en-US">CDateToUnoDateTime Function [Runtime]</title>
+      <filename>/text/sbasic/shared/03030115.xhp</filename>
     </topic>
     <history>
       <created date="2013-09-10T16:09:00">Lionel Elie Mamane</created>
commit 42438e44587ba1c25b5d6ae1198c9d9074d11356
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Tue Nov 5 10:06:32 2013 +0100

    UNO Date/Time conversion functions in "Converting Date/Time Values" help pages
    
    Change-Id: I67608ec843a45b5a342c82a816174acb9391ca73
    Reviewed-on: https://gerrit.libreoffice.org/6577
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>

diff --git a/source/text/sbasic/shared/03030100.xhp b/source/text/sbasic/shared/03030100.xhp
index 83016a3..2e6ed88 100644
--- a/source/text/sbasic/shared/03030100.xhp
+++ b/source/text/sbasic/shared/03030100.xhp
@@ -27,7 +27,7 @@
 </topic>
 <history>
 <created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-<lastedited date="2005-04-25T13:52:00">converted from old format - fpe</lastedited>
+<lastedited date="2013-11-05T09:45:00">Added CDate(From|To)Uno(Date(Time)?)</lastedited>
 </history>
 </meta>
 <body>
@@ -43,6 +43,10 @@
 <embed href="text/sbasic/shared/03030106.xhp#year"/>
 <embed href="text/sbasic/shared/03030107.xhp#cdatetoiso"/>
 <embed href="text/sbasic/shared/03030108.xhp#cdatefromiso"/>
+<embed href="text/sbasic/shared/03030111.xhp#cdatetounodate"/>
+<embed href="text/sbasic/shared/03030112.xhp#cdatefromunodate"/>
+<embed href="text/sbasic/shared/03030115.xhp#cdatetounodatetime"/>
+<embed href="text/sbasic/shared/03030116.xhp#cdatefromunodatetime"/>
 <embed href="text/sbasic/shared/03030110.xhp#dateadd"/>
 <embed href="text/sbasic/shared/03030120.xhp#datediff"/>
 <embed href="text/sbasic/shared/03030130.xhp#datepart"/>
diff --git a/source/text/sbasic/shared/03030200.xhp b/source/text/sbasic/shared/03030200.xhp
index d27c32e..a196823 100644
--- a/source/text/sbasic/shared/03030200.xhp
+++ b/source/text/sbasic/shared/03030200.xhp
@@ -27,7 +27,7 @@
 </topic>
 <history>
 <created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+<lastedited date="2013-11-05T10:25:00">Added CDate(From|To)Uno((Date)?Time)</lastedited>
 </history>
 </meta>
 <body>
@@ -42,5 +42,9 @@
   <embed href="text/sbasic/shared/03030204.xhp#second"/>
   <embed href="text/sbasic/shared/03030205.xhp#timeserial"/>
   <embed href="text/sbasic/shared/03030206.xhp#timevalue"/>
+  <embed href="text/sbasic/shared/03030113.xhp#cdatetounotime"/>
+  <embed href="text/sbasic/shared/03030114.xhp#cdatefromunotime"/>
+  <embed href="text/sbasic/shared/03030115.xhp#cdatetounodatetime"/>
+  <embed href="text/sbasic/shared/03030116.xhp#cdatefromunodatetime"/>
  </body>
 </helpdocument>
commit 8ae02d9a0192f1f3262f4d5ffb67b0b7ac615e95
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Tue Nov 5 10:05:01 2013 +0100

    Install new help files
    
    Change-Id: I8fc26aadfa7509e19a6f4fb5941b6c1eb9cf9258
    Reviewed-on: https://gerrit.libreoffice.org/6576
    Tested-by: Andras Timar <andras.timar at collabora.com>
    Reviewed-by: Andras Timar <andras.timar at collabora.com>

diff --git a/AllLangHelp_sbasic.mk b/AllLangHelp_sbasic.mk
index c03b371..8d11f41 100644
--- a/AllLangHelp_sbasic.mk
+++ b/AllLangHelp_sbasic.mk
@@ -124,6 +124,12 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,sbasic,\
     helpcontent2/source/text/sbasic/shared/03030107 \
     helpcontent2/source/text/sbasic/shared/03030108 \
     helpcontent2/source/text/sbasic/shared/03030110 \
+    helpcontent2/source/text/sbasic/shared/03030111 \
+    helpcontent2/source/text/sbasic/shared/03030112 \
+    helpcontent2/source/text/sbasic/shared/03030113 \
+    helpcontent2/source/text/sbasic/shared/03030114 \
+    helpcontent2/source/text/sbasic/shared/03030115 \
+    helpcontent2/source/text/sbasic/shared/03030116 \
     helpcontent2/source/text/sbasic/shared/03030120 \
     helpcontent2/source/text/sbasic/shared/03030130 \
     helpcontent2/source/text/sbasic/shared/03030200 \


More information about the Libreoffice-commits mailing list