Re: [iText-questions] java.lang.NullPointerException at com.lowagie.text.pdf.PdfDocument.open(Unknown Source)

2009-07-15 Thread 1T3XT info
熊晨晖 wrote: I got NullPointerException in the below code,and the exception message is like this java.lang.NullPointerException at com.lowagie.text.pdf.PdfDocument.open(Unknown Source),I don't know why it is,can someone help me out of this trouble? Maybe footer is causing the NPE:

Re: [iText-questions] add PdfPTable into Columntext i nto an existing PDF File

2009-07-15 Thread Stephan Trautmann
1T3XT info wrote: Stephan Trautmann wrote: You talk about a reader object but in my case I just have the stamper, the columntext and the contentbyte of the stamper something like: Hmm... it's impossible to create a PdfStamper object without a PdfReader object, so... please rephrase your

Re: [iText-questions] java.lang.NullPointerException at com.lowagie.text.pdf.PdfDocument.open(Unknown Source)

2009-07-15 Thread 熊晨晖
Hello,here is the code related to footer.And could you tell more detail about how to use Page event instead of HeaderFooter?Could you give an example? Code: HeaderFooter footer = new HeaderFooter(new Phrase(页码:, PdfConvertor.setTxtFont(ChineseFont,12)), true);

Re: [iText-questions] java.lang.NullPointerException at com.lowagie.text.pdf.PdfDocument.open(Unknown Source)

2009-07-15 Thread 1T3XT info
熊晨晖 wrote: Hello,here is the code related to footer.And could you tell more detail about how to use Page event instead of HeaderFooter? That's explained in chapter 14 of the book iText in Action. If you don't have the book, go to the keywords page:

[iText-questions] Creating pdf doc xls files in python applications using iText and jxls - Reporting

2009-07-15 Thread romeoamp
hi all , tha sample source code shows how to use the itext and jxls library to wrap into python. I think this will be useful when exporting to doc , pdf and xls format files. Download Link: http://www.nabble.com/file/p24491973/JarExport.zip JarExport.zip - Regards

[iText-questions] PDF formatting help needed

2009-07-15 Thread BlackHat
I am trying to create a PDF File where each line has 3 parts. There should be one part aligned on the left of the line, one in the middle, and one on the right. To give you an example it would look like this: LeftCenter

Re: [iText-questions] RTF and Character Spacing

2009-07-15 Thread isfelly
ANY SUGGESTIONS ??? isfelly wrote: Yes I think that RTF specifications and tools rendering support charactere spacing .. 1T3XT info wrote: isfelly wrote: Hi all, I lost 5 days ..but a got no solution ! Are you sure the RTF specs supports Character Spacing? And even if it

[iText-questions] Concatenating multiple PdfForms!! URGENT!!

2009-07-15 Thread Maky2507
Hi all, I have multiple PDF Forms created using Adobe Live Cycle manager. The requirement is to read the forms, stamp the form with the user provided values. And then concatenate the forms to build a single pdf. In some of my forms I have a text field, which can flow to next page. For this

Re: [iText-questions] Concatenating multiple PdfForms!! URGENT!!

2009-07-15 Thread Paulo Soares
Only Adobe tools can do what you want. Paulo -Original Message- From: Maky2507 [mailto:mithunakulka...@gmail.com] Sent: Tuesday, July 14, 2009 9:47 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Concatenating multiple PdfForms!! URGENT!! Hi all, I

Re: [iText-questions] PDF formatting help needed

2009-07-15 Thread Paulo Soares
A PdfPTable? Paulo -Original Message- From: BlackHat [mailto:saw...@hotmail.com] Sent: Tuesday, July 14, 2009 8:38 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] PDF formatting help needed I am trying to create a PDF File where each line has 3 parts.

Re: [iText-questions] RTF and Character Spacing

2009-07-15 Thread Paulo Soares
What kind of suggestion do you expect for something that is not implemented? And, by the way, don't shout, that's rude. Paulo -Original Message- From: isfelly [mailto:isfe...@hotmail.com] Sent: Tuesday, July 14, 2009 9:25 PM To: itext-questions@lists.sourceforge.net Subject: Re:

