[iText-questions] getCurrentColumn of MultiColumnText

2009-09-17 Thread Andrew S Moy
Hi, How come the getCurrentColumn() of a MultiColumnText always returns a 0 value? For example, I have a 2 column MultiColumnText object. As I'm adding elements to the object, I check for the current column. I'm getting 0 all the time. I expect it to return some 0s then some 1s, assuming I

Re: [iText-questions] In Object Data model How to create treeview

2009-09-17 Thread Amit Sinha
Hi, Thanks for reply. againg i m uploading image. please help me sir? http://www.nabble.com/file/p25502967/Test.jpeg Leonard Rosenthol-3 wrote: > > No image enclosed - sorry. > > I am sure that if you need consulting help, the good folks at iText will > be glad to offer them for their sta

[iText-questions] replacing PdfTemplate

2009-09-17 Thread Jason Berk
can I replace a pdftemplate in a pdf like I can for images...as described here? http://itext.ugent.be/library/question.php?id=66 for example, suppose I create two statements each with 5 pages. I can add my logo (written as a font) to a PdfTemplate and then add that template to each of the 5 pa

[iText-questions] PdfSmartCopy and PdfTemplate

2009-09-17 Thread Jason Berk
can I replace a pdftemplate in a pdf like I can for images...as described here? http://itext.ugent.be/library/question.php?id=66 for example, suppose I create two statements each with 5 pages. I can add my logo (written as a font) to a PdfTemplate and then add that template to each of the 5 pag

Re: [iText-questions] Production problem with itext.

2009-09-17 Thread Paulo Soares
iText has never flipped colors in any version, you'll have to ask PTC about that. Paulo - Original Message - From: "Stefan Desrosiers" To: Sent: Thursday, September 17, 2009 7:19 PM Subject: [iText-questions] Production problem with itext. Hello, We have a production environment u

Re: [iText-questions] Production problem with itext.

2009-09-17 Thread Mark Storer
That looks more like a Flex bug than an iText one. I'd say they're setting the font color to white diliberately when the row's background color is non-white. I suggest you see if it goes away when all the row backgrounds are white/clear. --Mark Storer Senior Software Engineer Cardiff.c

[iText-questions] Production problem with itext.

2009-09-17 Thread Stefan Desrosiers
Hello, We have a production environment using PTC's Flex application, this application uses itext to generate its PDF files. Their help system is less than stellar and so I am reaching out to you as we have a sporadic problem with some of our environments whereby our PDF's suddenly generate white

Re: [iText-questions] security enabled pdf failed to open using pdfreader

2009-09-17 Thread newoutlook
The error message appears to be java issue. If I didn't enable security password for the pdf document, I was able to use iText pdfreader to read the doc. That is why I suspect it could be iText issue. Mark Storer-2 wrote: > > This is a Java-specific question rather than an iText-questions qu

Re: [iText-questions] Split PDF using Itext

2009-09-17 Thread Mark Storer
Nothing is jumping out at me. What is the output from all those system.out.println calls? By the way, two suggestions. 1) Use spaces instead of tabs. Most editors will let you control how many spaces each tab is converted to. Your code formatting looks BIZARRE to me in my email program becau

[iText-questions] Issue with Footer

2009-09-17 Thread pureheart123
We are reading a text file and converting to a PDF file ,every thhing looks good expect the footer text is coming in bold while (fRead.read() != -1) { String str=bRead.readLine(); Paragraph para=new Paragraph();

[iText-questions] Tamil language

2009-09-17 Thread pedro75
Hi I've a problem with tamil language. I must show my pdf in this language. Before this I showed my message in thai language, I solved my problem with these two lines of code: BaseFont bf = BaseFont.createFont("courmon.ttf", BaseFont.IDENTITY_H, BaseFont.EMBEDDED); Font font = new Font(bf, 12);

Re: [iText-questions] how to construct a geospatial measure dictionary?

2009-09-17 Thread Larry Reeder
Amit, you may find this iText discussion (archived on Nabble) helpful: http://www.nabble.com/how-to-construct-a-geospatial-measure-dictionary--td20703775.html#a20703775 My understanding (which might be out of date) is iText doesn't provide a way to attach custom dictionaries references to the Pag

Re: [iText-questions] how to construct a geospatial measure dictionary?

2009-09-17 Thread Leonard Rosenthol
Open the PDF up in a PDF object viewer/editor and look at what came out and see how it matches what the Adobe Extensions document says should be in there. That's what we would have to do - so always better if you try it yourself first. Leonard -Original Message- From: Amit Sinha [mailto

Re: [iText-questions] Help about converting RTF to pdf

2009-09-17 Thread Howard Shank
There is quite a bit of work required to implement this functionality. I'd welcome the assistance in completing it. The project is available via Source Forge download. If you like to begin by submitting some simple changes to ensure you understand the framework in place you can submit them to u

Re: [iText-questions] In Object Data model How to create treeview

2009-09-17 Thread Leonard Rosenthol
No image enclosed - sorry. I am sure that if you need consulting help, the good folks at iText will be glad to offer them for their standard fee. Contact Bruno for details. Leonard -Original Message- From: Amit Sinha [mailto:amit.si...@dataworld.co.in] Sent: Thursday, September 17, 200

Re: [iText-questions] PDF to TIFF Conversion

2009-09-17 Thread Nigel Kerr
If the PDF is itself already composed of raster images, those you could extract, with some possible complications ( see a search of this here list itself: http://www.nabble.com/forum/Search.jtp?forum=2701&local=y&query=extract+images ) Otherwise, one needs a renderer, for instance pdf-renderer or

Re: [iText-questions] In Object Data model How to create treeview

2009-09-17 Thread Amit Sinha
Thanks for reply. i m adding one image with this reply. What i want u can understand here. So please tell. Is it possible for u to discuss on chat. my hotmail id is sinha.amitsi...@hotmail.com. Leonard Rosenthol-3 wrote: > > Perhaps you are confusing things with PDF. > > Where do you expect thi

Re: [iText-questions] In Object Data model How to create treeview

2009-09-17 Thread Leonard Rosenthol
Perhaps you are confusing things with PDF. Where do you expect this tree structure to appear? What part of the PDF Reference/ISO 32000-1 are you referring to in terms of the actual objects being used? Leonard -Original Message- From: Amit Sinha [mailto:amit.si...@dataworld.co.in] Sen

Re: [iText-questions] In Object Data model How to create treeview

2009-09-17 Thread Amit Sinha
Thanks for reply. I want craete tree structure like:- + Root + Child1 + Child1_Child + Child2 + Child2_Child Using this code i m getting only Element1 Element2 my code is given below. Please Help me sir. PdfWriter writer = PdfWriter.GetInstance(document, new FileStre

[iText-questions] iText & image/pjpeg

2009-09-17 Thread Jan Pernica
Hi I have problem to add pjpeg image to the PDF. Code is like this: Image img = new Jpeg(file); if (img != null) { img.scalePercent(7200f / img.getDpiX(), 7200f / img.getDpiY()); document.setPageSize(new Rectangle(img.g

Re: [iText-questions] Help about converting RTF to pdf

2009-09-17 Thread Onur Canci
How can i complete this code? Is there any example? Or a post about it? -- M. ONUR CANCI 2009/9/17 Howard Shank > As stated many times before, this code is incomplete at this time. > > Regards, > Howard Shank > > -- > *From:* Onur Canci > *To:* iText-questions@li

Re: [iText-questions] Help about converting RTF to pdf

2009-09-17 Thread Howard Shank
As stated many times before, this code is incomplete at this time. Regards, Howard Shank From: Onur Canci To: iText-questions@lists.sourceforge.net Sent: Thursday, September 17, 2009 4:22:32 AM Subject: [iText-questions] Help about converting RTF to pdf Hi ev

Re: [iText-questions] In Object Data model How to create treeview

2009-09-17 Thread Amit Sinha
Thanks for reply. Please tell me what is the meaning of internals of the output PDF and tell me please how to do it sir ? Leonard Rosenthol-3 wrote: > > Same question - have you examined the PDF? > > -Original Message- > From: Amit Sinha [mailto:amit.si...@dataworld.co.in] > Sent: Thur

Re: [iText-questions] how to construct a geospatial measure dictionary?

2009-09-17 Thread Amit Sinha
Thanks for reply. Please tell me what is the meaning of internals of the output PDF and tell me please how to it. Leonard Rosenthol-3 wrote: > > Have you looked at the internals of the output PDF to ensure that the > right dictionaries are going in the right places? > > -Original Message--

Re: [iText-questions] In Object Data model How to create treeview

2009-09-17 Thread Leonard Rosenthol
Same question - have you examined the PDF? -Original Message- From: Amit Sinha [mailto:amit.si...@dataworld.co.in] Sent: Thursday, September 17, 2009 2:49 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] In Object Data model How to create treeview Hello, Please h

Re: [iText-questions] how to construct a geospatial measure dictionary?

2009-09-17 Thread Leonard Rosenthol
Have you looked at the internals of the output PDF to ensure that the right dictionaries are going in the right places? -Original Message- From: Amit Sinha [mailto:amit.si...@dataworld.co.in] Sent: Thursday, September 17, 2009 3:04 AM To: itext-questions@lists.sourceforge.net Subject: [

[iText-questions] How to add Checkbox in a list?

2009-09-17 Thread Ahmad Sheikh
How to add checkboxes in a list using iTextSharp? -- M. Ahmad Sheikh | Software Engineer | aos - Accountancy Outsourcing Services +92-333-412-5638 | sheikh.ah...@aoserv.com | sharpcontents.blogspot.com -- Come build with

[iText-questions] Split PDF usinh Itext

2009-09-17 Thread xdmello
I am using below code to split PDf. It compiles fine.But there is no PDf generated generated at the mentioned location. I am using this function in servlet. am I missing something. public void splitPDF(String inputflname,String imagename,String outfilename) { System.out.println("Spli

[iText-questions] In Object Data model How to create treeview

2009-09-17 Thread Amit Sinha
Hello, Please help me. Its urgent for me. i want to create treeview in object data model. i m using this example which is given below. Please suggest me how can i do for treeview. Please Help me:- PdfWriter writer = PdfWriter.GetInstance(document, new FileStream(RESULT, FileMode.Create));

[iText-questions] Help about converting RTF to pdf

2009-09-17 Thread Onur Canci
Hi everyone, I'm trying to convert RTF string to the part of PDF file which will contain some texts. I can create PDF files but when i come to embedding RTF file to PDF i'm having problems. First i searched for RTF conversion with Itext and found some samples. Than i tried to parse a simple RTF

[iText-questions] how to construct a geospatial measure dictionary?

2009-09-17 Thread Amit Sinha
Hello, Please help me. It's urgent for me. please give me some support to create a geospatial PDF. I am using this code which is given below. But Longitude and Lattitude is not coming. I think i m doing some silly mistake like setting of Viewport. Please Help me. PdfWriter writer = PdfWr