[Libreoffice-commits] help.git: 4 commits - AllLangHelp_sbasic.mk source/text

Lionel Elie Mamane lionel at mamane.lu
Tue Nov 5 10:11:50 CET 2013


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

New commits:
commit 5e583229241ba0d1b5de8567645f45bde38f081f
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)
    
    Change-Id: I547317d52bf08bcfb0954267e25ce5f2881d1c75

diff --git a/source/text/sbasic/shared/03030112.xhp b/source/text/sbasic/shared/03030112.xhp
index 44f83c1..9772106 100644
--- a/source/text/sbasic/shared/03030112.xhp
+++ b/source/text/sbasic/shared/03030112.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 ExampleCDateFromUnoDate</paragraph>
-      <paragraph role="bascode" id="par_id3153126" xml-lang="en-US" l10n="U">    MsgBox(aDatabaseRow.getDate(3))</paragraph>
+      <paragraph role="bascode" id="par_id3153126" xml-lang="en-US" l10n="U">    MsgBox(CDateFromUnoDate(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" xml-lang="en-US">End Sub</paragraph>
     </bascode>
diff --git a/source/text/sbasic/shared/03030114.xhp b/source/text/sbasic/shared/03030114.xhp
index 7334a77..c4d780f 100644
--- a/source/text/sbasic/shared/03030114.xhp
+++ b/source/text/sbasic/shared/03030114.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 ExampleCDateFromUnoTime</paragraph>
-      <paragraph role="bascode" id="par_id3153126" xml-lang="en-US" l10n="U">    MsgBox(aDatabaseRow.getTime(3))</paragraph>
+      <paragraph role="bascode" id="par_id3153126" xml-lang="en-US" l10n="U">    MsgBox(CDateFromUnoTime(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" xml-lang="en-US">End Sub</paragraph>
     </bascode>
diff --git a/source/text/sbasic/shared/03030116.xhp b/source/text/sbasic/shared/03030116.xhp
index 4376cf8..fdd92e3 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" 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 a2d57f0988aa22e174f5905756a2ed931e59d2f2
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Tue Nov 5 10:07:48 2013 +0100

    janitorial: space outside of emph
    
    Change-Id: I624e4d61a7482e316297feb78f30b20b57ce39b7

diff --git a/source/text/sbasic/shared/03030111.xhp b/source/text/sbasic/shared/03030111.xhp
index a38e325..16d6de5 100644
--- a/source/text/sbasic/shared/03030111.xhp
+++ b/source/text/sbasic/shared/03030111.xhp
@@ -44,7 +44,7 @@
     <paragraph role="paragraph" id="par_id3154422" xml-lang="en-US" l10n="U" oldref="6">com.sun.star.util.Date</paragraph>
     <paragraph role="heading" id="hd_id3147303" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
     <paragraph role="paragraph" id="par_id3145136" xml-lang="en-US" l10n="U" oldref="8">
-    <emph>aDate: </emph>Date to convert</paragraph>
+    <emph>aDate:</emph> Date to convert</paragraph>
     <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
     <embed href="text/sbasic/shared/00000003.xhp#err5"/>
     <paragraph role="heading" id="hd_id3147243" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
diff --git a/source/text/sbasic/shared/03030112.xhp b/source/text/sbasic/shared/03030112.xhp
index d435880..44f83c1 100644
--- a/source/text/sbasic/shared/03030112.xhp
+++ b/source/text/sbasic/shared/03030112.xhp
@@ -44,7 +44,7 @@
     <paragraph role="paragraph" id="par_id3154422" xml-lang="en-US" l10n="U" oldref="6">Date</paragraph>
     <paragraph role="heading" id="hd_id3147303" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
     <paragraph role="paragraph" id="par_id3145136" xml-lang="en-US" l10n="U" oldref="8">
-    <emph>aDate: </emph>Date to convert</paragraph>
+    <emph>aDate:</emph> Date to convert</paragraph>
     <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
     <embed href="text/sbasic/shared/00000003.xhp#err5"/>
     <paragraph role="heading" id="hd_id3147243" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
diff --git a/source/text/sbasic/shared/03030113.xhp b/source/text/sbasic/shared/03030113.xhp
index 592278c..20cc482 100644
--- a/source/text/sbasic/shared/03030113.xhp
+++ b/source/text/sbasic/shared/03030113.xhp
@@ -44,7 +44,7 @@
     <paragraph role="paragraph" id="par_id3154422" xml-lang="en-US" l10n="U" oldref="6">com.sun.star.util.Time</paragraph>
     <paragraph role="heading" id="hd_id3147303" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
     <paragraph role="paragraph" id="par_id3145136" xml-lang="en-US" l10n="U" oldref="8">
-    <emph>aDate: </emph>Date value to convert</paragraph>
+    <emph>aDate:</emph> Date value to convert</paragraph>
     <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
     <embed href="text/sbasic/shared/00000003.xhp#err5"/>
     <paragraph role="heading" id="hd_id3147243" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
diff --git a/source/text/sbasic/shared/03030114.xhp b/source/text/sbasic/shared/03030114.xhp
index 833cf2b..7334a77 100644
--- a/source/text/sbasic/shared/03030114.xhp
+++ b/source/text/sbasic/shared/03030114.xhp
@@ -44,7 +44,7 @@
     <paragraph role="paragraph" id="par_id3154422" xml-lang="en-US" l10n="U" oldref="6">Date</paragraph>
     <paragraph role="heading" id="hd_id3147303" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
     <paragraph role="paragraph" id="par_id3145136" xml-lang="en-US" l10n="U" oldref="8">
-    <emph>aTime: </emph>Time to convert</paragraph>
+    <emph>aTime:</emph> Time to convert</paragraph>
     <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
     <embed href="text/sbasic/shared/00000003.xhp#err5"/>
     <paragraph role="heading" id="hd_id3147243" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
diff --git a/source/text/sbasic/shared/03030115.xhp b/source/text/sbasic/shared/03030115.xhp
index 69fde10..a95123b 100644
--- a/source/text/sbasic/shared/03030115.xhp
+++ b/source/text/sbasic/shared/03030115.xhp
@@ -44,7 +44,7 @@
     <paragraph role="paragraph" id="par_id3154422" xml-lang="en-US" l10n="U" oldref="6">com.sun.star.util.DateTime</paragraph>
     <paragraph role="heading" id="hd_id3147303" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
     <paragraph role="paragraph" id="par_id3145136" xml-lang="en-US" l10n="U" oldref="8">
-    <emph>aDate: </emph>Date value to convert</paragraph>
+    <emph>aDate:</emph> Date value to convert</paragraph>
     <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
     <embed href="text/sbasic/shared/00000003.xhp#err5"/>
     <paragraph role="heading" id="hd_id3147243" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
diff --git a/source/text/sbasic/shared/03030116.xhp b/source/text/sbasic/shared/03030116.xhp
index 6142e74..4376cf8 100644
--- a/source/text/sbasic/shared/03030116.xhp
+++ b/source/text/sbasic/shared/03030116.xhp
@@ -44,7 +44,7 @@
     <paragraph role="paragraph" id="par_id3154422" xml-lang="en-US" l10n="U" oldref="6">Date</paragraph>
     <paragraph role="heading" id="hd_id3147303" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
     <paragraph role="paragraph" id="par_id3145136" xml-lang="en-US" l10n="U" oldref="8">
-    <emph>aDateTime: </emph>DateTime to convert</paragraph>
+    <emph>aDateTime:</emph> DateTime to convert</paragraph>
     <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
     <embed href="text/sbasic/shared/00000003.xhp#err5"/>
     <paragraph role="heading" id="hd_id3147243" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
commit cbf7c6b7408fd28ec5679c3528ecfdc4e522c92c
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Tue Nov 5 10:06:32 2013 +0100

    add UNO Date/Time conversion functions to "Converting Date Values" help page
    
    Change-Id: I67608ec843a45b5a342c82a816174acb9391ca73

diff --git a/source/text/sbasic/shared/03030100.xhp b/source/text/sbasic/shared/03030100.xhp
index 83016a3..0ff5187 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|DateTime)</lastedited>
 </history>
 </meta>
 <body>
@@ -43,6 +43,12 @@
 <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/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"/>
 <embed href="text/sbasic/shared/03030110.xhp#dateadd"/>
 <embed href="text/sbasic/shared/03030120.xhp#datediff"/>
 <embed href="text/sbasic/shared/03030130.xhp#datepart"/>
commit d960d638aa9124d5ade898b2d78df5ea38e558eb
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Tue Nov 5 10:05:01 2013 +0100

    Install new help files
    
    Change-Id: I8fc26aadfa7509e19a6f4fb5941b6c1eb9cf9258

diff --git a/AllLangHelp_sbasic.mk b/AllLangHelp_sbasic.mk
index 156b542..183490b 100644
--- a/AllLangHelp_sbasic.mk
+++ b/AllLangHelp_sbasic.mk
@@ -125,6 +125,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