Bruno,
i wish you and all your family a merry xmas.
I hope your son get very well soon.
Good luck for all!
..and thanks for all your job!
Regards
Mirco
--
___
iText-questions ma
The code works fine. If you dump the ByteArrayOutputStream to a file, like
this...
FileOutputStream fos = new FileOutputStream("mynewdocument.pdf",false);
fos.write(bos.toByteArray());
fos.close();
...the pdf is just fine. Opening a new document is useless, but not harmful.
Your error is oc
I will be out of the office starting 12/19/2008 and will not return until
12/29/2008.
--
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.
Thank you. Sincerely yours,
Jitender.
--
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-q
Thanks for clearing that up. Seems I might be closer. The cleaned up code is
below
public class FormPdfView extends AbstractPdfView {
protected void buildPdfDocument(Map model, Document document, PdfWriter
writer, HttpServletRequest request,
HttpServletResponse re
Based on your System.err.println messages, all the code displayed is being
executed successfully. Whatever is throwing the exception is being executed
after the System.err.println("13"); statement.
- Original Message -
From: "wmhfitz"
To:
Sent: Friday, December 19, 2008 11:56 AM
Subje
Bruno,
Thank you for the good news. Thank you for all the work you do on iText.
I wish you and all those you care for a happy and fulfilling Christmas.
Cheers
AlanK
-Original Message-
From: Bruno Lowagie [mailto:br...@lowagie.com]
Sent: Friday, 19 December 2008 8:07 PM
To: Post all your
wmhfitz wrote:
> Here's my class...
>
> public class FillEnabledForm {
>
> public static final String ENABLED_FORM = "CAI_0708.pdf";
> public static final String RESULT = "ENABLED_CAI.07.10.08.pdf";
> static String readPdf =
> "C:\\TRMWorkspace\\ClearView\\WebContent\\WEB-INF\\
Here's my class...
public class FillEnabledForm {
public static final String ENABLED_FORM = "CAI_0708.pdf";
public static final String RESULT = "ENABLED_CAI.07.10.08.pdf";
static String readPdf =
"C:\\TRMWorkspace\\ClearView\\WebContent\\WEB-INF\\resources\\forms\\CAI070
public class FormPdfView extends AbstractPdfView {
protected void buildPdfDocument(Map model, Document document, PdfWriter
writer, HttpServletRequest request,
HttpServletResponse response) throws ServletException,
IOException {
Pdf
Marta Figueiredo wrote:
I believe that what i asked was clear enough. Both the RTF, HTML and PDF
files are generated the same way.
See my example.
The colors are only applied to the
first two types (RTF and HTML).
So you are saying the the text "Hello World" in hello.htm and hello.rtf
in
I believe that what i asked was clear enough. Both the RTF, HTML and PDF
files are generated the same way. The colors are only applied to the
first two types (RTF and HTML).
I was asking whether WebColors is supposed to work in pdf files. I'm
applying the colors to paragraphs and adding them to
Marta Figueiredo wrote:
> Hi
>
> I'm setting paragraph colors using WebColors class, but the colors are
> only applied if the output is RTF or HTML. It does not work for PDFs,
> does anyone know why? What are the alternatives?
I have a car at home and it doesn't work. What is wrong with it?
(Di
wmhfitz wrote:
> Instead of saying "it's bound to fail" do you have any real suggestions of
> what is I need to change to accomplish this?
The old fashioned way would be to add
System.err.println("I'm here 1");
System.err.println("I'm here 2");
System.err.println("I'm here 3");
...
between every l
Marta Figueiredo wrote:
> Hello,
>
> I'm using PdfCopy to merge the contents of two PDF, but I need the merge
> output to be an array of bytes - ByteArrayOutputStream. Does anyone know
> how to perform this?
You are asking a question you have already answered yourself!
You say you are using Pd
> > 1) convert all printable file-formats into PDF (JPEG, DOC,
> > TXT, PPT, etc.)
>
> Now it's a good time to ask Santa Claus for this. Don't forget to include
> some yet-to-be-invented formats in your Christmas request.
>
You need a reader for each file format you want to support. It's a bit of
Hi
I'm setting paragraph colors using WebColors class, but the colors are
only applied if the output is RTF or HTML. It does not work for PDFs,
does anyone know why? What are the alternatives?
Thanks
Marta
--
_
> -Original Message-
> From: Evan Subar [mailto:ets...@ufl.edu]
> Sent: Friday, December 19, 2008 3:30 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Hi, I had some questions about
> what iText can do
>
> Greetings,
>
> For the project I am working on I a
Greetings,
For the project I am working on I am looking for an SDK (like iText)
that can meet the following requirements...
1) convert all printable file-formats into PDF (JPEG, DOC, TXT, PPT, etc.)
2) merge multiple PDFs into one PDF
3) convert PDF to TIF or at least do some sort of conversion
Create small class file that can be executed from a command line that
creates the error. Submit it and the pdf used for input.
- Original Message -
From: "wmhfitz"
To:
Sent: Friday, December 19, 2008 10:04 AM
Subject: Re: [iText-questions] The document has no pages.
>
> I have tried t
I have tried that. When I replace the line
PdfStamper stamper = new PdfStamper(reader, bos);
with
PdfStamper stamper = new PdfStamper(reader, new
FileOutputStream(result));
I get a new pdf in that directory, still with the same error. I guess there
actually 2 problems, getting rid of the
I didn't see a problem with your code in the original post. Have you tried
dumping the ByteOutputStream to a file see what the pdf looks like? Could be
how you're trying to get the contents of your ByteOutputStream to the
servlet response OutputStream.
- Original Message -
From: "wmhfitz
I removed the line
writer = writer.getInstance(document, bos);
That was not supposed to be there, it was left over from trying different
things to get pdf to the browser.
But with that said, I still get the same error and the following message
displayed on screen.
Instead of saying "it's bo
Hello,
I'm using PdfCopy to merge the contents of two PDF, but I need the merge
output to be an array of bytes - ByteArrayOutputStream. Does anyone know
how to perform this?
Thanks
Marta
--
Orpu wrote:
> Hi,
> Can we convert html to pdf using itext.
Yes, but not all HTML.
> Appreciate some code samples.
There are some examples here: http://1t3xt.info/examples/browse/
> What all versions of Adobe Acrobat are supported by itext 2.1.4.
That's like asking: what kind of apple is a pea
Hi,
Can we convert html to pdf using itext.
Appreciate some code samples.
What all versions of Adobe Acrobat are supported by itext 2.1.4.
Thanks
--
View this message in context:
http://www.nabble.com/Conversion-of-HTML-to-PDF-tp21091864p21091864.html
Sent from the iText - General mailing li
Conversion of a font from one format to another, without permission of
the font foundry that created it, is a violation of their rights!
Leonard
On Dec 19, 2008, at 4:32 AM, Bram__ wrote:
>
> Thanks for all the responses, it's all solved now. Turned out that
> the font -
> Gill Sans - was co
Thanks for all the responses, it's all solved now. Turned out that the font -
Gill Sans - was converted wrong. I used fondu for converting from dfont to
ttf files, after trying some other converters and playing around a bit i
found a converter on Windows that works well.
Thanks again :)
--
Vie
Hi guys,
I have a problem using the importRtfDocument method of the RtfWriter2 class.
If I import an RTF document and, then, I will write it on disk, the exported
RTF document has lost all settings about page margins. Why? Can I import
also the page settings from the original document?
--
View
I got the answer Thanks
--- On Fri, 19/12/08, Harsha Ravindra wrote:
From: Harsha Ravindra
Subject: Re: [iText-questions] Signature with Image alignment problem
To: telltopa...@yahoo.co.in, "Post all your questions about iText here"
Date: Friday, 19 December, 2008, 3:42 PM
hey..
u
hey..
u from india?
cheers
On Fri, Dec 19, 2008 at 2:45 PM, padma priya wrote:
> Hello,
>
> I tried to add an image with the signature. Everything is fine but how
> can I set the alignment of the Image? The problem is image is getting
> overlap with signature.
>
> I want to locate the image at
hel...@gportal.hu wrote:
> After having made some experiments I figured out that "when visible" state
> come up when the given property (printable, exportable) of the layer
> (optional content) is not set at all. So you are right pointing out there
> are only two explicit values (true and false) wh
After having made some experiments I figured out that "when visible" state
come up when the given property (printable, exportable) of the layer
(optional content) is not set at all. So you are right pointing out there
are only two explicit values (true and false) which respects the PDF
reference. A
Hello all,
as many of you know, my son was diagnosed with bone cancer in February.
Last week he had to undergo numerous tests: NMR (also called an MRI),
ultrasound, Rx, CT scans, a hearing test and an extra scan of his
leg,... This was the first thorough test after 9 months of chemotherapy,
and
I am out of the office until 12/22/2008.
I am out of the office on December 19th. If you require immediate
attention, please contact contact the main office and they will patch you
through to Roman.
905-361-7621
Thank You.
Note: This is an automated response to your message "Re: [iText-quest
Menta, Vijay wrote:
> Hi,
>
> We have a situation where we are in need to compress the PDF files
> generated by an Oracle Application. The PDF files generated by this
> application are getting to a point we cannot deliver them via email.
> What I would like to know is if there is a way to use
Daniel Florey wrote:
> Hi,
> first of all I want to thank you for the great book and the itext library.
> Here comes my question:
> When creating pdf documents containing acroforms I sometimes get an
> additional toolbar in Acrobat Reader that enables me to highlight all
> input fields & checkbox
hel...@gportal.hu wrote:
> Leonard is right (sorry for not having been specific enough), it is about
> optional content.
> Actually it was not the PDF reference leading me to this observation, but
> I have noticed this options (always,never,when visible) working with one
> of my envelope PDFs creat
Leonard is right (sorry for not having been specific enough), it is about
optional content.
Actually it was not the PDF reference leading me to this observation, but
I have noticed this options (always,never,when visible) working with one
of my envelope PDFs created from scratch and opened in Acrob
Hi Orpu,
On 19/12/2008, Orpu wrote:
> Hi
>
> I have a PDF can we add contents at a Specific Coordinates i.e at so and so
> X and so and so Y coordinates.
Sure, look for examples using PdfStamper.
> The content may come from database or hard coded.
That's absolutely irrelevant, the content m
Orpu wrote:
> Hi
>
> I have a PDF can we add contents at a Specific Coordinates i.e at so and so
> X and so and so Y coordinates.
Yes, this is documented on many places.
For instance in the book (chapters 10 and 11).
--
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3
anurag wrote:
> Dear Sir,
>
> We are having kind of a strange problem. When we are generating pdfs
> from a html file then it is not displaying complete japanese characters
> on the pdf pages.
I'm sorry, I can't help you.
This demands debugging and I don't understand Japanese.
Also it's not cl
42 matches
Mail list logo