• Jasper_style


    (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

  • 相关阅读:
    5.2 i++
    5.1 赋值语句
    Implement Queue using Stacks
    Binary Tree Paths
    Single Number III
    Ugly Number
    SurfaceHolder.Callback
    intellj(idea) 编译项目时在warnings 页签框里 报 “xxx包不存在” 或 “找不到符号” 或 “未结束的字符串字面值” 或 “需要)” 或 “需要;”等错误提示
    Hibernate添加日志--log4j
    java实现网页验证码
  • 原文地址:https://www.cnblogs.com/liupuLearning/p/6290583.html
Copyright © 2020-2023  润新知