robust_excel_ole 0.2.1 → 0.2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. data/README.rdoc +130 -77
  2. data/examples/edit_sheets/example_print_cells.rb +43 -0
  3. data/examples/open_save_close/example_control_to_excel.rb +10 -6
  4. data/examples/open_save_close/example_if_obstructed_closeifsaved.rb +9 -6
  5. data/examples/open_save_close/example_if_obstructed_forget.rb +9 -6
  6. data/examples/open_save_close/example_if_obstructed_save.rb +7 -5
  7. data/examples/open_save_close/example_if_unsaved_accept.rb +6 -3
  8. data/examples/open_save_close/example_if_unsaved_forget.rb +7 -4
  9. data/examples/open_save_close/example_if_unsaved_forget_more.rb +38 -0
  10. data/examples/open_save_close/example_read_only.rb +8 -6
  11. data/examples/open_save_close/example_reuse.rb +7 -4
  12. data/examples/open_save_close/example_simple.rb +9 -5
  13. data/examples/save_sheets/example_save_sheets.rb +22 -14
  14. data/lib/robust_excel_ole.rb +1 -1
  15. data/lib/robust_excel_ole/book.rb +42 -55
  16. data/lib/robust_excel_ole/cell.rb +1 -1
  17. data/lib/robust_excel_ole/{excel_app.rb → excel.rb} +97 -89
  18. data/lib/robust_excel_ole/range.rb +1 -1
  19. data/lib/robust_excel_ole/robustexcelole.sublime-workspace +347 -347
  20. data/lib/robust_excel_ole/sheet.rb +1 -1
  21. data/lib/robust_excel_ole/version.rb +1 -1
  22. data/lib/spec_helper.rb +3 -3
  23. data/spec/book_spec.rb +53 -67
  24. data/spec/cell_spec.rb +10 -2
  25. data/spec/data/merge_cells.xls +0 -0
  26. data/spec/data/simple.xls +0 -0
  27. data/spec/{excel_app_spec.rb → excel_spec.rb} +52 -36
  28. data/spec/helpers/create_temporary_dir.rb +11 -0
  29. data/spec/helpers/key_sender.rb +1 -1
  30. data/spec/range_spec.rb +9 -1
  31. data/spec/sheet_spec.rb +11 -3
  32. data/spec/spec_helper.rb +3 -3
  33. metadata +9 -7
  34. data/examples/print_cells/example_print_cells.rb +0 -43
  35. data/robust_excel_ole_example.rb +0 -29
@@ -12,7 +12,7 @@ module RobustExcelOle
12
12
  end
13
13
  end
14
14
 
15
- def method_missing(id, *args)
15
+ def method_missing(id, *args) # :nodoc: #
16
16
  @cell.send(id, *args)
17
17
  end
18
18
  end
@@ -2,15 +2,96 @@
2
2
 
3
3
  module RobustExcelOle
4
4
 
5
- class ExcelApp
5
+ class Excel
6
6
 
7
7
  attr_writer :ole_app
8
8
 
9
9
  @@hwnd2app = {}
10
10
 
11
+ # closes all Excel applications
12
+ def self.close_all
13
+ while current_excel do
14
+ close_one_excel
15
+ GC.start
16
+ sleep 0.3
17
+ #free_all_ole_objects
18
+ end
19
+ end
20
+
21
+ # creates a new Excel application
22
+ def self.create
23
+ new(:reuse => false)
24
+ end
25
+
26
+ # uses the current Excel application (connects), if such a running Excel application exists
27
+ # creates a new one, otherwise
28
+ def self.current
29
+ new(:reuse => true)
30
+ end
31
+
32
+ # returns an Excel application
33
+ # options:
34
+ # :reuse use an already running Excel application (default: true)
35
+ # :displayalerts allow display alerts in Excel (default: false)
36
+ # :visible make visible in Excel (default: false)
37
+ def self.new(options= {})
38
+ options = {:reuse => true}.merge(options)
39
+
40
+ ole_app = nil
41
+ if options[:reuse] then
42
+ ole_app = options[:excel] ? options[:excel] : current_excel
43
+ if ole_app
44
+ ole_app.DisplayAlerts = options[:displayalerts] unless options[:displayalerts]==nil
45
+ ole_app.Visible = options[:visible] unless options[:visible]==nil
46
+ end
47
+ end
48
+
49
+ options = {
50
+ :displayalerts => false,
51
+ :visible => false,
52
+ }.merge(options)
53
+ unless ole_app
54
+ ole_app = WIN32OLE.new('Excel.application')
55
+ ole_app.DisplayAlerts = options[:displayalerts]
56
+ ole_app.Visible = options[:visible]
57
+ end
58
+
59
+ hwnd = ole_app.HWnd
60
+ stored = @@hwnd2app[hwnd]
61
+
62
+ if stored
63
+ result = stored
64
+ else
65
+ WIN32OLE.const_load(ole_app, RobustExcelOle) unless RobustExcelOle.const_defined?(:CONSTANTS)
66
+ result = super(options)
67
+ result.ole_app = ole_app
68
+ @@hwnd2app[hwnd] = result
69
+ end
70
+ result
71
+ end
72
+
73
+ def initialize(options= {}) # :nodoc:
74
+ end
75
+
76
+ # returns true, if the Excel applications are identical, false otherwise
77
+ def == other_excel
78
+ self.hwnd == other_excel.hwnd if other_excel.is_a?(Excel)
79
+ end
80
+
81
+ # returns true, if the Excel application is alive, false otherwise
82
+ def alive?
83
+ @ole_app.Name
84
+ true
85
+ rescue
86
+ puts $!.message
87
+ false
88
+ end
89
+
90
+ private
91
+
11
92
  # closes one Excel application
12
- def self.close_one_app
13
- excel = running_app
93
+ def self.close_one_excel # :nodoc: #
94
+ excel = current_excel
14
95
  if excel then
