95 lines
2.3 KiB
Plaintext
95 lines
2.3 KiB
Plaintext
<Report Setting>
|
|
<PageSize>
|
|
<PageHeight>21cm</PageHeight>
|
|
<PageWidth>29.7cm</PageWidth>
|
|
<LeftMargin>1cm</LeftMargin>
|
|
<RightMargin>0.5cm</RightMargin>
|
|
<TopMargin>1cm</TopMargin>
|
|
<BottomMargin>0.5cm</BottomMargin>
|
|
<ColumnSpacing>1cm</ColumnSpacing>
|
|
<Orientation>直(Portrait)/橫(Landscape)</Orientation> <!-- 報表直橫 --!>
|
|
</PageSize>
|
|
|
|
<defaultSetting>
|
|
<!-- 本區的字體會特別放大, 所以要特殊定義 --!>
|
|
<ph_title>
|
|
<font-size>26</font-size>
|
|
<font-family>細明體<font-family>
|
|
<TextAlign>center</TextAlign>
|
|
</ph_title>
|
|
<phe>
|
|
<font-size>12</font-size>
|
|
<font-family>細明體<font-family>
|
|
<TextAlign>left</TextAlign>
|
|
</phe>
|
|
<pageheader>
|
|
<font-size>12</font-size>
|
|
<font-family>細明體<font-family>
|
|
<TextAlign>left</TextAlign>
|
|
</pageheader>
|
|
<pagefooter>
|
|
<font-size>12</font-size>
|
|
<font-family>細明體<font-family>
|
|
<TextAlign>left</TextAlign>
|
|
</pagefooter>
|
|
<detail>
|
|
<Style>
|
|
<TextAlign>Right</TextAlign>
|
|
<TopBorder>
|
|
<Style>Solid</Style>
|
|
</TopBorder>
|
|
<BottomBorder>
|
|
<Style>Solid</Style>
|
|
</BottomBorder>
|
|
<PaddingLeft>2pt</PaddingLeft>
|
|
<PaddingRight>2pt</PaddingRight>
|
|
<PaddingTop>2pt</PaddingTop>
|
|
<PaddingBottom>2pt</PaddingBottom>
|
|
</Style>
|
|
<height>20px</height>
|
|
</detail>
|
|
</defaultSetting>
|
|
</Report Setting>
|
|
|
|
<pageheader>
|
|
<!-- page header element, 建議大量運用標準預設, 減少定義檔的內容 --!>
|
|
<!-- 每一區都有標準的設定, 例如 font-family, font-size, 都可以設定在defaultSetting 區, 不必每一個 element 都要設定 --!>
|
|
<ph_title>
|
|
<label>{CorpName}</label> <!-- 可以接收一些事先定義好的系統變數 {xx} --!>
|
|
</ph_title>
|
|
<phe>
|
|
報表查詢條件的顯示方式
|
|
</phe>
|
|
</pageheader>
|
|
|
|
<groupheader1>
|
|
<GroupExpression>billno</GroupExpression>
|
|
<td>日期</td>
|
|
<td>{billdate}</td>
|
|
</groupheader1>
|
|
<groupfooter1>
|
|
<fieldname>subamount<fieldname>
|
|
<calc_type>Sum</calc_type>
|
|
<newpage>false</newpage> <!-- 群組是否跳頁, 預設不跳頁 --!>
|
|
</groupfooter1>
|
|
<groupheader2>
|
|
</groupheader2>
|
|
<groupfooter2>
|
|
</groupfooter2>
|
|
<groupheader3>
|
|
</groupheader3>
|
|
<groupfooter3>
|
|
</groupfooter3>
|
|
|
|
<detail>
|
|
<fieldname>billdate</fieldname>
|
|
<width>80px</width>
|
|
<TextAlign>left</TextAlign>
|
|
<format>{qty-decimal}<format> <!-- 數量小數位數(數字欄位 only), 要依參數 --!>
|
|
|
|
<fieldname>personid<fieldname>
|
|
<width>120px</width>
|
|
</detail>
|
|
|
|
<pagefooter>
|
|
</pagefooter> |