Re: [iText-questions] Itext 5.4.0 - Splitting pdf / UA

2013-03-01 Thread MILLIERE Loic
forge.net Objet : Re: [iText-questions] Itext 5.4.0 - Splitting pdf / UA Op 28/02/2013 11:20, loic schreef: Thank you very much, my problem is solved thanks to your reply. :-) I don't agree. You may have the illusion that your problem is solved, but in reality you're probably doing

Re: [iText-questions] Itext 5.4.0 - Splitting pdf / UA

2013-02-28 Thread loic
Thank you very much, my problem is solved thanks to your reply. :-) As you suggested the use of setTagged() works. First I have try to use PdfCopy, but I got a nullPointerException when closing document. Then I tried just adding setTagged() with PdfAWriter and it works fine. Best regards, Loïc

[iText-questions] Itext 5.4.0 - Splitting pdf / UA

2013-02-27 Thread loic
Hi, Using Itext 5.4.0, i'm splitting pdf without problems using high level fonctions as : PdfWriter.getDirectContent(); PdfWriter.getImportedPage(); ... It works fine, but now *I need to keep accessibility within the split pdf* ... I have replace PdfWriter by PdfAWriter, but it is not enough

Re: [iText-questions] RTF: Wrapping text around an image?

2008-08-28 Thread Le Doyen, Loic
couple of extra linebreaks after most (but not all) of the pictures > I insert. That's not as much of a problem for me as the text wrapping > though.. anyone have a solution for this? > > On Wed, Aug 27, 2008 at 12:54 AM, Le Doyen, Loic > <[EMAIL PROTECTED]> wrote: &g

Re: [iText-questions] RTF: Wrapping text around an image?

2008-08-27 Thread Le Doyen, Loic
hi, Don't you have also the problem of having 2 line breakers added just after your picture ? Or have you solved this problem ? Back to the alignment, I haven't pass to set another alignment than the default one(left), the method setAlignment of the Image class is not working on my computer. --

Re: [iText-questions] Problem of importation in RTF format

2008-08-25 Thread Le Doyen, Loic
when I have time. Howard Shank - Original Message From: "Le Doyen, Loic" <[EMAIL PROTECTED]> To: Post all your questions about iText here Sent: Monday, August 25, 2008 4:50:21 AM Subject: [iText-questions] Problem of importation in RTF format Hi, I try to import 2

[iText-questions] Problem of importation in RTF format

2008-08-25 Thread Le Doyen, Loic
Hi, I try to import 2 documents in one (to merge them). To do that I create my 2 documents and then a 3rd in which I import the 2 begining documents. But, if the import of the first works very good, a problem appear on the second import. The base document I use are created with the same fonts,

Re: [iText-questions] Alignement in a Chunk or Phrase for RTFdocument

2008-08-22 Thread Le Doyen, Loic
di 18 août 2008 16:23 To: Post all your questions about iText here Subject: Re: [iText-questions] Alignement in a Chunk or Phrase for RTFdocument Please provide sample code showing what you are attempting to do. Thanks Howard Shank - Original Message From: "Le Doyen, Loic" &l

Re: [iText-questions] Extremely large PDFs

2008-08-21 Thread Le Doyen, Loic
Hi, If I remember correctly, the 2G limitation is about the java runner and you will not able to exceed this size if you want to use java (maybe it is solved in recently versions). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Leonard Rosenthol Sent:

Re: [iText-questions] Problem with PdfPTable [RTF]

2008-08-20 Thread Le Doyen, Loic
L PROTECTED] On Behalf Of Le > Doyen, Loic > Sent: Wednesday, August 20, 2008 3:13 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Problem with PdfPTable > > Actually, I have tried all possible arrangements, but the only way to > display an

Re: [iText-questions] Problem with PdfPTable

2008-08-20 Thread Le Doyen, Loic
Phrase (which are Elements) using the addElement method, this display nothing. Is that normal ? Thanks, Loic Le Doyen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paulo Soares Sent: mercredi 20 août 2008 12:55 To: Post all your questions about iText

Re: [iText-questions] Problem with PdfPTable

2008-08-20 Thread Le Doyen, Loic
55 To: Post all your questions about iText here Subject: Re: [iText-questions] Problem with PdfPTable Make sure you fill the row or call PdfPTable.completeRow(). Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Le > Doyen, Loic &

[iText-questions] Problem with PdfPTable

2008-08-20 Thread Le Doyen, Loic
Hi, Howard Shank wrote that the Table class is obsolete, so I try to use the PdfPTable one. However, the only thing I created when I add it to my document is an empty table with one empty row. The code (javascript) I use is the following : var finalTable = new Packages.com.lowagie.text.pdf.Pdf

[iText-questions] Scaling an image to place in a RTF document

2008-08-19 Thread Le Doyen, Loic
Hi, I want to resize an image before placing it into my document, but the methods scaleAbsolute, scalePercent and scaleToFit aren't doing anything, the image still have is original size. Parameters are Floats, are values still in pixel or in percentage (for scalePercent) ? Best regards, Loïc

[iText-questions] Problem of Table of contents in RTF