15
96
  excel.Workbooks.Close
16
97
  excel_hwnd = excel.HWnd
@@ -47,7 +128,7 @@ module RobustExcelOle
47
128
  end
48
129
 
49
130
  # frees all OLE objects in the object space
50
- def self.free_all_ole_objects
131
+ def self.free_all_ole_objects # :nodoc: #
51
132
  anz_objekte = 0
52
133
  ObjectSpace.each_object(WIN32OLE) do |o|
53
134
  anz_objekte += 1
@@ -68,18 +149,8 @@ module RobustExcelOle
68
149
  puts "went through #{anz_objekte} OLE objects"
69
150
  end
70
151
 
71
- # closes all Excel applications
72
- def self.close_all
73
- while running_app do
74
- close_one_app
75
- GC.start
76
- sleep 0.3
77
- #free_all_ole_objects
78
- end
79
- end
80
-
81
- # returns a running Excel application, if a working Excel appication exists, nil otherwise
82
- def self.running_app
152
+ # returns the current Excel application, if a running, working Excel appication exists, nil otherwise
153
+ def self.current_excel # :nodoc: #
83
154
  result = WIN32OLE.connect('Excel.Application') rescue nil
84
155
  if result
85
156
  begin
@@ -92,89 +163,26 @@ module RobustExcelOle
92
163
  result
93
164
  end
94
165
 
95
- # creates a new Excel application
96
- def self.create
97
- new(:reuse => false)
98
- end
99
-
100
- # uses a running Excel application (connects), if such an Excel application exists
101
- # creates a new one, otherwise
102
- def self.reuse
103
- new(:reuse => true)
104
- end
105
-
106
- # returns an Excel application
107
- # options:
108
- # :reuse use an already running Excel application (default: true)
109
- # :displayalerts allow display alerts in Excel (default: false)
110
- # :visible make visible in Excel (default: false)
111
- def self.new(options= {})
112
- options = {:reuse => true}.merge(options)
113
-
114
- ole_app = nil
115
- if options[:reuse] then
116
- ole_app = options[:excel_app] ? options[:excel_app] : running_app
117
- if ole_app
118
- ole_app.DisplayAlerts = options[:displayalerts] unless options[:displayalerts]==nil
119
- ole_app.Visible = options[:visible] unless options[:visible]==nil
120
- end
121
- end
122
-
123
- options = {
124
- :displayalerts => false,
125
- :visible => false,
126
- }.merge(options)
127
- unless ole_app
128
- ole_app = WIN32OLE.new('Excel.application')
129
- ole_app.DisplayAlerts = options[:displayalerts]
130
- ole_app.Visible = options[:visible]
131
- end
132
-
133
- hwnd = ole_app.HWnd
134
- stored = @@hwnd2app[hwnd]
135
-
136
- if stored
137
- result = stored
138
- else
139
- WIN32OLE.const_load(ole_app, RobustExcelOle) unless RobustExcelOle.const_defined?(:CONSTANTS)
140
- result = super(options)
141
- result.ole_app = ole_app
142
- @@hwnd2app[hwnd] = result
143
- end
144
- result
145
- end
146
-
147
-
148
- def initialize(options= {}) # :nodoc:
149
- end
150
-
151
-
152
- def hwnd_xxxx
166
+ def hwnd_xxxx # :nodoc: #
153
167
  self.HWnd #rescue Win32 nil
154
168
  end
155
169
 
156
- # returns true, if the Excel applications are identical, false otherwise
157
- def == other_app
158
- self.hwnd == other_app.hwnd if other_app.is_a?(ExcelApp)
159
- end
160
-
161
170
  # set this Excel application to nil
162
171
  def die # :nodoc:
163
172
  @ole_app = nil
164
173
  end
165
174
 
166
- # returns true, if the Excel application is alive, false otherwise
167
- def alive?
168
- @ole_app.Name
169
- true
170
- rescue
171
- puts $!.message
172
- false
173
- end
174
-
175
- def method_missing(name, *args)
175
+ def method_missing(name, *args) # :nodoc: #
176
176
  @ole_app.send(name, *args)
177
177
  end
178
178
 
179
179
  end
180
+
181
+ def absolute_path(file)
182
+ file = File.expand_path(file)
183
+ file = RobustExcelOle::Cygwin.cygpath('-w', file) if RUBY_PLATFORM =~ /cygwin/
184
+ WIN32OLE.new('Scripting.FileSystemObject').GetAbsolutePathName(file)
185
+ end
186
+ module_function :absolute_path
187
+
180
188
  end
@@ -31,7 +31,7 @@ module RobustExcelOle
31
31
  @cells[index + 1] ||= RobustExcelOle::Cell.new(@range.Cells.Item(index + 1))
32
32
  end
33
33
 
34
- def method_missing(id, *args)
34
+ def method_missing(id, *args) # :nodoc: #
35
35
  @range.send(id, *args)
36
36
  end
37
37
  end
