I successfully created PDF , but now I don't know how to make browser show
it like PDF (Acrobat is installed, when I open file directly in browser,
all is ok).
If I use this code:
File inputFile = new File(pdfFile);
FileReader fr = new FileReader(inputFile);
int c;
while( (c = in.read()) != -1)
[EMAIL PROTECTED] wrote:
I successfully created PDF , but now I don't know how to make browser show
it like PDF (Acrobat is installed, when I open file directly in browser,
all is ok).
Take a look at docs/examples/embedding/FopServlet.java as an example how to
return pdf.
What must I do, to make
I am embedding TIFF images into a PDF document to enable users to watch and
print the images from their browser without having a tiff-plugin. The TIFF
images are usually at 200 - 300 dpi (black/white) and use CCITT Fax Gr.4
compression. Embedding them in the PDF results in a filesize nearly 4
That schematic, is this a b/w-image? If so I can imagine that the
original TIFF is compressed using CCITT compression. FOP doesn't support
CCITT at the moment, so it recompresses the image using ZLib compression.
For b/w-images this often results in a bigger file. As for the redraw
speed: It
See my answer to Phil Dickinson just a few moments ago. It seems to
apply to you, too.
Here's the link:
http://marc.theaimsgroup.com/?l=fop-userm=103640636016829w=2
On Mon, 4 Nov 2002 11:29:46 +0100 Bellinger, Michael wrote:
I am embedding TIFF images into a PDF document to enable users to
Thanks to all, this code works ...
File inputFile = new File(pdfFile);
FileReader fr = new FileReader(inputFile);
ByteArrayOutputStream baos = new ByteArrayOutputStream();
int ch;
while((ch = fr.read()) != -1) {
I newbie question...
Why we have that read the pdf file ? Doesn't is a simple link sufficient for
execute it ? I mean isn't it a browser work ?
Gilson
- Mensagem original -
De: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]
Enviada em: segunda-feira, 4 de novembro de
Gilson Nascimento Del Rei wrote:
I newbie question...
Why we have that read the pdf file ?
FOP's output is a stream and in order to set Content-Length you have to read
the whole stream to into memory or into a temporary file.
Doesn't is a simple link sufficient for
execute it ?
Link to where?
We're creating some on the fly pdf files in WebSphere Application Developer
(WSAD 4.0.3) and testing it in its internal WebSphere Test Environment.
Everything works just fine, and PDF files are created and displayed. BTW,
its nothing too complicated, usualy single page with single table in it.
Phillip Rhodes wrote:
2) The svg image looks very rough. I need to set Smooth line art
manually in the acrobat reader. Is there anyway around this?
No, currently not. You'll have to take the shouting. Or invent
some machinery which sets the flag remotely.
I'm not even sure whether this is
This will create an empty row in a 3 columns table:
fo:table-row
fo:table-cell number-columns-spanned=3
fo:block space-before=5pt /
/fo:table-cell
/fo:table-row
To do it the other way check number-rows-spanned
--
Morten Isaksen
[EMAIL PROTECTED] - http://www.aub.dk/~misak
11 matches
Mail list logo