Re: [iText-questions] Memory management for large tables + Virtual Machine

2008-04-14 Thread Sergio Lopez
16:03:01 +0200 > From: [EMAIL PROTECTED] > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Memory management for large tables + Virtual > Machine > > Sergio Lopez wrote: > > In the other hand, your curiosity has been awarded: > > I down

Re: [iText-questions] Memory management for large tables + Virtual Machine

2008-04-11 Thread Sergio Lopez
> That's great, isn't it? WELL, IF I MANAGE TO CONVINCE MY BOSS TO USE THE JAR I GENEREATED INSTEAD THE ONE DONE WHY ITEXT TEAM ^_^ > This is a rhetorical question I hope?YES ^___^ > Theoretically it should work. I remember the days when Java> was promoted > with the concept WORA: "Write Once,

Re: [iText-questions] Memory management for large tables + Virtual Machine

2008-04-11 Thread Sergio Lopez
tables + Virtual > Machine > > Sergio Lopez wrote: > > Also tried with writeSelectedRows but same results... > > I'm not an Oracle specialist, so I can't say more than > what is advised on the page you linked to. However: > some extra questions: on the forum, you f

[iText-questions] Memory management for large tables + Virtual Machine

2008-04-11 Thread Sergio Lopez
Hi again, I tried the FragmentTable example (http://itextdocs.lowagie.com/tutorial/objects/tables/pdfptable/index.php) and when I increased the numbers of rows to be printed to 2500 I got the message: "Process exited with exit code 128." Looking for a clue, it seems it's related to my IDE, Or

Re: [iText-questions] TableLayout + Memory Management

2008-04-03 Thread Sergio Lopez
Taking advantage of your suggestion to code I tried to adpat it to my case till there's a new release. I had to use onEndPage. But i was forced to define global variables to use PdfContentByte, and table widths and heights used in tableLayout method :-( I know it's a "dirty" solution and maybe

Re: [iText-questions] TableLayout + Memory Management

2008-04-03 Thread Sergio Lopez
Exactly what I need!!! I'm looking forward to have the new version ^__^ Hope in my project let me use the new jar soon ;-) Thank you so much Should you come to Madrid, a "paella" will be waiting for you ^_^ Sergio > Date: Thu, 3 Apr 2008 1

Re: [iText-questions] TableLayout + Memory Management

2008-04-03 Thread Sergio Lopez
ll create a > new table for each page. > > Paulo > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of Sergio Lopez > > Sent: Thursday, April 03, 2008 9:33 AM > > To: Post all your question

Re: [iText-questions] TableLayout + Memory Management

2008-04-03 Thread Sergio Lopez
ago I started with iText, and doubts were solved quickly ^_^ > Date: Wed, 2 Apr 2008 15:14:31 +0200 > From: [EMAIL PROTECTED] > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] TableLayout + Memory Management > > Sergio Lopez wr

RE: [iText-questions] border in PdfPTable

2003-07-01 Thread Sergio Lopez Rodriguez
Maybe I'm wrong but I fear you'll have to set for each cell NO_BORDER It's curious because the iText API I have says " getDefaultCell public PdfPCell getDefaultCell() Gets the default PdfPCell that will be used as reference for all the addCell methods except addCell(PdfPCell)." so this makes m

[iText-questions] Underline text

2002-07-31 Thread Sergio Lopez Rodriguez
Is there any way of reducing the space between the text underlined and the line that underline the text? It seems too big if u compare it with the result in a Word doc using the same font type ... Or should i do sth like is said in http://sourceforge.net/mailarchive/message.php?msg_id=253887

[iText-questions] examples-100.zip

2002-07-02 Thread Sergio Lopez Rodriguez
I would like to know which versions of iText and JFreeChart should I have to compile without problems the examples contained in examples-100.zip. For instance, I'm using the latest one uploaded in iText website and PdfShading, used in shading_pattern.java, doesn't appear in the latest iText.jar I

RE: [iText-questions] FileName for a PDF output to screen from a servlet

2002-06-12 Thread Sergio Lopez Rodriguez
I tried using the setHeader solution with the OutSimplePDF.java > > String filename = "myFileName.pdf"; > response.setContentType("application/pdf"); > > response.setHeader("Content-Disposition", "attachment;filename=" + filename); > response.setContentLength(baos.size()); but when I ca

RE: [iText-questions] Servlet runs twice if I use IE 5.5

2002-05-03 Thread Sergio Lopez Rodriguez
Try using POST instead GET and it works: the servlet is called just once ... well, at least for me ;-) Sergio --- Este mensaje y los documentos, que en su caso, lleve anexos, pueden contener informacion confidencial y atañe ex

RV: [iText-questions] Doubts with Embedding Fonts (Font vs BaseFont) SORRY!!!!

2002-04-09 Thread Sergio Lopez Rodriguez
Sorry for the previous messagge My question is a really simple one ... If I use Font helv7B = new Font(Font.HELVETICA,7,Font.BOLD); is this font automatically embedded in the PDF? If yes, it suits what I intend to do now but ... I thought that a BaseFont is a base font, i mean, using the s

RV: [iText-questions] Doubts with Embedding Fonts (Font vs BaseFont) SORRY!!!!

2002-04-09 Thread Sergio Lopez Rodriguez
Sorry for the previous messagge My question is a really simple one ... If I use Font helv7B = new Font(Font.HELVETICA,7,Font.BOLD); is this font automatically embedded in the PDF? If yes, it suits what I intend to do now but ... I thought that a BaseFont is a base font, i mean, using the s

[iText-questions] Doubts with Embedding Fonts (Font vs BaseFont)

