惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

W
WeLiveSecurity
The GitHub Blog
The GitHub Blog
Engineering at Meta
Engineering at Meta
Microsoft Azure Blog
Microsoft Azure Blog
The Register - Security
The Register - Security
Stack Overflow Blog
Stack Overflow Blog
博客园 - 三生石上(FineUI控件)
T
Threat Research - Cisco Blogs
S
SegmentFault 最新的问题
V2EX - 技术
V2EX - 技术
Hacker News: Ask HN
Hacker News: Ask HN
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
P
Proofpoint News Feed
J
Java Code Geeks
Microsoft Security Blog
Microsoft Security Blog
M
MIT News - Artificial intelligence
AI
AI
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
P
Proofpoint News Feed
Hacker News - Newest:
Hacker News - Newest: "LLM"
B
Blog
N
News and Events Feed by Topic
N
News | PayPal Newsroom
Google DeepMind News
Google DeepMind News
酷 壳 – CoolShell
酷 壳 – CoolShell
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
WordPress大学
WordPress大学
C
Cybersecurity and Infrastructure Security Agency CISA
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 【当耐特】
U
Unit 42
腾讯CDC
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
The Cloudflare Blog
H
Help Net Security
Recent Announcements
Recent Announcements
P
Privacy & Cybersecurity Law Blog
IT之家
IT之家
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Security Archives - TechRepublic
Security Archives - TechRepublic
L
LINUX DO - 热门话题
Martin Fowler
Martin Fowler
MongoDB | Blog
MongoDB | Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
H
Heimdal Security Blog
博客园 - 聂微东
S
Securelist
大猫的无限游戏
大猫的无限游戏
Cloudbric
Cloudbric
Cisco Talos Blog
Cisco Talos Blog

博客园 - finema

如何使用 RESTClient 调试微信支付接口 关于HTML使用ComDlg ActiveX 无法弹出相应对话框的问题1 JAX-WS 访问SSL 的WebService 老是HTTP transport error: Connection refused错误的解决办法。 [转]为什么开发人员工作10多年了还会迷茫?没有安全感? VC项目配置详解(转) 不使用动态sql语句,正确书写case when中的null处理 [转] 请不要做浮躁的嵌入式系统工程师 [转]一些Eclipse开发用到的快捷键 Tomcat 6.0.24 不兼容的APR版本问题 【转】看清自己究竟要什么 [转]7大原因,决定去留 [转]Android系统源代码情景分析:基础知识 谁是企业最需要的人(链接) IE 和 FireFox 对 DOM 支持的差异 【转】什么是AlphaBlend技术 软件开发精品教程或文章 【转】WinCE读写XML文件 理解windows的移动原点 WinCE 不支持 ON_WM_SHOWWINDOW 事件的变通处理
关于iReport 导出文件的问题
finema · 2011-10-19 · via 博客园 - finema

1、在运行时,不能导出到excel 文件

A:请确保 apache 的poi库(poi-3.0.1-FINAL-20070705.jar或更高)在你的 web-info/lib 路径下。

2、用iRepor如何导出泰文的pdf(下面以iReport3.0为例)

1)在Windows的字体目录下,找到 ANGSA.TTF 字体,拷贝到 iReport 的 fonts目录下

2)在iReport 菜单中选择,“选项-->类路径-->添加文件夹”选择iReport的 fonts目录(如H:\jasperReports\ireport300\fonts),保存类路径

3)选择“选项-->重新加载字体”

4)设置你报表的 静态泰文文本或 文本字段,字体选“Angsana New”, PDF字段选“Angsana New(ANGSA.TTF)”,PDF嵌入打勾,PDF编码选“Identity-H (Unicode with horizontal writing)”

5)这样就在 iRepot设计预览中,导出的PDF文件,可以看到泰文了

6)如果在运行时(即产品发布)预览显示很正常,但导出的PDF文件一片空白,而且Eclipse提示以下错误信息,说明在 web-inf/lib 路径下找不到相应的字体文件,需要把相应的字体文件打包成jar(如jar cvf xxFont.jar ANGSA.TTF),并部署到 web-inf/lib 目录下。

Exception in thread "AWT-EventQueue-0" net.sf.jasperreports.engine.JRRuntimeException: Could not load the following font :
pdfFontName   : ANGSA.TTF
pdfEncoding   : Identity-H
isPdfEmbedded : true

参考:

http://www.adempiere.com/Using_Jasper_Report_Form_in_place_of_Standard_Forms#Deploying_Jasper_Report_for_Production_.28in_regards_to_Thai_fonts.29

http://www.adempiere.com/ADempiere/Compiere_JasperReports_Integration_HowTo#Problems_exporting_to_PDF

Could not load the following font :pdfFontName   : STSong-Light问题

http://blog.sina.com.cn/s/blog_4b08012601000c5z.html

http://hi.baidu.com/huyangtree/blog/item/2038d0d9ebbeac6bd1164e23.html

http://www.diybl.com/course/3_program/java/javajs/20100719/453225.html