请上传宽度大于 1200px,高度大于 164px 的封面图片
    调整图片尺寸与位置
    滚轮可以放大缩小图片尺寸,按住图片拖动可调整位置,多余的会自动被裁剪掉
取消
MOMO_KANA(uid:83714)
职业资格认证:FCP-报表开发工程师
  • 环境:linux+tomcatServer version: Apache Tomcat/8.5.35Server built:   Nov 3 2018 17:39:20 UTCServer number:  8.5.35.0OS Name:        LinuxOS Version:     2.6.32-431.el6.x86_64Architecture:   amd64JVM Version:    1.8.0_191-b12JVM Vendor:     Oracle Corporation版本:帆软10.0jar包版本:插件版本:文件上传下载6.1.1问题及现象说明:上传的两个文件大小分别为112k和1439k(1)上传第一个文件文件上传后点击空白处,文件会自动识别变成蓝色字体连接且点击下图位置可以正常下载文件(2)第二个文件上传上传后点击空白处,文件并不会变成蓝色连接,而是保持下图样式当点击上图连接后下载内容为undefined经过多次测试后发现当文件设置为1MB一下是文件可正常上传,超过则上传失败,附带undefined文件(后缀名是手动修改的。上传到论坛没后缀上传不了undefined.txt)这个文件仔细看的话貌似是个html而且貌似报了个空指针。。。。测试用的cpt,test.cpt这个cpt就只加了个控件,而且调了空间一直可见
  • 81925如图自动换行后单元格的内容显示不全
  • 通过浏览器确认了单元格的id代码,本想通过id来获取单元格元素,但是在实际使用的时候发现id最后一个数不是固定的。 111317其中id这一部分。。F5是单元格 15是sheet号,,,那最后这个数是表示什么? 一个多sheet报表中有的是0、有的就有数。是0的sheet刷新之后还是0,但是有数的单元格刷新之后数据也会变。 有没有什么好的办法能获取到某个单元格的元素?? 编辑于 2018-7-25 13:51
  • 这边的组织架构属于整个集团的组织架构。架构的大体结构应该是集团-----大区-----下属公司-----部门----人员。今天看了一下10.0的人员同步,应该是可以实现集团-----公司----人员的同步。能不能完整的在系统中实现同步一个,集团-----大区-----下属公司-----部门----人员这种样式的组织树?
  • 如何在文件控件的上传后事件中获取当前上传文件的文件名等信息?版本8.0插件:上传下载文件
  • 后台批量导出Excel- http://help.finereport.com/doc-view-738.html 根据这上边的代码自己写了个java。。本地直接运行java测试成功。 把class文件放到图片所示的地方。。 然后自定义函数里边写一个java调用这个函数。如图所示 然后在帆软里边调用这个自定义函数,调用时tomcat和帆软后台都没报错。。返回值提示成功。。文件也生成,但是帆软的插件就崩溃了。。 求大神帮帮忙 java代码 package com.fr.io.e; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.util.Arrays; import com.fr.base.FRContext; import com.fr.general.ModuleContext; import com.fr.dav.LocalEnv; import com.fr.io.TemplateWorkBookIO; import com.fr.io.exporter.ExcelExporter; import com.fr.main.TemplateWorkBook; import com.fr.main.workbook.ResultWorkBook; import com.fr.report.module.EngineModule; import com.fr.stable.StableUtils; import com.fr.stable.WriteActor; import com.sun.scenario.effect.Bloom; public class ExportBatch { static String envpath = "/opt/apache-tomcat-8.5.16/webapps/WebReport/WEB-INF"; static boolean falg = true; /* public static void main(String args) { ExportBatch a = new ExportBatch(); boolean f = a.xls("报表名称","报表路径",new File("txt文件"),"C"); System.out.println(f); } */ public ExportBatch(){ } public ExportBatch(Object o){ } public boolean xls(String cptName,String cptPath,File parafile,String filePath){ falg = true; //ExportBatch.export("报表名称","报表路径",new File("txt文件"),"C"); ExportBatch.export(cptName,cptPath,parafile,filePath); return falg; } /* * cptName--cpt的报表名称 * cptPath--cpt的报表路径 * parafile--用于传参数用的txt文件的存放路径 * filePath--盘符路径如C、D、E */ public static void export(String cptName,String cptPath,File parafile,String filePath){ try { // 定义报表运行环境,用于执行报表 //static String envpath = "/opt/apache-tomcat-8.5.16/webapps/WebReport/WEB-INF"; FRContext.setCurrentEnv(new LocalEnv(envpath)); ModuleContext.startModule(EngineModule.class.getName()); // 读取环境下的模板文件 TemplateWorkBook workbook = TemplateWorkBookIO.readTemplateWorkBook(FRContext.getCurrentEnv(),cptPath); //用参数替换 "doc\\Primary\\DetailReport\\Details.cpt" // 读取用于保存的参数值的txt文件 //File parafile = new File(envpath + "\\para.txt"); //用参数替换文件路径 FileInputStream fileinputstream; fileinputstream = new FileInputStream(parafile); BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(fileinputstream)); // 定义保存参数的map,用于执行报表 java.util.Map paramap = new java.util.HashMap(); /* * 遍历参数值所在TXT文件,TXT文件中参数保存形式为 para1,para2 江苏,陈羽 江苏,安娜 首先取出第一行保存参数名称 * 遍历每个参数组合,如para1=江苏、para2=陈羽,根据参数执行模板,并将结果导出excel excel文件名为名称+导出编号 */ // 读第一行,保存参数名称 String lineText = bufferedReader.readLine(); lineText = lineText.trim(); String paraname = StableUtils.splitString(lineText, ","); System.out.println(Arrays.toString(paraname)); // 遍历每个参数组合,执行模板,导出结果 int number = 0; while ((lineText = bufferedReader.readLine()) != null) { lineText = lineText.trim(); String paravalue = StableUtils.splitString(lineText, ","); for (int j = 0; j < paravalue.length; j++) { paramap.put(paraname, paravalue); } ResultWorkBook result = workbook.execute(paramap,new WriteActor()); OutputStream outputstream = new FileOutputStream(new File(filePath+":\\"+ cptName + lineText + ".xls")); ExcelExporter excelexporter = new ExcelExporter(); excelexporter.export(outputstream, result); // 最后要清空一下参数map,用于下次计算 paramap.clear(); number++; outputstream.close(); } ModuleContext.stopModules(); System.out.print("try"); } catch (Exception e) { //e.printStackTrace(); falg = false; System.out.println("catch"); } } }自定义函数的代码 package com.fr.test; import java.io.File; import com.fr.io.e.ExportBatch; import com.fr.script.AbstractFunction; public class CSUM extends AbstractFunction { public Object run(Object args) { ExportBatch a = new ExportBatch(); boolean f = a.xls("AA","doc/Primary/DetailReport/Details.cpt",new File("/opt/apache-tomcat-8.5.16/webapps/WebReport/a.txt"),"D"); //System.out.println(f); return f; } } 编辑于 2018-1-12 10:01 编辑于 2018-1-12 10:02
  • 填报预览下,报表设置了冻结之后,点击数据检验提示的错误报表无法定位到出现校验错误的那一列 106675 校验提示和冻结都是需要的有么有什么好办法能解决这个问题
  • 101420 想再按钮中实现,帆软超链接中的这种打开对话框的形式。。。 请问能不能实现?? 要怎么实现。。
  • 某列值报表展示的时候需要显示。。。但是打印时需要隐藏 100947 按照帮助文档上设置了。。打印确实内容和背景都不显示了。。。 但是边框还是显示的。。。如何将边框也隐藏 100948
  • 100253 文件上传时如图进度上传成功之后文件是存放再什么位置的?? 用这个插件将数据存放到oracle数据库的BLOB的格式中,是不是说超过BLOB的最大限度都可以上传??

34

107

34

10

1234下一页
个人成就
内容被浏览6,528
加入社区6年357天
返回顶部