[iText-questions] HTML to PDF - Parsing non-numerical lists

2007-04-02 Thread Tim Church
I am trying to convert an HTML document to PDF using iText. For the most part, this works fine using the basic HtmlParser.parse. However, there are several nested lists of varying types - Numerical, Uppercase Roman, Lowercase Roman, Uppercase Alpha, Lowercase Alpha. The HTMLParser treats each o

[iText-questions] Embedding HTML formated Text into PDF

2007-04-02 Thread Harakiri
Hello *, i want to include HTML data into a pdf, my first approach was to try to embed a simple html file into a PDF - however this doesnt seem to work (which seems weird cause movies/images work). The second approach was to convert HTML->PDF which doesnt seem to be realiable at the current state

Re: [iText-questions] iText C# Font Class

2007-04-02 Thread Paulo Soares
- Original Message - From: "Lawrence Tsosie" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" Sent: Monday, April 02, 2007 7:48 PM Subject: Re: [iText-questions] iText C# Font Class > Thank you - i will look at my references but I'm certain I don't use > System.Drawi

Re: [iText-questions] iText C# Font Class

2007-04-02 Thread Brian McKeever
> Thank you - i will look at my references but I'm certain I don't use > System.Drawing.Font. > > If so, is there somethign else I might be doing wrong?? You can attach your source file if you like, but the compiler isn't pulling a System.Drawing namespace reference out of thin air. In any event,

Re: [iText-questions] iText C# Font Class

2007-04-02 Thread Lawrence Tsosie
Thank you - i will look at my references but I'm certain I don't use System.Drawing.Font. If so, is there somethign else I might be doing wrong?? Thanks in advance -Lawrence On 4/2/07, Brian McKeever <[EMAIL PROTECTED]> wrote: > Font font = new Font(Font.COURIER, 10, Font.BOLD); > When i comp

Re: [iText-questions] Merging pages from a pdf where each pdfcontainsonly a paragraph

2007-04-02 Thread Dagmar Timler
Ok, well fun to know. Do you mind taking a look at this code sample? A code sample (I am trying with images now and hardcoding a imported content height of 200), but now my content is all over the place. Why doesn't img.setAbsolutePosition work as I expect? // merge the input into the existin

Re: [iText-questions] Merging pages from a pdf where each pdf containsonly a paragraph

2007-04-02 Thread Paulo Soares
That's not possible to do with iText or anything else for that matter. PDF works by pages. Paulo - Original Message - From: "Dagmar Timler" <[EMAIL PROTECTED]> To: Sent: Monday, April 02, 2007 6:18 PM Subject: [iText-questions] Merging pages from a pdf where each pdf containsonly a pa

Re: [iText-questions] Generating 'Enhanced' PDF from Image-basedPDFs using iText

2007-04-02 Thread Paulo Soares
- Original Message - From: "Brian McKeever" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" Sent: Monday, April 02, 2007 6:19 PM Subject: Re: [iText-questions] Generating 'Enhanced' PDF from Image-basedPDFs using iText >> > Now what I am attempting to >> > do is to

Re: [iText-questions] PdfPTable extendlastrow

2007-04-02 Thread Rick Roen
Thanks Paulo, That did it! Rick - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and

Re: [iText-questions] Generating 'Enhanced' PDF from Image-based PDFs using iText

2007-04-02 Thread Brian McKeever
> > Now what I am attempting to > > do is to read each word and its coordinate from the text file and > > place that particular word in the image-based PDF document at the > > location specified by the coordinates of that word. > Yes, what you are doing is the right way to approach the problem. >

[iText-questions] Merging pages from a pdf where each pdf contains only a paragraph

2007-04-02 Thread Dagmar Timler
Hi I am about to start tearing my hair out! I have looked at all the tutorials, examples and searched through the mailing list, but it seems what I want to do is impossible. I have a set of PDFs which only contain a paragraph (perhaps also images). What I need to do is merge a subset of these

Re: [iText-questions] R: Javascript

