Hello,
I filling an Pdf (V1.6) using iText 1.4.4. Somethimes the values exceed the
MAXLEN value of a textfield. The problem I have is that the display value is
still the untruncated value.
Why is the value truncated but the display value not?
>From my point of view is this handling not quiet co
You can add font when you instantiate your Cell object. There is a Cell
constructor that takes a Phrase for instance.
As an example:
Font colfont = new Font(Font.HELVETICA, 8); //you can change Font size
Cell cell= new Cell(new Phrase("Text to add to cell", colfont));
table.addCell(cell);
Hello,
I am trying to create an RTF document with a table that looks like the
following. http://kencochrane.net/itext/RTFTableExample.gif .
Basically it is a Table with a Line that goes across multiple cells, and a
Circle in one of the cells. This document is currently created
by hand using MS Wo
Has the book been published? I have not received it.
-Henry
Mark Hall wrote:
>On Monday 27 November 2006 15:04, Henry Lu wrote:
>
>
>>Is there a way to generate tale of content in RTF?
>>
>>
>http://itextdocs.lowagie.com/tutorial/rtf/index.html
>
>Greetings,
>Mark
>
>
--
Hello, i need help, im working with tables and my code to generate the table is
the same than the example My first table, but i cant change the font size, can
anyody help me to do this? i really apreciate if someone could paste a code
example! or at least a piece of it.
Jose Guadalupe Gutierrez Li
Hello,
Is there any way a check box or radio button can be added as part of the
table? Added to a table cell for example? I'm looking into an example
provided in Javadoc for RadioCheckField class. It seems like one would
need to specify the absolute location in the document (as part of
Rectangle pa
sfunds wrote:
> Hi,
> I have a pdf file In which a page is divided into two vertical halves.
Something like this:
+--+--+
| | |
| | |
+--+--+
This is 1 page as far as PDF is concerned.
>If I put view by page width the whole lengthwise doesnt appear.
That would depend on the size of your
Hi,
I have a pdf file In which a page is divided into two vertical halves.If I
put view by page width the whole lengthwise doesnt appear.(obvious) I need
to split the page vertically into 2 parts page 1A and page 1b
so that left part of page comes first and followed by right side of page
so it wi
[EMAIL PROTECTED] wrote:
>
> Hello,
>
> i have a problem with a paragraph that contains a pdfptable.
Why would you want to wrap a PdfPTable inside a Paragraph?
> Here is a demo application
I'll have a look at it tomorrow.
br,
Bruno
-
Sam Green wrote:
>> iText doesn't downsize images.
> Yet there was a drop in quality... what could explain this?
Human perception, or bad use of terminology.
I repeat: if you use Image.getInstance( filename ),
iText will not reduce the quality of the image:
the JPG will have as many pixels in t
Lewis Sun wrote:
> Bruno, Thanks for your quick response. I try that option. The added PDF
> file is not shrunk anymore. But it miss part of the bottom. It still
> have margin on the top.
This is not an iText related problem: I bet the top part
is not missing on the screen, only when you are pri
Whoops, that makes me embarassed and totally mistaken.
Bill: I'll post all the relevants tomorrow.
Thanks for your help guys.
Leonard Rosenthol wrote:
At 3:47 PM + 11/27/06, Sam Green wrote:
My PNG file is vector based,
Not possible.
PNG is a bitmap/raster fo
Please post your Image.
I can probably help you, but I would like to see it before I try to answer
your question.
Question 1) what is the physical size in pixels of your PNG?
Question 2) what is the rendered size in the PDF that you want it to be?
-Bill Ensley
Bear Printing
-Original Messa
At 3:47 PM + 11/27/06, Sam Green wrote:
>My PNG file is vector based,
Not possible.
PNG is a bitmap/raster format - it can NOT include vector data.
Leonard
--
---
Leonard Rosenthol
Hello,
i have a problem with a paragraph that contains a pdfptable.
I set the indentationLeft of the paragraph to indent the table, but the
next paragraphs are double indented.
Here is a demo application
---
Thx for the information!
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Im
> Auftrag von Bruno Lowagie
> Gesendet: Montag, 27. November 2006 16:30
> An: Post all your questions about iText here
> Betreff: Re: [iText-questions] How to extract data
>
> B
Bruno, Thanks for your quick response. I try that option. The added PDF file
is not shrunk anymore. But it miss part of the bottom. It still have margin
on the top. Do you know if I can add content at the very top of a blank
page? Thanks.
PdfWriter writer = PdfWriter.GetInstance(do
Dajana Delic wrote:
> Hi,
>
> How should I set combo box, list and checkbox fields to have them displayed
> on
> a flattened form after calling setFormFlattening(true)?
I don't see the problem.
Just use setField to set change the value fo the combo box,
list or checkbox, as you would use setFie
Bruno Lowagie wrote:
Sam Green wrote:
Hi all,
I have a quick question about image resolution with iText:
I have a png image of high quality, that I am adding to my PDF document
using Image.getInstance( filename ).When I do this, I notice a huge
drop in image quality.
iText doe
Patrick Kaegi wrote:
> ok! me again! i think now we have the solution:
> it's the font size which makes the problem.
OK, with the difference in font sizes,
I was able to reproduce the problem.
I'll have a look at it tomorrow
(I have to go to a meeting in a few minutes).
br,
Bruno
Bernhard Wellhöfer wrote:
> Hello,
>
> I have a PDF document with ~900 pages. The document lists in a long
> table the personal data of people. My job is it now to extract the first
> and last name into a structured document (e.g. XML, Excel, csv ...).
I hope you didn't accept that assignment
Sam Green wrote:
> Hi all,
>
> I have a quick question about image resolution with iText:
> I have a png image of high quality, that I am adding to my PDF document
> using Image.getInstance( filename ).When I do this, I notice a huge
> drop in image quality.
iText doesn't downsize images.
T
Hello,
I have a PDF document with ~900 pages. The document lists in a long table the
personal data of people. My job is it now to extract the first and last name
into a structured document (e.g. XML, Excel, csv ...).
I already managed to open the document via iText. After studying the
Docum
houcine houcine wrote:
> hello every body
>
> I am working with itext1.3 in web project , I create a PDF in servlet
> and I send it to browser to be displayed, my problem is when I use
> Firefox the pdf can be displayed correctly but when I try it in IE, I
> can't get my genereated file displ
Lewis Sun wrote:
> When I use cb.AddTemplate(page,0,0) I still get the page shrink. It
> appears that there are margins at the edge. Can anyone help me to
> element those margins? Thanks.
Many printers have difficulties printing close to
the border of a piece of paper. Therefore the page
is shru
Patrick Kaegi wrote:
> the problem only exists if we use our special font.
I haven't seen that kind of behavior before.
> should I send you also the font files?
Frutiger is not a free font. Please don't send it.
I think I have it somewhere at work.
I'll do my test with it tomorrow.
br,
Bruno
--
When I use cb.AddTemplate(page,0,0) I still get the page shrink. It appears
that there are margins at the edge. Can anyone help me to element those
margins? Thanks.
Lewis
-
Take Surveys. Earn Cash. Influence the Future of IT
On Monday 27 November 2006 15:04, Henry Lu wrote:
> Is there a way to generate tale of content in RTF?
http://itextdocs.lowagie.com/tutorial/rtf/index.html
Greetings,
Mark
--
Noise proves nothing. Often a hen who has merely laid an egg cackles
as if she laid an asteroid.
-- Mark
ok! me again! i think now we have the solution:
it's the font size which makes the problem.
try this code:
public class PdfTest {
public static void main(String[] args) {
Document document = new Document();
try {
PdfWriter.getInstance(document, new
FileOutpu
Hi all,
I have a quick question about image resolution with iText:
I have a png image of high quality, that I am adding to my PDF document
using Image.getInstance( filename ).When I do this, I notice a huge
drop in image quality.
I'm assuming that iText is sampling my original image at 72dp
Is there a way to generate tale of content in RTF?
-Henry
Mark Hall wrote:
>On Tuesday 21 November 2006 20:08, Henry Lu wrote:
>
>
>>Will display the height of the row much larger than the first one.
>>My question is how do we display an blank row with specified height?
>>
>>
>The reason i
yes! you're right.
the problem only exists if we use our special font. we do it like this:
String normalFontName = "Frutiger-Cn";
String normalFontFile = "externals/fonts/Ftc_.ttf";
String boldFontName = "Frutiger-BlackCn";
String boldFontFile = "externals/fonts/Ftblc_
hello every body
I am working with itext1.3 in web project , I create a PDF in servlet and I
send it to browser to be displayed, my problem is when I use Firefox the pdf
can be displayed correctly but when I try it in IE, I can't get my genereated
file displayed in this browser. Can anyone hel
Hi,
How should I set combo box, list and checkbox fields to have them displayed on
a flattened form after calling setFormFlattening(true)?
Thanks,
Dajana
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceFor
Cheung, Jennifer wrote:
> The program I’m
> developing produces formatted printouts of the data contained using a
> Graphics context. When the call came to also try and output the data in
> a PDF, I found your library and followed the example in the online
> tutorial by using the same code to
35 matches
Mail list logo