If I set the field properties of a field in a PDF form, the resulting PDF
after conversion using iText does not retain the format.
eg. if a field on the PDF form has format set as currency (using the
properties of a field).
There are quite a few fields on various templates which fall under this
Title: Regarding license issues
Hi,
Can we make use of iText API to generate RTF files in our project for one of our clients? Are there any issues in using this jar file? This functionality is part of our requirement.
Sooner reply is greatly appreciated.
Thanks and Regards,
Jithendra
my source page is 2 A5 side in 1 A4 page.
I using acrobat professional to crop it into 2 A5 page.
now I using itext1.02 to import in and place into new file. I found that it
just show all (A4 size which content that 2 A5 page data) content back in
this file.
Is that anyway do import it base on
I have just release iText1.1.2 based on itext-paulo-144
+ extra Table fixes by Steve
+ cleaned up some javadoc warnings
+ the 1.1.1 was enormous due to the fact I had the cmaps and other fonts
stuff jarred by mistake
OK Steve, you can go ahead and upload PdfDocument.java
Done - Here is the
Search the mailing list for cropbox and all will be revealed.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of color_prepress
Sent: Thursday, December 16, 2004 7:20 AM
To: [EMAIL PROTECTED]
Subject: [iText-questions] how to imported the pdf page
The formating is done with javascript and that only Acrobat can do it.
If you know what the formating does you can use
AcroFields.setField(String name, String value, String display). The
parameter display is the formated value.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL
The text is correct but probably confusing. The size corresponds to each
row and each adjacent pair in the array corresponds to a column bound.
I'll change it to be clearer.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Domingo Fiesta Segura
Here's the code I used to apply formats...
// fieldFormats is a hashtable, built earlier, whose key is the field
name
// and value is a code that tells me what format to apply
StringBuffer sb = new StringBuffer();
StringBuffer array1 = new StringBuffer();
StringBuffer
I think I mistunderstood the question. The example code I sent was for
applying a format to a field, not setting the initial value displayed.
- Original Message -
From: Paulo Soares [EMAIL PROTECTED]
To: Joshi, Ramakant [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, December 16,
Quoting Jithendra Ganji [EMAIL PROTECTED]:
Hi,
Can we make use of iText API to generate RTF files in our project for
one of our clients?
Yes.
Are there any issues in using this jar file?
http://www.lowagie.com/iText/faq.html#free
This functionality is part of our requirement.
Another
Hi,
I started to evaluate iText and have some questions I still have after
finishing the tutorial.
I need some kind of templating to easily change the format of plain data to
generate a pdf of. I think tagmaps and data in xml-format is the way to go.
I need to add chunks of data. Each chunk
Quoting Sakke Wiik [EMAIL PROTECTED]:
I need some kind of templating to easily change the format of plain data to
generate a pdf of. I think tagmaps and data in xml-format is the way to go.
XML to PDF is possible, but you get very little support for it...
I need to add chunks of data. Each
Title: Regarding license issues
See http://www.lowagie.com/iText/faq.html.
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Jithendra GanjiSent: Thursday, December 16, 2004 6:22
AMTo: [EMAIL PROTECTED]Subject:
[iText-questions] Regarding license issues
I need some kind of templating to easily change the format of plain data
to
generate a pdf of. I think tagmaps and data in xml-format is the way to
go.
XML to PDF is possible, but you get very little support for it...
I need to add chunks of data. Each chunk contains n rows.
A Chunk is
Hi,
I found another problem with ColumnText and the composite mode: When
i set the Paragraph.setKeepTogether(true) attribute of some paragraphs
and add them to a 2 row Columntext, the paragraph where the split is is
correctly moved to the 2nd column. But the rest of it is still on the
first
A complete example, please.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Michael Glauche
Sent: Thursday, December 16, 2004 3:10 PM
To: itext-questions
Subject: [iText-questions] ColumnText and Paragraphs ...
Hi,
I found another problem
Quoting Sakke Wiik [EMAIL PROTECTED]:
I actually mean n Tables with n rows. I need to fit as many tables on a
page as possible, without splitting tables between pages.
So it seems that programmatically creating tables is the best choice.
I thought you wanted XML as input?
If you want to do
FYI - I think Table will do this now also if you set Cell.setUseAscender(true).
- Original Message -
From: Paulo Soares [EMAIL PROTECTED]
To: Jerry Heinz [EMAIL PROTECTED]; itext-questions
[EMAIL PROTECTED]
Sent: Thursday, December 16, 2004 7:47 AM
Subject: RE: [iText-questions] Inline
I thought you wanted XML as input?
If you want to do it programmatically,
you have all the functionality you need with PdfPTable.
Sorry to confuse you. The input is plain data. I assumed it is easier to
format the data from an external tagmap-file if the data was in xml(as done
in the
I am on a project where we are going to create RTF documents. Part of the scope
document is to use stylesheets so tht users can change styles via the
stylesheet menu in Microsoft Word.
I see in the API that there is a stylesheet
com.lowagie.text.html.simpleparser.StyleSheet.
If this the class
On Thursday 16 December 2004 17:28, Scott Purcell wrote:
I am on a project where we are going to create RTF documents. Part of the
scope document is to use stylesheets so tht users can change styles via
the stylesheet menu in Microsoft Word.
There is currently no support for stylesheets in the
Hi
I was trying to use iText.NET to read from an existing file, but am unable to
do it using the examples and the discussions found at your site. I would
appreciate if I can get some code snippets on how to go around it. I had been
trying to use it in conjunction with a web service that is
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Wolfgang Mitterbucher
Sent: Thursday, December 16, 2004 4:05 PM
To: [EMAIL PROTECTED]
Subject: [iText-questions] iText and Acrobat 7
Hello,
when will you provide support for create and
See
http://search.gmane.org/search.php?query=SAXmyHtmlHandleremail=group=g
mane.comp.java.lib.itext.generalsort=date. That's what we have.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Amit Chawla
Sent: Thursday, December 16, 2004 4:34 PM
To:
This is a java forum, not .NET. Besides that you didn't tell us what you want
to do.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Vijay Cinnakonda
Sent: Thursday, December 16, 2004 4:45 PM
To: [EMAIL PROTECTED]
Subject: [iText-questions]
I am using iText to perform variable data merges. On these pdf's that get created, I am mostly the same images, + a variable image + personalized variable data. In one case, I end of creating a 130mb file for 30 people, 1 page per person. If I do a save as in Acrobat 5.x it stays the same
Acrobat 6 is likely placing the images into the final PDF as jpeg ( I
think ). If you are using PDFGraphics2D there is a constructor to aid you
in this
if
not, you will have to manually convert your images to jpeg. you can look
at the PDFGraphics2D class to see how this is done.
Bill
HI
I think i have asked this before also ,, but not recieved any response..
As Itext does not support direct conversion of HTML to PDf
my question is related to this..
I have a STRING sForm=olliThis is some strongsample text/strong.
You are using a
On Wednesday 08 December 2004 17:42, Lapin Bleu wrote:
Why the endHeaders() for defining row table header is not implemented
for RtfTable ?
Will it be it in the future?
This was a bug and has been fixed in cvs.
Greetings,
Mark
--
My experience with government is when things are
Hi
I've added a method to the Table class to get the number of header rows
directly. rtf.table.RtfTable and rtf.table.RtfRow have also been updated to
fix bugs in the header row handling.
Greetings,
Mark
--
Telling the truth to people who misunderstand you is generally promoting
a falsehood,
Probably your images are being subsampled or converted to jpeg.
I'm not aware that Acrobat 6 reuses images. Depending on what you are doing and
how you are doing it there are ways to optimize things. For example, if you are
merging fields using the same template, you can use a blank template
Hello,
I have been creating
some RFT documents, and just realized that I have never specified any fonts, or
font sizes. I am creating mostly tables, and would like to know how to handle
this type of function.
Thanks,
Scott K Purcell | Developer | VERTIS |
555 Washington Ave. 4th Floor |
You control the spacing between lines by setting the leading. For the
paragraph in your example,
that would be something like:
Paragraph myParagraph = new Paragraph(12, aSourceString,new Font(Font.COURIER,
10));
I find that about 1.2* the font size is a good leading - I think the default is
myParagraph.setLeading(10);
- Original Message -
From: Scott Tyriver [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 16, 2004 9:26 PM
Subject: [iText-questions] Line Spacing in text files
We are using iText 1.1.
When we convert text documents to pdf we are seeing in
Use AcroFields from PdfReader.getAcroFields() if by parsing you mean read
the field values.
- Original Message -
From: Vijay Cinnakonda [EMAIL PROTECTED]
To: Paulo Soares [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, December 16, 2004 6:43 PM
Subject: RE: [iText-questions] Parsing
Sorry, I know this has been asked before, and I am working my through the
archives, but how have people found iText working in their environments?
Has it been reliable, or does repeated usage introduce latent bugs that grow
in severity over time?
Any volume numbers people can share based on
Adobe's print dialog has several options like "fit to
paper" and so on that change the printed result.
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
rajarshi biswasSent: Wednesday, December 15, 2004 11:59
AMTo: Paulo Soares;
[EMAIL PROTECTED]Subject:
I have been trying to debug some problems with spacing of Tables when rendered
to PDF. I think I
finally understand some of the differences between 1.02b and 1.1, but I'm not
sure what the correct
behavior should be. I want to maintain compatibility, but only where the old
behavior isn't
It's in PdfPTable. See the javadocs for an explanation.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Dan Miller
Sent: Tuesday, December 14, 2004 9:32 PM
To: [EMAIL PROTECTED]
Subject: [iText-questions] Re: PDFWriter.fitspage(PDFPTable)
I believe that I have already fixed the problem you sent in. The text content
of the tables now
stays where it should (inside the borders). I discovered problems with the
spacing between the
tables while working on this and would like to solve both of them. I think I
will have a new
version
It's possible with an external signature. I'll add something to make it
easier in the next release.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Mark Nelson
Sent: Wednesday, December 15, 2004 2:34 PM
To: [EMAIL PROTECTED]
Subject:
Hello everyone!
As far as I can see, this indeed solves my problems. Thank you very much!
I'm looking forward for the next official jar.
Best regards,
Frank
-Ursprüngliche Nachricht-
Von: Steve Appling [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 14. Dezember 2004 15:27
An:
If you are targeting only PDF use PdfPTable. For other output formats
use Table. Most people use Table because it was there first, the
tutorial was directed at it and PdfPTable didn't split rows when
changing pages and couldn't have complex objects like lists. All those
restrictions are now
- Original Message -
From: Bruno Lowagie [EMAIL PROTECTED]
To: Steve Appling [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, December 14, 2004 10:05 AM
Subject: Re: [iText-questions] Table.class or PdfPTable.class ?
Steve Appling wrote:
I think that it is problematic (or at
Steve Appling wrote:
I will check it in to CVS after hearing back from you. This version is changed
from the latest CVS version as of this morning (which I think is synched with Paulo's 144 version).
Maybe it's best to do an update first:
I have almost removed all the warnings I get when I
Quoting Steve Appling [EMAIL PROTECTED]:
What does everyone think about this?
I have read your explanation and it makes sense.
It's a pity people will have to change some of their code
if they want to upgrade from 1.02b to 1.1, but that's a
price one often has to pay when upgrading to a higher
If the font doesn't allow embedding due to license restrictions, it won't be
embedded. You can disable it by changing the iText source but that's up to
you to break the law.
- Original Message -
From: Dmitri Don [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, December 15, 2004
Paulo Soares psoares at consiste.pt writes:
You can try
setSplitRows(true) and setSplitLate(true).
I really appreciate your help. So if I understand correctly one would use
setSplitRows or setSplitLate instead of the !PDFWriter.fitspage methodology?
If that is not the case, when I
Why do you think it would work?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Amit Chawla
Sent: Monday, December 13, 2004 11:21 PM
To: '[EMAIL PROTECTED]'
Subject: [iText-questions] I have a string consisting of HTML elements
HI
I have
Steve Appling wrote:
I think that it is problematic (or at best just very awkward) for iText to continue in this state.
Problem is: I have some applications generating tables in PDF and HTML
using the same Document object.
I can't throw away Table unless I have an alternative.
The current
here we go:
// first of all, i get the first page of an original pdf
PdfTemplate page1 = writer.getImportedPage(reader, 1);
// here begins a procedure to copy the cropbox of the original pdf
// to the new pdf. additionally, i clip the new pdf that way, that
// only the size and area of this
Hello,
When I create an Anchor and pass it into the constructor of a
PdfPCell, for instance...
Anchor linkAnchor = new Anchor([EMAIL PROTECTED],
FontFactory.getFont(Arial,
11, Font.UNDERLINE, Color.BLUE));
linkAnchor.setReference(mailto:[EMAIL
Use Chunk.setAnchor().
- Original Message -
From: Anri Adzhiashvili [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, December 15, 2004 9:06 PM
Subject: [iText-questions] Anchor is disabled when added to a PdfPCell
Hello,
When I create an Anchor and pass it into the
I tested Paulo 144 and the cell borders have reappeared. Thanks for the help!
-Chris
At 11:20 AM 12/7/2004 -0500, Steve Appling wrote:
Here is a version of PdfCell that should solve the problem. Please remake
your itext.jar (version
1.1) using this file and test your application. Please let
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of color_prepress
Sent: Monday, December 13, 2004 9:01 AM
To: [EMAIL PROTECTED]
Subject: [iText-questions] anyone using itext1.02 to crop pdf
page size?found any problem?
eg. my source pdf page
I have played with JPedal to view a PDF in java and came up with the same
problems, I dug into the code and found some bugs? with finding an embedded
font. I was never able to get the embedded font to work, but with some
tweaking I was able to get text output in a default font.
I recommend
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Domingo Fiesta Segura
Sent: Wednesday, December 15, 2004 5:33 PM
To: [EMAIL PROTECTED]
Subject: [iText-questions] Changing PdfPTable look
Hi,
I was wondering how to get rid of horizontal
Dear iText friends,
FREE PDFill PDF Tools (http://www.pdfill.com) is an
example of using iText. Great Thanks to iText. IText
makes it possible to come up a FREE PDF Tools to
Merge, Split, Reorder, Encrypt, Decrypt, Rotate, Crop,
Reformat, Header, Footer, Watermark, and Convert
Images to PDF or
Short answer, then longer discussion:
If you are only concerned with rendering to PDF, then PdfPTable is more stable
and more fully
functional. I use PdfPTable in my main application. If, however, you are
trying to make something
that will render to either RTF, PDF, or XML, then Table may
It only works in ColumnText with auto leading.
- Original Message -
From: Jerry Heinz [EMAIL PROTECTED]
To: itext-questions [EMAIL PROTECTED]
Sent: Wednesday, December 15, 2004 9:51 PM
Subject: [iText-questions] Inline Images
I have a paragraph in which I'm including an inline image
On Tuesday 14 December 2004 20:01, [EMAIL PROTECTED] wrote:
I'm trying to create an RTF document using iText, and the document
contains list items that span more than one line. I've noticed that the
indentation for list items in the RTF format aren't what I expect them to
be:
This might be a
Mahler Frank wrote:
As far as I can see, this indeed solves my problems. Thank you very much!
OK Steve, you can go ahead and upload PdfDocument.java
I'm looking forward for the next official jar.
I'll make the 'official' jar (1.1.2) tomorrow.
br,
Bruno
As far as I'm concearned you can do whatever you want with Table. It
won't get worse than it is.
Best Regards,
Paulo Soares
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Steve Appling
Sent: Monday, December 13, 2004 4:58 PM
To: [EMAIL
I am currently looking into a problem that happens only if you are using a cell
spacing 0. In
that case, the actual location of the cell contents is offset slightly down on
each successive line.
This is very apparent if you are using borders (because the contents eventually
are not inside the
Changes in itext-paulo-144 (2004-12-13)
- all the cvs changes
- added support for multiple signatures, revision information and
extraction.
Examples at http://itextpdf.sourceforge.net/howtosign.html.
- AcroFields can set fields without a /DR key in the original PDF.
-
See http://prdownloads.sourceforge.net/jfreechart/jfreechart2pdf-v2.pdf
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, December 14, 2004 12:55 AM
To: [EMAIL PROTECTED]
Subject: [iText-questions] about the
I have a paragraph in which I'm including an inline image using the code
below. There are some cases, however, where the image height is larger
than the line spacing. From the JavaDoc, it appears that the constructor
Chunk(Image image, float offsetX, float offsetY, boolean changeLeading)
would
Dear Mr. Soares,
Thanks a lot for your help. I got the desired output with Japanese characters displayed in the PDF.
As if now, the pdf looks fine, aligned as desired but if I give print from the generated PDF , the printout is a bit Right aligned, means its not getting printed at the middle of
Andrea Schwob wrote:
Hi
I've created a PDF with iText-1.02b, and it looked as I wanted. Now I
updated my Library to iText-1.1 and the line spacing is much bigger as
before (see attachments). I used iText-Tables to create this PDF, is
there any change in the iText-Table that could be responsable
On Wednesday 15 December 2004 10:41, Bruno wrote:
- 4 open bugs
I'm working on the rtf bug.
- 7 open feature requests
The styles in rtf feature request is on my list, but I'm not currently working
on it, which is why it is still open.
Greetings,
Mark
--
Blutarsky's Axiom:
Nothing is
I am using the PDFWriter.fitspage(PDFPTable) method to split a very large table
over many pages. It seems that the more columns I am using in my table the
less rows the PDFWriter will fit on a page. For example, when I have 4 columns
the writer fills the page with 64 rows of data before
I'm adding JPEG images to a Document (one per page),
like this:
Document document = new Document();
OutputStream outputStream = new FileOutputStream(outputFile);
PdfWriter.getInstance(document, outputStream);
document.open();
for (int i = 1; i args.length;
i++)
{
Title: [iText-questions] PDFWriter.fitspage(PDFPTable)
You can try
setSplitRows(true) and setSplitLate(true).
From:
[EMAIL PROTECTED] on behalf of Dan
MillerSent: Mon 13-Dec-04 20:42To:
[EMAIL PROTECTED]Subject: [iText-questions]
PDFWriter.fitspage(PDFPTable)
I am using the
- Original Message -
From: Bruno Lowagie [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, December 15, 2004 10:21 AM
Subject: [iText-questions] Re: AW: additional space in table cells - alignment
problems
OK Steve, you can go ahead and upload PdfDocument.java
Done - Here is
Post a small example so that we can reproduce the problem.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Stefan Burkard
Sent: Monday, December 13, 2004 10:58 AM
To: [EMAIL PROTECTED]
Subject: [iText-questions] insert text on top layer?
hi
You have to scale the image according to the dpi. See the
tutorial.
From:
[EMAIL PROTECTED] on behalf of Booth,
BrandonSent: Mon 13-Dec-04 20:44To:
'[EMAIL PROTECTED]'Subject: [iText-questions]
JPEGs added to document are oddly big
I'm adding JPEG images to a Document
(one per
Only ColumnText and PdfPTable can do auto leading.
-Original Message-
From: Jerry Heinz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 15, 2004 10:23 PM
To: Paulo Soares; itext-questions
Subject: RE: [iText-questions] Inline Images
Is there any workaround to achieve this
Hello,
when will you provide support for create and modify a document
with pdf v1.6 ?
Are there any compatibility issues with Acrobat 7 and iText?
Thanks in advance.
Regards,
Wolfgang
---
SF email is sponsored by - The IT Product Guide
We are using iText 1.1.
When we convert text documents to pdf we are seeing in
the converted pdf slightly larger line spacing than in
the original document. Here is an example of a
original and converted document and the code snippet
we are using to perform the conversion. Is there any
way to
As I had mentioned, I want to parse information out of an exisiting PDF file or
an InputStream that would contain Base64 encoded version of PDF. Just was
trying out with the examples to see if I can parse information out of the
existing PDF files.
Since I could not figure out which objects
80 matches
Mail list logo