I never saw that error in a PdfPCell. Post a small complete example so that
I can reproduce the problem.
- Original Message -
From: S G [EMAIL PROTECTED]
To: itext-questions@lists.sourceforge.net
Sent: Thursday, October 27, 2005 11:44 PM
Subject: [iText-questions] PdfPTable exception
Joseph Hanna wrote:
Hello everyone,
I have a project that involves me transforming a xml file with a
specific format specified by a DTD into a PDF file. The other thing is
that the information is in international characters and I need to be
able to set a true type font. I know the font thing
very much appreciated thanks Bruno
On 10/28/05, Bruno Lowagie [EMAIL PROTECTED] wrote:
Joseph Hanna wrote:
Hello everyone,
I have a project that involves me transforming a xml file with a
specific format specified by a DTD into a PDF file. The other thing is
that the information is in
Joseph Hanna wrote:
very much appreciated thanks Bruno
I am halfway writing chapter 6 (on tables).
I'll start writing chapter 7 (on fonts) next week.
If you need to know more about class FontSelector,
I'll be able to send you such an example next week.
br,
Bruno
I'm not a specialist as far as images are concerned, I forward this to
the mailing list.
john berry wrote:
Hi Bruno,
I have to convert a png image which is a business
card may contain some text in a specified font and an
image(logo)into CMYK pdf image.
Now, I needs a suggession from your
I recommend you to allocate a fix size for the /Contents field, which
alway will be enough (for example 10k).
2005/10/28, Shivakumar B [EMAIL PROTECTED]:
thankx for the information, one question, How to calculate the byte space
for the exclusion?
regards
Sivakumar.B
[EMAIL PROTECTED]
PNG doesn't support the CMYK colorspace, only grayscale and RGB. You'll
have to use some other tool to do the conversion, maybe JAI.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Bruno Lowagie
Sent: Friday, October 28, 2005 9:02 AM
To: john
I've no idea what you're talking about. iText won't change the
colorspace. If you have a TIFF image in CMYK the PDF will have a CMYK
image. I also don't know what you mean by preview. Maybe you should
explain us what you have to start with and what the end result should
be.
(Please reply to the
At 04:02 AM 10/28/2005, Bruno Lowagie wrote:
I have to convert a png image which is a business
card may contain some text in a specified font and an
image(logo)into CMYK pdf image.
First, PNG is a raster format - it doesn't contains text or
fonts, just bits. As such, it's NOT a
FYI -
As a hunch, I swapped around the two lines:
cb = stamp.getOverContent(p);
int rotation = reader.getPageRotation(p);
to
int rotation = reader.getPageRotation(p);
cb = stamp.getOverContent(p);
And it now works ok. Cheking the rotation after
getting the PdfContentByte object seems to
The rotation variable is never used in your code example and don't see
what reversing the lines would change. Post a small complete example so
that the problem can be reproduced.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Caoimhin Barry
Sent:
The actual stamp generation code is too long to
post here - the following code change works for a
test. It actually doesnt matter what value is
returned or used for the rotation though, just
calling the getPageRotation or
getPageSizeWithRotation methods invalidates the
PdfContentByte and anything
In Java you will need to use an API that supports CMYK images such as JAI.
You can open a PNG with JAI and then convert it to CMYK and then insert it
Into iText as a Java Image.
As for text, if you have text already in a PNG, it is no longer text, just
A bitmap rendering of the text, so it will
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Bill Ensley
Sent: Friday, October 28, 2005 2:40 PM
To: iText Mail Group
Subject: RE: [iText-questions] Re: creating Press optimized
Pdf From your API
In Java you will need to use an API that
As I said create a small example with the problem. I ask this because
most of the times the devil is in the details and only running something
exactly the same that you also ran can solve it.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Caoimhin
Hi, thank you for the answer, but I need just a little help more.
Where could I remove empty line from source code, in which class?
Sincerely yours,
Pera
On Thursday 27 October 2005 18:01, Pera Peric wrote:
My question is that table.setOffset() doesn't work in writing rtf document
with
I'm havnig problems writing into a multi-line.
In my piece of code I have a template in which I inserted some text fields
One of these is multi-line.
When I write into a sigle-line text filed I get the correct result,
but when I try to write into the multi-line one, the resulting field is
empty.
Without looking at the PDF I can't even guess.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Andrea Fantechi
Sent: Friday, October 28, 2005 3:32 PM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] Write into multi-line text
Im trying to learn iTextSharp and I was wondering if
anyone could help me. I am using XML to add content to the PDFs Im
creating. However, I want to be able to add layers. Is this possible?
Basically I have an image and want to put text over the image.
Hi , i used itext to rotate a page in a pdf document , i am trying to add
an image to a rotated page , the result is when i add the image the page
become not rotated, do you have a solution??
thanks
*
This message and any
[EMAIL PROTECTED] wrote:
Hi , i used itext to rotate a page in a pdf document , i am trying to add
an image to a rotated page , the result is when i add the image the page
become not rotated, do you have a solution??
Take a look at this thread in the mailing list archives:
I've been trying to use PdfCopyFields to merge some PDFs. The problem
I'm having is that the form data is not copying. The merged document
has all the pages and form fields but the data in each field is not
there. Am I missing something? Maybe there's a problem with the PDFs
but I don't
There's really not much to say without looking at the PDFs.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of John E
Sent: Friday, October 28, 2005 4:20 PM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] Form data not copying
Attached is a stripped-down version of
com.lowagie.examples.general.copystamp.AddWatermarkPageNumbers.java
- it uses the same files as in the example.
Putting together this example helped me further
track down the fault to the constructor:
PdfReader reader = new PdfReader(new
I'm trying to center a column of numbers in a table. I realize I can
set the alignment to Element.ALIGN_CENTER, but this centers each cell
individually, so decimal points in my numbers no longer line up. I
guess what I'm looking for is more of a tab stop in the center of the
cell. Is there
Align right and set the right padding to some suitable value.
- Original Message -
From: Matt Kowske [EMAIL PROTECTED]
To: itext-questions@lists.sourceforge.net
Sent: Friday, October 28, 2005 4:54 PM
Subject: [iText-questions] Centered aligned text
I'm trying to center a column of
You are a genius!! Thank you SO
much! This is wonderful!
Carsten Hammer [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
10/27/2005 04:02 PM
To
Dan McKeon [EMAIL PROTECTED]
cc
iText Mail Group itext-questions@lists.sourceforge.net
Subject
[iText-questions] Re: Image Type Detection
Mark Hall mhall at edu.uni-klu.ac.at writes:
On Tuesday 25 October 2005 16:56, Stefano wrote:
Mark Hall mhall at edu.uni-klu.ac.at writes:
On Tuesday 25 October 2005 15:47, Stefano wrote:
I saw that RtfWriter2 gives an error if u try to use an internal link:
The RtfWriter2 does
Does anyone know of a way to convert
MODCA images to PDF?
Thismessagemaycontainconfidentialinformationintendedonlyfortheuseofthe
addressee(s)namedaboveandmaycontaininformationthatislegallyprivileged.
Ifyouarenottheaddressee,orthepersonresponsiblefordeliveringittothe
There are some commercial solutions at least converting to TIFF. They all
look expensive.
- Original Message -
From: Dan McKeon [EMAIL PROTECTED]
To: iText Mail Group itext-questions@lists.sourceforge.net
Sent: Friday, October 28, 2005 7:31 PM
Subject: [iText-questions] MODCA to PDF
Hi Dan,
a few years ago I implemented a gimp plugin to load MOD:CA images. It
was able to compile and run in gimp on Linux and Windows and loaded most
of the overlays I have been interested in at that time. Using gimp you
can load them and write them out as every format gimp supports.
However
l am trying to retrieve a BLOB column from a Oracle table, the colums
contains TIFF image, and i am trying to render this Image from the DB to a
PDF, this is my code, and i get this
java.io.IOException: Could not find a recognized imageformat.
if (rs.next()) {
ImagenBlob = rs.getBlob(1);
The question here is if saving datos to a file you are able to open it with
a graphics program.
- Original Message -
From: Kyrna Margarita Quintanilla Machado [EMAIL PROTECTED]
To: itext-questions@lists.sourceforge.net
Sent: Friday, October 28, 2005 11:23 PM
Subject: [iText-questions]
33 matches
Mail list logo