Hey all,
We have a report that shows what assemblies need to be produced. I created a template so we can print them. It looks like a spreadsheet and in the template I put a border but it's not doing the border on the individual cells. Anybody know what I need to add to the source code to get the internal borders? Source is below.
Thanks
Greg
<?xml version="1.0"?><!DOCTYPE pdf PUBLIC "-//big.faceless.org//report" "report-1.1.dtd">
<pdf>
<head>
<link name="NotoSans" type="font" subtype="truetype" src="${nsfont.NotoSans_Regular}" src-bold="${nsfont.NotoSans_Bold}" src-italic="${nsfont.NotoSans_Italic}" src-bolditalic="${nsfont.NotoSans_BoldItalic}" bytes="2" />
<#if .locale == "zh_CN">
<link name="NotoSansCJKsc" type="font" subtype="opentype" src="${nsfont.NotoSansCJKsc_Regular}" src-bold="${nsfont.NotoSansCJKsc_Bold}" bytes="2" />
<#elseif .locale == "zh_TW">
<link name="NotoSansCJKtc" type="font" subtype="opentype" src="${nsfont.NotoSansCJKtc_Regular}" src-bold="${nsfont.NotoSansCJKtc_Bold}" bytes="2" />
<#elseif .locale == "ja_JP">
<link name="NotoSansCJKjp" type="font" subtype="opentype" src="${nsfont.NotoSansCJKjp_Regular}" src-bold="${nsfont.NotoSansCJKjp_Bold}" bytes="2" />
<#elseif .locale == "ko_KR">
<link name="NotoSansCJKkr" type="font" subtype="opentype" src="${nsfont.NotoSansCJKkr_Regular}" src-bold="${nsfont.NotoSansCJKkr_Bold}" bytes="2" />
<#elseif .locale == "th_TH">
<link name="NotoSansThai" type="font" subtype="opentype" src="${nsfont.NotoSansThai_Regular}" src-bold="${nsfont.NotoSansThai_Bold}" bytes="2" />
</#if>
<style type="text/css">table { font-size: 9pt; table-layout: fixed; width: 100%; }
th { font-weight: bold; font-size: 8pt; vertical-align: middle; padding: 5px 6px 3px; background-color: #e3e3e3; color: #333333; padding-bottom: 10px; padding-top: 10px; }
td { padding: 4px 6px; }
b { font-weight: bold; color: #333333; }
</style>
</head>
<body padding="0.5in 0.5in 0.5in 0.5in" size="Letter">
<table border="2" style="width: 634px;"><#list results as result><#if result_index == 0>
<thead>
<tr>
<th style="width: 196px;"><span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:22px;">${result.shipdate@label}</span></span></th>
<th style="width: 240px;"><span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:22px;">${result.item@label}</span></span></th>
<th style="width: 140px;"><span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:22px;">${result.formulanumeric@label}</span></span></th>
</tr>
</thead>
</#if><tr>
<td style="text-align: right; width: 196px;"><span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:22px;">${result.shipdate}</span></span></td>
<td style="width: 240px;"><span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:22px;">${result.item}</span></span></td>
<td style="text-align: right; width: 140px;"><span style="font-family:Arial,Helvetica,sans-serif;"><span style="font-size:22px;">${result.formulanumeric}</span></span></td>
</tr>
</#list></table>
</body>
</pdf>