summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorBehrend Cornelius <bc@openoffice.org>2002-09-17 12:07:19 +0000
committerBehrend Cornelius <bc@openoffice.org>2002-09-17 12:07:19 +0000
commita89e3eb4c8acf0cfea53073ff78a25f6e1f12100 (patch)
treebb0ae278f0e4df8a3f05aadcc5ed14df55eef1cf /wizards
parent901d2ea009da36f5f90869bea409f168662d8d4b (diff)
##99839# german comments translated
Diffstat (limited to 'wizards')
-rw-r--r--wizards/source/formwizard/DBMeta.xba8
-rw-r--r--wizards/source/formwizard/Language.xba5
-rw-r--r--wizards/source/formwizard/Layouter.xba3
-rw-r--r--wizards/source/formwizard/tools.xba7
4 files changed, 4 insertions, 19 deletions
diff --git a/wizards/source/formwizard/DBMeta.xba b/wizards/source/formwizard/DBMeta.xba
index 8f8859942aa3..71195992b811 100644
--- a/wizards/source/formwizard/DBMeta.xba
+++ b/wizards/source/formwizard/DBMeta.xba
@@ -70,7 +70,7 @@ Dim Nulllist()
End If
End If
If Not bGetConnection Then
- iMsg = Msgbox (sMsgNoConnection,32 + 2, sMsgWizardName) &apos; &apos;?&apos; &amp; &apos; Repeat and Cancel&apos;
+ iMsg = Msgbox (sMsgNoConnection,32 + 2, sMsgWizardName)
bExitLoop = iMsg = SBCANCEL
Resume CLERROR
CLERROR:
@@ -130,17 +130,11 @@ Dim oField as Object
sFieldname = FieldNames(n)
oField = oColumns.GetByName(sFieldName)
iType = oField.Type
-&apos; Msgbox IsEmpty(oField.HelpText)
-&apos; Msgbox oField.HelpText
-&apos; Msgbox oField.ControlDefault
-&apos; Msgbox sFieldName &amp; &quot;:&quot; &amp; chr(13) &amp; oField.dbg_Properties
FieldMetaValues(n,0) = oField.Type
FieldMetaValues(n,1) = oField.Precision
FieldMetaValues(n,2) = GetValueoutofList(iType, WidthList(),1, WidthIndex)
FieldMetaValues(n,3) = WidthList(WidthIndex,3)
FieldMetaValues(n,4) = oField.FormatKey
-&apos; Todo: Check why the following lines do not work
-&apos; Msgbox oField.ControlDefault
FieldMetaValues(n,5) = oField.DefaultValue
FieldMetaValues(n,6) = oField.IsCurrency
FieldMetaValues(n,7) = oField.Scale
diff --git a/wizards/source/formwizard/Language.xba b/wizards/source/formwizard/Language.xba
index 853e35541eec..2169c5b22b02 100644
--- a/wizards/source/formwizard/Language.xba
+++ b/wizards/source/formwizard/Language.xba
@@ -130,11 +130,6 @@ End Sub
Sub InitializeWidthList()
-&apos; Todo: &apos;Currency&apos; ist ein Flag, dass grundsätzlich an jedes Feld angehängt sein kann.
-&apos; An der Connection kann man irgendwie abfragen, ob ein bestimmter Datentyp als Währung
-&apos; interpretiert wird. Darstellung über Numberformatter. Ist nicht konsistent über Datenbanken.
-&apos; außerdem dürften hier einige Treiber auch buggy sein.
-
If Ubound(WidthList(),1) &gt; 15 Then
ReDim WidthList(15,4)
End If
diff --git a/wizards/source/formwizard/Layouter.xba b/wizards/source/formwizard/Layouter.xba
index 502e88d97d56..d9268c3b26cc 100644
--- a/wizards/source/formwizard/Layouter.xba
+++ b/wizards/source/formwizard/Layouter.xba
@@ -115,8 +115,6 @@ Dim i as Integer
oProgressbar.Start(&quot;&quot;, MaxIndex)
If oDBForm.HasbyName(&quot;Grid1&quot;) Then
RemoveShapes()
-&apos; PrintdbgInfo oDBForm.GetByName(&quot;Grid1&quot;)
-&apos; oDBForm.GetByName(&quot;Grid1&quot;).Dispose
End If
ToggleLayoutPage(False)
Select Case CurArrangement
@@ -141,7 +139,6 @@ Dim oViewSettings as Object
oViewSettings = oDocument.CurrentController.ViewSettings
oViewSettings.ShowTableBoundaries = False
oViewSettings.ShowOnlineLayout = True
-&apos; oViewSettings.ShowHoriRuler = True
oDrawPage = oDocument.DrawPage
oPageStyle = oDocument.StyleFamilies.GetByName(&quot;PageStyles&quot;).GetByName(&quot;Standard&quot;)
End Sub
diff --git a/wizards/source/formwizard/tools.xba b/wizards/source/formwizard/tools.xba
index f17afe61f49f..7a945593c42a 100644
--- a/wizards/source/formwizard/tools.xba
+++ b/wizards/source/formwizard/tools.xba
@@ -99,7 +99,7 @@ Function TwipTo100telMM(BYVAL nValue as long) as long
End function
-Function TwipToPixel(BYVAL nValue as long) as long &apos; nur ungefaehre Berechnung
+Function TwipToPixel(BYVAL nValue as long) as long &apos; not an exact calculation
TwipToPixel = nValue / 15
End function
@@ -108,7 +108,7 @@ Function PixelTo100thMMX(oControl as Object) as long
oPeer = oControl.GetPeer()
PixelTo100mmX = Clng(Peer.GetInfo.PixelPerMeterX/100000)
-&apos; PixelTo100thMM = nValue * 28 &apos; nur ungefähre Berechnung
+&apos; PixelTo100thMM = nValue * 28 &apos; not an exact calculation
End function
@@ -116,7 +116,7 @@ Function PixelTo100thMMY(oControl as Object) as long
oPeer = oControl.GetPeer()
PixelTo100mmX = Clng(Peer.GetInfo.PixelPerMeterY/100000)
-&apos; PixelTo100thMM = nValue * 28 &apos; nur ungefähre Berechnung
+&apos; PixelTo100thMM = nValue * 28 &apos; not an exact calculation
End function
@@ -162,7 +162,6 @@ End Sub
Function SetNumerics(ByVal oLocObject as Object, iLocFieldType as Integer) as Object
-&apos; Msgbox CurFieldName &amp; &quot;:&quot; &amp; chr(13) &amp; oLocObject.dbg_Properties
If CurControlType = cNumericBox Then
oLocObject.TreatAsNumber = True
Select Case iLocFieldType