Jasper_style

时间:2021-05-08 13:40:35

(1) text field

<style name="Header" forecolor="#FFFFFF" backcolor="#002D72" hAlign="Center" vAlign="Middle" fontName="Arial" fontSize="11" isBold="true">
<box>
<topPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
</box>
</style>
<style name="Account" fontName="Arial" fontSize="11">
<conditionalStyle>
<conditionExpression><![CDATA["Y".equals($F{MakeBold})]]></conditionExpression>
<style isBold="true"/>
</conditionalStyle>
<conditionalStyle>
<conditionExpression><![CDATA["Y".equals($F{Show_Top_Line})]]></conditionExpression>
<style>
<box>
<topPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
</box>
</style>
</conditionalStyle>
<conditionalStyle>
<conditionExpression><![CDATA["Y".equals($F{Show_Bottom_Line})]]></conditionExpression>
<style>
<box>
<bottomPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
</box>
</style>
</conditionalStyle>
<conditionalStyle>
<conditionExpression><![CDATA["Y".equals($F{Show_Box_Ver_Line})]]></conditionExpression>
<style>
<box>
<leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
</box>
</style>
</conditionalStyle>
</style>
<style name="Amount" style="Account" hAlign="Right" vAlign="Middle" pattern="#,##0.00;(#,##0.00)" fontName="Arial" fontSize="11">
<paragraph rightIndent="4"/>
</style>

(2) crosstab

<style name="Crosstab_header" forecolor="#FFFFFF" backcolor="#002D72" hAlign="Center" vAlign="Middle" fontName="Arial" fontSize="11" isBold="true">
<box>
<leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
</box>
</style>
<style name="Crosstab_Account" hAlign="Left" vAlign="Middle" fontName="Arial" fontSize="11">
<paragraph leftIndent="4"/>
<conditionalStyle>
<conditionExpression><![CDATA[$V{MakeBold1}.trim().equals("Y")]]></conditionExpression>
<style isBold="true"/>
</conditionalStyle>
<conditionalStyle>
<conditionExpression><![CDATA[$V{Show_Top_Line1}.trim().equals("Y")]]></conditionExpression>
<style>
<box>
<topPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
</box>
</style>
</conditionalStyle>
<conditionalStyle>
<conditionExpression><![CDATA[$V{Show_Bottom_Line1}.trim().equals("Y")]]></conditionExpression>
<style>
<box>
<bottomPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
</box>
</style>
</conditionalStyle>
<conditionalStyle>
<conditionExpression><![CDATA[$V{Show_Box_Ver_Line1}.trim().equals("Y")]]></conditionExpression>
<style>
<box>
<leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
</box>
</style>
</conditionalStyle>
</style>
<style name="Crosstab_Amount" style="Crosstab_Account" backcolor="#FFFFFF" hAlign="Right" vAlign="Middle" pattern="#,##0.00;(#,##0.00)">
<paragraph leftIndent="0" rightIndent="4"/>
</style>

(3) table

相关文章