@@ -1,347 +1,347 @@
1
- {
2
- "auto_complete":
3
- {
4
- "selected_items":
5
- [
6
- [
7
- "rub",
8
- "rubygems"
9
- ],
10
- [
11
- "module_",
12
- "module_eval"
13
- ],
14
- [
15
- "Schm",
16
- "SchmiebaSub_TempModule"
17
- ],
18
- [
19
- "schm",
20
- "SchmiebaMain_TempModule"
21
- ],
22
- [
23
- "req",
24
- "require"
25
- ],
26
- [
27
- "wrap",
28
- "wrap_in_module"
29
- ]
30
- ]
31
- },
32
- "buffers":
33
- [
34
- {
35
- "file": "book.rb",
36
- "settings":
37
- {
38
- "buffer_size": 2756,
39
- "line_ending": "Windows"
40
- }
41
- }
42
- ],
43
- "build_system": "",
44
- "command_palette":
45
- {
46
- "height": 196.0,
47
- "selected_items":
48
- [
49
- [
50
- "INST",
51
- "Package Control: Install Package"
52
- ],
53
- [
54
- "pack",
55
- "Package Control: Upgrade/Overwrite All Packages"
56
- ],
57
- [
58
- "upg",
59
- "Package Control: Upgrade/Overwrite All Packages"
60
- ],
61
- [
62
- "",
63
- "Package Control: Upgrade Package"
64
- ],
65
- [
66
- "ins",
67
- "Package Control: Install Package"
68
- ],
69
- [
70
- "pa",
71
- "Package Control: Install Package"
72
- ]
73
- ],
74
- "width": 386.0
75
- },
76
- "console":
77
- {
78
- "height": 126.0
79
- },
80
- "distraction_free":
81
- {
82
- "menu_visible": true,
83
- "show_minimap": false,
84
- "show_open_files": false,
85
- "show_tabs": false,
86
- "side_bar_visible": false,
87
- "status_bar_visible": false
88
- },
89
- "file_history":
90
- [
91
- "/C/Dokumente und Einstellungen/Zauberthomas/Eigene Dateien/robust_excel_ole/spec/book_spec.rb",
92
- "/C/Dokumente und Einstellungen/Zauberthomas/Eigene Dateien/robust_excel_ole/lib/robust_excel_ole.rb",
93
- "/C/Dokumente und Einstellungen/Zauberthomas/Eigene Dateien/robust_excel_ole/lib/robust_excel_ole/book.rb",
94
- "/C/Dokumente und Einstellungen/Zauberthomas/Eigene Dateien/ruby/einmaleins_test.rb",
95
- "/C/Dokumente und Einstellungen/Zauberthomas/Eigene Dateien/robust_excel_ole/spec/spec_helper.rb",
96
- "/C/Dokumente und Einstellungen/Zauberthomas/Eigene Dateien/aSrc/test/unit/wandler/wandler_hr5_test.rb",
97
- "/C/Dokumente und Einstellungen/Zauberthomas/Eigene Dateien/aSrc/test/unit/system_fkt/excel_zugriff/exlzug_ats_test.rb",
98
- "/C/Dokumente und Einstellungen/sound/Anwendungsdaten/Sublime Text 3/Packages/User/RubyTest.sublime-settings",
99
- "/C/Dokumente und Einstellungen/Zauberthomas/Eigene Dateien/aSrc/app/models/system_fkt/excel_zugriff/exlzug_basis.rb",
100
- "/C/Dokumente und Einstellungen/Zauberthomas/Eigene Dateien/ruby/einmaleins_v07.rb",
101
- "/C/Dokumente und Einstellungen/Zauberthomas/Eigene Dateien/aSrc/test/unit/dbf_boxes/v_objekte/rk_test.rb",
102
- "/C/Dokumente und Einstellungen/Zauberthomas/Eigene Dateien/aSrc/app/models/dbf_boxes/v_objekte/rk.rb",
103
- "/C/Dokumente und Einstellungen/Zauberthomas/Eigene Dateien/aSrc/test/schmiedebasis_test.rb",
104
- "/C/Dokumente und Einstellungen/Zauberthomas/Eigene Dateien/aSrc/app/controllers/gui_apollo/schmiedebasis.rb",
105
- "/C/Dokumente und Einstellungen/Zauberthomas/Eigene Dateien/aSrc/app/galaxy_script/g_script/galaxy_object.rb",
106
- "/C/Dokumente und Einstellungen/sound/Anwendungsdaten/Sublime Text 3/Packages/User/Preferences.sublime-settings",
107
- "/C/Dokumente und Einstellungen/sound/Anwendungsdaten/Sublime Text 3/Packages/Default/Preferences.sublime-settings",
108
- "/C/Dokumente und Einstellungen/sound/Anwendungsdaten/Sublime Text 3/Packages/RubyTest/RubyTest.sublime-settings",
109
- "/C/Dokumente und Einstellungen/sound/Anwendungsdaten/Sublime Text 3/Packages/User/Distraction Free.sublime-settings",
110
- "/C/Dokumente und Einstellungen/sound/Anwendungsdaten/Sublime Text 3/Packages/User/JSON.sublime-settings",
111
- "/I/gim/ats/TodoListe.txt",
112
- "/C/Dokumente und Einstellungen/sound/Anwendungsdaten/Sublime Text 3/Packages/User/RubyTest.last-run",
113
- "/I/gim/ats/aSrc/test/testbasis.rb",
114
- "/I/gim/ats/aSrc/test/fixture_generell.rb",
115
- "/C/ProgLang/Ruby-1.8.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb",
116
- "/I/gim/ats/aSrc/app/controllers/prozesse/diener.rb",
117
- "/C/Dokumente und Einstellungen/sound/Lokale Einstellungen/Temp/tar2rubyscript.d.3800.1/tsExpo/app/controllers/prozesse/diener.rb",
118
- "/I/gim/ats/aSrc/app/controllers/ats_konsole.rb",
119
- "/I/gim/ats/aSrc/test/controllers/prozesse/dienstherr_test.rb",
120
- "/I/gim/ats/aSrc/lib/controllers/prozesse/dienstherr.rb",
121
- "/I/gim/ats/aSrc/lib/schmiedebasis.rb",
122
- "/C/ProgLang/Ruby-1.8.6/lib/ruby/gems/1.8/gems/autotest-standalone-4.5.11/lib/autotest/notify.rb",
123
- "/C/Dokumente und Einstellungen/sound/Anwendungsdaten/Sublime Text 3/Installed Packages/RubyTest.sublime-package",
124
- "/I/gim/ats/aSrc/app/.loadpath",
125
- "/I/gim/ats/aSrc/app/iconv.rb",
126
- "/I/gim/ats/aSrc/app/init_x.rb",
127
- "/I/gim/ats/aSrc/app/schmiedebasis.rb",
128
- "/I/gim/ats/aSrc/app/temp_app.rb",
129
- "/I/gim/ats/aSrc/app/testhilfe.rb",
130
- "/I/gim/ats/aSrc/app/version.rb",
131
- "/I/gim/ats/aSrc/app/models/wandler/dbf2exl.rb",
132
- "/I/gim/ats/aSrc/app/models/wandler/excel_zuordnung.rb",
133
- "/I/gim/ats/aSrc/app/models/wandler/satz_split.rb",
134
- "/I/gim/ats/aSrc/app/models/wandler/wandler_allgemein.rb",
135
- "/I/gim/ats/aSrc/app/models/wandler/wandler_hr5.rb",
136
- "/I/gim/ats/aSrc/app/models/wandler/wandler_zu_excel.rb",
137
- "/I/gim/ats/aSrc/app/models/wandler/excel_zuordnung/zuord_hr5.rb",
138
- "/I/gim/ats/aSrc/app/models/wandler/excel_zuordnung/zuord_hr6.rb",
139
- "/I/gim/ats/aSrc/app/models/wandler/excel_zuordnung/zuord_ng1.rb",
140
- "/I/gim/ats/aSrc/app/models/system_fkt/speicherung/eintrag_persistenz.rb",
141
- "/I/gim/ats/aSrc/app/models/system_fkt/speicherung/haupt_konfig_hash.rb",
142
- "/I/gim/ats/aSrc/app/models/system_fkt/speicherung/inifile_hash.rb",
143
- "/I/gim/ats/aSrc/app/models/system_fkt/speicherung/konfig_option.rb",
144
- "/I/gim/ats/aSrc/app/models/system_fkt/speicherung/konfig_optionen.rb",
145
- "/I/gim/ats/aSrc/app/models/system_fkt/speicherung/konfig_opts.rb",
146
- "/I/gim/ats/aSrc/app/models/system_fkt/speicherung/ort_persistenz.rb",
147
- "/I/gim/ats/aSrc/app/models/system_fkt/speicherung/schmiedebasis.rb",
148
- "/I/gim/ats/aSrc/app/models/system_fkt/speicherung/vergleichs_ergebnis.rb",
149
- "/I/gim/ats/aSrc/app/models/system_fkt/excel_zugriff/exlzug_ats.rb",
150
- "/I/gim/ats/aSrc/app/models/system_fkt/excel_zugriff/exlzug_basis.rb",
151
- "/I/gim/ats/aSrc/app/models/system_fkt/excel_zugriff/exlzug_openclose.rb",
152
- "/I/gim/ats/aSrc/app/models/system_fkt/datei_aufraeumer.rb",
153
- "/I/gim/ats/aSrc/app/models/system_fkt/dbase_zugriff.rb",
154
- "/I/gim/ats/aSrc/app/models/system_fkt/excel_prozesse.rb",
155
- "/I/gim/ats/aSrc/app/models/system_fkt/excel_zugriff.rb",
156
- "/I/gim/ats/aSrc/app/models/system_fkt/protokollierer.rb",
157
- "/I/gim/ats/aSrc/app/models/system_fkt/schmiedebasis.rb",
158
- "/I/gim/ats/aSrc/app/models/system_fkt/speicherung.rb",
159
- "/I/gim/ats/aSrc/app/models/system_fkt/tasten_sender.rb",
160
- "/I/gim/ats/aSrc/app/models/dbf_boxes/v_objekt.rb",
161
- "/I/gim/ats/aSrc/app/models/dbf_boxes/v_objekte.rb",
162
- "/I/gim/ats/aSrc/app/models/dbf_boxes/v_objekte/va.rb",
163
- "/I/gim/ats/aSrc/app/models/dbf_boxes/v_objekte/vb.rb",
164
- "/I/gim/ats/aSrc/app/models/dbf_boxes/v_objekte/vd.rb",
165
- "/I/gim/ats/aSrc/app/models/dbf_boxes/v_objekte/vk.rb",
166
- "/I/gim/ats/aSrc/app/models/dbf_boxes/v_objekte/vt.rb",
167
- "/I/gim/ats/aSrc/app/models/dbf_boxes/v_objekte/rk.rb",
168
- "/I/gim/ats/aSrc/app/models/basis_logik/zeit.rb",
169
- "/I/gim/ats/aSrc/app/controllers/teste_tv2_a03.rb",
170
- "/I/gim/ats/aSrc/app/controllers/teste_tv2.rb",
171
- "/I/gim/ats/aSrc/app/controllers/schmiedebasis.rb",
172
- "/I/gim/ats/aSrc/app/controllers/orte_controller.rb",
173
- "/I/gim/ats/aSrc/app/controllers/mathstar_per_tasten.rb",
174
- "/I/gim/ats/aSrc/app/controllers/mathstar_per_dll.rb",
175
- "/I/gim/ats/aSrc/app/controllers/iterator.rb",
176
- "/I/gim/ats/aSrc/app/controllers/galaxy_script.rb",
177
- "/I/gim/ats/aSrc/app/controllers/dbf_vergleicher.rb",
178
- "/I/gim/ats/aSrc/app/controllers/controller.rb",
179
- "/I/gim/ats/aSrc/app/controllers/gui_apollo/gui_ap.rb",
180
- "/I/gim/ats/aSrc/app/controllers/gui_apollo/gui_basis_ap.rb",
181
- "/I/gim/ats/aSrc/app/controllers/gui_apollo/guikonfig_ap.rb",
182
- "/I/gim/ats/aSrc/app/controllers/gui_apollo/guivertr_ap.rb",
183
- "/I/gim/ats/aSrc/app/controllers/gui_apollo/schmiedebasis.rb",
184
- "/I/gim/ats/aSrc/app/controllers/prozesse/aufgaben.rb",
185
- "/I/gim/ats/aSrc/app/controllers/prozesse/dienstherr.rb",
186
- "/I/gim/ats/aSrc/app/controllers/prozesse/dienstkontakt.rb",
187
- "/I/gim/ats/aSrc/app/controllers/prozesse/schmiedebasis.rb",
188
- "/I/gim/ats/aSrc/app/controllers/teste_tv2_prober2.rb",
189
- "/C/ProgLang/Ruby-1.8.6/lib/ruby/gems/1.8/gems/wrap_in_module-0.1.0/lib/wrap_in_module.rb",
190
- "/I/gim/ats/aSrc/app/oldandnewlocation.rb",
191
- "/I/gim/ats/aSrc/app/models/dbf_boxes/monkeypatch_dbf_gem.rb",
192
- "/I/gim/ats/aSrc/test/schmiedebasis_test.rb",
193
- "/I/gim/ats/aSrc/test/unit/ort_haupt_test.rb",
194
- "/I/gim/ats/aSrc/app/models/ort_exlist.rb",
195
- "/I/gim/ats/aSrc/app/models/ort_haupt.rb",
196
- "/I/gim/ats/aSrc/app/models/orte.rb",
197
- "/I/gim/ats/aSrc/app/models/schmiedebasis.rb",
198
- "/I/gim/ats/aSrc/app/models/ort_excel.rb",
199
- "/I/gim/ats/aSrc/app/models/dbf_boxes.rb",
200
- "/I/gim/ats/aSrc/app/models/generali.rb",
201
- "/I/gim/ats/aSrc/init.rb",
202
- "/I/gim/ats/rakefile.rb"
203
- ],
204
- "find":
205
- {
206
- "height": 27.0
207
- },
208
- "find_in_files":
209
- {
210
- "height": 0.0,
211
- "where_history":
212
- [
213
- "C:\\D,C:\\Dokumente und Einstellungen\\Zauberthomas\\Eigene Dateien\\aSrc\\app"
214
- ]
215
- },
216
- "find_state":
217
- {
218
- "case_sensitive": false,
219
- "find_history":
220
- [
221
- "&",
222
- "&:",
223
- "ExcelApplicationHelfer",
224
- "flex",
225
- "flexm",
226
- "SchmiebaSub_TempModule",
227
- "SchmiebaMain_TempModule"
228
- ],
229
- "highlight": true,
230
- "in_selection": false,
231
- "preserve_case": false,
232
- "regex": false,
233
- "replace_history":
234
- [
235
- "SB_Sub_TempModule",
236
- "SB_Main_TempModule"
237
- ],
238
- "reverse": false,
239
- "show_context": true,
240
- "use_buffer2": true,
241
- "whole_word": false,
242
- "wrap": true
243
- },
244
- "groups":
245
- [
246
- {
247
- "selected": 0,
248
- "sheets":
249
- [
250
- {
251
- "buffer": 0,
252
- "file": "book.rb",
253
- "settings":
254
- {
255
- "buffer_size": 2756,
256
- "regions":
257
- {
258
- },
259
- "selection":
260
- [
261
- [
262
- 0,
263
- 0
264
- ]
265
- ],
266
- "settings":
267
- {
268
- "syntax": "Packages/Ruby/Ruby.tmLanguage",
269
- "tab_size": 2,
270
- "translate_tabs_to_spaces": true
271
- },
272
- "translation.x": 0.0,
273
- "translation.y": 0.0,
274
- "zoom_level": 1.0
275
- },
276
- "type": "text"
277
- }
278
- ]
279
- }
280
- ],
281
- "incremental_find":
282
- {
283
- "height": 27.0
284
- },
285
- "input":
286
- {
287
- "height": 37.0
288
- },
289
- "layout":
290
- {
291
- "cells":
292
- [
293
- [
294
- 0,
295
- 0,
296
- 1,
297
- 1
298
- ]
299
- ],
300
- "cols":
301
- [
302
- 0.0,
303
- 1.0
304
- ],
305
- "rows":
306
- [
307
- 0.0,
308
- 1.0
309
- ]
310
- },
311
- "menu_visible": true,
312
- "output.exec":
313
- {
314
- "height": 301.0
315
- },
316
- "output.find_results":
317
- {
318
- "height": 0.0
319
- },
320
- "replace":
321
- {
322
- "height": 50.0
323
- },
324
- "save_all_on_build": true,
325
- "select_file":
326
- {
327
- "height": 0.0,
328
- "selected_items":
329
- [
330
- ],
331
- "width": 0.0
332
- },
333
- "select_project":
334
- {
335
- "height": 0.0,
336
- "selected_items":
337
- [
338
- ],
339
- "width": 0.0
340
- },
341
- "show_minimap": true,
342
- "show_open_files": false,
343
- "show_tabs": true,
344
- "side_bar_visible": true,
345
- "side_bar_width": 132.0,
346
- "status_bar_visible": true
347
- }
1
+ {
2
+ "auto_complete":
3
+ {
4
+ "selected_items":
5
+ [
6
+ [
7
+ "rub",
8
+ "rubygems"
9
+ ],
10
+ [
11
+ "module_",
12
+ "module_eval"
13
+ ],
14
+ [
15
+ "Schm",
16
+ "SchmiebaSub_TempModule"
17
+ ],
18
+ [
19
+ "schm",
20
+ "SchmiebaMain_TempModule"
21
+ ],
22
+ [
23
+ "req",
24
+ "require"
25
+ ],
26
+ [
27
+ "wrap",
28
+ "wrap_in_module"
29
+ ]
30
+ ]
31
+ },
32
+ "buffers":
33
+ [
34
+ {
35
+ "file": "book.rb",
36
+ "settings":
37
+ {
38
+ "buffer_size": 2756,
39
+ "line_ending": "Windows"
40
+ }
41
+ }
42
+ ],
43
+ "build_system": "",
44
+ "command_palette":
45
+ {
46
+ "height": 196.0,
47
+ "selected_items":
48
+ [
49
+ [
50
+ "INST",
51
+ "Package Control: Install Package"
52
+ ],
53
+ [
54
+ "pack",
55
+ "Package Control: Upgrade/Overwrite All Packages"
56
+ ],
57
+ [
58
+ "upg",
59
+ "Package Control: Upgrade/Overwrite All Packages"
60
+ ],
61
+ [
62
+ "",
63
+ "Package Control: Upgrade Package"
64
+ ],
65
+ [
66
+ "ins",
67
+ "Package Control: Install Package"
68
+ ],
69
+ [
70
+ "pa",
71
+ "Package Control: Install Package"
72
+ ]
73
+ ],
74
+ "width": 386.0
75
+ },
76
+ "console":
77
+ {
78
+ "height": 126.0
79
+ },
80
+ "distraction_free":
81
+ {
82
+ "menu_visible": true,
83
+ "show_minimap": false,
84
+ "show_open_files": false,
85
+ "show_tabs": false,
86
+ "side_bar_visible": false,
87
+ "status_bar_visible": false
88
+ },
89
+ "file_history":
90
+ [
91
+ "/C/Dokumente und Einstellungen/Zauberthomas/Eigene Dateien/robust_excel_ole/spec/book_spec.rb",
92
+ "/C/Dokumente und Einstellungen/Zauberthomas/Eigene Dateien/robust_excel_ole/lib/robust_excel_ole.rb",
93
+ "/C/Dokumente und Einstellungen/Zauberthomas/Eigene Dateien/robust_excel_ole/lib/robust_excel_ole/book.rb",
94
+ "/C/Dokumente und Einstellungen/Zauberthomas/Eigene Dateien/ruby/einmaleins_test.rb",
95
+ "/C/Dokumente und Einstellungen/Zauberthomas/Eigene Dateien/robust_excel_ole/spec/spec_helper.rb",
96
+ "/C/Dokumente und Einstellungen/Zauberthomas/Eigene Dateien/aSrc/test/unit/wandler/wandler_hr5_test.rb",
97
+ "/C/Dokumente und Einstellungen/Zauberthomas/Eigene Dateien/aSrc/test/unit/system_fkt/excel_zugriff/exlzug_ats_test.rb",
98
+ "/C/Dokumente und Einstellungen/sound/Anwendungsdaten/Sublime Text 3/Packages/User/RubyTest.sublime-settings",
99
+ "/C/Dokumente und Einstellungen/Zauberthomas/Eigene Dateien/aSrc/app/models/system_fkt/excel_zugriff/exlzug_basis.rb",
100
+ "/C/Dokumente und Einstellungen/Zauberthomas/Eigene Dateien/ruby/einmaleins_v07.rb",
101
+ "/C/Dokumente und Einstellungen/Zauberthomas/Eigene Dateien/aSrc/test/unit/dbf_boxes/v_objekte/rk_test.rb",
102
+ "/C/Dokumente und Einstellungen/Zauberthomas/Eigene Dateien/aSrc/app/models/dbf_boxes/v_objekte/rk.rb",
103
+ "/C/Dokumente und Einstellungen/Zauberthomas/Eigene Dateien/aSrc/test/schmiedebasis_test.rb",
104
+ "/C/Dokumente und Einstellungen/Zauberthomas/Eigene Dateien/aSrc/app/controllers/gui_apollo/schmiedebasis.rb",
105
+ "/C/Dokumente und Einstellungen/Zauberthomas/Eigene Dateien/aSrc/app/galaxy_script/g_script/galaxy_object.rb",
106
+ "/C/Dokumente und Einstellungen/sound/Anwendungsdaten/Sublime Text 3/Packages/User/Preferences.sublime-settings",
107
+ "/C/Dokumente und Einstellungen/sound/Anwendungsdaten/Sublime Text 3/Packages/Default/Preferences.sublime-settings",
108
+ "/C/Dokumente und Einstellungen/sound/Anwendungsdaten/Sublime Text 3/Packages/RubyTest/RubyTest.sublime-settings",
109
+ "/C/Dokumente und Einstellungen/sound/Anwendungsdaten/Sublime Text 3/Packages/User/Distraction Free.sublime-settings",
110
+ "/C/Dokumente und Einstellungen/sound/Anwendungsdaten/Sublime Text 3/Packages/User/JSON.sublime-settings",
111
+ "/I/gim/ats/TodoListe.txt",
112
+ "/C/Dokumente und Einstellungen/sound/Anwendungsdaten/Sublime Text 3/Packages/User/RubyTest.last-run",
113
+ "/I/gim/ats/aSrc/test/testbasis.rb",
114
+ "/I/gim/ats/aSrc/test/fixture_generell.rb",
115
+ "/C/ProgLang/Ruby-1.8.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb",
116
+ "/I/gim/ats/aSrc/app/controllers/prozesse/diener.rb",
117
+ "/C/Dokumente und Einstellungen/sound/Lokale Einstellungen/Temp/tar2rubyscript.d.3800.1/tsExpo/app/controllers/prozesse/diener.rb",
118
+ "/I/gim/ats/aSrc/app/controllers/ats_konsole.rb",
119
+ "/I/gim/ats/aSrc/test/controllers/prozesse/dienstherr_test.rb",
120
+ "/I/gim/ats/aSrc/lib/controllers/prozesse/dienstherr.rb",
121
+ "/I/gim/ats/aSrc/lib/schmiedebasis.rb",
122
+ "/C/ProgLang/Ruby-1.8.6/lib/ruby/gems/1.8/gems/autotest-standalone-4.5.11/lib/autotest/notify.rb",
123
+ "/C/Dokumente und Einstellungen/sound/Anwendungsdaten/Sublime Text 3/Installed Packages/RubyTest.sublime-package",
124
+ "/I/gim/ats/aSrc/app/.loadpath",
125
+ "/I/gim/ats/aSrc/app/iconv.rb",
126
+ "/I/gim/ats/aSrc/app/init_x.rb",
127
+ "/I/gim/ats/aSrc/app/schmiedebasis.rb",
128
+ "/I/gim/ats/aSrc/app/temp_app.rb",
129
+ "/I/gim/ats/aSrc/app/testhilfe.rb",
130
+ "/I/gim/ats/aSrc/app/version.rb",
131
+ "/I/gim/ats/aSrc/app/models/wandler/dbf2exl.rb",
132
+ "/I/gim/ats/aSrc/app/models/wandler/excel_zuordnung.rb",
133
+ "/I/gim/ats/aSrc/app/models/wandler/satz_split.rb",
134
+ "/I/gim/ats/aSrc/app/models/wandler/wandler_allgemein.rb",
135
+ "/I/gim/ats/aSrc/app/models/wandler/wandler_hr5.rb",
136
+ "/I/gim/ats/aSrc/app/models/wandler/wandler_zu_excel.rb",
137
+ "/I/gim/ats/aSrc/app/models/wandler/excel_zuordnung/zuord_hr5.rb",
138
+ "/I/gim/ats/aSrc/app/models/wandler/excel_zuordnung/zuord_hr6.rb",
139
+ "/I/gim/ats/aSrc/app/models/wandler/excel_zuordnung/zuord_ng1.rb",
140
+ "/I/gim/ats/aSrc/app/models/system_fkt/speicherung/eintrag_persistenz.rb",
141
+ "/I/gim/ats/aSrc/app/models/system_fkt/speicherung/haupt_konfig_hash.rb",
142
+ "/I/gim/ats/aSrc/app/models/system_fkt/speicherung/inifile_hash.rb",
143
+ "/I/gim/ats/aSrc/app/models/system_fkt/speicherung/konfig_option.rb",
144
+ "/I/gim/ats/aSrc/app/models/system_fkt/speicherung/konfig_optionen.rb",
145
+ "/I/gim/ats/aSrc/app/models/system_fkt/speicherung/konfig_opts.rb",
146
+ "/I/gim/ats/aSrc/app/models/system_fkt/speicherung/ort_persistenz.rb",
147
+ "/I/gim/ats/aSrc/app/models/system_fkt/speicherung/schmiedebasis.rb",
148
+ "/I/gim/ats/aSrc/app/models/system_fkt/speicherung/vergleichs_ergebnis.rb",
149
+ "/I/gim/ats/aSrc/app/models/system_fkt/excel_zugriff/exlzug_ats.rb",
150
+ "/I/gim/ats/aSrc/app/models/system_fkt/excel_zugriff/exlzug_basis.rb",
151
+ "/I/gim/ats/aSrc/app/models/system_fkt/excel_zugriff/exlzug_openclose.rb",
152
+ "/I/gim/ats/aSrc/app/models/system_fkt/datei_aufraeumer.rb",
153
+ "/I/gim/ats/aSrc/app/models/system_fkt/dbase_zugriff.rb",
154
+ "/I/gim/ats/aSrc/app/models/system_fkt/excel_prozesse.rb",
155
+ "/I/gim/ats/aSrc/app/models/system_fkt/excel_zugriff.rb",
156
+ "/I/gim/ats/aSrc/app/models/system_fkt/protokollierer.rb",
157
+ "/I/gim/ats/aSrc/app/models/system_fkt/schmiedebasis.rb",
158
+ "/I/gim/ats/aSrc/app/models/system_fkt/speicherung.rb",
159
+ "/I/gim/ats/aSrc/app/models/system_fkt/tasten_sender.rb",
160
+ "/I/gim/ats/aSrc/app/models/dbf_boxes/v_objekt.rb",
161
+ "/I/gim/ats/aSrc/app/models/dbf_boxes/v_objekte.rb",
162
+ "/I/gim/ats/aSrc/app/models/dbf_boxes/v_objekte/va.rb",
163
+ "/I/gim/ats/aSrc/app/models/dbf_boxes/v_objekte/vb.rb",
164
+ "/I/gim/ats/aSrc/app/models/dbf_boxes/v_objekte/vd.rb",
165
+ "/I/gim/ats/aSrc/app/models/dbf_boxes/v_objekte/vk.rb",
166
+ "/I/gim/ats/aSrc/app/models/dbf_boxes/v_objekte/vt.rb",
167
+ "/I/gim/ats/aSrc/app/models/dbf_boxes/v_objekte/rk.rb",
168
+ "/I/gim/ats/aSrc/app/models/basis_logik/zeit.rb",
169
+ "/I/gim/ats/aSrc/app/controllers/teste_tv2_a03.rb",
170
+ "/I/gim/ats/aSrc/app/controllers/teste_tv2.rb",
171
+ "/I/gim/ats/aSrc/app/controllers/schmiedebasis.rb",
172
+ "/I/gim/ats/aSrc/app/controllers/orte_controller.rb",
173
+ "/I/gim/ats/aSrc/app/controllers/mathstar_per_tasten.rb",
174
+ "/I/gim/ats/aSrc/app/controllers/mathstar_per_dll.rb",
175
+ "/I/gim/ats/aSrc/app/controllers/iterator.rb",
176
+ "/I/gim/ats/aSrc/app/controllers/galaxy_script.rb",
177
+ "/I/gim/ats/aSrc/app/controllers/dbf_vergleicher.rb",
178
+ "/I/gim/ats/aSrc/app/controllers/controller.rb",
179
+ "/I/gim/ats/aSrc/app/controllers/gui_apollo/gui_ap.rb",
180
+ "/I/gim/ats/aSrc/app/controllers/gui_apollo/gui_basis_ap.rb",
181
+ "/I/gim/ats/aSrc/app/controllers/gui_apollo/guikonfig_ap.rb",
182
+ "/I/gim/ats/aSrc/app/controllers/gui_apollo/guivertr_ap.rb",
183
+ "/I/gim/ats/aSrc/app/controllers/gui_apollo/schmiedebasis.rb",
184
+ "/I/gim/ats/aSrc/app/controllers/prozesse/aufgaben.rb",
185
+ "/I/gim/ats/aSrc/app/controllers/prozesse/dienstherr.rb",
186
+ "/I/gim/ats/aSrc/app/controllers/prozesse/dienstkontakt.rb",
187
+ "/I/gim/ats/aSrc/app/controllers/prozesse/schmiedebasis.rb",
188
+ "/I/gim/ats/aSrc/app/controllers/teste_tv2_prober2.rb",
189
+ "/C/ProgLang/Ruby-1.8.6/lib/ruby/gems/1.8/gems/wrap_in_module-0.1.0/lib/wrap_in_module.rb",
190
+ "/I/gim/ats/aSrc/app/oldandnewlocation.rb",
191
+ "/I/gim/ats/aSrc/app/models/dbf_boxes/monkeypatch_dbf_gem.rb",
192
+ "/I/gim/ats/aSrc/test/schmiedebasis_test.rb",
193
+ "/I/gim/ats/aSrc/test/unit/ort_haupt_test.rb",
194
+ "/I/gim/ats/aSrc/app/models/ort_exlist.rb",
195
+ "/I/gim/ats/aSrc/app/models/ort_haupt.rb",
196
+ "/I/gim/ats/aSrc/app/models/orte.rb",
197
+ "/I/gim/ats/aSrc/app/models/schmiedebasis.rb",
198
+ "/I/gim/ats/aSrc/app/models/ort_excel.rb",
199
+ "/I/gim/ats/aSrc/app/models/dbf_boxes.rb",
200
+ "/I/gim/ats/aSrc/app/models/generali.rb",
201
+ "/I/gim/ats/aSrc/init.rb",
202
+ "/I/gim/ats/rakefile.rb"
203
+ ],
204
+ "find":
205
+ {
206
+ "height": 27.0
207
+ },
208
+ "find_in_files":
209
+ {
210
+ "height": 0.0,
211
+ "where_history":
212
+ [
213
+ "C:\\D,C:\\Dokumente und Einstellungen\\Zauberthomas\\Eigene Dateien\\aSrc\\app"
214
+ ]
215
+ },
216
+ "find_state":
217
+ {
218
+ "case_sensitive": false,
219
+ "find_history":
220
+ [
221
+ "&",
222
+ "&:",
223
+ "ExcelApplicationHelfer",
224
+ "flex",
225
+ "flexm",
226
+ "SchmiebaSub_TempModule",
227
+ "SchmiebaMain_TempModule"
228
+ ],
229
+ "highlight": true,
230
+ "in_selection": false,
231
+ "preserve_case": false,
232
+ "regex": false,
233
+ "replace_history":
234
+ [
235
+ "SB_Sub_TempModule",
236
+ "SB_Main_TempModule"
237
+ ],
238
+ "reverse": false,
239
+ "show_context": true,
240
+ "use_buffer2": true,
241
+ "whole_word": false,
242
+ "wrap": true
243
+ },
244
+ "groups":
245
+ [
246
+ {
247
+ "selected": 0,
248
+ "sheets":
249
+ [
250
+ {
251
+ "buffer": 0,
252
+ "file": "book.rb",
253
+ "settings":
254
+ {
255
+ "buffer_size": 2756,
256
+ "regions":
257
+ {
258
+ },
259
+ "selection":
260
+ [
261
+ [
262
+ 0,
263
+ 0
264
+ ]
265
+ ],
266
+ "settings":
267
+ {
268
+ "syntax": "Packages/Ruby/Ruby.tmLanguage",
269
+ "tab_size": 2,
270
+ "translate_tabs_to_spaces": true
271
+ },
272
+ "translation.x": 0.0,
273
+ "translation.y": 0.0,
274
+ "zoom_level": 1.0
275
+ },
276
+ "type": "text"
277
+ }
278
+ ]
279
+ }
280
+ ],
281
+ "incremental_find":
282
+ {
283
+ "height": 27.0
284
+ },
285
+ "input":
286
+ {
287
+ "height": 37.0
288
+ },
289
+ "layout":
290
+ {
291
+ "cells":
292
+ [
293
+ [
294
+ 0,
295
+ 0,
296
+ 1,
297
+ 1
298
+ ]
299
+ ],
300
+ "cols":
301
+ [
302
+ 0.0,
303
+ 1.0
304
+ ],
305
+ "rows":
306
+ [
307
+ 0.0,
308
+ 1.0
309
+ ]
310
+ },
311
+ "menu_visible": true,
312
+ "output.exec":
313
+ {
314
+ "height": 301.0
315
+ },
316
+ "output.find_results":
317
+ {
318
+ "height": 0.0
319
+ },
320
+ "replace":
321
+ {
322
+ "height": 50.0
323
+ },
324
+ "save_all_on_build": true,
325
+ "select_file":
326
+ {
327
+ "height": 0.0,
328
+ "selected_items":
329
+ [
330
+ ],
331
+ "width": 0.0
332
+ },
333
+ "select_project":
334
+ {
335
+ "height": 0.0,
336
+ "selected_items":
337
+ [
338
+ ],
339
+ "width": 0.0
340
+ },
341
+ "show_minimap": true,
342
+ "show_open_files": false,
343
+ "show_tabs": true,
344
+ "side_bar_visible": true,
345
+ "side_bar_width": 132.0,
346
+ "status_bar_visible": true
347
+ }