• Oracle EBS:html报表格式控制CSS carlo


    --格式1

    '<style type="text/css">' ||
    '<-- $header: porstyl2.css 115.9 2011/02/21 09:21:42 DFLEE ship ${  }' ||
    '<!--' ||
    '   body         {background-color: #ffffff;}' ||
    '   .subheader1  {font-family: Arial, Helvetica, Geneva, sans-serif;' ||
    '                 font-size: 13pt;' ||
    '                 font-weight: bold;' ||
    '                 color: #336699;}' ||
    '   .subheader2  {font-family: Arial, Helvetica, Geneva, sans-serif;' ||
    '                 font-size: 10pt;' ||
    '                 font-weight: bold;' ||
    '                 color: #336699;}' ||
    '   .tableheader {font-family: Arial, Helvetica, Geneva, sans-serif;' ||
    '                 font-size: 10pt;' ||
    '                 font-weight: bold;' ||
    '                 background: #E0ECF8;' ||
    '                 color: #336699;' ||
    '                 text-align: center;}' ||
    '   .tabledata   {font-family: Arial, Helvetica, Geneva, sans-serif;' ||
    '                 font-size: 9pt;' ||
    '                 background: #EFF5FB;' ||
    '                 color: #000000;' ||
    '                 mso-number-format: "\@"}' ||
    '   .tablenumber {font-family: Arial, Helvetica, Geneva, sans-serif;' ||
    '                 font-size: 9pt;' ||
    '                 background: #EFF5FB;' ||
    '                 color: #000000;' ||
    '                 text-align: right}' ||
    '   .tablenum002 {font-family: Arial, Helvetica, Geneva, sans-serif;' ||
    '                 font-size: 9pt;' ||
    '                 background: #EFF5FB;' ||
    '                 color: #000000;' ||
    '                 text-align: right;' ||
    '                 mso-number-format: "0\.0000";}' ||
    '    .footer  {font-family: Arial, Helvetica, Geneva, sans-serif;' ||
    '                 font-size: 10pt;' ||
    '                 font-weight: bold;' ||
    '                 color: #336699;}' ||
    '-->' || '</style>';
    

    --格式2

    cux_avic_conc_utl.out_msg('<html>');
    cux_avic_conc_utl.out_msg('<head>');
    cux_avic_conc_utl.out_msg('<meta http-equiv="Content-Type" content="text/html;charset=' ||
                              l_client_charset || '">');
    cux_avic_conc_utl.out_msg('<title></title>');
    cux_avic_conc_utl.out_msg('<style type="text/css" media="all">');
    cux_avic_conc_utl.out_msg('body,table{font-size:13px;font-family:"Book Antiqua","Segoe UI", Tahoma, 
                                         "Trebuchet MS", verdana, helvetica, arial, sans-serif, Georgia;}
                               TH{border:1px solid gray;padding:2px;font-weight:bold;}
                               TD{border:1px solid gray;padding:2px;}
                               #table_margin{margin-left:50px;}
                               .default_text {mso-number-format:"\@";};
                               .num
                               {mso-number-format:"\#\,\#\#0\.00_ \;\[Red\]\\-\#\,\#\#0\.00\\ ";};
                               .num_jpy
                               {mso-number-format:"\#\,\#\#0\ \;\[Red\]\\-\#\,\#\#0\ ";};
                               .percent
                               {mso-number-format:Percent;};
                               .percent1
                               {font-style:italic;
                                text-decoration:underline;
                                text-underline-style:single;
                                mso-number-format:Percent;}');
    cux_avic_conc_utl.out_msg('</style>');
    cux_avic_conc_utl.out_msg('</head>');
    
    
  • 相关阅读:
    zabbix系列 ~ mongo监控相关
    zabbix系列 ~ 自动监控多实例功能
    mysql 查询优化 ~ 多表查询改写思路
    MGR架构~高可用架构细节的梳理
    mysql 半同步复制~ 整体概述与改进
    android 单独编译某个模块
    Nginx使用
    21天学通C++学习笔记(九):类和对象
    1. 个人经验总结
    C++视频教程学习笔记
  • 原文地址:https://www.cnblogs.com/carlo/p/2833657.html
Copyright © 2020-2023  润新知