2002-04-09 Thread Sergio Lopez Rodriguez
--- Este mensaje y los documentos, que en su caso, lleve anexos, pueden contener informacion confidencial y atañe exclusivamente a las personas a las que va dirigido. Cualquier opinion en el contenida, es exclusiva de su autor

RE: [iText-questions] SubTotals, count, ....

2002-04-02 Thread Sergio Lopez Rodriguez
UFFA, READING TWICE OR THREE TIMES I REALIZED I NEED AN COURSE OF "LEARN IN 2 DAYS HOW TO MAKE QUESTIONS EASY TO UNDERSTAND" ... My PDF has always a table with 10 rows (it could be that it's filled in the first 2 rows, and the rest are empty). So, for instance, if my PDF consists of 1 page and th

[iText-questions] RE: More Exact Vertical aligment in PdfTables curiosity

2002-03-27 Thread Sergio Lopez Rodriguez
"Este mensaje y los documentos " ;-) - Original Message - From: Paulo Soares <[EMAIL PROTECTED]> To: 'Sergio Lopez Rodriguez' <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Subject: RE: More Exact Vertical aligment in PdfTables curiosity helv7B.getBaseFont() only works if the f

[iText-questions] SubTotals, count, ....

2002-03-27 Thread Sergio Lopez Rodriguez
I need to add subtotals, count and other kind of group functions to a report. I think i must use Events, mustn't I? To create the PDF I'm using servlets that extends from a specific Servlet, let's say I have CarServlet extends OtherServlet OtherServlet it's predefinined so I can't chang

[iText-questions] Vertical aligment in PdfTables curiosity

2002-03-14 Thread Sergio Lopez Rodriguez
I've seen sth curious related to vertical alignment in cells (see TablesMiddle.java and jpg attached) and it's that there's always a slight difference between the text and the upper border, and the text with the lower border of the cell. In the java attached in the first cell i don't fix the heigh

RE: [iText-questions] Re: A doubt with Number of page and template

2002-03-13 Thread Sergio Lopez Rodriguez
> You could add a PdfPTable in onEndPage with the currentNumber and > the slash and then add the total number of pages in onCloseDocument > and try to match it inside the PdfPTable... > > This is more difficult than using the method PdfContentByte.rectangle(), > but if you want it that way, you ca

[iText-questions] A doubt with Number of page and template

2002-03-13 Thread Sergio Lopez Rodriguez
I had a look on the tutorial (maybe it wasn't deep enough :-( ...) about templates and page events (Chap12 and example). The problem I have it's i must put the "NumbrePage/TotalPages" inside a box. I think the easiest it's to use a Table (ok, i'm a little lazy to draw lines...) but as I have to se

[iText-questions] Servlet Invoked twice

2002-02-27 Thread Sergio Lopez Rodriguez
I'm using a Servlet to generate a PDF and i see the code is executed twice Why? Regards Sergio --- Este mensaje y los documentos, que en su caso, lleve anexos, pueden contener informacion confidencial y atañe exclusivame

[iText-questions] Nested tables and inner borders

2002-02-26 Thread Sergio Lopez Rodriguez
1. I need a document with a table in a determined position so I have to use PdfPTable, isn't it? 2. As some cells are divided into cells maybe I have to use nested cells, isn't it? If the answer to these answers are YES my problem is that the layout I get (WhatIGet.jpg) it's totally different to W

[iText-questions] Increase space between

2002-02-25 Thread Sergio Lopez Rodriguez
Maybe I'm a little lazy but ... I want to have in a cell different lines, sth like ** * TITLE * ** * Line 1 * * Line 2 * ** I try to avoid: 1. use a new cell for each new line 2. use nested tables So I thought that m

[iText-questions] Using different fonts and ... positioning text

2002-02-20 Thread Sergio Lopez Rodriguez
I want to use CODE39 and Helvetica + positioning but i have problems to do it. 1. Can i do sth like...? cb.beginText(); BaseFont bf = BaseFont.createFont(BaseFont.HELVETICA, BaseFont.CP1252, BaseFont.NOT_EMBEDDED); BaseFont bf_BARCODE = BaseFont.createFont("c:\\winnt\\

[iText-questions] Using fonts

2002-02-20 Thread Sergio Lopez Rodriguez
I need to use the Arial font and position, once more, text ... in Chapter 10 the examples seems to indicate i have to use BaseFont, but if i want to use another kind of font (Chapter 9) i should use the full path of the font. Is there another way without specifying the path. Should i use then Chu

[iText-questions] Absolute Positioning Text and Measurements Problems

2002-02-20 Thread Sergio Lopez Rodriguez
I need to position texts and lines in determined positions (measured in cms.). I have had a look on the page http://www.lowagie.com/iText/tutorial/ch01.html Margins Section, in particular about how to convert from cms into points and, for instance

[iText-questions] Questions about Table/PdfPTable

2002-02-19 Thread Sergio Lopez Rodriguez
I'm trying to create a sheet divided in "cells" and in every cell there will be text and a barcode (it's for labels) so my questions are: 1. Is it possible in a cell to "put/insert/write" different lines of text? I mean, in HTML, in a cell I can use the BR tag, is there any similar? Or should I

[iText-questions] Using Oracle Report Templates

2002-02-18 Thread Sergio Lopez Rodriguez
Ok, i think the answer is NO but ... is possible to use the Oracle Reports template .rdf? Thanks --- Este mensaje y los documentos, que en su caso, lleve anexos, pueden contener informacion confidencial y atañe exclusivamente a

[iText-questions] New with iText

2002-02-14 Thread Sergio Lopez Rodriguez
HI, I'm just a beginner with iText but it looks pretty interesting. One of my first problems is the client receives only a blank browser .. I had a look on the FAQ section and there's a topic called "msieProblems with the Internet Explorer plugin" with a clue to avoid this problem... but the prob