Hello,
I'm working with itext, and encounter following problems, hope to have your
help.
- The Document object have "setPageSize( )" with argument is a "Rectangle". I
read in the doc and know that Rectangle.LEGAL is ok. But it throws the error in
the complier. It tells that Rectangle.LEGAL is
Hello
I have been using itext to create different PDF files since last two years.
I want to create a pdf files with different images on it. The images could
have different color space . I want to keep information of color space of
images in pdf file as meta data. Can i do it? and How can i extrac
Hi all
I am SushantI have created a JSP page which will generate
University result dynalically based on Seat no. provided by
user...Everything is working fineBut i want to know how can I convert
that dynamically generated JSP to PDF...
Please help ASAP
Thanks and regards...
Sushant
--
Thanks Paulo
Paulo Soares wrote:
>
> PdfPTable.setSplitLate(false).
>
> Paulo
>
> - Original Message -
> From: "sunil.belurgikar" <[EMAIL PROTECTED]>
> To:
> Sent: Wednesday, May 30, 2007 5:25 AM
> Subject: [iText-questions] Problem with PdfPTable. Is it a bug?
>
>
>>
>> I write
Hello,
i have a problem with impositing with itext,
i get this message,
Runtime-Exception...Fuer diesen Befehl ist nicht genügend Speicher
verfügbar process: PPML-Impositioning
at de.novaconcept.photobook.worker.WorkQueue$PoolWorker.run(Unknown
Source)
at de.novaconcept.photobook.
PdfPTable.setSplitLate(false).
Paulo
- Original Message -
From: "sunil.belurgikar" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, May 30, 2007 5:25 AM
Subject: [iText-questions] Problem with PdfPTable. Is it a bug?
>
> I write a PdfPTable on a pdf document.That Table has one PdfPCell colum
I write a PdfPTable on a pdf document.That Table has one PdfPCell column
Which is another PdfPTable with 4 columns, which is added with cells in a
for loop.Outside the for loop ,I am adding this table as a cell in PdfPTable
with one column and then I am adding PdfPTable with one column to the
do
That wouldn't work in jdk 1.3.
Paulo
- Original Message -
From: "robert engels" <[EMAIL PROTECTED]>
To: "iText here itext"
Sent: Wednesday, May 30, 2007 2:08 AM
Subject: [iText-questions] ExceptionConverter
> The implementation is no longer necessary.
>
> A simpler version would just
On May 29, 2007, at 11:41 AM, Thanksforfish wrote:
> I am simply trying to clean the existing pdf of all metadata it
> might have
> (xmp or otherwise), then add my own xmp.
>
Well, be aware that "metadata" is a pretty generic term and there
may exist types and forms of metadata in a PD
The implementation is no longer necessary.
A simpler version would just use the initCause() method, and simply
extend RuntimeException.
public class ExceptionConverter extends RuntimeException {
public ExceptionConverter(Exception e) {
super(e);
}
}
---
Hi:
I have a Japanese pdf file. I read it in, make a copy of it, extract some
names from the file, create destinations and add it to the copied pdf file.
I use:
copy.getDirectContent().localDestination(name, dest) to create the
destinations.
I have Japanese locale on my machine. Before the abov
Hello,
i have a problem with impositing with itext,
i get this message,
Runtime-Exception...Fuer diesen Befehl ist nicht genügend Speicher
verfügbar process: PPML-Impositioning
at de.novaconcept.photobook.worker.WorkQueue$PoolWorker.run(Unknown
Source)
at de.novaconcept.photobook.
I am trying to merge 3 pdf files.On First and second pdf's am getting
reader.getPageRotation(i) == 90 and on the third pdf file am getting
reader.getPageRotation(i) == 0.
I am setting document pageSize based on
pdfDocument.setPageSize(reader.getPageSizeWithRotation(pageNo));
My problem is, whi
- Original Message -
From: "Thanksforfish" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, May 29, 2007 4:41 PM
Subject: Re: [iText-questions] Metadata
>
> Thanks very much for both replies.
> I am simply trying to clean the existing pdf of all metadata it might have
> (xmp or otherwise), then
Thanks very much for both replies.
I am simply trying to clean the existing pdf of all metadata it might have
(xmp or otherwise), then add my own xmp.
I am slightly confused as to the difference between the info in
reader.getInfo() and the moreinfo in stamper.setMoreInfo() are they they
same then
I'm attempting to insert a page break into my document, but iText appears to
be ignoring the chunk. The page is not empty, so that's not the problem.
Basically I'm iterating through rows in a table, and would like to have a
page break after every row. (Each row is large and contains several
par
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Thanksforfish
> Sent: Tuesday, May 29, 2007 1:32 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Metadata
>
>
> Hi,
>
> I have been trying to remove (non xmp) metada
On May 29, 2007, at 8:32 AM, Thanksforfish wrote:
> I have been trying to remove (non xmp) metadata from a pdf, add my
> own xmp
> metadata and save the whole thing as a new pdf.
OK.
Out of curiosity, Why are you removing the non-XMP-based metadata?
> I have tried reader.getCa
On May 29, 2007, at 9:10 AM, sunil.belurgikar wrote:
> So it's not up to the user to choose in which application to open.
>
It should be!
> Executable class opens pdf with acrord32.exe which is used for opening
> acrobat reader.
> Runtime.getRuntime().exec("command.com /C start acrord32"
How can I prevent text from going into the footer area? I have a footer
and I am adding data from the Database which varies in length so when
there is too much info, some of it goes into the footer are and not to
the next page
You'll need a different template for each page group. It's probably
easier to generate the PDF without page numbers and then use PdfStamper
to add them.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of eggdog
> Sent: Tuesday, May 29, 2007 3
Say I have a document with 5 pages. I would like the page numbering to look
as follows:
Page 1 of 2
Page 2 of 2
Page 1 of 3
Page 2 of 3
Page 3 of 3
I've looked at the example for PageNumbersWatermark, and I've tried to use
the callback onCloseDocument(...) in conjunction with setPageNumber(1) at
I tried the code like this.
if (isWindows9X())
{
process =Runtime.getRuntime().exec("command.com /C start acrobat" +
parameters + " \"" + fileName + "\"");
if (process.getErrorStream() != null)
{
process.destroy();
process = Runtime.getRuntime().exec
I had a similar problem with formfields and Greek characters.
I found out that by using a common truetype font like Arial or Verdana as
the fields default font when I created the pdf templates in designer it
solved the problem.
I didn't need to change any codepage or use unicode syntax (\u) to
Your solution will only work on Windows. Doing what you want in a
platform-independent way isn't trivial. You can't always guarantee what
software the client will have on their machine. There are lots of viewers for
the PDF, especially on non-Windows platforms.
Having said that, if platform inde
Hi,
I have been trying to remove (non xmp) metadata from a pdf, add my own xmp
metadata and save the whole thing as a new pdf. Using PdfStamper and
XmpWriter I can add the xmp and write the new file as a copy of the old but
I am struggling to remove the existing metadata from the pdf in the first
pdf opens through a applet event .
So it's not up to the user to choose in which application to open.
Executable class opens pdf with acrord32.exe which is used for opening
acrobat reader.
Runtime.getRuntime().exec("command.com /C start acrord32" + parameters + "
\"" +
The choice of viewers is up to the user, not you.
Leonard
On May 29, 2007, at 7:59 AM, sunil.belurgikar wrote:
>
> Hi,
>
> I am crating a PDF using itext and it is saved in file system.
>
> Then using Executable.openDocumnt() ,I am opening that pdf.
>
> I need to open it in acrobat instead of a
Hi,
I am crating a PDF using itext and it is saved in file system.
Then using Executable.openDocumnt() ,I am opening that pdf.
I need to open it in acrobat instead of acrobat reader.If acrobat is not
present it should open in reader.
Is there anyway to achieve this?
--
View this message in
This was already answered.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Sonny K.
> Sent: Tuesday, May 29, 2007 1:08 AM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Quick iText Question...
>
> Hi Bruno,
>
>
Hi Bruno,
How are you? I hope all's going well. I love your iTextSharp product. As I am
developing my
web application at home, it is running smoothly, however it fails on
the dedicated sever.
Here is what I have on the dedicated server:
1)Windows 2003 server
2)Installed JDK 1.4.2 (Wind
Hi bruno,
Earlier we used PDFPtTable. But There was problem of row spaning in
PDFPCell.
In tables there there is one cell whose text can be of any length. Depending
on that length the predessesor column needed to be span for few rows.
But using nested PDFPTables that was not solved.Also the ce
Sunil. Belurgikar wrote:
> There is inconsitestency of table .(some cells are drawn in one page and
> their data is written in next page )
>
> Can anybody pls help me why this happens?
1. Are you using com.lowagie.text.Table
or com.lowagie.text.pdf.PdfPTable?
2. What happens in onEndPage?
Sunil. Belurgikar wrote:
>> >Hi bruno,
>>>I am using com.lowagie.text.Table because there is a rowspan for a
>>>Perticulaer cell.
Table is problematic. Different bugs have been fixed in different
iText versions, but I can't guarantee everything works as it should
in the most recent version. It's
>>Hi bruno,
>>I am using com.lowagie.text.Table because there is a rowspan for a
>>Perticulaer cell.
>>I am not adding table on onEndPage.
>>I am adding footer on onEndPage.
>>I am adding Tables after document.open() is called. I am adding table
using Documents >>add() method.
1
Sunil. Belurgikar wrote:
> There is inconsitestency of table .(some cells are drawn in one page and
> their data is written in next page )
>
> Can anybody pls help me why this happens?
1. Are you using com.lowagie.text.Table
or com.lowagie.text.pdf.PdfPTable?
2. What happens in onEndPage? Ar
36 matches
Mail list logo