Re: [iText-questions] PDF formatting help needed

2009-07-15 Thread 1T3XT info
Paulo Soares wrote: A PdfPTable? Good choice. An alternative would be to use a separator: http://1t3xt.be/?X45 (See DottedLines, but create a separator without the dots.) -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info

[iText-questions] page information for each field in XFA form

2009-07-15 Thread Eric Lou
Hi Experts: i'm trying to do a test for getting general information for each fields from XFA form like following code: PdfReader reader = new PdfReader(pdfFile); XfaForm xfaForm = new XfaForm(reader); if (xfaForm.isXfaPresent()) { HashMap templateNodes =

Re: [iText-questions] No top and bottom border of Cell

2009-07-15 Thread iText_forum
Hi, I understand that in higher resolution width diffrence is not prominent. I've attached file which shows thickness difference in lower resoltion. Is there any way to resolve this width difference in all resolution. Please suggest some way for implementing rowspan in iText so that we can

[iText-questions] setHeaderRows and setRowSpan

2009-07-15 Thread netslow
Hi. I have some problems with table when I invoke setHeaderRows(X) if it has few cells with rowSpan greater than 1. Here is example code. As you can see result pdf document has broken(rowSpan = 1 instead 3) cells in header: public class TableIssue { private static Font fontCell = null;

Re: [iText-questions] le; and #8804 and probably other similar tags are invisible

2009-07-15 Thread nk10ere
Great! I got it working now. Thank you very much for your assistance Mr. Soares. The following lines did the job. FontFactory.register(arialuni.ttf); StyleSheet st = new StyleSheet(); st.loadTagStyle(body, face, arial unicode ms); st.loadTagStyle(body, encoding, Identity-H);

[iText-questions] GeoPDF

2009-07-15 Thread John Roberts
Hi, Is there any interest in addition GeoPDF support to itext? I need to read GeoPDF files and extract the Geospatial data. Thanks, John -- Enter the BlackBerry Developer Challenge This is your chance to

[iText-questions] Doubt about SetMargins in a new pdf doc

2009-07-15 Thread Jose Luis Abuelo Sebio
Good morning all I started to use Itext to produce a PDF doc that will print a java.awt.Image in it. Following the instructions of the tutorial and some advises I found in google finally I got my pdf doc showing the image. However I have a problem withe the top and right margins of

[iText-questions] Drawing lines inside PdfPtable

2009-07-15 Thread dakhla.0563
Hi, I have a main PdfPTable and some other PdfPtable inside of the main one. It is really estrange because I can draw a horizontal line on the top and bottom of every table, but I cannot do it for the left and right border of them. This is my code, Dim cb As PdfContentByte =

[iText-questions] question about isSplitCharacter for Chinese punctuations

2009-07-15 Thread dracodoc
I want iText to recognize Chinese punctuations as splitcharacter to avoid they appear in the beginning of a new line. So I tried this: public boolean isSplitCharacter(int start, int current, int end, char[] cc, PdfChunk[] ck) { char c; if (ck == null) c =

Re: [iText-questions] question about isSplitCharacter for Chinese punctuations

2009-07-15 Thread Paulo Soares
Does it work with the example http://1t3xt.info/examples/browse/?page=exampleid=60? Paulo -Original Message- From: dracodoc [mailto:draco...@gmail.com] Sent: Wednesday, July 15, 2009 5:46 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] question about

Re: [iText-questions] question about isSplitCharacter for Chinese punctuations

2009-07-15 Thread dracodoc
I tried the example, it works but not as I wanted. First I have to slightly edit the example to use a Chinese font and some Chinese String. I attached my modified version of example and the result for your reference. I want to avoid the Chinese period 。 appears in the beginning of line, just like

Re: [iText-questions] Concatenating multiple PdfForms!! URGENT!!

2009-07-15 Thread Maky2507
Thanks Paul, Do you have any idea of which Adobe tool I need to use? Also my application is in Java, does the Adobe API has Java support? I searched in net but could not find any Adobe API to do this programmatically. Thanks, Maky Maky2507 wrote: Hi all, I have multiple PDF Forms

Re: [iText-questions] Concatenating multiple PdfForms!! URGENT!!

2009-07-15 Thread Paulo Soares
I'm sure that Livecycle server can do it. Paulo - Original Message - From: Maky2507 mithunakulka...@gmail.com To: itext-questions@lists.sourceforge.net Sent: Wednesday, July 15, 2009 7:13 PM Subject: Re: [iText-questions] Concatenating multiple PdfForms!! URGENT!! Thanks Paul, Do

[iText-questions] (no subject)

2009-07-15 Thread Peter_Ford
This question has probably been asked a hundred times, although I don't see anything in the FAQ. Is there a package that lets you create PDF from an XML representation of a document? What I have in mind is being able to write an XML document, something like this: font id=my-font

Re: [iText-questions] Concatenating multiple PdfForms!! URGENT!!

2009-07-15 Thread Leonard Rosenthol
Yes, LiveCycle Forms Server can indeed do what is required AND it has a Java API should you need to do additional integration/automation. Leonard -Original Message- From: Paulo Soares [mailto:psoa...@glintt.com] Sent: Wednesday, July 15, 2009 8:22 PM To: Post all your questions about

Re: [iText-questions] GeoPDF

2009-07-15 Thread Leonard Rosenthol
Are you referring to the Geospatial Extensions to ISO 32000-1 as accepted by the ISO committee? OR are you referring to the private/custom implementation of GIS information in PDF as implemented by the folks at TerraGo?' Leonard From: John Roberts [mailto:jsro...@hotmail.com] Sent: Wednesday,

[iText-questions] PDF large table with 500 columns and 10, 000 rows

2009-07-15 Thread a_birt
Hi, Looking for Example on how to get/represent PDF of data table which has more than 500 columns and more than 10,000 rows. Any suggestions? Thanks -- View this message in context: http://www.nabble.com/PDF-large-table-with-%3E500-columns-and-%3E10%2C000-rows-tp24504432p24504432.html Sent

Re: [iText-questions] Cannot resolve symbol'com.lowagie.text.Rectangle.width()

2009-07-15 Thread wasegraves
Paul, et al (please excuse the top-posting). In-line comments might confuse the quoting beyond comprehension. You're very welcome. The approach I used was crafted after the fact. Having come from the government contracting world (vendor side), I already had the mindset that software should be

Re: [iText-questions] GeoPDF

2009-07-15 Thread John Roberts
I'd like to be able to read both. Is there one of the formats that you can read? John From: Leonard Rosenthol [mailto:lrose...@adobe.com] Sent: Wednesday, July 15, 2009 3:36 PM To: Post all your questions about iText here Subject: Re: [iText-questions] GeoPDF Are you referring to the

Re: [iText-questions] java.lang.NullPointerException at com.lowagie.text.pdf.PdfDocument.open(Unknown Source)

2009-07-15 Thread 熊晨晖
Hello,I replace the PdfDocument with Document,and i don't get the exception again.Thank you for your advice all the same! Why I want to use PdfDocument is that it has a getVerticalPosition() method,and I wanna get the position of the current page.Then i find PdfWriter also has the method,so

Re: [iText-questions] (no subject)

2009-07-15 Thread 1T3XT info
peter_f...@blm.gov wrote: This question has probably been asked a hundred times, although I don't see anything in the FAQ. Is there a package that lets you create PDF from an XML representation of a document? Not really, but have a look at the keywords:

Re: [iText-questions] Drawing lines inside PdfPtable

2009-07-15 Thread 1T3XT info
dakhla.0...@hotmail.com wrote: Hi, I have a main PdfPTable and some other PdfPtable inside of the main one. It is really estrange because I can draw a horizontal line on the top and bottom of every table, but I cannot do it for the left and right border of them. I'm sorry, we can't

Re: [iText-questions] java.lang.NullPointerException at com.lowagie.text.pdf.PdfDocument.open(Unknown Source)

2009-07-15 Thread 1T3XT info
熊晨晖 wrote: Hello,I replace the PdfDocument with Document,and i don't get the exception again. I overlooked that. I'm glad you were able to solve the problem. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info