[iText-questions] Autho, title, subject in xml

2003-07-28 Thread Mark Goking
Can information of the author, title subjcet, keyword and others be accessible through xml? How? Mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.504 / Virus Database: 302 - Release Date: 7/24/2003 -

Re: [iText-questions] remote goto without chunks

2003-07-28 Thread David Thielen
Is there a way to do it using the basic PdfContentByte.showTextAligned? It would be a big change in my code to switch the stuff in the url to chunks. thanks - dave - Original Message - From: "Paulo Soares" <[EMAIL PROTECTED]> To: "David Thielen" <[EMAIL PROTECTED]>; "itext" <[EMAIL PROT

[iText-questions] Adding svg images to a table, revisited

2003-07-28 Thread Chris Farmer
  Thanks to Paulo for helping me get my table to display an SVG image several days ago.  However, I’m having problems now extending my simple example to a more complicated one and I was hoping someone could point out what I’m doing wrong.  Here’s my goal…   I have a framework that popula

Re: Asking again: [iText-questions] line close weirdness - Part II

2003-07-28 Thread David Thielen
Title: Message I do dashes sometimes and have to set back to solid. - Original Message - From: Jaladurgam, Ramana To: 'David Thielen' ; itext Sent: Monday, July 28, 2003 4:44 PM Subject: RE: Asking again: [iText-questions] line close weirdness - Part II The d

RE: Asking again: [iText-questions] line close weirdness - Part II

2003-07-28 Thread Jaladurgam, Ramana
Title: Message The default line type is solid only. I don't use setLineDash(..), but I get a solid line.     Regards,Ramana.JV. -Original Message-From: David Thielen [mailto:[EMAIL PROTECTED] Sent: Monday, July 28, 2003 4:46 PMTo: itextSubject: Asking again: [iText-questio

Asking again: [iText-questions] line close weirdness - Part II

2003-07-28 Thread David Thielen
Is there a way to say a line is solid other than PdfContentByte.setLineDash(32000, 0)?   thanks - dave   - Original Message - From: David Thielen To: itext Sent: Sunday, July 27, 2003 7:27 PM Subject: [iText-questions] line close weirdness - Part II Hi;  

Re: [iText-questions] read and position an existing pdf file page

2003-07-28 Thread Paulo Soares
See the pdf reference 1.3 chapter 4.2. Best Regards, Paulo Soares - Original Message - From: "x x" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 28, 2003 20:29 Subject: [iText-questions] read and position an existing pdf file page > hi all, > > I'm trying to create a

Re: [iText-questions] Paragraph.setKeepTogether(true) - Unreliable

2003-07-28 Thread Paulo Soares
If you don't use lists a solution is possible. The keep together is done by wrapping the paragraph inside a table and Table is not the most reliable class. It would be helpful to post a small runnable example with the problem. Best Regards, Paulo Soares - Original Message - From: "Don Swa

Re: [iText-questions] Problem with PdfWriter.reorderPages()

2003-07-28 Thread Paulo Soares
After opening the document call PdfWriter.setLinearPageMode(). Best Regards, Paulo Soares - Original Message - From: "Luc Van Pelt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 28, 2003 20:24 Subject: [iText-questions] Problem with PdfWriter.reorderPages() > I try to

[iText-questions] setting margins to an imported pdf page

2003-07-28 Thread M. M.
hi all, if I were to read in an existing pdf document and import it into a new pdf document, would I be able to reset its page margins? I tried creating a new document with certain margins, then imported a page, but the margins I set do not seem to take effect. does the original pdf document's

[iText-questions] Paragraph.setKeepTogether(true) - Unreliable

2003-07-28 Thread Don Swag
Hi, My first posting this, and excuse me if this is a common question, but I am finding that I cannot rely on calling Paragraph.setKeepTogether(true) method to keep my paragraphs from breaking across pages. My paragraphs are short - 3 lines each. Here's how they are created: ... while (i.hasNext

[iText-questions] read and position an existing pdf file page

2003-07-28 Thread x x
hi all, I'm trying to create a new pdf file where I read a page from an existing pdf file and position it so that it starts from the top of the new pdf file page. I'm trying to use the statement "cb.addTemplate(read_page, x, x, x, x, x, x)" to do so, but the documentation for the coordinates is

[iText-questions] Problem with PdfWriter.reorderPages()

2003-07-28 Thread Luc Van Pelt
I try to reorder the pages in a Pdf-document. The call to PdfWriter.reorderPages() seems to work fine as long as there are no more than 10 pages in the original document. With more than 10 pages I get the exception: 'Page reordening requires a single parent in the page tree.', caused by the

Re: [iText-questions] RE :Font question (Dimiceli, John - OSHA - CTR)

2003-07-28 Thread Paulo Soares
The full package address to the resources is com.lowagie.text.pdf.fonts. Did you try to put the iText.jar in the WEB-INF/lib directory? Best Regards, Paulo Soares - Original Message - From: "Dimiceli, John - OSHA - CTR" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 28, 20

Re: [iText-questions] remote goto without chunks

2003-07-28 Thread Paulo Soares
It's possible but you don't have to it. Take a look at ColumnText.getWidth() and ColumnText.showTextAligned() in itext-paulo-123. Best Regards, Paulo Soares - Original Message - From: "David Thielen" <[EMAIL PROTECTED]> To: "itext" <[EMAIL PROTECTED]> Sent: Monday, July 28, 2003 17:22 Sub

Re: [iText-questions] Font width problem

2003-07-28 Thread David Thielen
Hi; Yes, it's interesting. I walked through your code for this and it looks correct and it does match what Acrobat does. So the questions is - why is Java off? I think it's a bug in Java. thanks - dave - Original Message - From: "Paulo Soares" <[EMAIL PROTECTED]> To: "David Thielen" <[

Re: [iText-questions] RE: Doubt on Measurement units

2003-07-28 Thread Paulo Soares
The shrinking is done to fit the PDF page inside the printer's page. This is an option in the viewer and has nothing to do with the PDF. The default page size is A4, a metric standard in use in all the world except in the US and Liberia (it's true). Best Regards, Paulo Soares - Original Messa

Re: [iText-questions] Font width problem

2003-07-28 Thread Paulo Soares
The width is taken directly from the fonts. Best Regards, Paulo Soares - Original Message - From: "David Thielen" <[EMAIL PROTECTED]> To: "itext" <[EMAIL PROTECTED]> Sent: Monday, July 28, 2003 15:02 Subject: Re: [iText-questions] Font width problem > How does iText get the width in i

Re: [iText-questions] pdfStamper

2003-07-28 Thread Paulo Soares
Explain better. Best Regards, Paulo Soares - Original Message - From: "Stefanie Hölderl" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 28, 2003 14:39 Subject: [iText-questions] pdfStamper > Hi, > is there a way to place a copied page to a next Page, like > picture.addNe

[iText-questions] when nesting tables can't span columns

2003-07-28 Thread Eric B.
Hi, I'm running into a problem with nested tables in iText and am hoping someone has a solution.   I have a 2 column table with a table nested in both cells (0,0) and cells (1,0)     (where I am listing column#s first).  That works fine.  However I want to do a cellspan on cells (0,1) and (1,

RE: [iText-questions] RE: Doubt on Measurement units

2003-07-28 Thread Leonard Rosenthol
At 09:39 AM 7/28/2003 -0500, Jaladurgam, Ramana wrote: The numbers showing me correct results as expected when the I uncheck the "Shrink to fit page" option and print. Good. But, my doubt actually was why it is shrinking the contents? Because at some time in the past, the user

[iText-questions] RE :Font question (Dimiceli, John - OSHA - CTR)

2003-07-28 Thread Dimiceli, John - OSHA - CTR
Title: RE :Font question (Dimiceli, John - OSHA - CTR) Re-capping topic #13 (quoted below), my PDF does not work when deployed to a Solaris machine.  I receive the message...     "Helvetica-Bold not found as resource. (The *.afm files must exist as resources in the package com.lowagie.te

[iText-questions] remote goto without chunks

2003-07-28 Thread David Thielen
Hi;   I am using just the basic iText and handling all positioning of text myself. Therefore I am not using chunks.   Is there a way to do remote goto's (ie jump to a url) in this situation? If so, how?   thanks - dave

Re: [iText-questions] RE: iText-questions - How to Convert ".doc" to ".pdf"

2003-07-28 Thread David Thielen
Or www.WindwardReports.com - Original Message - From: "Rich Freedman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 28, 2003 9:09 AM Subject: [iText-questions] RE: iText-questions - How to Convert ".doc" to ".pdf" > Subbu, > > It seems to me that the problem is that yo

Re: [iText-questions] how to avoid building the footer on each onEndPage call ?

2003-07-28 Thread Paulo Soares
You can use ColumnText and PdfPTable at precise positions. There are several examples at www.geocities.com/itextpdf. Best Regards, Paulo Soares - Original Message - From: "Marc Lustig" <[EMAIL PROTECTED]> To: "'iText list'" <[EMAIL PROTECTED]> Sent: Monday, July 28, 2003 13:07 Subject: AW

[iText-questions] RE: iText-questions - How to Convert ".doc" to ".pdf"

2003-07-28 Thread Rich Freedman
Subbu, It seems to me that the problem is that you're attempting to treat a Microsoft Word .doc file as if it were a text file - which it is not. I would think that you would have to convert it to some intermediate format before using itext to produce a .pdf. I'm fairly new to itext myself, so I'

Re: [iText-questions] RE: Doubt on Measurement units

2003-07-28 Thread David Thielen
I don't know - Original Message - From: "Jaladurgam, Ramana" <[EMAIL PROTECTED]> To: "'David Thielen'" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, July 28, 2003 8:39 AM Subject: RE: [iText-questions] RE: Doubt on Measurement units > Hello David, > The numbers showing me

RE: [iText-questions] RE: Doubt on Measurement units

2003-07-28 Thread Jaladurgam, Ramana
Hello David, The numbers showing me correct results as expected when the I uncheck the "Shrink to fit page" option and print. But, my doubt actually was why it is shrinking the contents? Regards, Ramana.JV. -Original Message- From: David Thielen [mailto:[EMAIL PROTECTED] Sent: Monda

Re: [iText-questions] RE: Doubt on Measurement units

2003-07-28 Thread David Thielen
Hi; I've fought this battle too. I think the bottom line is that Acrobat is just off a little and all you can do is tell it the rigth numbers and let Acrobat then render it however. - dave - Original Message - From: "Jaladurgam, Ramana" <[EMAIL PROTECTED]> To: "'Paulo Soares'" <[EMAIL

Re: [iText-questions] Font width problem

2003-07-28 Thread David Thielen
How does iText get the width in it's code? It appears to get correct values. thanks - dave - Original Message - From: "Paulo Soares" <[EMAIL PROTECTED]> To: "David Thielen" <[EMAIL PROTECTED]>; "itext" <[EMAIL PROTECTED]> Sent: Monday, July 28, 2003 4:27 AM Subject: Re: [iText-questions

[iText-questions] RE: Doubt on Measurement units

2003-07-28 Thread Jaladurgam, Ramana
Hello Paulo, Thanks for the suggestion. Now, the line is exactly 1 inch. But, my following doubt was how is it less in the shrink to fit mode. What am I required to do, if I wanted the line to be 1 inch exactly in all modes. My page size was 8.5in * 11inch. I thought the default page create

[iText-questions] pdfStamper

2003-07-28 Thread Stefanie=20H=F6lderl
Hi, is there a way to place a copied page to a next Page, like picture.addNextPage or something like that?? The page is copied with PdfStamper __ Spam-Filter fuer alle - bester Spam-Schutz laut ComputerBild 15-03 WEB.DE F

[iText-questions] How to Convert ".doc" to ".pdf"

2003-07-28 Thread Mallela Siva Subrahmanyam
Hi, I am using the PDFWriter and Document classes of iText.jar file and trying to convert a ".doc" file to ".pdf" format. I am able to fetch the data and put it into a pdf file. But the ".doc" data being read contains some formatting information that is being appended to the content, in the beginn

[iText-questions] Indentation bugs

2003-07-28 Thread Marc Schneider
Hi! I'm getting wrong indentations when working with multi page documents and the setIndentationLeft() method with Paragraph and List. There are two, apparantly different, indentation bugs I'm getting: a) when a list crosses a page border, the indentation of the footer (and probably the header, b

AW: [iText-questions] how to avoid building the footer on each onEndPage call ?

2003-07-28 Thread Marc Lustig
Thanks, but how can I add a PdfPTable to the template? I can't find any methods like addTable in PdfTemplate. Or can I only use cb.showText(text) to output text in a template? Thanks. Marc > -Ursprüngliche Nachricht- > Von: Paulo Soares [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 28. J

Re: [iText-questions] strange exception regarding table width

2003-07-28 Thread Paulo Soares
You must set setTotalWidth. Best Regards, Paulo Soares - Original Message - From: "Marc Lustig" <[EMAIL PROTECTED]> To: "iText list" <[EMAIL PROTECTED]> Sent: Monday, July 28, 2003 11:48 Subject: [iText-questions] strange exception regarding table width > Strangely, the method below al

Re: [iText-questions] how to avoid building the footer on each onEndPage call ?

2003-07-28 Thread Paulo Soares
You can put your footer in a template and set that template in onEndPage. Best Regards, Paulo Soares - Original Message - From: "Marc Lustig" <[EMAIL PROTECTED]> To: "iText list" <[EMAIL PROTECTED]> Sent: Monday, July 28, 2003 11:20 Subject: [iText-questions] how to avoid building the foo

[iText-questions] strange exception regarding table width

2003-07-28 Thread Marc Lustig
Strangely, the method below always generates this Exception: ExceptionConverter: java.lang.RuntimeException: The table width must be greater than zero. I've explicitly set the width. What's wrong? public void onEndPage(PdfWriter writer, Document doc) { PdfPTable table = new PdfPTable(2);

Re: [iText-questions] tables within a header

2003-07-28 Thread Paulo Soares
Who knows what's going on in fitsPage. Only setTotalWidth is guaranteed to work, what you're doing is taking advantage of a side effect. Best Regards, Paulo Soares - Original Message - From: "Rolando Cuevas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, July 27, 2003 16:45 Sub

Re: [iText-questions] problem with margins when prniting with pdf

2003-07-28 Thread Paulo Soares
- Original Message - From: "Mark Goking" <[EMAIL PROTECTED]> To: "itext" <[EMAIL PROTECTED]> Sent: Monday, July 28, 2003 2:45 Subject: [iText-questions] problem with margins when prniting with pdf > hi all, this code > > Document document = new Document(PageSize.A4, 18, 18, 18, 18); >

Re: [iText-questions] need help with watermark

2003-07-28 Thread Paulo Soares
Add the watermark in a onPageStart page event. Use a PdfWriter.getDirectContentUnder() as the content to write to. Best Regards, Paulo Soares - Original Message - From: "Jaime Tovar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 25, 2003 17:12 Subject: [iText-questions] n

Re: [iText-questions] Font width problem

2003-07-28 Thread Paulo Soares
A direct match is probably impossible but you can have a test text to compare the widths and then set the AffineTransform in FontRenderContext. This may or may not work, I'm no java graphics expert. Best Regards, Paulo Soares - Original Message - From: "David Thielen" <[EMAIL PROTECTED]>

SV: [iText-questions] Acro form in existing pdf

2003-07-28 Thread Martin Abrahamsson
Hi Thanks for your previous advice. As a first test I tried to use the example form_text.java to add text to a existing pdf document. I extracted the first page from the PDFReference an added the textfied and it worked just fine. When I tried to do tha same with my scanned forms as the base pdfs th

[iText-questions] how to avoid building the footer on each onEndPage call ?

2003-07-28 Thread Marc Lustig
Hi, I'm about to get started with an event-based footer. I've only got one question: how do you avoid creating the same footer each and every time onEndPage is called? Is there a possibility to store a user object (such as a PdfPTable) into the document or the writer object so that this object c

[iText-questions] line close weirdness - Part II

2003-07-28 Thread David Thielen
Hi;   The cause of the problem (which appears to be a bug in Acrobat) is that I do a PdfContentByte.setLineDash(32000, 0) when I have a solid line. Is there a way to say solid line other than this?   thanks - dave     The pdf I get is: 0.5 w[1600 0] 0 d0 0 0 RG72 509.6 m729 509.6 l729 58