Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
723b3278
Kaydet (Commit)
723b3278
authored
Agu 29, 2015
tarafından
Jean-Pierre Ledure
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Access2Base - NewLine distinction Windows - Linux+
Change-Id: I09be5a10ae301b42daf446852e6cf8ba3ed2e51e
üst
d00ca13f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
6 deletions
+14
-6
DoCmd.xba
wizards/source/access2base/DoCmd.xba
+2
-2
Field.xba
wizards/source/access2base/Field.xba
+1
-1
Trace.xba
wizards/source/access2base/Trace.xba
+2
-2
acConstants.xba
wizards/source/access2base/acConstants.xba
+9
-1
No files found.
wizards/source/access2base/DoCmd.xba
Dosyayı görüntüle @
723b3278
...
@@ -2423,7 +2423,7 @@ Private Function _SendWithoutAttachment(ByVal pvTo As Variant _
...
@@ -2423,7 +2423,7 @@ Private Function _SendWithoutAttachment(ByVal pvTo As Variant _
Dim sMailTo As String, sTo As String, sCc As String, sBcc As String, sSubject As String, sBody As String, oDispatch As Object
Dim sMailTo As String, sTo As String, sCc As String, sBcc As String, sSubject As String, sBody As String, oDispatch As Object
Const cstComma =
"
,
"
Const cstComma =
"
,
"
Const cstSpace =
"
%20
"
Const cstSpace =
"
%20
"
Const cst
CR
=
"
%0A
"
Const cst
LF
=
"
%0A
"
If _ErrorHandler() Then On Local Error Goto Error_Function
If _ErrorHandler() Then On Local Error Goto Error_Function
...
@@ -2432,7 +2432,7 @@ Const cstCR = "%0A"
...
@@ -2432,7 +2432,7 @@ Const cstCR = "%0A"
If UBound(pvBcc)
>
= 0 Then sBcc = Trim(Join(pvBcc, cstComma)) Else sBcc =
""
If UBound(pvBcc)
>
= 0 Then sBcc = Trim(Join(pvBcc, cstComma)) Else sBcc =
""
If psSubject
<>
""
Then sSubject = Join(Split(psSubject,
"
"
), cstSpace) Else sSubject =
""
If psSubject
<>
""
Then sSubject = Join(Split(psSubject,
"
"
), cstSpace) Else sSubject =
""
If psBody
<>
""
Then
If psBody
<>
""
Then
sBody = Join(Split(
psBody, Chr(13)), cstCR
)
sBody = Join(Split(
Join(Split(psBody, Chr(13)),
""
), Chr(10), cstLF
)
sBody = Join(Split(sBody,
"
"
), cstSpace)
sBody = Join(Split(sBody,
"
"
), cstSpace)
End If
End If
...
...
wizards/source/access2base/Field.xba
Dosyayı görüntüle @
723b3278
...
@@ -677,7 +677,7 @@ Const cstMaxLength = 64000
...
@@ -677,7 +677,7 @@ Const cstMaxLength = 64000
Line Input #iFile, sBuffer
Line Input #iFile, sBuffer
lFileLength = lFileLength + Len(sBuffer) + 1
lFileLength = lFileLength + Len(sBuffer) + 1
If lFileLength
>
cstMaxLength Then Exit Do
If lFileLength
>
cstMaxLength Then Exit Do
sMemo = sMemo
&
sBuffer
&
Chr(10)
sMemo = sMemo
&
sBuffer
&
vbNewLine
Loop
Loop
If lFileLength = 0 Or lFileLength
>
cstMaxLength Then
If lFileLength = 0 Or lFileLength
>
cstMaxLength Then
Close #iFile
Close #iFile
...
...
wizards/source/access2base/Trace.xba
Dosyayı görüntüle @
723b3278
...
@@ -32,7 +32,7 @@ Public Sub TraceConsole()
...
@@ -32,7 +32,7 @@ Public Sub TraceConsole()
If _ErrorHandler() Then On Local Error Goto Error_Sub
If _ErrorHandler() Then On Local Error Goto Error_Sub
Dim sLineBreak As String, oDialogLib As Object, oTraceDialog As Object
Dim sLineBreak As String, oDialogLib As Object, oTraceDialog As Object
sLineBreak =
Chr(10)
sLineBreak =
vbNewLine
Set oDialogLib = DialogLibraries
Set oDialogLib = DialogLibraries
If oDialogLib.hasByName(
"
Access2BaseDev
"
) Then
If oDialogLib.hasByName(
"
Access2BaseDev
"
) Then
...
@@ -85,7 +85,7 @@ Dim i As Integer, sText As String, iOKCancel As Integer
...
@@ -85,7 +85,7 @@ Dim i As Integer, sText As String, iOKCancel As Integer
Loop While i
<>
_A2B_.TraceLogLast
Loop While i
<>
_A2B_.TraceLogLast
oDump.Enabled = 1
'
Enable DumpToFile only if there is something to dump
oDump.Enabled = 1
'
Enable DumpToFile only if there is something to dump
End If
End If
If Len(sText)
>
0 Then sText = Left(sText, Len(sText) -
1
)
'
Skip last linefeed
If Len(sText)
>
0 Then sText = Left(sText, Len(sText) -
Len(sLineBreak)
)
'
Skip last linefeed
oTraceLog.Text = sText
oTraceLog.Text = sText
Else
Else
oTraceLog.Text = _GetLabel(
"
DLGTRACE_TXTTRACELOG_TEXT
"
)
oTraceLog.Text = _GetLabel(
"
DLGTRACE_TXTTRACELOG_TEXT
"
)
...
...
wizards/source/access2base/acConstants.xba
Dosyayı görüntüle @
723b3278
...
@@ -8,7 +8,7 @@ REM ============================================================================
...
@@ -8,7 +8,7 @@ REM ============================================================================
Option Explicit
Option Explicit
REM Access2Base -----------------------------------------------------
REM Access2Base -----------------------------------------------------
Global Const Access2Base_Version =
"
1.
3
.0
"
Global Const Access2Base_Version =
"
1.
4
.0
"
REM AcCloseSave
REM AcCloseSave
REM -----------------------------------------------------------------
REM -----------------------------------------------------------------
...
@@ -368,4 +368,11 @@ Global Const msoBarTypeFloater = 12 ' Floating window
...
@@ -368,4 +368,11 @@ Global Const msoBarTypeFloater = 12 ' Floating window
Global Const msoControlButton = 1
'
Command button
Global Const msoControlButton = 1
'
Command button
Global Const msoControlPopup = 10
'
Popup, submenu
Global Const msoControlPopup = 10
'
Popup, submenu
REM New Line
REM -----------------------------------------------------------------
Public Function vbNewLine() As String
Const cstWindows = 1
If GetGuiType() = cstWindows Then vbNewLine = Chr(13)
&
Chr(10) Else vbNewLine = Chr(10)
End Function
'
vbNewLine V1.4.0
</script:module>
</script:module>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment