/usr/lib/libreoffice/share/extensions/canzeley-client/Kanzleiprogramm/Start.xba is in libreoffice-canzeley-client 0.5.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Start" script:language="StarBasic">REM ***** BASIC *****
REM ***** Canzeley *****
REM Copyright (C) 2008-2016 Dr. Michael Stehmann
REM info@rechtsanwalt-stehmann.de
REM This program is free software: you can redistribute it and/or modify it
REM under the terms of the GNU General Public License as published by the
REM Free Software Foundation, either version 3 of the License, or any later version.
REM This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
REM without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
REM See the GNU General Public License for more details.
REM You should have received a copy of the GNU General Public License along with this program.
REM If not, see <http://www.gnu.org/licenses/>.
REM *** Version 0.5.0 ***
REM **** Kanzleiprogramm - Start ****
Option Explicit
REM *** Hier sind Version und Build jeweils einzutragen, ***
REM *** wie sie in den Programmdialogen angezeigt werden sollen ***
Public Const csVersion="0.5.0"
Public Const csBuild="2016-10-06-0"
REM *** Ende ***
REM *** Allgemeine Variablen und Konstanten
Public iOs As Integer REM Betriebssystemkennzahl
Public sVuDPfad As String REM Pfad zu dem Verzeichnis,
REM welches die (Unter-)Verzeichnisse „Vorlagen“ und „Dokumente“ enthaelt
Public sPDFVuD As String REM PDF-Reader (Pfad und Datei)
Public sDBVersion As String REM Version der Datenbank
Public sDataBaseName As String REM Registrierter Name der Datenbankdatei
Public iAutoMount as Integer REM In unixoiden Systemen: Mounten und Umounten
REM durch Programm Ja/Nein
Public oConnection As Object REM Datenbankverbindungsobjekt
Public iMountTest As Integer REM Wenn Mounttest gelungen, dann ist iMountTest=1
Public oDlg As Object REM Allgmeines Dialogobjekt
Public oDlgEF As Object REM * Dialogobjekt fuer Laufzeitdialoge *
Public i As Integer REM Allgemeine Zaehlvariable
Public iAbbruchFlag As Integer REM Wenn iAbbruchFlag = 1. soll das Programm abgebrochen werden
Public iKanzleiDia1Flag As Integer
Public iSysDatenFrom As Integer
Public oAktenAuswahl As Object
Public oStatement As Object
Public sVorgabeN As String
Public sVorgabeR As String
Public oTextfeldN As Object
Public oTextfeldR As Object
Public sSItem As String REM Zeichenkette des ausgewaehlten Listenpunktes
Public aPersonenErgebnis()
Public iP As Integer
Public aGerichteErgebnis()
Public iG As Integer
Public iW As Integer
Public aAuswahl()
Public sRegisterNr As String
Public iAdressenID As Integer
Public sAdressenID As String
Public sRegNummer As String
Public sKurzrubrum As String
Public sAktenzeichen As String
Public sWegen As String
Public iReferatNr As Integer
Public iSachbearbeiterNr As Integer
Public iHerkunftNr As Integer
Public sReferat As String
Public sSachbearbeiter As String
Public sHerkunft As String
Public dAblageDatum As Date
Public sAblagedatum As String
Public sAbgelegt As String
Public sAkteabgelegt As String
Public sAblageNr As String
Public sAblageNotizen As String
Public sHerkunft As String
Public iWiedervorlagenID As Integer
Public sAnmerkungAkte As String
Public sIDLabel As String
Public sFirmaText As String
Public sVornameText As String
Public sNameText As String
Public sName2Text As String
Public sStrasseText As String
Public sPLZText As String
Public sOrtText As String
Public sLandText As String
Public sPostfachText As String
Public sAnredeText As String
Public oAnredeListBox As Object
Public sBriefanredeText As String
Public oBriefanredeListBox As Object
Public sAnlagedatumLabel as String
Public sLAenderungLabel As String
Public sTelefonText As String
Public sTelefaxText As String
Public sTelefonPrivatText As String
Public sTelefonBueroText As String
Public sMobilesTelefonText As String
Public seMailText As String
Public sBankText As String
Public lBLZNumeric As Long
Public sBLZNumeric As String
Public sKontoNrText As String
Public dGeburtsDate As Date
Public sGeburtsDate As String
Public sEhepartnerText As String
Public sUStText As String
Public sAnmerkungText As String
Public sZeichenText As String
Public sHomepageText As String
Public sZS As String
Public oTaskLabel As Object
Public oAuswahl As Object
Public sID As String
Public iAktenID As Integer
Public sZeichen As String
Public sAnsprechperson As String
Public sAPTelefon As String
Public sAPTelefax As String
Public sAAALabel As String
Public oResultSet As Object
Public sSelect As String
Public sInsert As String
Public sUpdate As String
Public oTextfeldName As Object
Public sVorgabeName As String
Public sVorgabeVorname As String
Public sVorgabeFirma As String
Public oAdressenAuswahl As Object
Public iAktenAWFlag As Integer
Public sAdresse As String
Public sOrder As String
Public oSortierenRegisterNr As Object
Public oSortierenRubrum As Object
Public oVorlagenauswahl As Object
Public oDlg2 As Object
Public sVorlagenPfad As String
Public sDocPfad As String
Public sFilename As String
Public sPoGFlag As String
Public oDoc As Object
Public sAdressenUoIFlag As String
Public sAktenUoIFlag As String
Public aAdressenErgebnis()
Public iStart As Integer
Public iAktenSeite As Integer
Public iAdressenSeite As Integer
Public sAktenAdressenID As String
Public sDatumHeute As String
Public sStatus As String
Public iStatus As Integer
Public sStatusID As String
Public iAdresseFrom As Integer
Public sGerichtsID As String
Public sGeschaeftszeichen As String
Public sGerichtsKurzrubrum As String
Public aGericht()
Public iAktenGerichteID As Integer
Public sAktenGerichteID As String
Public oReferatListBox As Object
Public oSachbearbeiterListBox As Object
Public oHerkunftListBox As Object
Public iGerichtFrom As Integer
Public sGerichtsText As String
Public sGerichtsart As String
Public iGerichtOrtVorArt As Integer
Public sGerichtsortText As String
Public sGerichtsPLZText As String
Public sOrtGerichtText As String
Public sGerichtTelefonText As String
Public sGerichtTelefaxText As String
Public sSystemPflegeInsertText As String
Public sWvDatum As String
Public sWvlGrund As String
Public iGerichtNeuFlag As Integer
Public sVorlagenLabel As String
Public sVorlagenBezeichnung As String
Public sVPfad As String
Public iDBErr As Integer
Public bDateStruct As Boolean
Public Const csTrenner = "-----------------------------"
Sub Start
SystemEinrichtung
If iAbbruchFlag = 1 Then
Exit Sub
End If
AktenAWMod.Aktenauswahl
End Sub
Sub StartAufgabenAuswahl
SystemEinrichtung
If iAbbruchFlag = 1 Then
Exit Sub
End If
HauptAWMod.HauptauswahlOhne
End Sub
Sub SystemEinrichtung
LibOMod.IsDateStruct
iAbbruchFlag = 0
iStart = 0
SysDatenMod1.ProgrammStart
End Sub
REM ** Das folgende Makro wird durch das Makro "HauptAWDia.Taskauswahl" ausgeloest, **
REM ** wenn "Programm beenden" ausgewaehlt wurde **
Sub Abbruch
Dim iAntwort As Integer
iAntwort = MsgBox ("Wollen Sie wirklich aufhören?", 4+32+256, "Nur noch eine Frage:")
If iAntwort = 7 Then
HauptAWMod.Hauptauswahl
Else
Ende
End If
End Sub
REM ** Dieses Makro beendet das Programm **
REM ** Es wird von den Makros Start.Abbruch und DBAnbindMod.Datenbankanbindung aufgerufen **
Sub Ende
FSMod.Umount
MsgBox ("Bitte OpenOffice.org beenden, da sonst evt. die Datenbankverbindung offen bleibt!", 48, "Im Interesse der Datensicherheit:")
End Sub
</script:module>
|