robust_excel_ole 1.18.8 → 1.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +19 -22
- data/docs/README_ranges.rdoc +1 -1
- data/docs/README_sheet.rdoc +2 -1
- data/lib/robust_excel_ole/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5ff7771ae8a35d2cf47dce37e92a9d4d720148faa91eb37dc2342b1239f7d0a
|
4
|
+
data.tar.gz: 4d50eb99f297d38a60845eca2550a36ae2734694b538c52eb23052a9e9db0077
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ccd9358b7d0ca576c8120e249c7af4122c4040f51357efc339536f93cde6d8a6b9a2bb32071382f5c5d8ddc3f084920831eda36df0c1a8ed9698972cea9d516
|
7
|
+
data.tar.gz: f1b813c71610b01d3bfd7e70245a52b02522910b2d0cbd6a9742825c06a131f47bc7f9310c59749b0caf881fef6d8a8bc64336f709ba2104a4f78bff844a44b6
|
data/README.rdoc
CHANGED
@@ -14,23 +14,26 @@ Library references are supported.
|
|
14
14
|
RobustExcelOle works by sending VBA methods via Win32OLE.
|
15
15
|
Therefore, it runs on Windows only.
|
16
16
|
|
17
|
-
==
|
17
|
+
== Features
|
18
|
+
|
19
|
+
RobustExcelOle supports
|
18
20
|
|
19
21
|
- opening and processing workbooks across various Excel instances
|
20
|
-
- reading
|
21
|
-
-
|
22
|
-
-
|
23
|
-
- dealing with
|
24
|
-
even with simultanously happening user interactions
|
22
|
+
- standard tasks like opening, reading, writing, saving, closing workbooks
|
23
|
+
- dealing with various cases of Excel and user behaviour
|
24
|
+
- managing conflicts when opening workbooks (e.g. blocking or unsaved workbooks)
|
25
|
+
- dealing with simultanously happening user interactions
|
25
26
|
- workarounds for Excel bugs and JRuby bugs
|
26
|
-
-
|
27
|
-
-
|
28
|
-
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
27
|
+
- availability of all VBA methods
|
28
|
+
- availability of Excel constants (in form if Ruby constants: Excel constant.capitalize)
|
29
|
+
- standard Excel file formats (.xlsx, .xls, .xlsm)
|
30
|
+
- reopening workbooks after closing them
|
31
|
+
- unobtrusively opening workbooks, i.e. opening and processing workbooks
|
32
|
+
while preserving their status, e.g. saved status
|
33
|
+
- reading and writing workbooks, worksheets, cells, ranges, rows, columns
|
34
|
+
- naming, adding, and copying ranges and worksheets
|
35
|
+
- references to other Excel libraries
|
36
|
+
- console for interactive mode
|
34
37
|
|
35
38
|
== Requirements
|
36
39
|
|
@@ -53,17 +56,11 @@ RobustExcelOle can be used either for scripts
|
|
53
56
|
require 'robust_excel_ole'
|
54
57
|
include RobustExcelOle
|
55
58
|
|
56
|
-
or as a console.
|
57
|
-
|
58
|
-
gem env
|
59
|
-
|
60
|
-
and go into the path of the gem 'robust_excel_ole'. There you start the console via the command
|
59
|
+
or as a console. You can start the console via the command
|
61
60
|
|
62
61
|
reo
|
63
62
|
|
64
|
-
|
65
|
-
|
66
|
-
The call of the console will include RobustExcelOle for you.
|
63
|
+
You can use the command +jreo+ if you want to start the console under jruby and if you don't want to use a version manager to switch between ruby and jruby. The call of the console will include RobustExcelOle for you.
|
67
64
|
|
68
65
|
The following examples can be used for both scripts and console. If you have started the console in the gem path, you can just put these examples.
|
69
66
|
|
data/docs/README_ranges.rdoc
CHANGED
data/docs/README_sheet.rdoc
CHANGED
@@ -124,7 +124,8 @@ Within a row or column range you can access a certain cell.
|
|
124
124
|
|
125
125
|
=== Deleting and inserting rows and columns
|
126
126
|
|
127
|
-
|
127
|
+
For the following standard tasks no RobustExcelOle commands are provided, but VBA methods can be used.
|
128
|
+
Here are some examples:
|
128
129
|
|
129
130
|
row1 = worksheet.row_range(1)
|
130
131
|
row1.Delete
|