cv_print.xsl
branchstyles
changeset 8 8138139b1aa9
parent 7 c169cc563fe2
child 9 5ad30cb766bc
equal deleted inserted replaced
7:c169cc563fe2 8:8138139b1aa9
    22   <xsl:value-of select="document($uri)//*[@name=$string]"/>
    22   <xsl:value-of select="document($uri)//*[@name=$string]"/>
    23 </xsl:template>
    23 </xsl:template>
    24 
    24 
    25 <xsl:param name="cv-uri"/>
    25 <xsl:param name="cv-uri"/>
    26 <xsl:param name="date"/>
    26 <xsl:param name="date"/>
    27 <xsl:attribute-set name="section-title-font" xsl:use-attribute-sets="verylarge-title-font">
    27 <xsl:attribute-set name="section-title-font" use-attribute-sets="verylarge-title-font">
    28   <xsl:attribute name="font-size">12pt</xsl:attribute>
    28   <xsl:attribute name="font-size">12pt</xsl:attribute>
    29   <xsl:attribute name="font-weight">bold</xsl:attribute>
    29   <xsl:attribute name="font-weight">bold</xsl:attribute>
    30   <xsl:attribute name="space-after">6pt</xsl:attribute>
    30   <xsl:attribute name="space-after">6pt</xsl:attribute>
    31   <xsl:attribute name="text-decoration">underline</xsl:attribute>
    31   <xsl:attribute name="text-decoration">underline</xsl:attribute>
    32   <xsl:attribute name="score-spaces">true</xsl:attribute>
    32   <xsl:attribute name="score-spaces">true</xsl:attribute>
    68   <xsl:attribute name="font-size">10pt</xsl:attribute>
    68   <xsl:attribute name="font-size">10pt</xsl:attribute>
    69   <xsl:attribute name="space-after">4pt</xsl:attribute>
    69   <xsl:attribute name="space-after">4pt</xsl:attribute>
    70 </xsl:attribute-set>
    70 </xsl:attribute-set>
    71 
    71 
    72 <xsl:attribute-set name="section-block">
    72 <xsl:attribute-set name="section-block">
    73   <xsl:attribute name="keep-together.within-page">always</xsl:attribute>
    73   <!-- <xsl:attribute name="keep-together.within-page">always</xsl:attribute>-->
    74   <!-- <xsl:attribute name="break-inside">avoid</xsl:attribute> -->
    74   <!-- <xsl:attribute name="break-inside">avoid</xsl:attribute> -->
    75   <!-- <xsl:attribute name="border-before-style">solid</xsl:attribute> -->
    75   <!-- <xsl:attribute name="border-before-style">solid</xsl:attribute> -->
    76   <!-- <xsl:attribute name="border-after-style">solid</xsl:attribute> -->
    76   <!-- <xsl:attribute name="border-after-style">solid</xsl:attribute> -->
    77   <!-- <xsl:attribute name="padding-before">5mm</xsl:attribute> -->
    77   <!-- <xsl:attribute name="padding-before">5mm</xsl:attribute> -->
    78   <xsl:attribute name="space-before">20pt</xsl:attribute>
    78   <xsl:attribute name="space-before">14pt</xsl:attribute>
    79   <xsl:attribute name="space-before.conditionality">discard</xsl:attribute>
    79   <xsl:attribute name="space-before.conditionality">discard</xsl:attribute>
    80 </xsl:attribute-set>
    80 </xsl:attribute-set>
    81 <!-- cv -->
    81 <!-- cv -->
    82 <xsl:template match="cv">
    82 <xsl:template match="cv">
    83   <xsl:variable name="fullname">
    83   <xsl:variable name="fullname">
   211               <xsl:with-param name="string">str-experience</xsl:with-param>
   211               <xsl:with-param name="string">str-experience</xsl:with-param>
   212             </xsl:call-template>
   212             </xsl:call-template>
   213           </block>
   213           </block>
   214           <xsl:apply-templates select="work[not(@role='stage')]"/>
   214           <xsl:apply-templates select="work[not(@role='stage')]"/>
   215         </block>
   215         </block>
       
   216 	<!--
   216 	<block xsl:use-attribute-sets="section-block">
   217 	<block xsl:use-attribute-sets="section-block">
   217           <block xsl:use-attribute-sets="section-title-font">
   218           <block xsl:use-attribute-sets="section-title-font">
   218             <xsl:call-template name="gentext">
   219             <xsl:call-template name="gentext">
   219               <xsl:with-param name="string">str-stage</xsl:with-param>
   220               <xsl:with-param name="string">str-stage</xsl:with-param>
   220             </xsl:call-template>
   221             </xsl:call-template>
   221           </block>
   222           </block>
   222           <xsl:apply-templates select="work[@role='stage']" mode="short"/>
   223           <xsl:apply-templates select="work[@role='stage']" mode="short"/>
   223         </block>
   224         </block>
       
   225 	-->
   224         <block visibility="hidden" id="xsl_cv_the_end"/>
   226         <block visibility="hidden" id="xsl_cv_the_end"/>
   225       </flow>
   227       </flow>
   226     </page-sequence>
   228     </page-sequence>
   227   </root>
   229   </root>
   228 </xsl:template>
   230 </xsl:template>