2007-04-02 Thread Paulo Soares
You do a stamp.close() I hope. I never saw Acrobat having this kind of problems and iText doesn't remove the fields in that array. We should start by the beginning. Create a simple form with Acrobat and post that form, we'll move on from there. Paulo > -Original Message- > From: [EMAIL PR

Re: [iText-questions] connect to onNewPage event

2007-04-02 Thread Rick Roen
I got it. In case someone else needs a reference you can look at http://itextsharp.sourceforge.net/examples/Chap1202.cs This has a wire-up for an event that can be used as a prototype. Rick _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rick Roen Sent: Mon

Re: [iText-questions] Reg special chars

2007-04-02 Thread Paulo Soares
No real problem here as long as you have the font Arial registered in FontFactory. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Avadhut Karambelkar > Sent: Monday, April 02, 2007 2:29 PM > To: [EMAIL PROTECTED] > Subject: [iText-questi

Re: [iText-questions] iText C# Font Class

2007-04-02 Thread Brian McKeever
> Font font = new Font(Font.COURIER, 10, Font.BOLD); > When i compile my project, i get the following error: > Error 4 'System.Drawing.Font' does not contain a definition for 'COURIER' > C:\Myassemblies\Chapter1_iText\Chapter1_iText\Form1.cs > 120 43 Chapter1_iText You want an instance of iTextSha

Re: [iText-questions] PdfPTable extendlastrow

2007-04-02 Thread Paulo Soares
The information is the book is correct but what you are trying to do is to nest tables and the behavior is a bit different. The corrected code is: Dim table As New PdfPTable(2) Dim t1 As New PdfPTable(1) t1.DefaultCell.BorderWidth = 0 t1.DefaultCell

[iText-questions] R: Javascript

2007-04-02 Thread Aristide Di Lauro
Do you think that the command ".consolidateNamedDestinations()", present in this code : ByteArrayOutputStream baos = new ByteArrayOutputStream(1); PdfReader reader1 = new PdfReader("FILETemplate.PDF"); reader1.consolidateNamedDestinations(); PdfStamper stamp = new PdfS

[iText-questions] Problems with transparency

2007-04-02 Thread ezeqgarcia
Hi, I use iText for many time, but i never use transparency. I use for example the class Transparency.java in http://itextdocs.lowagie.com/tutorial/ and changed to relate my problem. The class attached, generate a PDF with two pages. In the first page are painted two squares with three circle

[iText-questions] How can I determine the states of Radio Buttons and Checkboxes in all cases?

2007-04-02 Thread rheone
At the moment my application needs to deal with PDF forms that I may not be the creator of. Some of these forms are created in LiveCycle Designer (ver 8) with these forms I’m having a problem reading the available states of radio buttons and checkboxes. It seems that I can’t detect the ‘off’ or th

Re: [iText-questions] Problems with transparency

2007-04-02 Thread ezeqgarcia
ezeqgarcia wrote: > > Hi, > > I use iText for many time, but i never use transparency. > > I use for example the class Transparency.java in > http://itextdocs.lowagie.com/tutorial/ and changed to relate my problem. > > The class attached, generate a PDF with two pages. > > In the first pa

[iText-questions] connect to onNewPage event

2007-04-02 Thread Rick Roen
Does someone have an example of connecting to and using the OnEndPage event in VB.NET 2005? I have the book, but I cannot translate the java into NET. Thanks, Rick - Take Surveys. Earn Cash. Influence the Future of

[iText-questions] iText C# Font Class

2007-04-02 Thread Lawrence Tsosie
Good day. I am developing in C# and trying to use the Font Class within iText to format characters in a pdf document. I'm looking at the examples in the book ("iText In Action") and the code that formats text to BOLD does not recognize the syntax from the book. The original line of code is: Fo

[iText-questions] Scaling Chunks and Image en masse from relative positioning to A4

2007-04-02 Thread Kyle Pickens
We have a web app that allows the user to upload an image of any size (which we convert using JAI to constant dimensions), and then drag "field" widgets interactively onto the image to create a template. We are storing the relative positioning of the dropped field locations to the image (the im

[iText-questions] Reg special chars

2007-04-02 Thread Avadhut Karambelkar
Hi Bruno I am trying to generate pdf from HTML file which contains following special chars Can somebody help me to convert these into PDF for proper output of all chars Ą Ē Ģ Ī Ĩ Ķ § Ļ Đ š Ŧ ­ Ū Ŋ ° ą ē ģ ī ĩ ķ · ļ đ ŧ ― ū ŋ Ā á â ã ä å æ Į Č é Ę ë Ė í î ï ð Ņ Ō ó ô õ ö Ũ ø Ų ú û ü ý þ ß ā ã ä

[iText-questions] Dynamic html text to online pdf

2007-04-02 Thread Kristof Heiremans
Hi i've written a servlet(java) that creates a dynamic html page(based on user input and database data). Now instead of displaying this as a html webpage i'd like to display all tis data in an online pdf file(for printing purposes + easier to save to disk for the ppl using the servlet). Can a

Re: [iText-questions] PdfPTable extendlastrow

2007-04-02 Thread Rick Roen
Here is a function you can call from your document that shows the problem. For me this shows "line 2" of the right table filling the entire height so the borderbottom is at the same level as "line 4" for the left table. Private Function gettest() As PdfPTable Dim table As New P

Re: [iText-questions] Get Viewer Preference

2007-04-02 Thread André Laurent
Hi Peter, I was not aware Javascript could force those values. That is exactly what I need ! Thank you very much for your support and best regards, André. - Original Message - From: Peter van Raamsdonk To: itext-questions@lists.sourceforge.net Sent: Sunday, April 01, 2007

Re: [iText-questions] Pdf Concatnation

2007-04-02 Thread Paulo Soares
Use option 2. Create the flattened pXtemp.pdf and then use PdfCopy to join them in a single PDF. The same PdfCopy can also be used to add the bookmarks with PdfCopy.setOutlines(). Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of me_zeta > S

[iText-questions] Pdf Concatnation

2007-04-02 Thread me_zeta
Hi, Does any one have answer for this I'm trying to combine many small PDF files each of which have their own comments in FDF files. I also want to create bookmarks in the final PDF to provide easy navigation to each of the source PDFs that contributed to the final PDF. e.g. source files:

Re: [iText-questions] PdfPTable extendlastrow

2007-04-02 Thread Paulo Soares
You'll have to provide more code so that the problem can be reproduced. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Rick Roen > Sent: Monday, April 02, 2007 11:13 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questi

[iText-questions] PdfPTable extendlastrow

2007-04-02 Thread Rick Roen
I have a PdfPTable width 100% with two columns. In the left col I have a PdfPTable with several rows of information. On the right col I have a PdfPTable with a few rows of information, but this table is shorted than the left table. I set the right table like this: Dim table As PdfPTa