avv2word 1.1.28 → 1.1.29
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/lib/avv2word/templates/default.docx +0 -0
- data/lib/avv2word/version.rb +1 -1
- data/lib/avv2word/xslt/tables.xslt +19 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9f06563e42e5c9701e0d75480f3357ec95cbd18e8ed72ab15904da0d0ad1f45a
|
|
4
|
+
data.tar.gz: 2836f7ef77d3b2d33f35e96d54b65d8220693c1c8e80b47e04da21009eb143da
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a277a0b59de3de585094cb3bc8ca72f6dbf3e063ab41446d8268ef428bda117e01a159feccdee36c0b8a7d2df0a93d78d6d9897a4204fbccfe476339db5b5bad
|
|
7
|
+
data.tar.gz: ac00fa6868fe6a84b19babc2910ffd327ec81f08929e2220fa72dea3b16230dc036bbeded909b9e2db6a6d5f1f923b12a652e874d5d9a2c3af69cad48f3dd157
|
|
Binary file
|
data/lib/avv2word/version.rb
CHANGED
|
@@ -20,11 +20,29 @@
|
|
|
20
20
|
|
|
21
21
|
<!-- Full width tables per default -->
|
|
22
22
|
<xsl:template match="table">
|
|
23
|
+
<xsl:variable name="ind_left" select="@avv-margin-left"></xsl:variable>
|
|
24
|
+
<!--<xsl:variable name="tbl_width" select="@avv-table-width"></xsl:variable>-->
|
|
23
25
|
<w:tbl>
|
|
24
26
|
<w:tblPr>
|
|
25
27
|
<w:tblStyle w:val="TableGrid"/>
|
|
26
28
|
<w:jc w:val="left"/>
|
|
27
|
-
|
|
29
|
+
|
|
30
|
+
<!--table width -->
|
|
31
|
+
<!--<w:tblInd w:w="0.0" w:type="dxa"/>-->
|
|
32
|
+
<xsl:choose>
|
|
33
|
+
<xsl:when test="string-length(normalize-space($ind_left)) > 0">
|
|
34
|
+
<w:tblW w:w="{9360 - $ind_left}" w:type="dxa"/>
|
|
35
|
+
</xsl:when>
|
|
36
|
+
<xsl:otherwise>
|
|
37
|
+
<w:tblW w:w="9360" w:type="dxa"/>
|
|
38
|
+
</xsl:otherwise>
|
|
39
|
+
</xsl:choose>
|
|
40
|
+
|
|
41
|
+
<!--table indent left-->
|
|
42
|
+
<w:tblInd w:w="{$ind_left}" w:type="dxa"/>
|
|
43
|
+
<!--table indent left, top; works in word without margin(?), not in libre-->
|
|
44
|
+
<!--<w:tblpPr w:leftFromText="180" w:rightFromText="180" w:vertAnchor="text" w:horzAnchor="page" w:tblpX="{$ind_left}" w:tblpY="{$ind_top}"/>-->
|
|
45
|
+
|
|
28
46
|
<xsl:call-template name="tableborders"/>
|
|
29
47
|
<w:tblLayout w:type="fixed"/>
|
|
30
48
|
<w:tblLook w:val="0600"/>
|
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.1.
|
|
4
|
+
version: 1.1.29
|
|
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: 2019-10-
|
|
11
|
+
date: 2019-10-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: actionpack
|