zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    库存管理系统
    2018/12/9数据库的增删改查
    小学生出题系统(文件输入输出)
    第五次实验动手动脑
    (异常处理)JAVA项目中的常用的异常处理情况
    学习进度——第十三周
    程序员修炼之道:从小工到专家读后感02
    第一阶段意见评论
    学习进度——第十二周
    share团队冲刺10
  • 原文地址:https://www.cnblogs.com/liupuLearning/p/6290583.html
Copyright © 2011-2022 走看看