avv2word 1.0.4 → 1.0.5

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
  SHA1:
3
- metadata.gz: fdc07474033eaa3627510d65a6cb39e999e52bb2
4
- data.tar.gz: d86ce9614ba5be66695d6154b1c83748e8b83b8d
3
+ metadata.gz: 1814b2cce838d6e8012a51d7267f85bf4e9f1e06
4
+ data.tar.gz: 95ac1390cf15d0e9b7156d50f0220a38ae376a2a
5
5
  SHA512:
6
- metadata.gz: b3ab9e21c9d5ac04ff8900391c8f67a62c0660c175cc0b72f7d91e0d5b0c432f911204a6303b95ead3ffad437ac10d8c40830612680bc47530ace40a0581b73b
7
- data.tar.gz: 56ee60d57d6185d73b7acaae5127f8a010866745a09a357c97422f601a4d142f7bf0c9dd91266fed7c1e21d16a37412a75c9ae8d36757763d6cd1804554773a2
6
+ metadata.gz: ba7a95c4bc17fbe33d7ca4f7cc6361a6871de29908ed5e251a125274731955bd7ab1898ea9d5dc129dcaefc4806611492d25883f8e4d3fa301c5ae3c7ac938bc
7
+ data.tar.gz: a3aeed4517ed3e989b26318297d0ec47b6d68c7f1cf24c018eec13f5054561cfe207c18a45e50a9af16de5b620ec56f03520cf378f7df3deee00fcb525ae06f7
@@ -1,3 +1,3 @@
1
1
  module Avv2word
2
- VERSION = '1.0.4'
2
+ VERSION = '1.0.5'
3
3
  end
@@ -128,6 +128,21 @@
128
128
  </w:r>
129
129
  </xsl:template>
130
130
 
131
+ <xsl:template match="page-number">
132
+ <w:r>
133
+ <w:fldChar w:fldCharType="begin"/>
134
+ </w:r>
135
+ <w:r>
136
+ <w:instrText xml:space="preserve"> PAGE \* Arabic \* MERGEFORMAT </w:instrText>
137
+ </w:r>
138
+ <w:r>
139
+ <w:fldChar w:fldCharType="separate"/>
140
+ </w:r>
141
+ <w:r>
142
+ <w:fldChar w:fldCharType="end"/>
143
+ </w:r>
144
+ </xsl:template>
145
+
131
146
  <xsl:template match="br[not(ancestor::p) and not(ancestor::div) and not(ancestor::td|ancestor::li) or
132
147
  (preceding-sibling::div or following-sibling::div or preceding-sibling::p or following-sibling::p)]">
133
148
  <w:p>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avv2word
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marián Bilas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-13 00:00:00.000000000 Z
11
+ date: 2019-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack