Re: [iText-questions] NPE while Extracting text

2010-06-17 Thread Kevin Day
ok - most likely the font is using an encoding that we just don't have support for yet. The encodings are a bit of a hack right now, so these unusual cases are tough to deal with. If you are willing to dig in to the code, I can provide assistance. - K -- View this message in context: http://i

Re: [iText-questions] NPE while Extracting text

2010-06-17 Thread Ben Short
OK so I changed the code to write the output of the Text Extraction to a ByteArrayOutputStream. Looking at the contents of the ByteArrayOutputStream I can see that most bytes have an int value of 0 and some have an int value of 32. On 17 June 2010 23:12, Mark Storer wrote: > Err... why wordpad?

Re: [iText-questions] NPE while Extracting text

2010-06-17 Thread Mark Storer
Err... why wordpad? Is that another way of saying "all the bytes are 0x00" or what? Did you try... opening it with Reader? Or a PdfReader for that matter. --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; > -Original Message-

Re: [iText-questions] NPE while Extracting text

2010-06-17 Thread Ben Short
Hi, I downloaded and built the latest source code and the exception is no longer thrown. Now I'm left with a file that's 101KB in size but shows no content when opened in wordpad. Am I missing something? Ben On 17 June 2010 09:08, Ben Short wrote: > Hi Kevin, > > Thats for this. I'll give it a

[iText-questions] pdf protection and jpeg2000 problem

2010-06-17 Thread placebo7
I use SetEncryption to add password protection to a pdf that was created from jpeg2000 images (.jp2). When I view it with Adobe Reader 9 everything looks ok, but when I view it with Adobe Reader 8 the jpeg2000 images disappear and the pages where the images should be are replaced with white pages!

Re: [iText-questions] HTMLWorker - table cell width for c#

2010-06-17 Thread karl56
Hello Samuli Tuomola You are not the only one how missed it. but I needed it in C#. So I changed Your code to c# and it works. Thanks a lot here the C# code: in Htmlworker.cs line 530 //-- System.Collections.ArrayList CellWidths = new System.Collections.ArrayList();

Re: [iText-questions] [off-topic] iText in California

2010-06-17 Thread Daniel Essin
Hi, I live in Southern California and just made a trip to the Bay Area for my son's graduation from Berkeley (including a stop in Monterey on the return trip). Things that I would recommend in the SF area: - The Golden Gate Bridge - China Town - The Cable Car Powerhouse and Museum - Fisherman's

Re: [iText-questions] Problem with PdfPCellEvent and Pagebreak in largetables

2010-06-17 Thread Mark Storer
Sounds like a bug (base only on that description). What version of iText are you using? --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; > -Original Message- > From: marsto [mailto:stonit...@adesso.de] > Sent: Thursday, Jun

Re: [iText-questions] IText and Android

2010-06-17 Thread Peter van Raamsdonk
Hi, I thought there was a way to set java apps into bytecode and run it on Android. I don't know if you need to make an apk of it. Check the developer section and SDK. So you can make it anyway you like and you normally do. I'm working with the emulator and have Android on the Motorola Mile

Re: [iText-questions] Missing images in pdf when on webserver not locally

2010-06-17 Thread 1T3XT info
tore.lo...@trygvesta.no wrote: > Hello, > > I have a web application where I am about to make a report of the users > current choices. > Using local junit testing when starting the development of this itext > implementation I had little trouble. > > So i added an image as a watermark to the pag

[iText-questions] Missing images in pdf when on webserver not locally

2010-06-17 Thread tore . lovmo
Hello, I have a web application where I am about to make a report of the users current choices. Using local junit testing when starting the development of this itext implementation I had little trouble. So i added an image as a watermark to the pages after the document was closed, using a reader

Re: [iText-questions] Problem with PdfPCellEvent and Pagebreak in large tables

2010-06-17 Thread 1T3XT info
marsto wrote: > Hello, > > i have a large table that may span about several PDF pages. > > In one column, i have added a rectangle (representing a checkbox) to the > PdfPCells of the table via PdfPCellEvent. > > All works fine if the table does not exceed a single page. > > But when the table s

Re: [iText-questions] Reg: display of text through column text

