,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
> <text id="labelAffichage" x="10" y="20" style="font-family:Arial;fontsize:20;">Affichage</text> <text id="zones" x="25" y="45" style="font-family:Arial;fontsize:14;">Zones</text> <g id="zone_uncheck" style="fill:white;stroke:black;stroke-width:1" visibility="hidden" onclick="showZones(, > <xsl:processing-instruction name="xml-stylesheet">href="../mapstyle.css" type="text/css"</xsl:processing-instruction> <svg id= ,
zone_check" style="fill:white;stroke:black;stroke-width:1" onclick="hideZones( ,
parcelles" x="25" y="65" style="font-family:Arial;fontsize:14;">Parcelles</text> <g id="parcelle_uncheck" style="fill:white;stroke:black;strokewidth:1;visibility:visible" onclick="showParcelles( ,
parcelle_check" style="fill:white;stroke:black;strokewidth:1;visibility:hidden" onclick="hideParcelles( ,
labelControle" x="110" y="20" style="font-family:Arial;fontsize:20;">Contrôle</text> <text id="zones" x="125" y="45" style="font-family:Arial;fontsize:14;">Zones</text> <g id="zone_radio_uncheck" style="fill:white;stroke:black;strokewidth:1" visibility="hidden" onclick="activeZones( ,
zone_radio_check" style="fill:white;stroke:black;stroke-width:1"> <circle cx="115 ,
parcelles" x="125" y="65" style="font-family:Arial;fontsize:14;">Parcelles</text> <g id="parcelle_radio_uncheck" style="fill:white;stroke:black;strokewidth:1;visibility:visible" onclick="activeParcelles( ,
parcelle_radio_check" style="fill:white;stroke:black;strokewidth:1;visibility:hidden"> <circle cx="115 ,
,
, space-before">0.2cm</xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name="titre"> <xsl:attribute name="font-size">32pt</xsl:attribute> <xsl:attribute name="color">blue</xsl:attribute> <xsl:attribute name="font-weight">bold</xsl:attribute> <xsl:attribute name="text-align">center</xsl:attribute> <xsl:attribute name="space-before">2cm</xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name="sousTitre"> <xsl:attribute name="font-size">28pt</xsl:attribute> <xsl:attribute name="color">blue</xsl:attribute> <xsl:attribute name="font-weight">normal</xsl:attribute> <xsl:attribute name="text-align">center</xsl:attribute> <xsl:attribute name="space-before">1cm</xsl:attribute> <xsl:attribute name="space-after">0.5cm</xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name="titreArticle"> <xsl:attribute name=, <xsl:attribute name="font-size">12pt</xsl:attribute> <xsl:attribute name="font-weight">normal</xsl:attribute> <xsl:attribute name="font-style">normal</xsl:attribute> <xsl:attribute name="text-align">justify</xsl:attribute> <xsl:attribute name="color">black</xsl:attribute> <xsl:attribute name=
, template match="/"> <fo:root xmlns:fo=
layout-master-set> <fo:simple-page-master master-name="contents" pageheight="29.7cm" page-width="21cm"> <fo:region-before extent="1cm"/> <fo:region-after extent="1cm"/> <fo:region-start extent="1cm"/> <fo:region-end extent="1cm"/> <fo:region-body margin-bottom="2cm" margin-top="2cm" margin-left="2cm" margin-right="2cm"/> </fo:simple-page-master> <fo:page-sequence-master master-name="contents-Seq"> <fo:repeatable-page-master-reference masterreference= ,
sequence master-reference="contents-Seq"> <fo:static-content flow-name="xsl-region-before"> </fo:static-content> <fo:static-content flow-name="xsl-region-after"> <fo:block font-size="10pt" font-family="Helvetica" textalign="center"> <fo:page-number/> </fo:block> </fo:static-content> CERTU SWORD -Nos réf, p.page ,
, // Fixe les paramètres xslTransformer.setParameter("svg
,
, xslTransformer.transform(xmlSource, new StreamResult(bufWriter
, bufWriter.flush(
, // Effectue la transformation et renvoie la réponse StringReader bufReader = new StringReader(bufWriter.toString(
, Driver driver = new Driver(new InputSource(bufReader), out)
, driver.setRenderer(Driver.RENDER_PDF
, driver.run(
, mapFile.delete(
, legFile.delete(
,
,
, <?xml version="1.0" encoding="iso-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl=
Déclaration des paramètres --> <xsl:param name="svg"/> <xsl:param name="svgleg ,
, font-style">normal</xsl:attribute> <xsl:attribute name="text-align">justify</xsl:attribute> <xsl:attribute name="color">black</xsl:attribute> <xsl:attribute name="space-before">0.2cm</xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name="titre"> <xsl:attribute name="font-size">32pt</xsl:attribute> <xsl:attribute name="color">blue</xsl:attribute> <xsl:attribute name="font-weight">bold</xsl:attribute> <xsl:attribute name="text-align">center</xsl:attribute> <xsl:attribute name="space-before">2cm</xsl:attribute> <xsl:attribute name="space-after">2cm</xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name="sousTitre"> <xsl:attribute name="font-size">28pt</xsl:attribute> <xsl:attribute name="color">blue</xsl:attribute> <xsl:attribute name="font-weight">normal</xsl:attribute> <xsl:attribute name=, Déclaration des styles --> <xsl:attribute-set name="default"> <xsl:attribute name="font-size">12pt</xsl:attribute> <xsl:attribute name="font-weight">normal</xsl:attribute> <xsl:attribute name=, pp.41-48
, space-after">0.5cm</xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name="titreArticle"> <xsl:attribute name="font-size">16pt</xsl:attribute> <xsl:attribute name="color">black</xsl:attribute> <xsl:attribute name="font-weight">bold</xsl:attribute> <xsl:attribute name=, <xsl:attribute name="space-before">2cm</xsl:attribute> <xsl:attribute name=
, template match="/"> <fo:root xmlns:fo=
layout-master-set> <fo:simple-page-master master-name="contents" pageheight="29.7cm" page-width="21cm"> <fo:region-before extent="1cm"/> <fo:region-after extent="1cm"/> <fo:region-start extent="1cm"/> <fo:region-end extent="1cm"/> <fo:region-body margin-bottom="2cm" margin-top="2cm" margin-left="2cm" margin-right="2cm"/> </fo:simple-page-master> <fo:page-sequence-master master-name="contents-Seq"> <fo:repeatable-page-master-reference masterreference= ,
xsl-region-after"> <fo:block font-size="10pt" font-family="Helvetica" textalign="center"> <fo:page-number/> </fo:block> </fo:static-content> <fo:flow flow-name="xsl-region-body"> <fo:block xsl:use-attribute-sets="titre"> Règlement </fo:block> <fo:block text-align="center"> <fo:external-graphic> <xsl:attribute name="src"><xsl:value-of select="$svg"/></xsl:attribute> </fo:external-graphic> <fo:external-graphic> <xsl:attribute name="src"><xsl:value-of select="$svgleg, master-reference="contents-Seq"> <fo:static-content flow-name="xsl-region-before"> </fo:static-content> <fo:static-content flow-name=, pp.page-sequence ,
block> </fo:flow> </fo:page-sequence> SWORD -Nos réf ,
, xslsvglegTransformer.transform(svgSource, new StreamResult(fw))
, fw.close(
, // Fixe les paramètres xslTransformer.setParameter("svg
,
, xslTransformer.transform(xmlSource, new StreamResult(bufWriter
, bufWriter.flush(
, // Effectue la transformation et renvoie la réponse StringReader bufReader = new StringReader(bufWriter.toString(
, Driver driver = new Driver(new InputSource(bufReader), out)
, driver.setRenderer(Driver.RENDER_PDF
, driver.run(
, mapFile.delete(
, legFile.delete(
,
, GENERATION DU DOCUMENT FO (CARTEA3-FO.XSL)
, <?xml version="1.0" encoding="iso-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl=
Déclaration des paramètres --> <xsl:param name="svg"/> <xsl:param name="svgleg ,
, template match="/"> <fo:root xmlns:fo=
/> <fo:region-after extent="1cm"/> <fo:region-start extent="1cm"/> <fo:region-end extent="1cm"/> <fo:region-body margin-bottom="2cm" margin-top="2cm" margin-left="2cm" margin-right="2cm"/> </fo:simple-page-master> <fo:page-sequence-master master-name="contents-Seq"> <fo:repeatable-page-master-reference masterreference="contents"/> </fo:page-sequence-master> </fo:layout-master-set> SWORD -Nos réf, layout-master-set> <fo:simple-page-master master-name="contents" pageheight="29.7cm" page-width="42cm"> <fo:region-before extent="1cm ,
, /> </xsl:attribute> <xsl:value-of select="@class
, template> </xsl:stylesheet> © ministère de l'Équipement, des Transports, du Logement, du Tourisme et de la Mer centre d'Études sur les réseaux, les transports, l'urbanisme et les constructions publiques Toute reproduction intégrale ou partielle
, Cette reproduction par quelque procédé que ce soit, constituerait une contrefaçon sanctionnée par les articles 425 et suivants du code pénal, Reprographie: CETE de Lyon ? (+33) trimestre, 2002.