ooxml_parser 0.34.1 → 0.34.2
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: eb6ab2462b53e26803ec7441c3f9b4a5217003952535f1f8578824d310c3aa78
|
4
|
+
data.tar.gz: 90610d1f3650f86f70f096060f3a5b20a2b54de950c36bc4cd7ef42bcc55ca77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f71b9fd4e5156a6dd60335587a1164cddf107f2e99bdfbd413acaa59e1b55ed696ab63944254ad283860547710fe6a8346f56161fe503c61197388d11d7cff7b
|
7
|
+
data.tar.gz: 263fb808264d65c0ff6dfee7e8d1d3f88f9fe7f49233ac426a8447abbc57902d9fbe73ca29816b1e1e297cdd34e738449535a46fb4a63bfdbb2e32e0396de87e
|
@@ -34,7 +34,7 @@ module OoxmlParser
|
|
34
34
|
.paragraph_properties_default
|
35
35
|
.raw_node, 0)
|
36
36
|
end
|
37
|
-
if @styles&.document_defaults&.run_properties_default
|
37
|
+
if @styles&.document_defaults&.run_properties_default&.run_properties
|
38
38
|
DocumentStructure.default_run_style = DocxParagraphRun.new(parent: self)
|
39
39
|
.parse_properties(@styles
|
40
40
|
.document_defaults
|
@@ -243,7 +243,10 @@ module OoxmlParser
|
|
243
243
|
def ind
|
244
244
|
return @ind if @ind != Indents.new
|
245
245
|
|
246
|
-
root_object.styles&.default_style(:paragraph)&.paragraph_properties&.indent
|
246
|
+
indents_from_styles = root_object.styles&.default_style(:paragraph)&.paragraph_properties&.indent
|
247
|
+
return indents_from_styles if indents_from_styles
|
248
|
+
|
249
|
+
Indents.new
|
247
250
|
end
|
248
251
|
|
249
252
|
# Fill data from styles
|
data/lib/ooxml_parser/version.rb
CHANGED
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.34.
|
4
|
+
version: 0.34.2
|
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: 2022-11-
|
13
|
+
date: 2022-11-30 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: nokogiri
|
@@ -625,7 +625,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
625
625
|
- !ruby/object:Gem::Version
|
626
626
|
version: '0'
|
627
627
|
requirements: []
|
628
|
-
rubygems_version: 3.3.
|
628
|
+
rubygems_version: 3.3.26
|
629
629
|
signing_key:
|
630
630
|
specification_version: 4
|
631
631
|
summary: OoxmlParser Gem
|