Re: [iText-questions] Problems when using iTextSharp in a multithreaded application.

2014-05-28 Thread Paulo Soares
I suspect that the embedding of the full font file is not thread safe, only the subset. I'll check it out. Paulo On Wed, May 28, 2014 at 11:02 AM, iText mailing list wrote: > On 5/28/2014 11:11 AM, Kostas wrote: > > Note that we are using iTextSharp version 5.4.5.0. > > > Hmm... That's strang

Re: [iText-questions] Problems when using iTextSharp in a multithreaded application.

2014-05-28 Thread iText mailing list
On 5/28/2014 11:11 AM, Kostas wrote: Note that we are using iTextSharp version 5.4.5.0. Hmm... That's strange. I expected you to say it was a version predating 5.4.2.0 because that's when we made the FontFactoryImp class threadsafe. ---

Re: [iText-questions] Problems when using iTextSharp in a multithreaded application.

2014-05-28 Thread iText mailing list
On 5/28/2014 10:31 AM, Kostas wrote: > We are using iTexSharp in an ASP.NET MVC web site and we have noticed > that when two requests arrive that utilize the same iTextSharp > functionality we get an exception. Which version of iTextSharp are you using? --

Re: [iText-questions] Problems when using iTextSharp in a multithreaded application.

2014-05-28 Thread Kostas
Note that we are using iTextSharp version 5.4.5.0. From: Kostas [mailto:[email protected]] Sent: Wednesday, May 28, 2014 11:32 AM To: [email protected] Subject: [iText-questions] Problems when using iTextSharp in a multithreaded application. We are using iTexSharp in

[iText-questions] Problems when using iTextSharp in a multithreaded application.

2014-05-28 Thread Kostas
We are using iTexSharp in an ASP.NET MVC web site and we have noticed that when two requests arrive that utilize the same iTextSharp functionality we get an exception. No apparent problem exist when testing in one request at a time. Here is the exception: System.Reflection.TargetInvocationExc

Re: [iText-questions] Problems drawing in a PdfPCell

2013-12-02 Thread Arman.Melkumyan
You have forgottern to add this template .*stroke(); * *after drowing circle *template.*circle(25f, 25f, 25);* This this example, it works correcly: PdfPTable table = new PdfPTable(2); table.setTotalWidth(300); PdfContentByte canvas = pdfWriter.getDirectContent(); PdfTemplate template

[iText-questions] Problems with Chunk

2013-11-21 Thread Nicolas Conde
I detect if a document is added to a "Chunk" after adding Chunk.NEWLINE, next Chunk is not under, but he is on the same line. eg: Document documento = new Document(); try { PdfWriter.getInstance(documento, new FileOutputStream("EX.pdf")); documento.open(); documento.add(new Chunk("E

[iText-questions] Problems with iText Timestamp signature

2013-07-01 Thread Andre Mariano
Hi Guys, Well, I'm trying to sign my PDF with a TSA Client, my problem is that it throws some header errors like those: Exception in thread "main" java.lang.IllegalArgumentException: Illegal >> character(s) in message header value: Basic >> Y29udHJlbF9jb25zdHJ1Y29lczpvOWF3ODlkb2xhOW9seXM5MzdoMHlwM

Re: [iText-questions] Problems filling out checkbox Forms

2013-05-18 Thread Andre Mariano
Thanks a lot. I used the copy example seen in the itext chapter but I don't know what happened... Or why the file got so messed up... Em 18/05/2013 12:34, "iText Mailing List" escreveu: > ** > On Fri, 17 May 2013 19:01:51 +0200, Andre Mariano < > [email protected]> wrote: > > the problem

Re: [iText-questions] Problems filling out checkbox Forms

2013-05-18 Thread iText Mailing List
On Fri, 17 May 2013 19:01:51 +0200, Andre Mariano wrote:the problem is when I use the PDFCopy.I wrote a small PoC using PdfCopyFields:PdfReader reader = new PdfReader("document_orig.pdf");PdfCopyFields copyfields = new PdfCopyFields(new FileOutputStream("document_copyfields.pdf")); copyfields.ad

Re: [iText-questions] Problems filling out checkbox Forms

2013-05-18 Thread iText Mailing List
On Fri, 17 May 2013 19:01:51 +0200, Andre Mariano wrote:document_model - Is the model that I created in Nitro document_orig - Is the original file after being filled out document_copy - Is the original file being copied to another Document.Aha, ignore my previous mail.I see you've sent us some fi

Re: [iText-questions] Problems filling out checkbox Forms

2013-05-17 Thread Andre Mariano
Thanks =D, Yet, Isn't it a problem? Because I didn't have any problems when copying all the other form types to a new doc, only this one. 2013/5/17 iText Mailing List > ** > On Fri, 17 May 2013 18:26:51 +0200, Andre Mariano < > [email protected]> wrote: > > This problem happens after I

Re: [iText-questions] Problems filling out checkbox Forms

2013-05-17 Thread iText Mailing List
On Fri, 17 May 2013 18:26:51 +0200, Andre Mariano wrote:This problem happens after I use the PdfCopy to copy this document to a new one.BUSTED!You didn't read http://www.manning.com/lowagie2/samplechapter6.pdfIf you had read that chapter, you wouldn't have used PdfCopy to copy a form to another d

Re: [iText-questions] Problems filling out checkbox Forms

2013-05-17 Thread Andre Mariano
Ok, well, This problem happens after I use the PdfCopy to copy this document to a new one. I'm creating some sample files, I'm be sending thoses. 2013/5/17 iText Mailing List > ** > On Fri, 17 May 2013 18:17:06 +0200, Andre Mariano < > [email protected]> wrote: > > Do you guys have any

Re: [iText-questions] Problems filling out checkbox Forms

2013-05-17 Thread iText Mailing List
On Fri, 17 May 2013 18:17:06 +0200, Andre Mariano wrote:Do you guys have any clues?That's the same behavior of Apple Preview ;-)In Apple Preview, the problem lies with the appearance streams.Show us your PDF so that we can check if that also the problem you're experiencing.I've never heard this p

[iText-questions] Problems filling out checkbox Forms

2013-05-17 Thread Andre Mariano
Hi guys, I'm having some issues after filling the checkbox on itext. My problem is that after I fill it, when seeing it in Adobe Reader, the checkbox simply disappear. I designed the forms in Nitro PDF. I'm using iText 5.1.1. Do you guys have any clues? thanks in advance. ---

[iText-questions] Problems with anchor not showing on absolute position

2013-04-25 Thread Stratos Paraskevaidis
Hello, and thank you in advance for any help that you can provide for my problem. I am trying to basically add a text(with formatting applied to it) at an absolute position with an anchor pointing to an external link to a newly created PDF document. I can see the text in the generated PDF, but

[iText-questions] Problems with the font tags and div tags in xml worker

2013-02-19 Thread Salman Ghani
Hi I'm using itextsharp 5.3.5 and xml worker to generate the PDF from my html page. In my html page I have a rich text editor which generate the html using the div tags and font tags. Please see the below html piece generated by my field. http://www.w3.org/1999/xhtml";>this text is not wo

Re: [iText-questions] Problems with FontSize and TextRenderInfo length while parsing itext

2012-11-10 Thread iText Info
Op 9/11/2012 8:25, jian li schreef: > Itext can't get character width if it is using type3 font. Does > Itext can not parse type3 font correctly? This sounds like a funny question, but I'm going to assume that it's meant to be a serious one. A Type 3 font is a user defined font. This means th

Re: [iText-questions] Problems with FontSize and TextRenderInfo length while parsing itext

2012-11-08 Thread jian li
Itext can't get character width if it is using type3 font. Does Itext can not parse type3 font correctly? Any suggestion? Thanks very much On Thu, Nov 8, 2012 at 10:39 AM, jian li wrote: > Hi, ALL: > here is my problem. While parsing pdf using IText, I found some > textRenderInfo has same s

Re: [iText-questions] Problems on text extraction on iTextSharp 5.2.0

2012-05-24 Thread Kevin Day
Most likely, the PDF actually contains the text multiple times (either right on top of itself, or possibly slightly offset to make the text appear bold). Take a look at the content stream itself (either using RUPS or dump the content using PdfContentReaderTool) and see if that isn't the case. If

Re: [iText-questions] Problems with digital ID+encryption+Acrobat X

2012-03-01 Thread Maverick
Thanks, Leonard. I will take a look. Regards, -- View this message in context: http://itext-general.2136553.n4.nabble.com/Problems-with-digital-ID-encryption-Acrobat-X-tp4427440p4434400.html Sent from the iText - General mailing list archive at Nabble.com. --

Re: [iText-questions] Problems with digital ID+encryption+Acrobat X

2012-02-29 Thread Leonard Rosenthol
e who you say you are. Leonard -Original Message- From: Maverick [mailto:[email protected]] Sent: Wednesday, February 29, 2012 11:24 AM To: [email protected] Subject: Re: [iText-questions] Problems with digital ID+encryption+Acrobat X Hi Leonard. Let mi explain

Re: [iText-questions] Problems with digital ID+encryption+Acrobat X

2012-02-29 Thread Maverick
Hi Leonard. Let mi explain to you. I have Adobe ACROBAT 6.0 Professional in my machine. This program works directly with my certifates installed at Windows certificate stores, and open without problems the encrypted pdf. I have also Adobe READER X. This one I think (after several test) is no able t

Re: [iText-questions] Problems with digital ID+encryption+Acrobat X

2012-02-29 Thread Leonard Rosenthol
And you said that Acrobat worked. Do you do the same thing for Reader? -Original Message- From: Maverick [mailto:[email protected]] Sent: Wednesday, February 29, 2012 3:48 AM To: [email protected] Subject: Re: [iText-questions] Problems with digital ID

Re: [iText-questions] Problems with digital ID+encryption+Acrobat X

2012-02-29 Thread Maverick
Hi again Leonard, and thanks for your time. Yes, the certificate is inside the windows certificate store (personal store? I told you what I see in spanish version. First label from the left side). And seeing at Adobe Acrobat, Edition-Protection-Security configuration menu, I am able to see all the

Re: [iText-questions] Problems with digital ID+encryption+Acrobat X

2012-02-28 Thread Leonard Rosenthol
Do you mean the Windows certificate store? And you've enabled Reader X to look into the Windows store? On 2/28/12 11:33 AM, "Maverick" wrote: >Hi Leonard, and thanks for your answer. >I have installed the certificate at the Personal store. >With regard to how to tell Acrobat how to find it, I

Re: [iText-questions] Problems with digital ID+encryption+Acrobat X

2012-02-28 Thread Maverick
Hi Leonard, and thanks for your answer. I have installed the certificate at the Personal store. With regard to how to tell Acrobat how to find it, I followed all the information I founded at http://learn.adobe.com/wiki/download/attachments/52658564/Acrobat_ReaderSecurityMethods.pdf?version=1&modifi

Re: [iText-questions] Problems with digital ID+encryption+Acrobat X

2012-02-28 Thread Leonard Rosenthol
Where did you install the certificate? How would Reader X find out? -Original Message- From: Maverick [mailto:[email protected]] Sent: Tuesday, February 28, 2012 3:47 AM To: [email protected] Subject: [iText-questions] Problems with digital ID+encryption

[iText-questions] Problems with digital ID+encryption+Acrobat X

2012-02-28 Thread Maverick
Hi to everybody. I am using the c# version of iText (itextsharp) in .net proyects. I have created a test certificate with the tool makecert, no problem. I have developed a sample in witch I taked this certificate and a pdf file, encrypted it and saved it. I have installed in my machine, Adobe Acro

Re: [iText-questions] problems with PDF signing

2011-10-26 Thread mkl
Mike, Mike Calmus wrote: > I read through the forums and was planning to use the "reuse the stamper" > approach. Unfortunately, though neither the stamper nor the signature > appearance objects are serializable and therefore can't be stored in my > HTTP session for reuse. They would be difficult

Re: [iText-questions] problems with PDF signing

2011-10-26 Thread Mike Calmus
Thanks Michael. I read through the forums and was planning to use the "reuse the stamper" approach. Unfortunately, though neither the stamper nor the signature appearance objects are serializable and therefore can't be stored in my HTTP session for reuse. I've tried to find the sample implmentatio

Re: [iText-questions] problems with PDF signing

2011-10-20 Thread mkl
Mike, Please search the archives for "deferred signing". In a nutshell: the time of pdf stamping is included in the signed pdf. Thus, each time you create a stamper for signing, the hash of the bytes to sign is different. Some ideas on how to get around this problem have been presented on this l

[iText-questions] problems with PDF signing

2011-10-20 Thread Mike Calmus
We are filling in a PDF and signing it using an external digest. The code sample for doing this works fine in the normal flow where everything is done at one time. We have an unusual scenario, though where we must do the signing in a separate VM than the generation is done. I have separated the cod

Re: [iText-questions] Problems with generation of Page Numbers

2011-09-07 Thread Alexis Pigeon
Hi Prashanth, On 7 September 2011 12:15, Prashanth Palleti wrote: > Hi, > > I am using iText 2.1.7 This version is deprecated, 2-years old, and no free support is provided on this list for old versions. Current version is 5.1.2. > for generating PDF document.Here I need to print the total nu

[iText-questions] Problems with generation of Page Numbers

2011-09-07 Thread Prashanth Palleti
Hi, I am using iText 2.1.7 for generating PDF document.Here I need to print the total number of pages on every page as footer for example,there are 30 pages we need to print Page 1 of 30,2 of 30 so on as footer.Is there any way that we can do that using iText API.Please suggest me on how to procee

Re: [iText-questions] Problems with extracting text from PDF using Braille Font

2011-08-09 Thread Saad Shams
You are right. I have found a free font and it converts the braille characters to normal characters. But as you mentioned that fonts are not standard for different geographical regions/natives. So, the only way I can do it right is to process the braille character via image processing. Like conside

Re: [iText-questions] Problems with extracting text from PDF using Braille Font

2011-08-07 Thread Leonard Rosenthol
One way that braille can be done is with a font - that is true. However, not all fonts (be they Braille or not) are created equal. Also, not all PDF producers do a good job of maintaining searchability. Without an actual PDF, we can't tell you what's wrong. (you also don't mention what version

[iText-questions] Problems with extracting text from PDF using Braille Font

2011-08-07 Thread Saad Shams
Hello Community, Braille is a special font for blind people. I am trying to decode the text written in Braille font in a PDF file and output the normal text. But the PDFTextExtractor (in iTextSharp) cannot handle this font. Is it possible in any other way? The normal pdf can display this font so

[iText-questions] Problems detecting page sizes of PDF documents

2011-07-27 Thread John Renfrew
Another issue is that there are MANY ways of getting a piece of A4 too. We come across InDesign, Word, and printer pages that all vary slightly so when adding stationery as a template do a bit of maths that says if either dimension is with 3 for a4 and 2 for a5 then assume it is actually the sam

Re: [iText-questions] Problems detecting page sizes of PDF documents

2011-07-26 Thread 1T3XT BVBA
On 26/07/2011 16:26, Bassini Massimo wrote: > the resulting document still has the same problem: looks like an A4 > within code, but it’s something else, though. In addition to Mark's answer (which is correct), I'd like to add that apart from the /MediaBox (a rectangle returned by getPageSize())

Re: [iText-questions] Problems detecting page sizes of PDF documents

2011-07-26 Thread Mark Storer
se.Disclaimer; Disclaimer DisCard = null; From: Bassini Massimo [mailto:[email protected]] Sent: Tuesday, July 26, 2011 7:27 AM To: [email protected] Subject: [iText-questions] Problems detecting page sizes of PDF documents

[iText-questions] Problems detecting page sizes of PDF documents

2011-07-26 Thread Bassini Massimo
Hi everyone, this is my first question. I'm sorry but I've to skip presentation 'cause I'm pressed ... The problem I have is the following: I'm trying to manipulate PDF files (ex. Adding images, adding barcodes etc.). Usually I don't have big problems but in this case ... When I read the

Re: [iText-questions] Problems with Android+BKS+iText

2011-07-22 Thread Balder VC
iText 5.1.1 is not suited for Android. You'll run into other problems. but anyway here some questions that could enable your mind: Did you add BouncyCastle to your app ? Did you add the right version ? And last but not least is it suited for Android ? Regards Balder On 22/07/2011 20:38, Andr

[iText-questions] Problems with Android+BKS+iText

2011-07-22 Thread André Mariano
Hi Guys, I started developing for Android using iText,I used to develop only for web servers using iText, but now I'm having some issues with signing documents using iText in AndroidI'm only running texts by far but I already found some problems... Usually when I close the Stamper Here is The C

Re: [iText-questions] problems reading a signed pdf

2011-07-19 Thread Alessandro Pedrotti
the document digest. There are several different digests involved in a usual signature ... Greetings Andreas - original Nachricht Betreff: [iText-questions] problems reading a signed pdf Gesendet: Di, 19. Jul 2011 Von: Alessandro Pedro

Re: [iText-questions] problems reading a signed pdf

2011-07-19 Thread Andreas Kuehne
etings Andreas - original Nachricht ---- Betreff: [iText-questions] problems reading a signed pdf Gesendet: Di, 19. Jul 2011 Von: Alessandro Pedrotti I have problems reading a signed pdf the Exception is: java.security.NoSuchAlgorithmException: SHA256 MessageDige

[iText-questions] problems reading a signed pdf

2011-07-19 Thread Alessandro Pedrotti
I have problems reading a signed pdf  the Exception is: java.security.NoSuchAlgorithmException: SHA256 MessageDigest not available       at sun.security.jca.GetInstance.getInstance(GetInstance.java:142)  

Re: [iText-questions] Problems with cyrilic fonts in html tags

2011-06-23 Thread Paulo Soares
ulo - Original Message - From: Anvar Ramazanov To: [email protected] Sent: Thursday, June 23, 2011 10:00 AM Subject: [iText-questions] Problems with cyrilic fonts in html tags Hello! I have a problem with cyrilic font in html tag. Some tags displyed cyrilic cont

[iText-questions] Problems with cyrilic fonts in html tags

2011-06-23 Thread Anvar Ramazanov
Hello! I have a problem with cyrilic font in html tag. Some tags displyed cyrilic content correctly, some tags don't displyed this content Sample: Document document = new Document(PageSize.A4, 42, 53, 70, 46); BaseFont baseFont = BaseFont.CreateFont(Environment.ExpandEnv

Re: [iText-questions] Problems changing a Dictionary value persistently

2011-06-06 Thread Markus Reis
In the mean time I found out that if I add the following statement form.setFieldProperty(pdfFeldName, "flags", 0, null); after the put operation targetDict.put(PdfName.F, new PdfString( http://iop25.abv.at:58080/FormGenerator/TestServlet2)); then the action url is persisted. Any idea why?

Re: [iText-questions] Problems changing a Dictionary value persistently

2011-06-06 Thread 1T3XT BVBA
On 6/06/2011 15:07, Reis Markus wrote: This seems to work in memory, How do you know? but when I persist the data to a file (test_changed.pdf) Can you share that PDF? Maybe it's a hybrid AcroForm/XFA PDF? -- Simplify d

[iText-questions] Problems changing a Dictionary value persistently

2011-06-06 Thread Reis Markus
Hi, I'd like to change the url of a pushbutton's submit action - I do this by changing the corresponding dictionary value. This seems to work in memory, but when I persist the data to a file (test_changed.pdf) and open this new file in adobe reader there is still the old/original url present -

[iText-questions] Problems changing a Dictionary value persistently

2011-06-06 Thread Markus Reis
Hi, I'd like to change the url of a pushbutton's submit action - I do this by changing the corresponding dictionary value. This seems to work in memory, but when I persist the data to a file (test_changed.pdf) and open this new file in adobe reader there is still the old/original url present - wh

Re: [iText-questions] Problems installing Itext in oracle 9i/ S.O. AIX

2011-04-18 Thread 1T3XT BVBA
Op 18/04/2011 8:36, [email protected] schreef: > Hello, > > I'm having problems installing iText in Oracle 9i with AIX. I need any help. > > * iText 5.0.6 ??? Installing a jar (ANY jar) in Oracle 9i with AIX is off-topic on this list. -

[iText-questions] Problems installing Itext in oracle 9i/ S.O. AIX

2011-04-17 Thread ldubo
Hello, I'm having problems installing iText in Oracle 9i with AIX. I need any help. * iText 5.0.6 Thanks for help Luis Dubo -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Inc

Re: [iText-questions] Problems using skipFirstHeader for atabledisplayed on a new page.

2011-04-12 Thread 1T3XT BVBA
Op 11/04/2011 11:32, Palmer, Richard schreef: I was hoping to use the setSkipFirstHeader() method It was a bug; it's fixed in the SVN repository: Log Message: --- Fixed a bug regarding skipFirstHeader (reported by Richard Palmer in April, 2011). Skipping the first header didn't work

Re: [iText-questions] Problems using skipFirstHeader for atabledisplayed on a new page.

2011-04-12 Thread 1T3XT BVBA
Op 11/04/2011 11:32, Palmer, Richard schreef: I was hoping to use the setSkipFirstHeader() method to display a 'continued -- from last page' header row when a table is split across pages. ( as suggested in the Manning -- itext In Action 2^nd edition book section 4.3.1.) The pdf document tha

Re: [iText-questions] Problems using skipFirstHeader for atabledisplayed on a new page.

2011-04-11 Thread Palmer, Richard
rOfColumns()); headerCell.setBorderWidth(0.75f); headerCell.setPaddingBottom(8f); headerCell.setBorder(PdfTable.BOTTOM); table.addCell(headerCell); } From: Jason Berk [mailto:[email protected]] Sent: 08 April 2011 17:18 To: Post all your questions about i

Re: [iText-questions] Problems using skipFirstHeader for a tabledisplayed on a new page.

2011-04-08 Thread Jason Berk
I believe that's be design. SkipFirstHeader will be ignored if the table is the first/only item added via doc.add( ) Jason From: Palmer, Richard [mailto:[email protected]] Sent: Friday, April 08, 2011 11:42 AM To: [email protected] Subject: [iText-ques

[iText-questions] Problems using skipFirstHeader for a table displayed on a new page.

2011-04-08 Thread Palmer, Richard
Are there any known issues with the use of setSkipFirstHeader when the PdfPTable in question is displayed on a new page? I've created a pdfptable that has one header row but even with the SkipFirstHeader property set to true I still see this header row on the first page. It works fine if t

Re: [iText-questions] problems about chunk

2011-03-26 Thread 1T3XT BVBA
Op 25/03/2011 18:19, [email protected] schreef: > For the onGenericTag, I really expect that it could be solved in the > next release. That won't happen. PdfTemplate is a class that corresponds with an XObject. An XObject consists of a content stream. Annotations aren't part of the content stre

Re: [iText-questions] problems about chunk

2011-03-26 Thread 1T3XT BVBA
Op 25/03/2011 18:23, Mark Storer schreef: I'm thinking this isn't going to be a high priority feature any time soon. That's a correct assumption. Methods such as addTemplate() introduce an XObject. An XObject consists of a content stream. Links are annotations. Annotations aren't part of the c

Re: [iText-questions] problems about chunk

2011-03-25 Thread colley888
quot; arrows. --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; From: Colin Cheng [mailto:[email protected]] Sent: Thursday, March 24, 2011 2:49 PM To: Post all your questions about iText here Subject: Re: [iText-que

Re: [iText-questions] problems about chunk

2011-03-25 Thread Mark Storer
Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; From: Mark Storer [mailto:[email protected]] Sent: Friday, March 25, 2011 10:03 AM To: Post all your questions about iText here S

Re: [iText-questions] problems about chunk

2011-03-25 Thread Mark Storer
[mailto:[email protected]] Sent: Thursday, March 24, 2011 2:49 PM To: Post all your questions about iText here Subject: Re: [iText-questions] problems about chunk I understand. However, I have to use template, cause I don't know the correct t

Re: [iText-questions] problems about chunk

2011-03-24 Thread Colin Cheng
I understand. However, I have to use template, cause I don't know the correct text yet when I add the template. On Thu, Mar 24, 2011 at 2:29 PM, Nurettin DAG wrote: > I believe those functions are only available when you add the chunk via > document.add but not through template. > > On Thu, Mar

Re: [iText-questions] problems about chunk

2011-03-24 Thread Nurettin DAG
I believe those functions are only available when you add the chunk via document.add but not through template. On Thu, Mar 24, 2011 at 4:21 PM, Colin Cheng wrote: > Hi, > > I'm not sure if the following issues are bugs or not. > > 1. When I try to use Chunk.setGenericTag() function, and the chun

[iText-questions] problems about chunk

2011-03-24 Thread Colin Cheng
Hi, I'm not sure if the following issues are bugs or not. 1. When I try to use Chunk.setGenericTag() function, and the chunk is added to a PdfTemplate, then it will not trigger the page's onGenericTag event. 2. When the chunk is about to be added to a PdfTemplate, the chunk's setLocalGoto() will

Re: [iText-questions] Problems drawing in a PdfPCell

2011-01-26 Thread Anthony Webster
Thanks. I managed to figure it out myself as it turns out but I'll definately put in request to my boss to purchase the book. Le 26/01/2011 14:34, 1T3XT BVBA a écrit : Op 26/01/2011 13:51, Anthony Webster schreef: How can I achieve this? Did you look at any of the examples? Did you read the

Re: [iText-questions] Problems drawing in a PdfPCell

2011-01-26 Thread 1T3XT BVBA
Op 26/01/2011 13:51, Anthony Webster schreef: How can I achieve this? Did you look at any of the examples? Did you read the book? I tried the following without any result. PdfContentByte canvas = writer.getDirectContent(); OK PdfTemplate template = canvas.createTemplate(50,50); OK templa

Re: [iText-questions] Problems drawing in a PdfPCell

2011-01-26 Thread Anthony Webster
bster [mailto:[email protected]] Sent: Wednesday, January 26, 2011 11:26 AM To: [email protected] Subject: [iText-questions] Problems drawing in a PdfPCell Hi, As the subject indicates, I'm trying to draw inside a PdfPCell without success! I have looked around for examples

Re: [iText-questions] Problems drawing in a PdfPCell

2011-01-26 Thread Paulo Soares
You should add the circle to the template. paulo -Original Message- From: Anthony Webster [mailto:[email protected]] Sent: Wednesday, January 26, 2011 11:26 AM To: [email protected] Subject: [iText-questions] Problems drawing in a PdfPCell Hi, As the subject

[iText-questions] Problems drawing in a PdfPCell

2011-01-26 Thread Anthony Webster
Hi, As the subject indicates, I'm trying to draw inside a PdfPCell without success! I have looked around for examples for how to achieve this and message board posts and came across a number of suggestions. I looked into TableCellEvents but this seems to me to be more geared towards 'decoratin

Re: [iText-questions] Problems with Images and SSL

2010-11-21 Thread 1T3XT info
On 20/11/2010 22:47, jamesyreid wrote: > ...and I get the following exception: > > SSLHandshakeException: No trusted certificate found > > If I copy& paste the above https URL into a browser then the image is > displayed. Write a small example that tries to fetch the image bytes. Do not use iText

[iText-questions] Problems with Images and SSL

2010-11-20 Thread jamesyreid
Hi, My iText application works fine locally and on our test servers, however when I deploy it to our production server (https) there is a problem with images. On the test server, the code looks like this: Image image1 = Image.getInstance(new URL("http://our_test_server.com/images/image1.jpg";))

Re: [iText-questions] problems with converting TIF to PDF

2010-10-15 Thread mishakogan
Did you find any solution for this problem. Or maybe a workaround? -- View this message in context: http://itext-general.2136553.n4.nabble.com/problems-with-converting-TIF-to-PDF-tp2157785p2997258.html Sent from the iText - General mailing list archive at Nabble.com. ---

Re: [iText-questions] Problems with super-imposing one PDFonanother: White background?

2010-07-20 Thread Paul Russell
On Tue, Jul 20, 2010 at 5:43 PM, 1T3XT BVBA wrote: > On 07/20/2010 05:48 PM, Mark Storer wrote: >> You'll want to check out the org.itextpdf.text.pdf.parser package. I >> don't know that there are any examples that use it yet. Bruno? > Yes, there are examples in chapter 15 of the second revision.

Re: [iText-questions] Problems with super-imposing one PDFonanother: White background?

2010-07-20 Thread 1T3XT BVBA
On 07/20/2010 05:48 PM, Mark Storer wrote: > You'll want to check out the org.itextpdf.text.pdf.parser package. I > don't know that there are any examples that use it yet. Bruno? Yes, there are examples in chapter 15 of the second revision. The examples can already be found on itextpdf.com, but so

Re: [iText-questions] Problems with super-imposing one PDFonanother: White background?

2010-07-20 Thread Mark Storer
Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; > -Original Message- > From: Paul Russell [mailto:[email protected]] > Sent: Monday, July 19, 2010 11:07 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions]

Re: [iText-questions] Problems with super-imposing one PDF onanother: White background?

2010-07-20 Thread 1T3XT info
Paul Russell wrote: > Did you use a tool to 'look into' the PDF to help you > diagnose this? When I look at the PDF in a text editor, everything is > compressed, so I can't see the underlying operators. We have this tool called RUPS. See: http://www.flickr.com/photos/itextinaction/4484123398/ It's

Re: [iText-questions] Problems with super-imposing one PDF onanother: White background?

2010-07-19 Thread Paul Russell
On Tue, Jul 20, 2010 at 12:34 AM, Mark Storer wrote: > Bad news.  They are indeed drawing a white box (among other things... > yuck) on their background. My god, you speak PDF! Think I'm going to have to learn to do likewise. Did you use a tool to 'look into' the PDF to help you diagnose this? Wh

Re: [iText-questions] Problems with super-imposing one PDF onanother: White background?

2010-07-19 Thread Mark Storer
--Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; > -Original Message- > From: Paul Russell [mailto:[email protected]] > Sent: Monday, July 19, 2010 1:56 PM > To: Post all your questions about iText here &g

Re: [iText-questions] Problems with super-imposing one PDF onanother: White background?

2010-07-19 Thread Mark Storer
onday, July 19, 2010 1:56 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Problems with super-imposing one PDF > onanother: White background? > > Hi, > > Thanks very much for your help with this :) > > On Mon, Jul 19, 2010 at 8:34 AM,

Re: [iText-questions] Problems with super-imposing one PDF on another: White background?

2010-07-19 Thread Paul Russell
Hi, Thanks very much for your help with this :) On Mon, Jul 19, 2010 at 8:34 AM, 1T3XT info wrote: > Can you post a PDF so that we can see which hypothesis is correct? > If it's one of my guesses, it will be easy to solve your problem. > If it's indeed the white background problem, we'll have to

Re: [iText-questions] Problems with super-imposing one PDF on another: White background?

2010-07-19 Thread 1T3XT info
Paul Russell wrote: > My working hypothesis is that both PDF files have a white background > embedded in them, which is obscuring the underlay. That IS possible, but I haven't seen it happen much. I've seen opaque backgrounds for XObjects containing charts, but it's unusual for a PDF producer to c

[iText-questions] Problems with super-imposing one PDF on another: White background?

2010-07-18 Thread Paul Russell
Hi guys, I'm pretty new to iText, so apologies if I'm missing something stupid here: I've had a look through the FAQ and mailing list archives, and can't see anything obvious, but it might be that I'm using the wrong terminology or something. I'm using iText 5.0.2 to overlay a PDF document over a

Re: [iText-questions] Problems with ConcatCTM

2010-05-11 Thread Dean Krueger
> > import legalese.Disclaimer; > Disclaimer DisCard = null; > > > > -- > *From:* Dean Krueger [mailto:[email protected]] > *Sent:* Monday, May 10, 2010 11:15 AM > > *To:* [email protected] > *Subject:* [iText-ques

Re: [iText-questions] Problems with ConcatCTM

2010-05-11 Thread Mark Storer
Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; From: Dean Krueger [mailto:[email protected]] Sent: Monday, May 10, 2010 11:15 AM To: [email protected] Subject: [

[iText-questions] Problems with ConcatCTM

2010-05-10 Thread Dean Krueger
Hi, I have a PDF that I am changing the art,trim,crop and media boxes, using PdfContentByte.ConcatCTM and writing to a PdfStamper object. This has always worked, until I came across this one PDF file. It seems that when I set the offset of the page all but one logo is moving. You can see the offse

Re: [iText-questions] Problems with Outline

2010-02-16 Thread Rodney Williams
Looks like my previous email was cut off: I'm creating a regional sales report in following format where the summary of each level (region, district, or store) is on its own separate page in hierarchical format. I'm trying to achieve the following outline: Region -- District --- store ---

Re: [iText-questions] Problems with outline

2010-02-13 Thread 1T3XT info
Rodney Williams wrote: > I can't make this work. We can, but it's hard to tell you what you're doing wrong, if you don't explain what you're doing. > Can you provide example as > to how I might accomplish? There are different examples in the book. You could use Chapter/Section (for the lazy prog

[iText-questions] Problems with outline

2010-02-13 Thread Rodney Williams
I'm creating a regional sales report in following format. - --- --- - --- - Region summary - District summary -- store totals - - store - - district - - store -

Re: [iText-questions] Problems with BackgroundColor in PdfPCell

2010-01-04 Thread H_L
Hi Paulo Sorry for answering late. I was on holiday... It works. I forgot the "new". That was all. Stupid, stupid, stupid... %-| Thank you and have a good new year Henry -- View this message in context: http://old.nabble.com/Problems-with-BackgroundColor-in-PdfPCell-tp26886453p27010481.html S

Re: [iText-questions] Problems with BackgroundColor in PdfPCell

2009-12-22 Thread Paulo Soares
[email protected] > Subject: [iText-questions] Problems with BackgroundColor in PdfPCell > > > Hi > > I want to generate the background color in my PdfPCell by > myself. But it > doesn't work. What's wrong? May I missing the forest through >

[iText-questions] Problems with BackgroundColor in PdfPCell

2009-12-22 Thread H_L
Hi I want to generate the background color in my PdfPCell by myself. But it doesn’t work. What’s wrong? May I missing the forest through the trees… My Code: PdfPCell cell = new PdfPCell(new Paragraph("Test", f9_curier)); cell.BackgroundColor = itext.BaseColor.LIGHT_GRAY; //it works cell.Backgrou

Re: [iText-questions] Problems with new itext 2.1.6

2009-06-23 Thread Bruno Lowagie
Tobias van Treeck wrote: > My PDF doesn't have a producer thus 'null' is returned and accessing > that with .value returns a Nullpointer. > > Did that part change since 2.1.5? Yes, seems like I'll have to provide a 2.1.7 version because in the meanwhile I also fixed a rowspan problem that made ro

[iText-questions] Problems with new itext 2.1.6

2009-06-23 Thread Tobias van Treeck
Hi, before upgrading to the new itext i ran all my junit tests and with the new version some of those failed. The exeption is a Nullpointer in the Class: PdfStamperImp.class Method: close(HashMap moreInfo) Line: 216 if (oldInfo != null) producer = oldInfo.getAsString(PdfName.PRODUCER).value;

Re: [iText-questions] problems in signing a pdf

2009-05-18 Thread Geykel Raul Moreno Ceballos
-questions] problems in signing a pdf Hi, i'd like to sign pdf document but i get this error: ava.lang.NoClassDefFoundError: org/bouncycastle/asn1/DEREncodable at com.lowagie.text.pdf.PdfSignatureAppearance.getAppearance(Unknown Source)

Re: [iText-questions] problems in signing a pdf

2009-05-18 Thread Iliadis Yannis
Sounds like you don't have the bouncycastle libraries in your classpath. 2009/5/18 alberto calleja > Hi, i'd like to sign pdf document but i get this error: > > ava.lang.NoClassDefFoundError: org/bouncycastle/asn1/DEREncodable >at com.lowagie.text.pdf.PdfSignatureAppearance.getAppearance

  1   2   3   4   5   >