htmltoooxml 0.2.1 → 0.3.0
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.
- checksums.yaml +4 -4
- data/htmltoooxml.gemspec +1 -0
- data/lib/htmltoooxml/version.rb +1 -1
- data/lib/htmltoooxml/xslt/base.xslt +30 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: acfa3631426a13892d2df214b915f98e2374bdde
|
4
|
+
data.tar.gz: b6fd8aaf0cab8e298818983fa4aeb5161ecf1d89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a7c51253206bbd68871445927ff36dd33a61c2547fa10a39bf984ec9e430eed4b5d1234c1d92c9cb33fe2ad19ebe446c82627c5aedc3ec60cbb7b14dd39622e
|
7
|
+
data.tar.gz: 6a2caced784070a5ad576ac2885b328330b0fc8521a37a4578358c2a96513efe97f17522fb0c6f87323043b647c6e3989860873c4a4a0c6f4b02c9e403ff6874
|
data/htmltoooxml.gemspec
CHANGED
data/lib/htmltoooxml/version.rb
CHANGED
@@ -121,6 +121,15 @@
|
|
121
121
|
<xsl:for-each select="node()">
|
122
122
|
<xsl:choose>
|
123
123
|
<xsl:when test="self::br">
|
124
|
+
<p:txBody>
|
125
|
+
<a:bodyPr/>
|
126
|
+
<a:lstStyle/>
|
127
|
+
<a:p>
|
128
|
+
<a:pPr/>
|
129
|
+
<a:r><a:t><xsl:value-of select="."/></a:t></a:r>
|
130
|
+
</a:p>
|
131
|
+
</p:txBody>
|
132
|
+
<!--
|
124
133
|
<a:p>
|
125
134
|
<a:pPr>
|
126
135
|
<a:pStyle a:val="ListParagraph"></a:pStyle>
|
@@ -131,6 +140,7 @@
|
|
131
140
|
</a:pPr>
|
132
141
|
<a:r></a:r>
|
133
142
|
</a:p>
|
143
|
+
//-->
|
134
144
|
</xsl:when>
|
135
145
|
<xsl:when test="self::ol|self::ul">
|
136
146
|
<xsl:apply-templates>
|
@@ -141,6 +151,15 @@
|
|
141
151
|
<xsl:variable name="ilvl" select="count(ancestor::ol) + count(ancestor::ul) - 1"></xsl:variable>
|
142
152
|
<xsl:choose>
|
143
153
|
<xsl:when test="$preceding-siblings + count(preceding-sibling::*) > 0">
|
154
|
+
<p:txBody>
|
155
|
+
<a:bodyPr/>
|
156
|
+
<a:lstStyle/>
|
157
|
+
<a:p>
|
158
|
+
<a:pPr/>
|
159
|
+
<xsl:apply-templates/>
|
160
|
+
</a:p>
|
161
|
+
</p:txBody>
|
162
|
+
<!--
|
144
163
|
<a:p>
|
145
164
|
<a:pPr>
|
146
165
|
<a:pStyle a:val="ListParagraph"></a:pStyle>
|
@@ -152,8 +171,18 @@
|
|
152
171
|
</a:pPr>
|
153
172
|
<xsl:apply-templates/>
|
154
173
|
</a:p>
|
174
|
+
//-->
|
155
175
|
</xsl:when>
|
156
176
|
<xsl:otherwise>
|
177
|
+
<p:txBody>
|
178
|
+
<a:bodyPr/>
|
179
|
+
<a:lstStyle/>
|
180
|
+
<a:p>
|
181
|
+
<a:pPr/>
|
182
|
+
<xsl:apply-templates/>
|
183
|
+
</a:p>
|
184
|
+
</p:txBody>
|
185
|
+
<!--
|
157
186
|
<a:p>
|
158
187
|
<a:pPr>
|
159
188
|
<a:pStyle a:val="ListParagraph"></a:pStyle>
|
@@ -164,6 +193,7 @@
|
|
164
193
|
</a:pPr>
|
165
194
|
<xsl:apply-templates/>
|
166
195
|
</a:p>
|
196
|
+
//-->
|
167
197
|
</xsl:otherwise>
|
168
198
|
</xsl:choose>
|
169
199
|
</xsl:when>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: htmltoooxml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Boynton
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: nokogiri
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|