Hi,
I'm using the following code to merge two pdf Documents to form a single pdf document. My pgm runs well and the output also generated.
But when i try to open the output pdf i get the following error msg
"There is an error opening the document. There is a problem reading the documen
At 09:09 AM 1/18/2006, Bruno Lowagie wrote:
You can't compress a PDF beyond what is possible according to the
PDF Reference,
That is true...
HOWEVER there are many things that can be done to keep the
PDF size down (sometimes significantly) using advanced imaging and
compressi
Hello.
How do I get the default value of a PDF field? I reached here:
PdfStamper stp = new PdfStamper(reader, new FileOutputStream(tmpfile));
AcroFields af = stp.getAcroFields();
String fieldName = ...;
((PdfDictionary) af.getFieldItem("NumOptimus").merged.get(0))
.get
John Pacino wrote:
I do not see how the properties object will help me in this situation.
I need to create a table in a java class and then send it to the
XMLParser so it can be rendered in the PDF, similiar to the way
XmlPeer is used for string objects.
I didn't understand the question.
I t
I do not see how the properties object will help me in this situation. I need to create a table in a java class and then send it to the XMLParser so it can be rendered in the PDF, similiar to the way XmlPeer is used for string objects. John Bruno Lowagie <[EMAIL PROTECTED]> wrote: John Pacino wrot
David Woosley wrote:
I used stamper.setFullCompression() just before stamper.close() and I got
the same file size. I noticed there are several classes with the
setFullCompression() method. Was I using the correct one?
If you are creating a document from scratch, you need the method in
PdfW
Just the ones used.
- Original Message -
From: <[EMAIL PROTECTED]>
To: "bruno" <[EMAIL PROTECTED]>
Cc:
Sent: Wednesday, January 18, 2006 1:15 PM
Subject: Re: [iText-questions] cyrillic characters overlapping
Excellent - thanks a lot
Just a quick query - when you say that the glyph
Excellent - thanks a lot
Just a quick query - when you say that
the glyph outlines I need will be emebedded in the PDF, will that be all
the outlines from the font, or just the ones that actually get used?
Doesn't make a lot of difference to
me (other than the file size as you say) - I'm just c
Luis Catalino wrote:
No, there's nothing special about XML. A XML can be parsed using SAX,
for example. In itext threre is XmlWriter. But, if there is a
XfdfReader, why no a XfdfWriter? If someone wants to modify a xfdf, it
has to make a new class to write to the xfdf. I think it makes all
s
-- Forwarded message --From: catchall <
[EMAIL PROTECTED]>Date: 18/01/2006 08:44
Subject: Re: XFDF writerTo: Luis Catalino <[EMAIL PROTECTED]>Cc:
[EMAIL PROTECTED]
Luis Catalino wrote:> Hi to you all.>> I need to change the value of a field in a xfdf. How do I do that> using itext?
It's no secret that pdflib is a lot faster and has a smaller memory
footprint. That's not only because it's written in C but also because it
doesn't attempt to be flexible. It does very well what's in the user's guide
but it's not extendable. For example, you don't have dictionaries but
structu
I have found a solution for my problem which is so simple that I first
didn't
thought about it.
I simply added an additional row to table (t2). So my form looks like this:
| --- --- |
| |xx|| x | label| |
| ---
That's a very old example that uses another technique.
> -Original Message-
> From: michelle jeffreys [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 18, 2006 8:23 AM
> To: Paulo Soares; Bruno Lowagie
> Cc: itext-questions@lists.sourceforge.net
> Subject: RE: [iText-questions] Add a
John Pacino wrote:
Is there a way generate a table using dynamic data from a database
and inserting it into a template XML. I am currently using the XmlPeer
to generate custom taglibs which are passed to the parser in a HashMap
XmlParser.parse(document, "unauthTx.xml", taglibs);
I need to g
Aaron J Weber wrote:
Is this a known issue?
You can't use PdfCopy to CHANGE a document, use PdfStamper instead.
Or if you really want to use PageEvents, use PdfWriter and copy the
original document using PdfImportedPage.
br,
Bruno
---
This
David Woosley wrote:
Bruno,
You want to recommend a PDF optimization/compression Java library? I
think I remember seeing a question/answer that said iText doesn't do that.
You could use iText with setFullCompression.
This will make the file size smaller because it compresses
not only the c
Tirado Olaya Sandro Javier wrote:
hello a would like to know if there is a way to create a pdf file that reproduces the exact design of a html page
Your question is all wrong: there is no such thing as the exact design
of an HTML page,
because HTML can't be used to define the layout of a page.
David Woosley wrote:
This is somewhat related to my posting from 30 minutes ago.
When an image is scaled to 10% of its original size and then drawn
into a PDF, will the space required to store the smaller image in the
PDF also be reduced by the mathematically-appropriate amount?
No, the nu
Thanks Paul, I also found a C# version of the concat class here for anyone interested: http://itextsharp.sourceforge.net/examples/Concat.csPaulo Soares <[EMAIL PROTECTED]> wrote: That's a bug in your conversion. Instead of master.Add(bookmarks) usemaster.AddRange(bookmarks). > -Original Messa
David Woosley wrote:
That is really, really confusing. To me.
Pixels aren't points, I know that.
But for the initial dimensions of the image, we say that
1 pixel = 1 user unit and 1 user unit = 1 point
by default.
iText won't change the number of pixels in an image,
but you can change the rel
Rumen Varbanov wrote:
Thank you Bruno!
Yes! "newPage" is an existing text!
I am reading now the iText tutorial/"Manipulating existing PDF
Docs"/Introduction and I am not sure can the iText help to me..
I will write an (event oriented) parser for splitting from pdf
datastream.
Please stay on the mailing list instead of replying to me personally..
[EMAIL PROTECTED] wrote:
Bruno,
Cheers for getting back to me, I changed to the PdfPTable and alot of the
options were gone, but it sovled the issue. Is there anyway to set the
cellpadding/defaultcellborder etc like in the
22 matches
Mail list logo