2008-08-19 Thread Le Doyen, Loic
Hi, I try to create a table of contents, inserting a field at the beginnig of the document, then using styles created like : new RtfParagraphStyle("heading 1", this.styleToc[0].tocFont, parseInt(this.styleToc[0].tocPolice), this.getFontStyle(this.styleToc[0].tocFormat), this.getColor(this.sty

Re: [iText-questions] Alignement in a Chunk or Phrase for RTFdocument

2008-08-18 Thread Le Doyen, Loic
- Original Message From: "Le Doyen, Loic" <[EMAIL PROTECTED]> To: Post all your questions about iText here Sent: Monday, August 18, 2008 10:12:14 AM Subject: [iText-questions] Alignement in a Chunk or Phrase for RTF document Hi, I have to put words in an RTF document, but w

[iText-questions] Alignement in a Chunk or Phrase for RTF document

2008-08-18 Thread Le Doyen, Loic
Hi, I have to put words in an RTF document, but without the line breaker at the end of a Paragraph, so I use Chunk and Phrase to do it but I cannot find any method to define the alignment of these objects (like the one in the Paragraph class). Best regards, Loïc LE DOYEN --

[iText-questions] Problem with header in iText- RTF

2008-08-18 Thread Le Doyen, Loic
Hi, I try to merge two files in one, creating a document an using importRTFdocument, but, the first imported document not having header/footer, automatically iText put header and footer of the second imported document on pages of the first, I just want to "paste" the second after the first, not

Re: [iText-questions] Limitation problem with RTF using Document ?

2008-08-14 Thread Le Doyen, Loic
iText-questions] Limitation problem with RTF using Document ? That is something I'd have to see all the code to debug. Usually it means you've placed an element in another element that isn't supported. Howard Shank - Original Message ---- From: "Le Doyen, Loic" <[EM

[iText-questions] Limitation problem with RTF using Document ?

2008-08-14 Thread Le Doyen, Loic
Hi, One more time, thank you for all the past help, but I am now in front of a new problem. Actually, when I use the method close() on a Document, this error message appears : "Wrapped java.lang.IndexOutOfBoundsException: Index: 0, Size: 0". Is there a limitation of size in the Document class ?

Re: [iText-questions] Table in a RTF, different withs for each row

2008-08-12 Thread Le Doyen, Loic
} catch (DocumentException e) { e.printStackTrace(); } document.close(); } Regards, Howard Shank - Original Message From: "Le Doyen, Loic" <[EMAIL PROTECTED]> To: Post all your questions about iText here Sent: Monday, August 11, 2008 4:34:29 AM Subject

Re: [iText-questions] Table in a RTF, different withs for each row

2008-08-12 Thread Le Doyen, Loic
ument.close(); } Regards, Howard Shank - Original Message From: "Le Doyen, Loic" <[EMAIL PROTECTED]> To: Post all your questions about iText here Sent: Monday, August 11, 2008 4:34:29 AM Subject: [iText-questions] Table in a RTF, different withs for each row

Re: [iText-questions] RTF - Problem with picture

2008-08-11 Thread Le Doyen, Loic
Are you able to perform this manually using MS Word? I have not been able to do this in the past, but I haven't tried very hard. Howard Shank - Original Message From: "Le Doyen, Loic" <[EMAIL PROTECTED]> To: Post all your questions about iText here <[EMAIL PRO

Re: [iText-questions] RTF - Problem with picture

2008-08-11 Thread Le Doyen, Loic
Behalf Of Howard Shank Sent: lundi 11 août 2008 16:20 To: Post all your questions about iText here Subject: Re: [iText-questions] RTF - Problem with picture Look at myImage.scaleAbsolute(100, 100); Howard - Original Message From: "Le Doyen, Loic" <[EMAIL PROTECTED]> T

Re: [iText-questions] RTF - Problem with picture

2008-08-11 Thread Le Doyen, Loic
} catch (DocumentException e) { e.printStackTrace(); } document.close(); } Regards, Howard Shank - Original Message From: "Le Doyen, Loic" <[EMAIL PROTECTED]> To: Post all your questions about iText here Sent: Monday, August 11,

[iText-questions] RTF - Problem with picture

2008-08-11 Thread Le Doyen, Loic
Hi, I'm trying to set an existing picture in an RTF file, to do that, I use the method getInstance of Picture object, then I create a new chunk with the picture and two 0 as parameters, I add this chunk to a Paragraph and then to my Document. However, the last add method return an error message

[iText-questions] Table in a RTF, different withs for each row

2008-08-11 Thread Le Doyen, Loic
Hi, First of all, thank you for the past help. I currently seeking for a method to define for each row of a Table in a RTF, the width. I havn't found any method in the javadoc about PdfTable (http://www.1t3xt.info/api/com/lowagie/text/pdf/PdfTable.html), and there is no comprarable methods wit

[iText-questions] Background color in RTF

2008-08-07 Thread Le Doyen, Loic
Hi, I want to define background color for a text, a pragraph and a cell in a table (for a RTF file), I have search in the javadoc, but the only thing I have found is how to define parameters of a paragraph except background color. What kind of object must I have to use for this kind of paramete

Re: [iText-questions] Problem importing RTF

2008-08-06 Thread Le Doyen, Loic
2008 16:51 To: Post all your questions about iText here Subject: Re: [iText-questions] Problem importing RTF Loic, Please use the mailing list when responding. I will look into the color issue as there seems to be a color mapping problem for your document. The graphic issue is that your file

Re: [iText-questions] Problem importing RTF

2008-08-06 Thread Le Doyen, Loic
Hi, I have solved my last problem using both jar files (2.1.3 and 2.1.3-rtf), but now two new problems appear : first, images i have in my basis rtf file are not imported (i think images used are not supported, but it's clearly an issue). And second point, text in cells are highlighted with arb

Re: [iText-questions] Problem importing RTF

2008-08-05 Thread Le Doyen, Loic
Hi, Thanks for your answer i'm more sagely now, but i can't find any 2.1.4 version of iText available. Is that release still in development ? In that case, when can we access it ? Best regards, Loïc LE DOYEN - This SF.Net

[iText-questions] Problem importing RTF

2008-08-04 Thread Le Doyen, Loic
Hi, I'm currently using iText to modify an existing RTF file, so i create a new file and i import the existing one in it, but it don't work, the created file is empty after the operation. I test this phenomenon by using several kinds of RTF file, and it always works except with the special kind