We use iText to generate employee forms for viewing and printing online. We
read a PDF created with Acrobat version 7, write data to the form fields and
then flatten the forms. In one of our applications, the user needs to see
multiple employee forms. Our strategy for this is to create each PDF
nleduc wrote:
>
> I don't know exactly which version of iText we are using (maybe someone
> could tell me if there is somewhere in the jar file I can find that).
>
System.out.println(com.lowagie.text.Document.getVersion());
will print out the iText version.
Xavier
--
Xavier Le Vourch
Britta
On Wed, Sep 12, 2007 at 11:18:47AM +0200, Bruno Lowagie (iText) wrote:
> Bruno Lowagie wrote:
> > Chad Loder wrote:
> >> Hi. Has anyone had a chance to look at this?
>
> > Unfortunately, due to circumstances in my dayjob,
> > I won't be able to look at this problem before
> > next Wednesday.
>
>
We use iText to generate employee forms for viewing and printing online. We
read a PDF created with Acrobat version 7, write data to the form fields and
then flatten the forms. In one of our applications, the user needs to see
multiple employee forms. Our strategy for this is to create each PDF
Sorry if this is a duplicate
I must be missing something then. The text in my template does not wrap
to the next line if it is too long. It simply cuts off at the end of
the template. Also, I must not be using the rotation correctly.
All that prints is "THIS IS A lot l", the rest i
I added the new property ColumnText.setAdjustFirstLine() to take care of
this.
If you have:
1
2
3
go()
It's equivalent to:
1
go()
2
setAdjustFirstLine(false)
go()
3
go()
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Paulo Soares
> Sent
max40 wrote:
> Why?
> So, I must always load my own fonts?
> Or which can I use?
You could buy Times Roman (I believe Adobe sells the font).
iText supports plenty of font types: TTF, OTF,...
Read chapter 8 of iText in Action for more info.
br,
Bruno
--
Romanet Florent wrote:
> but nothing work.
Everything works.
But maybe not the way you expect.
I'm not sure about your requirements,
but if you want to position the table
on one and only one page, why not use
writeSelectedRows?
br,
Bruno
---
meenakshi thilagam wrote:
> Hello Everybody,
>
> I am trying to create a table and put images in each
> cell of the table.
> What ever the size of the image is it should fit the
> cell and the aspect ratio should be preserved.
I see you've tried scaleToFit().
That works for me.
> I have also tri
Alexis Pigeon wrote:
> Thanks Bruno for the quick fix, but there's no rush for me to switch
> to 2.0.5, I guess I'll wait for 2.0.6 to upgrade.
I won't wait for 2.0.6 as long as I waited for 2.0.5 ;-)
br,
Bruno
-
This SF.net
Title: i have a blank page with PdfPTable
hello,
when I add a pdfptable with the same height of the document, I find a bottom marge from the pdfptable in a second page. this second page is blank.
so I tried to use tabTotal.setKeepTogether(true);
tabTotal.setSpacingAft
Hello Everybody,
I am trying to create a table and put images in each
cell of the table.
What ever the size of the image is it should fit the
cell and the aspcet ratio should be preserved.
I have tried ScaleAbsolute , this does not preserve
the aspect ratio so the image is distored.
There is a f
On Wednesday 12 September 2007 10:32:45 Helmut Denk wrote:
> RtfTableOfContents seems to work with 2.0.4
> but shows no toc with 2.0.5
The bug has been fixed in the SVN repository and will be in the 2.0.6 release.
Mark
-
This
On Sep 12, 2007, at 9:19 AM, max40 wrote:
> Why?
> So, I must always load my own fonts?
> Or which can I use?
>
Because the PDF/A standard requires that all fonts MUST BE EMBEDDED!
So yes, you need to use fonts for which the font data is present on
your system. What fonts you
Why?
So, I must always load my own fonts?
Or which can I use?
Thanks Max
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt
RtfTableOfContents seems to work with 2.0.4
but shows no toc with 2.0.5
*** snip ***
document.open();
Paragraph para = new Paragraph();
para.add(new RtfTableOfContents("RIGHT CLICK AND HERE AND SELECT \"UPDATE
FIELD\" TO UPDATE."));
document.add(para);
...
document.close();
*
Correct.
Leonard
On Sep 12, 2007, at 8:25 AM, max40 wrote:
>
> if I use setPDFXConformance(PdfWriter.PDFA1A) I may not use
> BaseFont.TIMES_ROMAN?
>
> Thanks MAX
>
>
>> Setting embedding to true doesn't make sense for the
>> standard type 1 fonts (also referred to as BuiltInFonts14).
>> br,
>>
Bruno Lowagie (iText) wrote:
> I've read and understood the requirement.
> What I don't understand is why the page numbers are
> added in the first place (if they aren't added, you
> needn't worry about removing them).
In the proof of concept version of the solution I used Office 2003 XML to
creat
if I use setPDFXConformance(PdfWriter.PDFA1A) I may not use
BaseFont.TIMES_ROMAN?
Thanks MAX
> Setting embedding to true doesn't make sense for the
> standard type 1 fonts (also referred to as BuiltInFonts14).
> br,
> Bruno
-
Hi Bruno,
On 12/09/2007, Bruno Lowagie (iText) <[EMAIL PROTECTED]> wrote:
> Mark Hall wrote:
> > I'm currently in the process of moving, and work is taking up most of my
> > time,
> > but I'll try and look into what is causing this as soon as possible.
>
> It took a while for me to find out how t
Leonard Rosenthol wrote:
> Easiest way to do this is to create the rotated version is a separate
> PDF, but unrotated. Then place the PDF, rotated, into the main document.
Yes,
in iText terminology, you could also create a PdfTemplate
with the dimensions of your choice and the wrapped text.
Then
Easiest way to do this is to create the rotated version is a separate
PDF, but unrotated. Then place the PDF, rotated, into the main
document.
Leonard
On Sep 11, 2007, at 5:12 PM, Brian Daddino wrote:
Hi, I’m new to iText, but I have spent about 6 hours searching your
tutorials, faq, and
Mark Hall wrote:
> I'm currently in the process of moving, and work is taking up most of my
> time,
> but I'll try and look into what is causing this as soon as possible.
It took a while for me to find out how the RTF part works,
but eventually I found out the problem was caused by one
of my own
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Bruno Lowagie (iText)
> Sent: Wednesday, September 12, 2007 11:54 AM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] Problem with ColumnTextand
> SpaceAfterof para
Paulo Soares wrote:
> I didn't have yet time to reproduce the problem but the the placement of
> go() has influence in the output (this is by design) specially in the
> spacing before where it's not applied in the first paragraph each time
> go() is called.
That's what I mean: if you add the line
It would help to see the PDF.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of yuanjk
> Sent: Wednesday, September 12, 2007 11:39 AM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Can not open by Acrobat reader 8.
I didn't have yet time to reproduce the problem but the the placement of
go() has influence in the output (this is by design) specially in the
spacing before where it's not applied in the first paragraph each time
go() is called.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [ma
hi
I create a pdf file by using iText PdfContentByte,PdfTemplate and embede
japanese font(MS-UIGothic) which contain only one word.
When I use Acobat Reader5.1 to open the pdf file which was created by iText,
It's seems OK,
But when I open it by Acobat Reader 8.1 , a white page was showned.
At th
Stephan Michels wrote:
> Hi,
>
> I have the following problem, if I render text with a ColumnText
> object then the output depends where I invoke go().
This could be solved by adding:
compositeColumn.useAscender = useAscender;
on line 1118 in class ColumnText.
However, I'd like to have Paulo's op
This is just a reminder to Mark Hall, it's probably connected with the
other field problem.
Paulo
> -Original Message-
> From: Nobody [mailto:[EMAIL PROTECTED] On
> Behalf Of SourceForge.net
> Sent: Wednesday, September 12, 2007 10:23 AM
> To: [EMAIL PROTECTED]
> Subject: [ itext-Bugs-1
>If your ColumnText object says there's still more text,
>then that's what you should do.
Thanks Bruno,
I got it to work. The problem was - I was creating a new ColumnText object
for each new page inserted using PdfStamper. However, I changed it to
continue using the old ColumnText Object but set
Bruno Lowagie wrote:
> Chad Loder wrote:
>> Hi. Has anyone had a chance to look at this?
> Unfortunately, due to circumstances in my dayjob,
> I won't be able to look at this problem before
> next Wednesday.
OK, done. The fix is in the SVN repository
(com.lowagie.text.pdf.PdfCell).
br,
Bruno
---
After I have imported an existing page (PdfImportedPage) and used it in
the PdfWriter, all the font coming from the page will be included in the
resulting page.
How Can I reuse theese imported fonts for my own phrases inside the new
document?
Thanks in advance,
Fridi
Hi,
I have the following problem, if I render text with a ColumnText
object then the output depends where I invoke go(). For example, I get
a different result if I do following steps
1. add paragraph 1 to ColumnText
2. add paragraph 2
3. invoke go()
and
1. add paragraph 1 to ColumnText
2. invok
dayvidpow wrote:
> The problem is when I add text to columnText and then renders it using go(),
> it does not render all the text that was added to the column, because the
> column got filled up.
And you can ask the ColumnText object if there's still
more text.
> Is it possible for me to get at
35 matches
Mail list logo