metanorma-ogc 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +0 -2
- data/lib/asciidoctor/ogc/isodoc.rng +174 -0
- data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +65 -0
- data/lib/isodoc/ogc/ogc.best-practice.xsl +65 -0
- data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +65 -0
- data/lib/isodoc/ogc/ogc.community-practice.xsl +65 -0
- data/lib/isodoc/ogc/ogc.community-standard.xsl +65 -0
- data/lib/isodoc/ogc/ogc.discussion-paper.xsl +65 -0
- data/lib/isodoc/ogc/ogc.engineering-report.xsl +65 -0
- data/lib/isodoc/ogc/ogc.other.xsl +65 -0
- data/lib/isodoc/ogc/ogc.policy.xsl +65 -0
- data/lib/isodoc/ogc/ogc.reference-model.xsl +65 -0
- data/lib/isodoc/ogc/ogc.release-notes.xsl +65 -0
- data/lib/isodoc/ogc/ogc.standard.xsl +65 -0
- data/lib/isodoc/ogc/ogc.test-suite.xsl +65 -0
- data/lib/isodoc/ogc/ogc.user-guide.xsl +65 -0
- data/lib/isodoc/ogc/ogc.white-paper.xsl +65 -0
- data/lib/metanorma/ogc/version.rb +1 -1
- metadata +2 -2
@@ -2807,6 +2807,7 @@
|
|
2807
2807
|
|
2808
2808
|
|
2809
2809
|
|
2810
|
+
|
2810
2811
|
<xsl:attribute name="border">solid 0pt white</xsl:attribute>
|
2811
2812
|
|
2812
2813
|
|
@@ -5598,6 +5599,70 @@
|
|
5598
5599
|
<xsl:value-of select="substring(.,1,1)"/>
|
5599
5600
|
</xsl:template><xsl:template match="*[local-name() = 'title']" mode="title">
|
5600
5601
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
5602
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']">
|
5603
|
+
<fo:block>
|
5604
|
+
<xsl:apply-templates/>
|
5605
|
+
</fo:block>
|
5606
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'label']">
|
5607
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
5608
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'text' or @type = 'date' or @type = 'file' or @type = 'password']">
|
5609
|
+
<fo:inline>
|
5610
|
+
<xsl:call-template name="text_input"/>
|
5611
|
+
</fo:inline>
|
5612
|
+
</xsl:template><xsl:template name="text_input">
|
5613
|
+
<xsl:variable name="count">
|
5614
|
+
<xsl:choose>
|
5615
|
+
<xsl:when test="normalize-space(@maxlength) != ''"><xsl:value-of select="@maxlength"/></xsl:when>
|
5616
|
+
<xsl:when test="normalize-space(@size) != ''"><xsl:value-of select="@size"/></xsl:when>
|
5617
|
+
<xsl:otherwise>10</xsl:otherwise>
|
5618
|
+
</xsl:choose>
|
5619
|
+
</xsl:variable>
|
5620
|
+
<xsl:call-template name="repeat">
|
5621
|
+
<xsl:with-param name="char" select="'_'"/>
|
5622
|
+
<xsl:with-param name="count" select="$count"/>
|
5623
|
+
</xsl:call-template>
|
5624
|
+
<xsl:text> </xsl:text>
|
5625
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'button']">
|
5626
|
+
<xsl:variable name="caption">
|
5627
|
+
<xsl:choose>
|
5628
|
+
<xsl:when test="normalize-space(@value) != ''"><xsl:value-of select="@value"/></xsl:when>
|
5629
|
+
<xsl:otherwise>BUTTON</xsl:otherwise>
|
5630
|
+
</xsl:choose>
|
5631
|
+
</xsl:variable>
|
5632
|
+
<fo:inline>[<xsl:value-of select="$caption"/>]</fo:inline>
|
5633
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'checkbox']">
|
5634
|
+
<fo:inline padding-right="1mm">
|
5635
|
+
<fo:instream-foreign-object fox:alt-text="Box" baseline-shift="-10%">
|
5636
|
+
<xsl:attribute name="height">3.5mm</xsl:attribute>
|
5637
|
+
<xsl:attribute name="content-width">100%</xsl:attribute>
|
5638
|
+
<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
|
5639
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
5640
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80">
|
5641
|
+
<polyline points="0,0 80,0 80,80 0,80 0,0" stroke="black" stroke-width="5" fill="white"/>
|
5642
|
+
</svg>
|
5643
|
+
</fo:instream-foreign-object>
|
5644
|
+
</fo:inline>
|
5645
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'radio']">
|
5646
|
+
<fo:inline padding-right="1mm">
|
5647
|
+
<fo:instream-foreign-object fox:alt-text="Box" baseline-shift="-10%">
|
5648
|
+
<xsl:attribute name="height">3.5mm</xsl:attribute>
|
5649
|
+
<xsl:attribute name="content-width">100%</xsl:attribute>
|
5650
|
+
<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
|
5651
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
5652
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80">
|
5653
|
+
<circle cx="40" cy="40" r="30" stroke="black" stroke-width="5" fill="white"/>
|
5654
|
+
<circle cx="40" cy="40" r="15" stroke="black" stroke-width="5" fill="white"/>
|
5655
|
+
</svg>
|
5656
|
+
</fo:instream-foreign-object>
|
5657
|
+
</fo:inline>
|
5658
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'select']">
|
5659
|
+
<fo:inline>
|
5660
|
+
<xsl:call-template name="text_input"/>
|
5661
|
+
</fo:inline>
|
5662
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'textarea']">
|
5663
|
+
<fo:block-container border="1pt solid black" width="50%">
|
5664
|
+
<fo:block> </fo:block>
|
5665
|
+
</fo:block-container>
|
5601
5666
|
</xsl:template><xsl:template name="convertDate">
|
5602
5667
|
<xsl:param name="date"/>
|
5603
5668
|
<xsl:param name="format" select="'short'"/>
|
@@ -2807,6 +2807,7 @@
|
|
2807
2807
|
|
2808
2808
|
|
2809
2809
|
|
2810
|
+
|
2810
2811
|
<xsl:attribute name="border">solid 0pt white</xsl:attribute>
|
2811
2812
|
|
2812
2813
|
|
@@ -5598,6 +5599,70 @@
|
|
5598
5599
|
<xsl:value-of select="substring(.,1,1)"/>
|
5599
5600
|
</xsl:template><xsl:template match="*[local-name() = 'title']" mode="title">
|
5600
5601
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
5602
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']">
|
5603
|
+
<fo:block>
|
5604
|
+
<xsl:apply-templates/>
|
5605
|
+
</fo:block>
|
5606
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'label']">
|
5607
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
5608
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'text' or @type = 'date' or @type = 'file' or @type = 'password']">
|
5609
|
+
<fo:inline>
|
5610
|
+
<xsl:call-template name="text_input"/>
|
5611
|
+
</fo:inline>
|
5612
|
+
</xsl:template><xsl:template name="text_input">
|
5613
|
+
<xsl:variable name="count">
|
5614
|
+
<xsl:choose>
|
5615
|
+
<xsl:when test="normalize-space(@maxlength) != ''"><xsl:value-of select="@maxlength"/></xsl:when>
|
5616
|
+
<xsl:when test="normalize-space(@size) != ''"><xsl:value-of select="@size"/></xsl:when>
|
5617
|
+
<xsl:otherwise>10</xsl:otherwise>
|
5618
|
+
</xsl:choose>
|
5619
|
+
</xsl:variable>
|
5620
|
+
<xsl:call-template name="repeat">
|
5621
|
+
<xsl:with-param name="char" select="'_'"/>
|
5622
|
+
<xsl:with-param name="count" select="$count"/>
|
5623
|
+
</xsl:call-template>
|
5624
|
+
<xsl:text> </xsl:text>
|
5625
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'button']">
|
5626
|
+
<xsl:variable name="caption">
|
5627
|
+
<xsl:choose>
|
5628
|
+
<xsl:when test="normalize-space(@value) != ''"><xsl:value-of select="@value"/></xsl:when>
|
5629
|
+
<xsl:otherwise>BUTTON</xsl:otherwise>
|
5630
|
+
</xsl:choose>
|
5631
|
+
</xsl:variable>
|
5632
|
+
<fo:inline>[<xsl:value-of select="$caption"/>]</fo:inline>
|
5633
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'checkbox']">
|
5634
|
+
<fo:inline padding-right="1mm">
|
5635
|
+
<fo:instream-foreign-object fox:alt-text="Box" baseline-shift="-10%">
|
5636
|
+
<xsl:attribute name="height">3.5mm</xsl:attribute>
|
5637
|
+
<xsl:attribute name="content-width">100%</xsl:attribute>
|
5638
|
+
<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
|
5639
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
5640
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80">
|
5641
|
+
<polyline points="0,0 80,0 80,80 0,80 0,0" stroke="black" stroke-width="5" fill="white"/>
|
5642
|
+
</svg>
|
5643
|
+
</fo:instream-foreign-object>
|
5644
|
+
</fo:inline>
|
5645
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'radio']">
|
5646
|
+
<fo:inline padding-right="1mm">
|
5647
|
+
<fo:instream-foreign-object fox:alt-text="Box" baseline-shift="-10%">
|
5648
|
+
<xsl:attribute name="height">3.5mm</xsl:attribute>
|
5649
|
+
<xsl:attribute name="content-width">100%</xsl:attribute>
|
5650
|
+
<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
|
5651
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
5652
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80">
|
5653
|
+
<circle cx="40" cy="40" r="30" stroke="black" stroke-width="5" fill="white"/>
|
5654
|
+
<circle cx="40" cy="40" r="15" stroke="black" stroke-width="5" fill="white"/>
|
5655
|
+
</svg>
|
5656
|
+
</fo:instream-foreign-object>
|
5657
|
+
</fo:inline>
|
5658
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'select']">
|
5659
|
+
<fo:inline>
|
5660
|
+
<xsl:call-template name="text_input"/>
|
5661
|
+
</fo:inline>
|
5662
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'textarea']">
|
5663
|
+
<fo:block-container border="1pt solid black" width="50%">
|
5664
|
+
<fo:block> </fo:block>
|
5665
|
+
</fo:block-container>
|
5601
5666
|
</xsl:template><xsl:template name="convertDate">
|
5602
5667
|
<xsl:param name="date"/>
|
5603
5668
|
<xsl:param name="format" select="'short'"/>
|
@@ -2807,6 +2807,7 @@
|
|
2807
2807
|
|
2808
2808
|
|
2809
2809
|
|
2810
|
+
|
2810
2811
|
<xsl:attribute name="border">solid 0pt white</xsl:attribute>
|
2811
2812
|
|
2812
2813
|
|
@@ -5598,6 +5599,70 @@
|
|
5598
5599
|
<xsl:value-of select="substring(.,1,1)"/>
|
5599
5600
|
</xsl:template><xsl:template match="*[local-name() = 'title']" mode="title">
|
5600
5601
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
5602
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']">
|
5603
|
+
<fo:block>
|
5604
|
+
<xsl:apply-templates/>
|
5605
|
+
</fo:block>
|
5606
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'label']">
|
5607
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
5608
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'text' or @type = 'date' or @type = 'file' or @type = 'password']">
|
5609
|
+
<fo:inline>
|
5610
|
+
<xsl:call-template name="text_input"/>
|
5611
|
+
</fo:inline>
|
5612
|
+
</xsl:template><xsl:template name="text_input">
|
5613
|
+
<xsl:variable name="count">
|
5614
|
+
<xsl:choose>
|
5615
|
+
<xsl:when test="normalize-space(@maxlength) != ''"><xsl:value-of select="@maxlength"/></xsl:when>
|
5616
|
+
<xsl:when test="normalize-space(@size) != ''"><xsl:value-of select="@size"/></xsl:when>
|
5617
|
+
<xsl:otherwise>10</xsl:otherwise>
|
5618
|
+
</xsl:choose>
|
5619
|
+
</xsl:variable>
|
5620
|
+
<xsl:call-template name="repeat">
|
5621
|
+
<xsl:with-param name="char" select="'_'"/>
|
5622
|
+
<xsl:with-param name="count" select="$count"/>
|
5623
|
+
</xsl:call-template>
|
5624
|
+
<xsl:text> </xsl:text>
|
5625
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'button']">
|
5626
|
+
<xsl:variable name="caption">
|
5627
|
+
<xsl:choose>
|
5628
|
+
<xsl:when test="normalize-space(@value) != ''"><xsl:value-of select="@value"/></xsl:when>
|
5629
|
+
<xsl:otherwise>BUTTON</xsl:otherwise>
|
5630
|
+
</xsl:choose>
|
5631
|
+
</xsl:variable>
|
5632
|
+
<fo:inline>[<xsl:value-of select="$caption"/>]</fo:inline>
|
5633
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'checkbox']">
|
5634
|
+
<fo:inline padding-right="1mm">
|
5635
|
+
<fo:instream-foreign-object fox:alt-text="Box" baseline-shift="-10%">
|
5636
|
+
<xsl:attribute name="height">3.5mm</xsl:attribute>
|
5637
|
+
<xsl:attribute name="content-width">100%</xsl:attribute>
|
5638
|
+
<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
|
5639
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
5640
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80">
|
5641
|
+
<polyline points="0,0 80,0 80,80 0,80 0,0" stroke="black" stroke-width="5" fill="white"/>
|
5642
|
+
</svg>
|
5643
|
+
</fo:instream-foreign-object>
|
5644
|
+
</fo:inline>
|
5645
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'radio']">
|
5646
|
+
<fo:inline padding-right="1mm">
|
5647
|
+
<fo:instream-foreign-object fox:alt-text="Box" baseline-shift="-10%">
|
5648
|
+
<xsl:attribute name="height">3.5mm</xsl:attribute>
|
5649
|
+
<xsl:attribute name="content-width">100%</xsl:attribute>
|
5650
|
+
<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
|
5651
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
5652
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80">
|
5653
|
+
<circle cx="40" cy="40" r="30" stroke="black" stroke-width="5" fill="white"/>
|
5654
|
+
<circle cx="40" cy="40" r="15" stroke="black" stroke-width="5" fill="white"/>
|
5655
|
+
</svg>
|
5656
|
+
</fo:instream-foreign-object>
|
5657
|
+
</fo:inline>
|
5658
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'select']">
|
5659
|
+
<fo:inline>
|
5660
|
+
<xsl:call-template name="text_input"/>
|
5661
|
+
</fo:inline>
|
5662
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'textarea']">
|
5663
|
+
<fo:block-container border="1pt solid black" width="50%">
|
5664
|
+
<fo:block> </fo:block>
|
5665
|
+
</fo:block-container>
|
5601
5666
|
</xsl:template><xsl:template name="convertDate">
|
5602
5667
|
<xsl:param name="date"/>
|
5603
5668
|
<xsl:param name="format" select="'short'"/>
|
@@ -2807,6 +2807,7 @@
|
|
2807
2807
|
|
2808
2808
|
|
2809
2809
|
|
2810
|
+
|
2810
2811
|
<xsl:attribute name="border">solid 0pt white</xsl:attribute>
|
2811
2812
|
|
2812
2813
|
|
@@ -5598,6 +5599,70 @@
|
|
5598
5599
|
<xsl:value-of select="substring(.,1,1)"/>
|
5599
5600
|
</xsl:template><xsl:template match="*[local-name() = 'title']" mode="title">
|
5600
5601
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
5602
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']">
|
5603
|
+
<fo:block>
|
5604
|
+
<xsl:apply-templates/>
|
5605
|
+
</fo:block>
|
5606
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'label']">
|
5607
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
5608
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'text' or @type = 'date' or @type = 'file' or @type = 'password']">
|
5609
|
+
<fo:inline>
|
5610
|
+
<xsl:call-template name="text_input"/>
|
5611
|
+
</fo:inline>
|
5612
|
+
</xsl:template><xsl:template name="text_input">
|
5613
|
+
<xsl:variable name="count">
|
5614
|
+
<xsl:choose>
|
5615
|
+
<xsl:when test="normalize-space(@maxlength) != ''"><xsl:value-of select="@maxlength"/></xsl:when>
|
5616
|
+
<xsl:when test="normalize-space(@size) != ''"><xsl:value-of select="@size"/></xsl:when>
|
5617
|
+
<xsl:otherwise>10</xsl:otherwise>
|
5618
|
+
</xsl:choose>
|
5619
|
+
</xsl:variable>
|
5620
|
+
<xsl:call-template name="repeat">
|
5621
|
+
<xsl:with-param name="char" select="'_'"/>
|
5622
|
+
<xsl:with-param name="count" select="$count"/>
|
5623
|
+
</xsl:call-template>
|
5624
|
+
<xsl:text> </xsl:text>
|
5625
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'button']">
|
5626
|
+
<xsl:variable name="caption">
|
5627
|
+
<xsl:choose>
|
5628
|
+
<xsl:when test="normalize-space(@value) != ''"><xsl:value-of select="@value"/></xsl:when>
|
5629
|
+
<xsl:otherwise>BUTTON</xsl:otherwise>
|
5630
|
+
</xsl:choose>
|
5631
|
+
</xsl:variable>
|
5632
|
+
<fo:inline>[<xsl:value-of select="$caption"/>]</fo:inline>
|
5633
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'checkbox']">
|
5634
|
+
<fo:inline padding-right="1mm">
|
5635
|
+
<fo:instream-foreign-object fox:alt-text="Box" baseline-shift="-10%">
|
5636
|
+
<xsl:attribute name="height">3.5mm</xsl:attribute>
|
5637
|
+
<xsl:attribute name="content-width">100%</xsl:attribute>
|
5638
|
+
<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
|
5639
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
5640
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80">
|
5641
|
+
<polyline points="0,0 80,0 80,80 0,80 0,0" stroke="black" stroke-width="5" fill="white"/>
|
5642
|
+
</svg>
|
5643
|
+
</fo:instream-foreign-object>
|
5644
|
+
</fo:inline>
|
5645
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'radio']">
|
5646
|
+
<fo:inline padding-right="1mm">
|
5647
|
+
<fo:instream-foreign-object fox:alt-text="Box" baseline-shift="-10%">
|
5648
|
+
<xsl:attribute name="height">3.5mm</xsl:attribute>
|
5649
|
+
<xsl:attribute name="content-width">100%</xsl:attribute>
|
5650
|
+
<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
|
5651
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
5652
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80">
|
5653
|
+
<circle cx="40" cy="40" r="30" stroke="black" stroke-width="5" fill="white"/>
|
5654
|
+
<circle cx="40" cy="40" r="15" stroke="black" stroke-width="5" fill="white"/>
|
5655
|
+
</svg>
|
5656
|
+
</fo:instream-foreign-object>
|
5657
|
+
</fo:inline>
|
5658
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'select']">
|
5659
|
+
<fo:inline>
|
5660
|
+
<xsl:call-template name="text_input"/>
|
5661
|
+
</fo:inline>
|
5662
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'textarea']">
|
5663
|
+
<fo:block-container border="1pt solid black" width="50%">
|
5664
|
+
<fo:block> </fo:block>
|
5665
|
+
</fo:block-container>
|
5601
5666
|
</xsl:template><xsl:template name="convertDate">
|
5602
5667
|
<xsl:param name="date"/>
|
5603
5668
|
<xsl:param name="format" select="'short'"/>
|
@@ -2807,6 +2807,7 @@
|
|
2807
2807
|
|
2808
2808
|
|
2809
2809
|
|
2810
|
+
|
2810
2811
|
<xsl:attribute name="border">solid 0pt white</xsl:attribute>
|
2811
2812
|
|
2812
2813
|
|
@@ -5598,6 +5599,70 @@
|
|
5598
5599
|
<xsl:value-of select="substring(.,1,1)"/>
|
5599
5600
|
</xsl:template><xsl:template match="*[local-name() = 'title']" mode="title">
|
5600
5601
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
5602
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']">
|
5603
|
+
<fo:block>
|
5604
|
+
<xsl:apply-templates/>
|
5605
|
+
</fo:block>
|
5606
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'label']">
|
5607
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
5608
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'text' or @type = 'date' or @type = 'file' or @type = 'password']">
|
5609
|
+
<fo:inline>
|
5610
|
+
<xsl:call-template name="text_input"/>
|
5611
|
+
</fo:inline>
|
5612
|
+
</xsl:template><xsl:template name="text_input">
|
5613
|
+
<xsl:variable name="count">
|
5614
|
+
<xsl:choose>
|
5615
|
+
<xsl:when test="normalize-space(@maxlength) != ''"><xsl:value-of select="@maxlength"/></xsl:when>
|
5616
|
+
<xsl:when test="normalize-space(@size) != ''"><xsl:value-of select="@size"/></xsl:when>
|
5617
|
+
<xsl:otherwise>10</xsl:otherwise>
|
5618
|
+
</xsl:choose>
|
5619
|
+
</xsl:variable>
|
5620
|
+
<xsl:call-template name="repeat">
|
5621
|
+
<xsl:with-param name="char" select="'_'"/>
|
5622
|
+
<xsl:with-param name="count" select="$count"/>
|
5623
|
+
</xsl:call-template>
|
5624
|
+
<xsl:text> </xsl:text>
|
5625
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'button']">
|
5626
|
+
<xsl:variable name="caption">
|
5627
|
+
<xsl:choose>
|
5628
|
+
<xsl:when test="normalize-space(@value) != ''"><xsl:value-of select="@value"/></xsl:when>
|
5629
|
+
<xsl:otherwise>BUTTON</xsl:otherwise>
|
5630
|
+
</xsl:choose>
|
5631
|
+
</xsl:variable>
|
5632
|
+
<fo:inline>[<xsl:value-of select="$caption"/>]</fo:inline>
|
5633
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'checkbox']">
|
5634
|
+
<fo:inline padding-right="1mm">
|
5635
|
+
<fo:instream-foreign-object fox:alt-text="Box" baseline-shift="-10%">
|
5636
|
+
<xsl:attribute name="height">3.5mm</xsl:attribute>
|
5637
|
+
<xsl:attribute name="content-width">100%</xsl:attribute>
|
5638
|
+
<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
|
5639
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
5640
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80">
|
5641
|
+
<polyline points="0,0 80,0 80,80 0,80 0,0" stroke="black" stroke-width="5" fill="white"/>
|
5642
|
+
</svg>
|
5643
|
+
</fo:instream-foreign-object>
|
5644
|
+
</fo:inline>
|
5645
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'radio']">
|
5646
|
+
<fo:inline padding-right="1mm">
|
5647
|
+
<fo:instream-foreign-object fox:alt-text="Box" baseline-shift="-10%">
|
5648
|
+
<xsl:attribute name="height">3.5mm</xsl:attribute>
|
5649
|
+
<xsl:attribute name="content-width">100%</xsl:attribute>
|
5650
|
+
<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
|
5651
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
5652
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80">
|
5653
|
+
<circle cx="40" cy="40" r="30" stroke="black" stroke-width="5" fill="white"/>
|
5654
|
+
<circle cx="40" cy="40" r="15" stroke="black" stroke-width="5" fill="white"/>
|
5655
|
+
</svg>
|
5656
|
+
</fo:instream-foreign-object>
|
5657
|
+
</fo:inline>
|
5658
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'select']">
|
5659
|
+
<fo:inline>
|
5660
|
+
<xsl:call-template name="text_input"/>
|
5661
|
+
</fo:inline>
|
5662
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'textarea']">
|
5663
|
+
<fo:block-container border="1pt solid black" width="50%">
|
5664
|
+
<fo:block> </fo:block>
|
5665
|
+
</fo:block-container>
|
5601
5666
|
</xsl:template><xsl:template name="convertDate">
|
5602
5667
|
<xsl:param name="date"/>
|
5603
5668
|
<xsl:param name="format" select="'short'"/>
|
@@ -2807,6 +2807,7 @@
|
|
2807
2807
|
|
2808
2808
|
|
2809
2809
|
|
2810
|
+
|
2810
2811
|
<xsl:attribute name="border">solid 0pt white</xsl:attribute>
|
2811
2812
|
|
2812
2813
|
|
@@ -5598,6 +5599,70 @@
|
|
5598
5599
|
<xsl:value-of select="substring(.,1,1)"/>
|
5599
5600
|
</xsl:template><xsl:template match="*[local-name() = 'title']" mode="title">
|
5600
5601
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
5602
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']">
|
5603
|
+
<fo:block>
|
5604
|
+
<xsl:apply-templates/>
|
5605
|
+
</fo:block>
|
5606
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'label']">
|
5607
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
5608
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'text' or @type = 'date' or @type = 'file' or @type = 'password']">
|
5609
|
+
<fo:inline>
|
5610
|
+
<xsl:call-template name="text_input"/>
|
5611
|
+
</fo:inline>
|
5612
|
+
</xsl:template><xsl:template name="text_input">
|
5613
|
+
<xsl:variable name="count">
|
5614
|
+
<xsl:choose>
|
5615
|
+
<xsl:when test="normalize-space(@maxlength) != ''"><xsl:value-of select="@maxlength"/></xsl:when>
|
5616
|
+
<xsl:when test="normalize-space(@size) != ''"><xsl:value-of select="@size"/></xsl:when>
|
5617
|
+
<xsl:otherwise>10</xsl:otherwise>
|
5618
|
+
</xsl:choose>
|
5619
|
+
</xsl:variable>
|
5620
|
+
<xsl:call-template name="repeat">
|
5621
|
+
<xsl:with-param name="char" select="'_'"/>
|
5622
|
+
<xsl:with-param name="count" select="$count"/>
|
5623
|
+
</xsl:call-template>
|
5624
|
+
<xsl:text> </xsl:text>
|
5625
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'button']">
|
5626
|
+
<xsl:variable name="caption">
|
5627
|
+
<xsl:choose>
|
5628
|
+
<xsl:when test="normalize-space(@value) != ''"><xsl:value-of select="@value"/></xsl:when>
|
5629
|
+
<xsl:otherwise>BUTTON</xsl:otherwise>
|
5630
|
+
</xsl:choose>
|
5631
|
+
</xsl:variable>
|
5632
|
+
<fo:inline>[<xsl:value-of select="$caption"/>]</fo:inline>
|
5633
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'checkbox']">
|
5634
|
+
<fo:inline padding-right="1mm">
|
5635
|
+
<fo:instream-foreign-object fox:alt-text="Box" baseline-shift="-10%">
|
5636
|
+
<xsl:attribute name="height">3.5mm</xsl:attribute>
|
5637
|
+
<xsl:attribute name="content-width">100%</xsl:attribute>
|
5638
|
+
<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
|
5639
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
5640
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80">
|
5641
|
+
<polyline points="0,0 80,0 80,80 0,80 0,0" stroke="black" stroke-width="5" fill="white"/>
|
5642
|
+
</svg>
|
5643
|
+
</fo:instream-foreign-object>
|
5644
|
+
</fo:inline>
|
5645
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'input'][@type = 'radio']">
|
5646
|
+
<fo:inline padding-right="1mm">
|
5647
|
+
<fo:instream-foreign-object fox:alt-text="Box" baseline-shift="-10%">
|
5648
|
+
<xsl:attribute name="height">3.5mm</xsl:attribute>
|
5649
|
+
<xsl:attribute name="content-width">100%</xsl:attribute>
|
5650
|
+
<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
|
5651
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
5652
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80">
|
5653
|
+
<circle cx="40" cy="40" r="30" stroke="black" stroke-width="5" fill="white"/>
|
5654
|
+
<circle cx="40" cy="40" r="15" stroke="black" stroke-width="5" fill="white"/>
|
5655
|
+
</svg>
|
5656
|
+
</fo:instream-foreign-object>
|
5657
|
+
</fo:inline>
|
5658
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'select']">
|
5659
|
+
<fo:inline>
|
5660
|
+
<xsl:call-template name="text_input"/>
|
5661
|
+
</fo:inline>
|
5662
|
+
</xsl:template><xsl:template match="*[local-name() = 'form']//*[local-name() = 'textarea']">
|
5663
|
+
<fo:block-container border="1pt solid black" width="50%">
|
5664
|
+
<fo:block> </fo:block>
|
5665
|
+
</fo:block-container>
|
5601
5666
|
</xsl:template><xsl:template name="convertDate">
|
5602
5667
|
<xsl:param name="date"/>
|
5603
5668
|
<xsl:param name="format" select="'short'"/>
|