ooxml_parser 0.16.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0237d3a93d29a2948634cd1e3f4c9c414347ee39176aad7d3c7e75e55b2a8314
|
4
|
+
data.tar.gz: e423b10a5309aac333a95be460b863cc2cbea1449b866817dafbe427c092bf34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22783602daacb4933c941023d39757fd4dddef2adc64dcd58e6ef70ad6141b764b300e65745b50691cf138e2b212ccbd8ed542d0cbbe8b62dc0cc905d47760ed
|
7
|
+
data.tar.gz: 4a1843d681f5253234eeb4bf33c240db9ea46f2ab43f219a0a391297475a4f1716ba4b7915599bcb06ad41605071190e4788f6516ce43983c5d3f0846ea78dc8
|
data/lib/ooxml_parser/version.rb
CHANGED
@@ -25,6 +25,10 @@ module OoxmlParser
|
|
25
25
|
attr_reader :percent
|
26
26
|
# @return [Integer] Number of items in top/bottom rule
|
27
27
|
attr_reader :rank
|
28
|
+
# @return [Boolean] Specifies whether rule highlights values above average
|
29
|
+
attr_reader :above_average
|
30
|
+
# @return [Boolean] Specifies whether rule highlights values equal to average
|
31
|
+
attr_reader :equal_average
|
28
32
|
# @return [Integer] Number of standard deviations in above/below average rule
|
29
33
|
attr_reader :standard_deviation
|
30
34
|
# @return [String] Text value in text rule
|
@@ -43,6 +47,7 @@ module OoxmlParser
|
|
43
47
|
attr_reader :icon_set
|
44
48
|
|
45
49
|
def initialize(parent: nil)
|
50
|
+
@above_average = true
|
46
51
|
@formulas = []
|
47
52
|
super
|
48
53
|
end
|
@@ -71,6 +76,10 @@ module OoxmlParser
|
|
71
76
|
@percent = attribute_enabled?(value)
|
72
77
|
when 'rank'
|
73
78
|
@rank = value.value.to_i
|
79
|
+
when 'aboveAverage'
|
80
|
+
@above_average = attribute_enabled?(value)
|
81
|
+
when 'equalAverage'
|
82
|
+
@equal_average = attribute_enabled?(value)
|
74
83
|
when 'stdDev'
|
75
84
|
@standard_deviation = value.value.to_i
|
76
85
|
when 'text'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ooxml_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ONLYOFFICE
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-09-
|
13
|
+
date: 2021-09-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: nokogiri
|