Created
October 29, 2013 05:23
-
-
Save dperaltab/7209518 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<document filename="index.pdf"> | |
<template pageSize="(22.5cm, 20.2cm)" title="Test" author="YarosLab" allowSplitting="5"> | |
<pageTemplate id="main"> | |
<pageGraphics> | |
<setFont name="Helvetica" size="32.0"/> | |
<drawString x="6cm" y="18cm">Ficha Del Alumno</drawString> | |
</pageGraphics> | |
<frame id="first" x1="1cm" y1="0cm" width="20cm" height="18cm"/> | |
</pageTemplate> | |
</template> | |
<stylesheet> | |
<paraStyle name="align_left_bold" fontName="Helvetica-Bold" fontSize="9" alignment="left"/> | |
<paraStyle name="cod_alumno" fontName="Helvetica-Bold" fontSize="15" alignment="left"/> | |
<paraStyle name="footer" fontName="Helvetica" fontSize="7" alignment="center"/> | |
</stylesheet> | |
<story> | |
<section> | |
[[ repeatIn(alumno_details(),'d') ]] | |
<image x="1.5cm" y="1.5cm" height="3cm" width='3cm' >[[ (d.has_key('foto') and d['foto']) or 'Sin Foto' ]]</image> | |
<para style='cod_alumno' >Código Alumno: [[ (d.has_key('cod_alumno') and d['cod_alumno']) or '- -' ]]</para> | |
<spacer length="0.5cm"/> | |
<para style='align_left_bold'>Datos Personales: </para> | |
<para>[[ (d.has_key('nombres') and d['nombres']) or '- -' ]] [[ (d.has_key('apellido_paterno') and d['apellido_paterno']) or '- -' ]] [[ (d.has_key('apellido_materno') and d['apellido_materno']) or '- -' ]]</para> | |
<spacer length="0.2cm"/> | |
<para style='align_left_bold'>Fecha de Nacimiento:</para> | |
<para>[[ (d.has_key('fecha_nacimiento') and d['fecha_nacimiento']) or '- -' ]]</para> | |
<spacer length="0.2cm"/> | |
<para style='align_left_bold'>Fecha de Nacimiento:</para> | |
<para>[[ (d.has_key('fecha_nacimiento') and d['fecha_nacimiento']) or '- -' ]]</para> | |
<spacer length="0.2cm"/> | |
<para style='align_left_bold'>D.N.I.:</para> | |
<para>[[ (d.has_key('dni') and d['dni']) or '- -' ]]</para> | |
<spacer length="0.2cm"/> | |
<para style='align_left_bold'>Nacionalidad:</para> | |
<para>[[ (d.has_key('nacionalidad') and d['nacionalidad']) or '- -' ]]</para> | |
<spacer length="0.2cm"/> | |
<para style='align_left_bold'>Departamento:</para> | |
<para>[[ (d.has_key('departamento') and d['departamento']) or '- -' ]]</para> | |
<spacer length="0.2cm"/> | |
<para style='align_left_bold'>Dirección:</para> | |
<para>[[ (d.has_key('direccion') and d['direccion']) or '- -' ]]</para> | |
<spacer length="0.2cm"/> | |
<para style='align_left_bold'>Telefono/Celular:</para> | |
<para>[[ (d.has_key('tel_cel') and d['tel_cel']) or '- -' ]]</para> | |
<spacer length="0.2cm"/> | |
<para style='align_left_bold'>Observaciones:</para> | |
<para>[[ (d.has_key('observaciones') and d['observaciones']) or '- -' ]]</para> | |
<spacer length="2cm"/> | |
<para style='footer'>Reporte Básico</para> | |
</section> | |
</story> | |
</document> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment