[iText-questions] Documentation error in newPage() ?

2007-01-27 Thread mister bean
In the Javadoc for Document.newPage(), it says iText throws a DocumentException if newPage() is called on a closed document. My unit tests cannot reproduce this behavior. Moreover the source code from Document.java indicates that if the document is closed, you simply return without throwing any

[iText-questions] newPage() not throwing exception

2007-01-28 Thread mister bean
The Javadocs for newPage() state: Throws: DocumentException - when a document isn't open yet, or has been closed However, in my unit tests I am finding that when Document is closed, the newPage() call does not raise a Document exception. I can step through the code and see that the

Re: [iText-questions] Itext 1.4.2 compatibility with java 1.5

2007-02-01 Thread mister bean
You can use it without recompiling. Java 1.5 is a superset of 1.4.x Ginés Collado-2 wrote: Ok. But, it's necessary to compiler the source code (1.4.2) with a 1.5 java environment?, or I can to use freely the published library? Ginés. From: Paulo Soares [EMAIL PROTECTED] Reply-To:

Re: [iText-questions] Setting Page Margins

2007-02-05 Thread mister bean
It's very hard to tell what you're trying to do. The page size of 462 x *666* inches is unsupported in PDF. The current maximum is, unless it's been updated, 200 in x 200 in. Are you sure you don't mean points rather than inches? Presuming you mean points, I still don't understand what you're

Re: [iText-questions] PostScript Support?

2007-02-08 Thread mister bean
no. neither PostScript nor EPS to PDF support. --Andrew Binstock re UniXolutions, Inc. wrote: Does iText provide regular PostScript (not EPS) to PDF support? Thanks so much, /Tom Larsen - Using Tomcat

Re: [iText-questions] itext

2007-02-10 Thread mister bean
Place the full name of the itext jar file into your classpath. That should solve it. If you're using an IDE, most of them have a setting/dialog where you can specify the external libraries you're using. Add the iText library to that list and you should be good to go. ---Andrew Binstock Michael

Re: [iText-questions] coversion of PDF to Html?

2007-02-19 Thread mister bean
Please search the newsgroup archives before posting questions. This is standard protocol for most tech groups on the Web. Here is the answer: http://www.mail-archive.com/itext-questions@lists.sourceforge.net/msg29060.html Best wishes, ---Mr. Bean p.s. If you Google PDF to HTML you will find

Re: [iText-questions] Font size and width between characters

2007-02-21 Thread mister bean
With just slightly more detail: there are 72 points per inch and 25.4 mm per inch. So, each mm = 2.83 points and your 2.55mm is 7.23 pt as porcupine points out. ---Mister Bean porcupine wrote: if you assume a dpi value for your document eg 72 dpi you can calculate your font pt size, you

Re: [iText-questions] Converting *to* itext from existing html

2007-03-05 Thread mister bean
iText does not do this. You'll probably find it easier to modify your generated HTML so that it works the same on the browsers you use. best, ---mister bean re kris carlier wrote: Good morning/afternoon/evening, not being the programmer myself, but merely the one who just

Re: [iText-questions] HTML to RTF/ PDF to RTF

2007-03-07 Thread mister bean
iText does not do either of the things you need. You can generate PDFs and RTFs using iText, but it does not do either conversion you describe. ---Mr. Bean Todd McGrath-3 wrote: Hi, I was under the impression that I could use iText to convert HTML to RTF. Is that true? Do you have

Re: [iText-questions] HtmlWorker: Parse Special characters

2007-03-19 Thread mister bean
Could you rephrase your question so that it has some relation to iText? Thanks, ---Mister Bean kkdusi wrote: How to parse HTML special characters like micro; divide; etc.. as defined in w3c.org -- View this message in context: http://www.nabble.com/HtmlWorker%3A-Parse-Special

Re: [iText-questions] How to open an PDF file from Java Application

2007-04-11 Thread mister bean
Not quite sure what you mean. But if you're trying to display/render the PDF file within Swing, iText does not do this. ---Mr. Bean Tapan Maru wrote: Hi I am developing a GUI application in java swing. In that i am making pdf file from JTable data using iText API. It is working smoothly

Re: [iText-questions] Best Font to support all European languages ?

2007-04-18 Thread mister bean
in the font. Certainly, other list members can point you to other useful resources. ---Mister Bean p.s. Bruno gives a list of font sites in the appendix to his book, by the way. re Harakiri wrote: Hello, i read the peace example with multiple languages and their font. Im still unsure

Re: [iText-questions] Best Font to support all European languages ?

2007-04-19 Thread mister bean
of a small embedded size. Perhaps Pablo or another forum member can speak to this. Good luck. ---Mister Bean re Paulo Soares wrote: arialuni.ttf has the most complete glyph collection. Embedding will make the PDF work in any OS. Paulo -Original Message- From: [EMAIL PROTECTED

[iText-questions] Small bug in PageSize.java

2007-04-24 Thread mister bean
The Rectangle defined for ID-3 in PageSize.java is listed as 254x249. In fact, it should be *354* x249. As you correctly note in the comments, ID-3 is the same size as B7 paper rotated. You have the dimensions correct on B7, but they appear to have been mistyped when rotated for ID-3. ---Mister

Re: [iText-questions] Author metadata

2007-05-03 Thread mister bean
Rats, I misread your original post. My answer applies to new docs. Don't know about existing docs. Sorry. blush --Mister Bean mister bean wrote: Yes, it is. You can change all metadata except Producer, which by convention uses an internal iText string. The methods are described in pp. 39

Re: [iText-questions] iText to PostScript?

2007-05-15 Thread mister bean
iText does not do this. ---Mr. Bean Steven Landry-2 wrote: Is there any way for iText to output to a postscript file instead of a PDF? Or should I convert the resulting PDF to PS using Ghostscript? Thank you. Steve

Re: [iText-questions] absolute position in RTF

2007-05-30 Thread mister bean
Generally not. Because RTF is paginated when it's rendered, it's impossible to know beforehand what the exact location of any given element will be. ---Mister Bean Ruskin Dantra wrote: Hi All, I have already searched examples and mailing list archive and I found next to nothing

Re: [iText-questions] absolute position in RTF

2007-05-30 Thread mister bean
beforehand which page). I defer to you as the RTF maven, of course, but am curious. TIA, ---Mister Bean Mark Hall-6 wrote: Hi, I'll reply to the original e-mail. Yes, in theory it is possible, but iText does not support this. The only way would be to read the RTF specification and add

Re: [iText-questions] Adding borders to MultiColumnText

2007-07-06 Thread mister bean
If you're looking for a specific method/API, there isn't one that I know of in MCT (I've just been looking at the code). You will have to draw the lines manually (that is, using lower level methods). Bruno has an example that points you in the right direction on p. 208 of the book. ---Mister

Re: [iText-questions] Error in Chapter object!

2007-07-20 Thread mister bean
If you look at this code of yours with fresh eyes, I think you'll discover a problem: ... Phrase phrase2 = new Phrase(); phrase1.add(chunk2); par.add(phrase1); par.add(phrase2); ... Phrase2 is empty. Try adding chunk2 to phrase2 and see if the problem goes away. Best wishes, ---Mister Bean

Re: [iText-questions] Dynamic content in document header Wrong thread

2007-07-25 Thread mister bean
rather than tacking on to unrelated messages, you help the archives function as a working resource. Thanks! ---Mister Bean re chandrajeet wrote: Hi All, I want a PDF output of a large JTable without any pagination. I am sending a sample output attached. Whatever may be the row or column

Re: [iText-questions] pdf to html

2007-08-07 Thread mister bean
this was just asked and answered on this list: http://www.nabble.com/How-to-convert-pdf-pages-to-image-pages-tf4228087.html best wishes, --mr. bean ssinai wrote: I'm trying to figure out how to display pdf images in an html file. I guess the way to do this is to convert from pdf to gif

Re: [iText-questions] Licensing issue with iText 2.0.4

2007-08-14 Thread mister bean
This is a theme that goes back quite a few years. Sun essentially wanted to say that Java should not be used for software on which lives might depend. Other versions that are more detailed relating to other dangerous activities and Java have also been used. Apple has used similar warnings in its

Re: [iText-questions] Keeping Text Together

2007-08-21 Thread mister bean
Section 7.2.2 et seq. of Bruno's book gives a similar simple alternative. ---mr. bean Paulo Soares wrote: It probably doesn't work. The recommended way is to put the text inside a PdfPTable with a single column and no padding and with split rows false. Paulo - Original Message

Re: [iText-questions] Problem with the leading of a Paragraph

2007-09-11 Thread mister bean
That will always happen when font-size = leading-size. Font size does not refer to the maximum height of the characters. For this reason, leading is generally 1.2x - 1.5x font size. Change the leading accordingly, and the problem should go away. ---mr. bean re Eric Summkeller wrote: I

Re: [iText-questions] Custom resolution

2007-09-17 Thread mister bean
What resolution do you use? TIA, ---mr. bean Bill Ensley wrote: In my own rendering app, I also use a fixed resolution. It does actually make sense. -Bill Ensley www.bearprinting.com It turns out that for Acrobat 8, for performance reasons, we switched from use screen

Re: [iText-questions] converting word doc to PDF

2007-09-20 Thread mister bean
There are many utilities on the Web that do this very well by emulating a printer. If you search, you will find them. ---mr. bean tushar Patel wrote: Hi there! i was looking into the .net version iTextSharp. i found it very interesting and useful. i was wondering whether this library is

Re: [iText-questions] Downloading examples for itext in action book

2007-09-26 Thread mister bean
I just checked my copy of the eBook version and like the hard-copy book, it lists four movies in Fig 8.11. To answer the specific question, the fourth movie is Brides by Pantelis Voulgaris. ---mr. bean Smirnow, Todd, DOH wrote: Please forward to the appropriate person. Thank you

Re: [iText-questions] setLeading-Problem

2007-09-27 Thread mister bean
I don't use the iText sharp version, but you have a conceptual issue here. Leading is the distance between two baselines. So if you make the leading of this new paragraph only 0.7 pts below the image, any text larger than 0.7 pts will overwrite the image. Increase the leading so that the

Re: [iText-questions] 64-bit iText Version?

2007-09-27 Thread mister bean
There are several standard reasons for using 64-bit Java. Two principal ones: 1) your app needs more than 4GB of heap 2) your Java apps needs to run in 64-bit space. Here is IBM's description of this particular situation: There are Java programs that have to run within the process of a 64-bit

Re: [iText-questions] setLeading-Problem

2007-09-28 Thread mister bean
, the usage in PDF and iText as the distance between baselines is now pretty much standard in typesetting. mr. bean Bruno Lowagie (iText) wrote: mister bean wrote: Leading is the distance between two baselines. As we once discussed, the word 'leading' has a different meaning

Re: [iText-questions] Urgetn help needed with simple question!

2007-10-10 Thread mister bean
If you need more help on this topic, please post full questions and avoid that CAPS LOCK key. Both courtesies help us help you--or at least make us more disposed to doing so ;-). Good luck with your project, ---Mr. Bean Xavier Le Vourch wrote: -BEGIN PGP SIGNED MESSAGE- Hash:

Re: [iText-questions] wrapping problem

2007-10-13 Thread mister bean
Use cell.setNoWrap(true) as illustrated on page 173 of the book. ---mr. bean coolbaba wrote: I want to display the text or a number in a PdfPTable cell with out wrapping down. my requirement is,if I have 40 characters text , it has to be displayed in one line with out wrapping down. Is

Re: [iText-questions] jvm crush

2007-10-17 Thread mister bean
If you Google SIGBUS (0x7) at pc you'll find that other folks are also running into similar problems with this rev of the JVM running on Linux. ---mr. bean re Maurizio Marra wrote: Hi, I'm using iText (version 2.0.1) with Tomcat 6 to add a timestamp to the first page of uploaded pdf

[iText-questions] Problem getting onStartPage() triggered

2007-12-15 Thread mister bean
In the following code, the onStartPage() method is never called, even though the test document has many pages. Any thoughts about what to fix, where to look? Thanks in advance, ---mister bean re package platypus.pdf; import com.lowagie.text.pdf.*; import com.lowagie.text.Document; import

Re: [iText-questions] Problem getting onStartPage() triggered

2007-12-15 Thread mister bean
Sorry, my error. Found the problem. Please ignore. blush ---mister bean mister bean wrote: In the following code, the onStartPage() method is never called, even though the test document has many pages. Any thoughts about what to fix, where to look? Thanks in advance, ---mister bean

Re: [iText-questions] iText Problem

2008-01-07 Thread mister bean
It's hard to know what to recommend without knowing what your content is. If your content is text, then increase the margins on the page until there is no overlap. If it's an image, scale the image, using the scaleToFit methods as described in the book. ---Mister Bean hoss * wrote: Dear

Re: [iText-questions] can i unregistrate

2008-01-08 Thread mister bean
https://lists.sourceforge.net/lists/listinfo/itext-questions See bottom of the page. ---mr. bean re Sangil Jung wrote: I want a maillinglist secession as this email([EMAIL PROTECTED]), how can i do that~? best regards~

Re: [iText-questions] Newbie question on justifying text

2008-01-12 Thread mister bean
You should be able to do this by creating a two-cell table, putting the left-aligned material in the left cell and the right-aligned material (phone number) in the right cell and using cell-alignment commands for each (book p. 168). If the text of the two columns might overlap, then do this for

Re: [iText-questions] WordSpacing and CharacterSpacing

2008-01-28 Thread mister bean
See p. 347-350 in the book. The methods you're looking for are setCharacterSpacing() and setWordSpacing(). Best wishes, ---mr. bean Stephan Michels wrote: Hi, is it possible to set the word spacing and character spacing, for example a paragraph? I have to increase the values to

Re: [iText-questions] Having trouble with Events

2008-02-19 Thread mister bean
Did you use iTWriter.setPageEvent( new OnPageEnd() ); somewhere before the pageEvent is first triggered? If not, iText has no idea that you've created this event. ---mr.bean jlopes151 wrote: Ok I created a class extended it with PdfPageEventHelper put a Println in the onEndPage

Re: [iText-questions] Header Footer with iText on JSP

2008-03-01 Thread mister bean
See the book, starting at p. 432. There's an example of exactly what you're looking to do. --mr.bean davidc2 wrote: Hey, I'm trying to use a PdfPTable table as a header, but I'm not able to... I'm using PdfPTable table = new PdfPTable(3); on which I'm adding a bunch of cells, and

Re: [iText-questions] Can i use iText for free?

2008-03-02 Thread mister bean
yes. But make sure to respect the terms of the license. ---mr. bean Gao, Ming (George) wrote: Hi, I want to use this library to generate PDFs for business purpose. Can I generate PDFs for free with iText? Thanks, AVAYA George Gao| Consulting and System Integration|

Re: [iText-questions] Font Embedding

2008-03-17 Thread mister bean
There are many examples of embedding fonts in the tutorials on the site and in the book. If the you've copied the code and tried it with your own font and you get a font exception, then it's probably because the font you're using is not embeddable. If that's not the case, you should post the

Re: [iText-questions] Set position of text

2008-03-28 Thread mister bean
The book http://www.amazon.com/iText-Action-Creating-Manipulating-PDF/dp/1932394796/ref=sr_1_1?ie=UTF8s=booksqid=1206745091sr=8-1 is the principal documentation. An eBook version is available at: http://www.manning.com/lowagie/ For on-line explanations, please Google iText Documentation ---mr.

Re: [iText-questions] iText dependency on print driver?

2008-03-28 Thread mister bean
no dependency in most cases. Itext writes the PDF file to a file or a stream. Printing the file is a downstream event unless you direct the PDF stream to the printer (see pages 581-2 in the book). You'll need to see whether that is being done in your situation. But barring that, though, you

Re: [iText-questions] Groovy based DSL for IText ?

2008-05-08 Thread mister bean
Groovy is a great language. While in Java, not Groovy, the Platypus project (http://platypus.pz.org) is working on providing a higher-level layer for iText. The project is in the middle of a rewrite now (I am part of the team) to move to a plugin architecture so PDF, HTML, and Word docs will

Re: [iText-questions] Page Number not getting diaplayed in Adobe Reader

2008-06-02 Thread mister bean
I don't think you'll find a lot of list members who will look through the 1500+ lines of code you posted to solve your problem. Have you looked at the discussion of displaying page count in the book? That would be a good place to start. If you have, and that has not solved your problem, you

Re: [iText-questions] Question

2008-07-16 Thread mister bean
Here is how someone else answered the same question: http://www.eggheadcafe.com/community/aspnet/6/10006614/itext--free--open-sourc.aspx Essentially, download the right version of iText (see link above) and read the docs. If after doing both those steps, you have still have questions, then post

Re: [iText-questions] FOP 0.95 and iText 2.1.3 unable to do exact overprint

2008-11-12 Thread mister bean
Not sure if this is the answer, but I don't understand why you say that the showTextAligned() uses integers. In fact, it uses floating-point values. See the Javadoc

Re: [iText-questions] FOP 0.95 and iText 2.1.3 unable to do exact overprint

2008-11-13 Thread mister bean
on MS Windows Vista Enterprise 64bit EN with Czech regional settings. You can see my whole simple Java code in attachment. There is still chance, that I can make some fatal mistake in my Java code, but I hope not so. Stepan Původní zpráva Od: mister bean abinstock

[iText-questions] Re gistering files at point of usage instead of via RegisterDirectories

2008-11-30 Thread mister bean
On systems with many font files, the RegisterDirectories() method can take a while to run. I'd like to be able to provide a property file that contains the font family names and the file locations. Then, when the doc refers to a font, look it up in the property file, get the path to it and

Re: [iText-questions] Re garding IText Support for XSL-FO

2008-12-01 Thread mister bean
iText is not a FOP engine. However, it is the library that is used in several FOP engines, such as the one in RenderX. ---mr. bean ntimesc wrote: Hi , I want to know that does IText Support XSL-FO to PDF/TEXT/PRINT conversion like FOP does ? Thanking You, Nihar Bhatt (INDIA)

Re: [iText-questions] iText question

2008-12-05 Thread mister bean
The broad answer to your question is iText can pull apart a PDF into its elements, but that probably won't solve your probem. PDF files do not necessarily contain text in a sequential order. The text can be written as one glyph (letter) at one point and then the remaining characters as a series

Re: [iText-questions] not able to add table in footer.. Please help me

2008-12-11 Thread mister bean
This exact situation is discussed in the book, with all the necessary supporting code carefully explained. ---mr.bean --- Ram karthick wrote:   Hi All,    I am trying to get a table in the footer but not able to get it, when i add the footer table in phrase and setting the

[iText-questions] Bob Lee of Guice on iText (from Twitter)

2008-12-11 Thread mister bean
Retweeting a series of tweets from Bob Lee, the principal author of Google's Guice framework. In chronological order: 1) Can't find an open source Java PDF page splitter (to split one big file into a file per page). Guess I'll have to write my own. 2) iText might actually work. I'll give it a

[iText-questions] Found bug in BaseFont's handling of .ttc fonts

2008-12-27 Thread mister bean
Creating BaseFonts from .ttc files give spurious DocumentException errors. This appears to be caused by this error at the end of line 567 of com.lowagie.text.pdf.BaseFont.java: [...] || nameBase.toLowerCase().indexOf(.ttc,) The literal for the ending of the file name should be .ttc not .ttc,

Re: [iText-questions] what is difference between string.slice() and string.substring()

2008-12-27 Thread mister bean
You've posted this query in the wrong forum. This forum handles questions related to the iText library. As to your specific questions, Google is your friend. ---mr. bean rajeshkarka wrote: Hi All, what is difference between string.slice() and string.substring(). For both

Re: [iText-questions] Found bug in BaseFont's handling of .ttc fonts

2008-12-27 Thread mister bean
without a problem for all .ttf and .otf files. Based on the source code in BaseFont.java, the only relevant test that I can see that this fails (and thereby leads to the DocumentException) is the test for .ttc,. TIA, ---mr. bean Xavier Le Vourch wrote: mister bean wrote: Creating BaseFonts

Re: [iText-questions] Found bug in BaseFont's handling of .ttc fonts

2008-12-27 Thread mister bean
I totally missed that. Thanks very much. ---mr. bean Benjamin Podszun wrote: Hi. On Sat, 27 Dec 2008 21:41:41 -0800 (PST), mister bean abinst...@pacificdataworks.com wrote: Creating a BaseFont for file cambria.ttc (which ships with Vista) generates a DocumentException. The specific

Re: [iText-questions] iText Open Type Font

2009-01-14 Thread mister bean
There are known problems with this font. See http://forum.soft32.com/mac/System-Fonts-Display-Font-Book-ftopict4205.html which discusses it in length. Unless someone else points you to something in your iText code, I would look very carefully at the font. Try using some .otf font that's not a

Re: [iText-questions] Can't display ő and ű characters in PDF

2009-01-24 Thread mister bean
The font must permit embedding for this to work. Most fonts do, but many do not. Have you checked this particular font file? ---mr. bean Balázs Grill wrote: I've loaded the fonts using BaseFont.createFont(file.ttf,BaseFont.IDENTITY_H,true); The last parameter says that this font should

Re: [iText-questions] Issue with Courier font white spaces width

2009-01-24 Thread mister bean
I believe this can happen if your alignment is set to justified. If it is, then set it to left and see whether the problem goes away. (Note: for alignment to be justified, you'd have to set it explicitly.) ---mr. bean re 1T3XT info wrote: TaRe wrote: I am creating a PDF document that

[iText-questions] Getter naming consistency in Paragraph.java

2009-02-01 Thread mister bean
Almost all the getters in Paragraph.java begin with the word get... (as expected) except for spacingAfter() and spacingBefore(). Can these getters' names be normalized, so that they start with get? Note that both functions' setters start with set..., which makes the getter names even more

Re: [iText-questions] ColumnText Grouping/KeepTogether

2009-02-01 Thread mister bean
This problem and its solution are discussed in detail in Chapter 7 of the iText book. ( http://is.gd/7Wib ) ---mr. bean ApolloX wrote: As a follow-up, I initially tried using Paragraph.setKeepTogether(true) which worked for single-paragraphs with the same alignment, but did not work if I

Re: [iText-questions] Very urgent...

2009-02-02 Thread mister bean
See: http://www.nabble.com/URGENT-QUESTION-to20956110.html#a20956686 Pavani-3 wrote: Hi, I want to read RTF file which is supporting by iTEXT. my requirement is i have read my rtf file and select paticular text which is in the format like :Subject and i have to replace some data

Re: [iText-questions] Problem with Chunk underline

2009-02-03 Thread mister bean
The basic problem is that currently the font style attributes are OR'd on. (Bold, italic, underline, etc.) As you know, ORing is a one-way proposition. That is, you can only turn flags on, not off. The way we solve the problem in http://platypus.pz.org Platypus is to create a new font using

Re: [iText-questions] PDF generation problem

2009-02-24 Thread mister bean
You'll probably get more response to this query if you provide more info. To wit, PDF reader, iText version, exact error message, and a copy of a failing PDF. I can't help with this, but anyone who can will need at least this information. ---mr. bean Steve Weston wrote: I've been

Re: [iText-questions] Advice sought on using Split, Concat and Encrypt

2009-05-06 Thread mister bean
These questions are not iText-related questions and should be posted to a Java user group. Here are quick answers. Please post follow-up questions to a non-iText mailing list. Best version of JRE = latest version of JRE CLASSPATH = Yes, you will. It's not a Windows-specific issue. ---mr.bean

Re: [iText-questions] MsWord to Pdf

2009-05-06 Thread mister bean
No, it's not. ---mr.bean deep4u wrote: Hello, I have a requirement is conversion of word document to pdf in java. It is posible using itext please share me the information. Thanks, 1T3XT info wrote: deep4u wrote: Hello, How to write own (X)HTML handler. For

Re: [iText-questions] A complex question and plea for advice

2009-06-04 Thread mister bean
iText Software Corp. has a directory of developers who have worked extensively with iText and on PDFs. You might want to contact one or more of them about this project. See: http://itextsoftware.com/customdev.shtml Best of luck, ---mr. bean re Michael Bell-10 wrote: I've skimmed

Re: [iText-questions] Re garding JSP to PDF Conversion

2009-06-09 Thread mister bean
Mike: If I read it correctly, Bruno's point is that what you're describing is *not* converting a JSP page to PDF. A JSP is a template with commands to the servlet engine, bits of HTML, etc. Why would anyone turn a JSP file into a PDF? As I read it, the OP's question (if not taken literally)

Re: [iText-questions] Re :Re: Re : Re : Saving a PDF form (Was: Re: Re :Re: Unable to use Corporate Certificate)

2009-06-23 Thread mister bean
Sachin: PLEASE do some research before immediately posting another question on the same topic. If you search the archives for reader enabled, you will find the following discussion: http://www.nabble.com/reader-enabled-PDF-for-saving-form-data-td19431612.html It tells you exactly what Bruno

Re: [iText-questions] HeaderFooter - page number printing on next line

2009-06-24 Thread mister bean
Your solution will work until you attempt another modification. HeaderFooter has been retired and is now deprecated. Use page events instead. The book and the online docs have examples. ---mr. bean re tamtam18 wrote: I figured out the problem Using a Phrase to create the HeaderFooter

Re: [iText-questions] iText, Flying Saucer, and Lotus Domino agent

2009-07-01 Thread mister bean
Sorry, but it's virtually impossible to help from this mailing list. FS wraps iText in its own classes. You'll need to pursue this with them. ---mr.bean jminata wrote: I am trying to convert HTML to PDF using Flying Saucer. I need to be able to use style sheet to do positioning, set font

Re: [iText-questions] Table header/footer problem

2009-07-02 Thread mister bean
Strictly speaking, this requirement cannot be met using page events: All parts need to fit tightly together so no spacing between the parts (so the page footer for the last page can be in the middle of the page depending on the size of the report) Page events, which trigger the printing of

Re: [iText-questions] HeaderFooter question

2009-07-10 Thread mister bean
If you search through this mailing list for HeaderFooter, you'll find many posts similar to this one, posted two weeks ago: http://www.mail-archive.com/itext-questions@lists.sourceforge.net/msg45755.html That should point you in the right direction. ---mr. bean Mark Davidson-5 wrote: Ok,

Re: [iText-questions] fixed width units for font

2009-07-13 Thread mister bean
Paulo: Are you sure this is right? Here's an excerpt from Bruno's book, (p. 229): In glyph space, 1000 units corresponds with 1 unit in text space. For instance, for a 12-point font, 1000 units corresponds with 12 pts. Thanks in advance for any clarification. ---mr. bean Paulo Soares-3

Re: [iText-questions] Re : Using iText 2.1.x with flyingsaucer R8

2009-07-22 Thread mister bean
That's the application's responsibility, not the library's. So, it's Flying Saucer's job if, in fact, they want to run with this later version of iText. ---mr. bean gonzalad wrote: Exactly, so just recompiling flying saucer would just do it (I'm doing it for my own needs). My question

Re: [iText-questions] iText 2.0.2 Compatibility

2009-07-30 Thread mister bean
iText 2.x works fine with Java SE 6 (There is no J2SE 6) and Java EE 5 (There is no J2EE 5). Some other user might be able to answer for the two tools you inquire about. However, I am sure that from the info above, you can determine whether it works with those tools. ---mr. bean santosh

Re: [iText-questions] iText pdfViewer?

2009-08-02 Thread mister bean
Boutros: This question has nothing to do with the thread you stuck it on. Could you repost as a new thread with a title/subject that has something to do with the content? Thanks, ---mr. bean Boutros wrote: Hello Paulo: I was trying the code in in_action.chapter03.HelloWorldEncrypted

Re: [iText-questions] Help needed

2009-08-18 Thread mister bean
Seconding what Alexis wrote to you. There are numerous messages on this list and discussions in the docs regarding why what you want to do is not possible. --mr.bean Hi, I would like to know how to get XY coordinates for any string in a PDF and it does not associated with any tag. Thanks in

Re: [iText-questions] HelpMe, distance between lines on rtf doc

2009-08-18 Thread mister bean
This has been discussed here many times. A simple search will get you all the info you need. Read any of these entries here. http://www.nabble.com/forum/Search.jtp?query=rtf+line+spacinglocal=yforum=2701daterange=0startdate=enddate= Regards, ---mr. bean gabriele gentile wrote: In RTF, how

Re: [iText-questions] itext - 64bit windows server 2008 OS

2009-08-31 Thread mister bean
This has nothing to do with iText. JSE code that runs on 32-bit JVMs runs without modification on 64-bit JVMs. ---mr. bean Thanikaiarasu wrote: Thanks for the reply. You mean to say iText wil work any where 32 bit or 64 bit. I can instal 64 version of JRE in windows server 2008 64 bit

[iText-questions] Where am I in the text I am writing out?

2009-08-31 Thread mister bean
Suppose I am using ColumnText to output text, and the go() method indicates that there is more text to print (so, I've filled the current column), is there any way of knowing where I am currently in the text to be output? In other words, is there any way I can tell what the last text output in

Re: [iText-questions] Where am I in the text I am writing out?

2009-09-03 Thread mister bean
Established that there is no way to do this. However, BL suggests using the .go() method with the addition of every element, so that its effect on the column of the addition of each element can be determined. This solves most of the need to know where the column breaks. ---mr. bean mister bean

Re: [iText-questions] Question about iText

2009-09-03 Thread mister bean
iText to generate data-based PDFs, such as reports, you provide the data. So, you extract it from Access and pass it to iText. iText does not extract the data for you. Valerie Butts wrote: Hello, I would like to know if iText would work with a Microsoft Access application. I

Re: [iText-questions] Cell Alignment

2009-09-18 Thread mister bean
Kumar: Even with the suggested solution, your table is not going to work very well. For example, setWidths() does not work the way you're using it. Secondly, why are you using a command that sets the alignment for all cells to right, and then setting individual cells to right? I am fairly sure

Re: [iText-questions] Nested Paragraph Indentation

2009-10-12 Thread mister bean
If you're trying to locate paragraphs exactly and keep the content together, tables or whatever you might mean by nested paragraphs are not the right way to do it. Use ColumnText, which allows you to place text anywhere and has specific provisions for keeping lines together. This is discussed in

Re: [iText-questions] Nested Paragraph Indentation

2009-10-13 Thread mister bean
original full-page ColumnText is not a problem. Good luck! ---mr. bean digerata-3 wrote: On Oct 12, 2009, at 3:00 PM, mister bean wrote: If you're trying to locate paragraphs exactly and keep the content together, tables or whatever you might mean by nested paragraphs

Re: [iText-questions] Strange Java problem

2009-10-18 Thread mister bean
It's a classpath error that seems to emanate from your com.xxx.pdf... app in its call to iText. Looking at your classpath, I see that you're linking to itext.jar, which is not a standard name for an iText jar. Check your classpath. Netbeans can generate an Ant file to run your app. Look at its

Re: [iText-questions] can i convert rtf to pdf with iText?

2009-10-24 Thread mister bean
No. iText does not do this. ---mr. bean Meir Yanovich-2 wrote: Hello all im new to itext , here is my case . i have rtf file and i need to convert it programmaticly to pdf the rtf contains numbers bullets and bold and underline text , are there any good examples or tutorials that

Re: [iText-questions] How to set the page number of a specific page?

2009-10-24 Thread mister bean
What's the problem with keeping track of page numbers in your own variable and printing that? ---mr. bean Sorin Marti wrote: Hi all I have a generated document where I like to have a table of contents with page links. This works fine when i generate the toc as last page and then

Re: [iText-questions] Problem in nesting of lists in RTF?

2009-11-16 Thread mister bean
iText is about to move the RTF functionality to an incubator and deprecate this functionality. Unless someone can provide the answer on this list (and even if they do), you might want to consider other options for RTF generation. Best wishes, ---mr. bean re Chris von See wrote: I think

Re: [iText-questions] Problem in nesting of lists in RTF?

2009-11-16 Thread mister bean
the incubator at some point in the future? or is this a death by incubation scenario? Chris On Nov 16, 2009, at 2:37 PM, mister bean wrote: iText is about to move the RTF functionality to an incubator and deprecate this functionality. Unless someone can provide the answer

Re: [iText-questions] RTF - problem in cross references

2009-11-18 Thread mister bean
Alain: 1) What Howard means is that there is no iText roadmap *for RTF*. This is because RTF functionality is about to be moved out of iText. See several recent posts on this list regarding this move. 2) You could try generating an internal link in MS Word, saving as RTF, and examining the

Re: [iText-questions] PDf Table of Content

2009-12-03 Thread mister bean
Have you tried the example shown on pp 443-4 of the book? If so, what problem did you encounter? --mr. bean Gopinath_A wrote: Hi Can any help me to create a Table of Content with Page number on the right side of each chapter tat we have in our pdf document... Example : Expected

Re: [iText-questions] Table lines appearing bold sometimes

2009-12-17 Thread mister bean
To perhaps extend Bruno's point: When I look at the problem PDF you posted in PDFxchange Viewer (a free PDF viewer that permits annotation of PDFs from www.docu-track.com), the lines all look the same. There are no bold and non-bold lines. Regards, ---mr. bean re ennidhi wrote: Your

Re: [iText-questions] pdf pagesize

2009-12-22 Thread mister bean
You need to read the documentation. 1 inch = 72 points, so 25.4mm = 72 points. I trust you can handle the remaining arithmetic. Good luck. ---mr. bean Lord Goosfancito wrote: Hello, in my pdf acrobat one pdf file say (in milimeters) 749.7 x 449.8 mm, in itextsharp say in points, how i

  1   2   >