INT013 - 付録A

LANSA Integrator

INT013 - 付録A


PDF XMLテンプレートのソースコード (iii_PDF_Template.xml)

<?xml version="1.0" encoding="utf-8"?>
<!--
     List Sample PDF XML document
-->
<document page-size="A4"

      orientation = "landscape"
  background="white"   
          border="false"
          author="Acme Corporation"
          title="Document Title"
          subject="Document Subject"
          keywords="word1, word2"
          creator=""
          hide-toolbar=""
          hide-menubar=""
          hide-windowui=""
          allow-printing="true"
          allow-copy="false"
          allow-modify-contents="false"
          allow-modify-annotations="false"
          allow-fillin="false"
          allow-screenreader="false"
          allow-assembly="false"
          allow-degraded-printing="false">

<content name="LOGO">
<image x1="710" y1="540"   file="..\..\webserver\images\lanlogo.gif"  scale="100" />
</content>

<content name="HEADER">
<!--

-->
<!-- Applicant Details-->

<text x1="66" y1="540" width="350" height="25" style="title" border="" align="left" leading="" value="{STD_TEXTL}"/>
<image x1="66" y1="490"   file="..\..\x_win95\x_lansa\x_dem\execute\ph0070.tif"  scale="10" />
<text x1="240" y1="490" width="150" height="15" style="normal" border="" align="left" leading="" value="{FULLNAME}"/>

<text x1="530" y1="490" width="250" height="15" style="label" border="1" align="left" leading="" value="Business Tel:"/>
<text x1="530" y1="480" width="149" height="15" style="label" border="" align="left" leading="" value="Home Tel:"/>
<text x1="530" y1="470" width="149" height="15" style="label" border="" align="left" leading="" value="Department:"/>
<text x1="530" y1="460" width="149" height="15" style="label" border="" align="left" leading="" value="Section:"/>

<text x1="600" y1="490" width="250" height="15" style="normal" border="" align="left" leading="" value="{PHONEBUS}"/>

</content>

<content name="SKILLTBL">
<!--            Table using working list     -->
<!-- ***********************************     -->

<table x1="66" y1="390" width="700" height="500" style="normal" alternate="false" title-show="" border ="false" cell-border ="false">
  <column field="SKILDESC" width-percentage ="20" vertical-align="center" horizontal-align="left" title-horizontal-align="left" title-border="false" title-style="table" title="SKILL" />
  <column field="GRADEDES" width-percentage ="20" vertical-align="center" horizontal-align="left" title-horizontal-align="left" title-border="false" title-style="table" title="GRADE" />

</table>
</content>

<content name="FOOTER1">
<text x1="66" y1="70" width="150" height="15" style="footer" border="" align="left" leading="" value="{STD_NAME}"/>
<text x1="670" y1="70" width="50" height="15" style="footer" border="" align="right" leading="" value="Page:"/>
<text x1="710" y1="70" width="50" height="15" style="footer" border="" align="right" leading="" value="{REP1PAGE}"/>
<page orientation="landscape"/>
</content>

<!--
        User styles
-->
<style name="normal" file="Din.ttf" size="8" color="black" encoding="Cp1252" embedded="true"/>
<style name="table" file="Din.ttf" size="9" color="black"  style="bold" encoding="Cp1252" embedded="true"/>
<style name="footer" file="Din.ttf" size="7" color="black"  style="normal" encoding="Cp1252" embedded="true"/>
<style name="footerb" file="Din.ttf" size="7" color="black"  style="bold" encoding="Cp1252" embedded="true"/>
<style name="footeru" file="Din.ttf" size="7" color="black"  style="underline" encoding="Cp1252" embedded="true"/>
<style name="small" file="Din.ttf" size="7" color="black"  style="normal" encoding="Cp1252" embedded="true"/>
<style name="title" file="Din.ttf" size="12" color="black"  style="bold" encoding="Cp1252" embedded="true"/>
<style name="label" file="Din.ttf" size="8" color="black"  style="italic" encoding="Cp1252" embedded="true"/>
 
</document>