2010-06-17 Thread 1T3XT info
Karthika Rachna R wrote: > I have a requirement to wrap text with in a rectangle. I’m using the > simple column text for doing the same. > > ColumnText columnText = new ColumnText(pdfTemplate); > columnText.setSimpleColumn(x, y, x+boxWidth, y+boxHeight, > columnText.getLeading(), Element.AL

Re: [iText-questions] IText and Android

2010-06-17 Thread 1T3XT info
Arindam Ray wrote: > Hi All, > I have to develop an android application which would write a PDF file > dynamically. > My question is it possible to use iText in Android based applications? I've forwarded this question many times to mr. Marc Vanlerberghe: http://www.linkedin.com/in/marcvl I've ask

[iText-questions] Reduce memory usage when exporting nested large tables

2010-06-17 Thread George Li
Hi, Regarding to my question a few days ago (iText's performance difference on WebLogic and Tomcat). I did more research and here is how: Observation: 1. WebLogic is hosted on Solaris 10 x86, not Windows as I thought. Sorry for my mistake 2. The PDF service is slower when hosted o

Re: [iText-questions] [off-topic] iText in California

2010-06-17 Thread sagolf
You are doing both then. SF to LA is about 7-8 hours on the freeway (highway/roadway) Avg speed about 55mph. There really aren't that many places to spend the night in between worth noting except maybe Santa Barbara which is about 90 minutes from LA. As a first time visitor, I would suggest yo

Re: [iText-questions] Pdf Creation With Japanese Characters

2010-06-17 Thread Paulo Soares
Show us your code. Paulo From: jitendra.kum...@wipro.com [mailto:jitendra.kum...@wipro.com] Sent: Thursday, June 17, 2010 11:05 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Pdf Creation With Japanese Characters Hi All, I am new to itex

[iText-questions] Pdf Creation With Japanese Characters

2010-06-17 Thread jitendra.kumar6
Hi All, I am new to itext library. I have one requirement to create a pdf with Japanese character. I am trying to use itext library. But I am getting following limitation. 1) When I am using Itext 5.0.1, I'm not getting Japanese character. 2) When I am using Itext 2.0.4, I am not able to get

[iText-questions] Problem with PdfPCellEvent and Pagebreak in large tables

2010-06-17 Thread marsto
Hello, i have a large table that may span about several PDF pages. In one column, i have added a rectangle (representing a checkbox) to the PdfPCells of the table via PdfPCellEvent. All works fine if the table does not exceed a single page. But when the table spreads about more than one PDF pa

Re: [iText-questions] IText and Android

2010-06-17 Thread Mike Marchywka
> Date: Thu, 17 Jun 2010 13:30:45 +0530 > From: rubai4...@gmail.com > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] IText and Android > > Hi All, > I have to develop an android application which would write a PDF file > dynamically. > My q

Re: [iText-questions] Images causing background colours to change

2010-06-17 Thread Leonard Rosenthol
Set the page's transparency blending space to RGB. Search the archives for NUMEROUS references to this. OR read the book! Leonard From: Lynch, Ross [mailto:ross.ly...@irishlife.ie] Sent: Thursday, June 17, 2010 11:10 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Images

[iText-questions] Images causing background colours to change

2010-06-17 Thread Lynch, Ross
Hi I've added png images to certain pages of my PDF and it seem sto have changed the background colour of the tables on that page. I am using BaseColor(22, 80, 255) as the background colour of my table headers. It seems to Darken when I add the images to the page. I was wondering has anyon

[iText-questions] Save and load states of an embed swf

2010-06-17 Thread die_ekschperten
Hello, I am trying to save the states of a swf (embed in pdf) when closing and opening Acrobat reader (version 9.3). This "should be" possible with acrobat functions ExternalInterface.call("multimedia_saveSettingsString", string) and ExternalInterface.call("multimedia_loadSettingsString"). That

[iText-questions] Reg: display of text through column text

2010-06-17 Thread Karthika Rachna R
Hi All, I have a requirement to wrap text with in a rectangle. I'm using the simple column text for doing the same. ColumnText columnText = new ColumnText(pdfTemplate); columnText.setSimpleColumn(x, y, x+boxWidth, y+boxHeight, columnText.getLeading(), Element.ALIGN_LEFT); columnText.setTe

Re: [iText-questions] NPE while Extracting text

2010-06-17 Thread Ben Short
Hi Kevin, Thats for this. I'll give it a go tonight. Ben On 17 June 2010 01:17, Kevin Day wrote: > > Mark - FYI, basefont isn't required for Type3 fonts (or TrueType for that > matter).  I had the same reaction when I first ran into this issue, but the > spec never lies, right?  It just injects

[iText-questions] iText Java disable print pdf

2010-06-17 Thread govind
Hi Gurus, We are using the following code to disable Print option in PDF. Works really well. PdfReader reader = new PdfReader("my-old-file.pdf"); PdfStamper stamper = new PdfStamper(reader, new FileOutputStream("my-new-file.pdf")); stamper.setEncryption("my-owner-password".getBytes(

[iText-questions] IText and Android

2010-06-17 Thread Arindam Ray
Hi All, I have to develop an android application which would write a PDF file dynamically. My question is it possible to use iText in Android based applications? Please let me know if it is possible.Any other suggestions will also be welcome. Thanks ARINDAM ---

Re: [iText-questions] External Dependencies

2010-06-17 Thread Alexis Pigeon
Hi Markus, On 16 June 2010 20:28, Markus Mahlberg wrote: > Hello list! > > I would like to know if any of the iText versions needs native libraries or > if it's 100% pure. > As far as my limited Java knowledge allowed me to read and understand the > sources, I would assume there aren't any exte