I*o
2 楼
需求是这样的:
input: XML data, PDF template (generated by Designer)
output: PDF file (template filled up by XML data)
现在的solution是XPAAJ,只要一个method call就可以。
但是问题是,当xml data很大,并且有image data时候,
生成的PDF没有data,跟template没填东西一样。
考虑中的solutions:
1。用iText之类的package。不过不知道iText是否支持这种template?
2。研究一下XPAAJ是不是有什么tricks
说明:adobe现在已经不支持XPAAJ了,download都没了。
现在他们想推的LiveCycle,太贵,不能考虑。
各位有类似经验可以share一下么?谢谢!
input: XML data, PDF template (generated by Designer)
output: PDF file (template filled up by XML data)
现在的solution是XPAAJ,只要一个method call就可以。
但是问题是,当xml data很大,并且有image data时候,
生成的PDF没有data,跟template没填东西一样。
考虑中的solutions:
1。用iText之类的package。不过不知道iText是否支持这种template?
2。研究一下XPAAJ是不是有什么tricks
说明:adobe现在已经不支持XPAAJ了,download都没了。
现在他们想推的LiveCycle,太贵,不能考虑。
各位有类似经验可以share一下么?谢谢!
w*r
4 楼
这个东西我写过,用itext, 自己设计一个template, 数据和chart从class到一个XML
file, 然后自己写一个parser把XML用itext生成pdf.. 不是很难,基本上属于四天dev
两天test的活儿
【在 I*******o 的大作中提到】
: 需求是这样的:
: input: XML data, PDF template (generated by Designer)
: output: PDF file (template filled up by XML data)
: 现在的solution是XPAAJ,只要一个method call就可以。
: 但是问题是,当xml data很大,并且有image data时候,
: 生成的PDF没有data,跟template没填东西一样。
: 考虑中的solutions:
: 1。用iText之类的package。不过不知道iText是否支持这种template?
: 2。研究一下XPAAJ是不是有什么tricks
: 说明:adobe现在已经不支持XPAAJ了,download都没了。
file, 然后自己写一个parser把XML用itext生成pdf.. 不是很难,基本上属于四天dev
两天test的活儿
【在 I*******o 的大作中提到】
: 需求是这样的:
: input: XML data, PDF template (generated by Designer)
: output: PDF file (template filled up by XML data)
: 现在的solution是XPAAJ,只要一个method call就可以。
: 但是问题是,当xml data很大,并且有image data时候,
: 生成的PDF没有data,跟template没填东西一样。
: 考虑中的solutions:
: 1。用iText之类的package。不过不知道iText是否支持这种template?
: 2。研究一下XPAAJ是不是有什么tricks
: 说明:adobe现在已经不支持XPAAJ了,download都没了。
b*y
6 楼
in our application, template is already in file format
and the xml generation part is also done
how difficult is it to use iText to read the XML parsing result
and render it in the template?
thanks!
dev
【在 w*r 的大作中提到】
: 这个东西我写过,用itext, 自己设计一个template, 数据和chart从class到一个XML
: file, 然后自己写一个parser把XML用itext生成pdf.. 不是很难,基本上属于四天dev
: 两天test的活儿
and the xml generation part is also done
how difficult is it to use iText to read the XML parsing result
and render it in the template?
thanks!
dev
【在 w*r 的大作中提到】
: 这个东西我写过,用itext, 自己设计一个template, 数据和chart从class到一个XML
: file, 然后自己写一个parser把XML用itext生成pdf.. 不是很难,基本上属于四天dev
: 两天test的活儿
w*r
8 楼
if xml is ready, all u need to do is write ur own parser, a week's work
【在 b******y 的大作中提到】
: in our application, template is already in file format
: and the xml generation part is also done
: how difficult is it to use iText to read the XML parsing result
: and render it in the template?
: thanks!
:
: dev
【在 b******y 的大作中提到】
: in our application, template is already in file format
: and the xml generation part is also done
: how difficult is it to use iText to read the XML parsing result
: and render it in the template?
: thanks!
:
: dev
b*y
10 楼
sigh, traced the bug, found out XPAAJ doesn't work for some (but not all)
images.
the problem is XPAAJ doesn't throw any exception, only creates a blank PDF.
so i'm clueless about why these specific pictures don't work.
maybe I'll have to turn to itext...
【在 w*r 的大作中提到】
: if xml is ready, all u need to do is write ur own parser, a week's work
images.
the problem is XPAAJ doesn't throw any exception, only creates a blank PDF.
so i'm clueless about why these specific pictures don't work.
maybe I'll have to turn to itext...
【在 w*r 的大作中提到】
: if xml is ready, all u need to do is write ur own parser, a week's work
b*y
12 楼
lol...found out if the xml string contains 'xfdf', then XPAAJ would stop
working.
what a funny bug. adobe is not supporting XPAAJ anymore so this bug won't be
fixed.
but we won't buy LC server.
【在 b******y 的大作中提到】
: sigh, traced the bug, found out XPAAJ doesn't work for some (but not all)
: images.
: the problem is XPAAJ doesn't throw any exception, only creates a blank PDF.
: so i'm clueless about why these specific pictures don't work.
: maybe I'll have to turn to itext...
working.
what a funny bug. adobe is not supporting XPAAJ anymore so this bug won't be
fixed.
but we won't buy LC server.
【在 b******y 的大作中提到】
: sigh, traced the bug, found out XPAAJ doesn't work for some (but not all)
: images.
: the problem is XPAAJ doesn't throw any exception, only creates a blank PDF.
: so i'm clueless about why these specific pictures don't work.
: maybe I'll have to turn to itext...
j*z
18 楼
一个很短的恐怖小说:芙蓉姐要嫁给我!
j*i
23 楼
明显就是灵魂出窍了,没啥。
相关阅读
Web Seminar hosted by CINAOUG on 2011/06/13 (转载)Front desk IT opening at a top bank有没有大牛在搞cloud?-- 包子贴最近迷上了javascriptCan you offer some performance/scalability programming tips (转载)anyone familiar with JNA?Oracle Webinar hosted by CINAOUG on July 18, 2011 (转载)菜鸟问问题?DC hot start-up 招 JAVA engineer (sponsor h1b, green-card)some simple matters take a long long time to have a solutionjoke(fw)JVM freezelinux laptop sharing screen ??C++资深程序员转Java应该如何入手?免费$500或2次往返机票offer Sapphire Preferred Card来问两个HashMap的问题how to open .jar file一个java servelet 的问题Is MappedByteBuffer.putInt atomic?spring web service issue