Re: [iText-questions] Netscape Acrobat plug-in problems

2002-05-10 Thread Jeff Larsen

Follow up: 

I discovered that in NS4, I can hit the Reload
button after getting the blank page and the plugin will
load and display the PDF!

However, NS6 just doesn't like dynamic PDF at all. I can't
even get it to load the example at 

http://www.lowagie.com/iText/examples/pdf.jsp

but it does work on the static iText example files.

This makes no sense at all

Jeff



- Original Message - 
From: "Jeff Larsen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 10, 2002 3:51 PM
Subject: [iText-questions] Netscape Acrobat plug-in problems


> This may not even be an iText problem, but hopefully somebody
> out there has dealt with this before. I have a servlet running
> on Tomcat 4.0.3 via Apache 1.3.23 that generates dynamic PDF 
> with iText. Despite the advertised problems, everything works 
> great with MSIE. However both Netscape 4.7 and Netscape 6.2
> fail to display the generated PDF. They don't even get as far
> as showing the Acrobat toolbar. Just a blank page.
> 
> If I configure the browser to use Acrobat externally, everything
> works fine with Netscape, it's just when using the plugin that
> there is a problem. Also, if Acrobat is uninstalled, then the 
> browser just prompts to save the file and the resulting PDF file
> is also OK when read with Acrobat standalone.
> 
> I've tried different machines running both Win NT and Win 98.
> 
> Anybody out there have any ideas on what the problem is?
> 
> Thanks, 
> 
> Jeff
> 
> ___
> 
> Have big pipes? SourceForge.net is looking for download mirrors. We supply
> the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions

___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] Cells Merge ?

2002-05-10 Thread Matt Benson

It could have something to do with the default Cell
being used in this case.  If you haven't already, try
using Table.setDefaultCellBorder() and other similar
methods to get what you want.

HTH,
Matt

--- morpheus Smith <[EMAIL PROTECTED]> wrote:
> when i try add two cells containg empty strings next
> to other, they both merge ? i.e seprating border in
> not shown.
> does anybody know a solution for this.
> Thanks in advance.
> 
> __
> Do You Yahoo!?
> Yahoo! Shopping - Mother's Day is May 12th!
> http://shopping.yahoo.com
> 
>
___
> 
> Have big pipes? SourceForge.net is looking for
> download mirrors. We supply
> the hardware. You get the recognition. Email Us:
> [EMAIL PROTECTED]
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/itext-questions


__
Do You Yahoo!?
Yahoo! Shopping - Mother's Day is May 12th!
http://shopping.yahoo.com

___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] Netscape Acrobat plug-in problems

2002-05-10 Thread Jeff Larsen

This may not even be an iText problem, but hopefully somebody
out there has dealt with this before. I have a servlet running
on Tomcat 4.0.3 via Apache 1.3.23 that generates dynamic PDF 
with iText. Despite the advertised problems, everything works 
great with MSIE. However both Netscape 4.7 and Netscape 6.2
fail to display the generated PDF. They don't even get as far
as showing the Acrobat toolbar. Just a blank page.

If I configure the browser to use Acrobat externally, everything
works fine with Netscape, it's just when using the plugin that
there is a problem. Also, if Acrobat is uninstalled, then the 
browser just prompts to save the file and the resulting PDF file
is also OK when read with Acrobat standalone.

I've tried different machines running both Win NT and Win 98.

Anybody out there have any ideas on what the problem is?

Thanks, 

Jeff

___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] Cells Merge ?

2002-05-10 Thread morpheus Smith

when i try add two cells containg empty strings next
to other, they both merge ? i.e seprating border in
not shown.
does anybody know a solution for this.
Thanks in advance.

__
Do You Yahoo!?
Yahoo! Shopping - Mother's Day is May 12th!
http://shopping.yahoo.com

___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



RE: [iText-questions] Encripted PDFs

2002-05-10 Thread Paulo Soares

The document must always be decrypted before being used. This is a
consequence of the way encryption works in a PDF. Any other tool will have
to decrypt the PDF first.

Best Regards,
Paulo Soares

> -Original Message-
> From: Josh Ellison [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 18:27
> To:   [EMAIL PROTECTED]
> Subject:  [iText-questions] Encripted PDFs
> 
> I have been using your product for over a year now and I am very happy
> with how it works.  I got a
> new task now, I am trying to put a bunch of PDFs into one big PDF so they
> can easily be printed out
> in order.  I came across a problem.  I noticed that your program can't
> open encripted PDFs.  I
> realize this isn't a bug, it is just how it is.  I was just wondering if
> there is a way to output
> encripted PDFs along with other PDFs in one big PDF.  I'm using the
> PDFReader class to open a PDF
> and write it to my PDFDocument.  Is there another way to do this that will
> work with encripted PDFs?
> 
> 
> ___
> 
> Have big pipes? SourceForge.net is looking for download mirrors. We supply
> the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions

___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



RE: [iText-questions] Charts to PDF...

2002-05-10 Thread Paulo Soares



> -Original Message-
> From: David Gilbert [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 17:01
> To:   [EMAIL PROTECTED]
> Subject:  Re: [iText-questions] Charts to PDF...
> 
> I took a look at your example---thanks---and now I have some code that 
> displays Unicode characters using the Arial Unicode MS font (I don't have
> the 
> font you used in your code).  I create the DefaultFontMapper object (based
> on 
> your code, modified for my font directory on Linux):
> 
> DefaultFontMapper mapper = new DefaultFontMapper();
> mapper.insertDirectory("/opt/jbuilder5/jdk1.3/jre/lib/fonts");
> DefaultFontMapper.BaseFontParameters pp =
> mapper.getBaseFontParameters("Arial 
> Unicode MS");
> if (pp!=null) {
> pp.encoding = BaseFont.IDENTITY_H;
> }
> 
> After looking at the code in DefaultFontMapper I can see that the code
> above 
> is changing the encoding from CP1252 to IDENTITY_H.  Can you explain what 
> that means, I'm a little out of my depth with fonts.  I've heard of
> Cp1252, 
> but what is IDENTITY_H.
> 
For true-type fonts iText can use two approaches. One is to use an
encoding that will convert the Unicode character into a byte that will be
placed in the PDF content stream and is limited to 256 characters. The other
is to have the encoding IDENTITY_H that is actually a "no encoding"
encoding. This way each character will occupy 2 bytes in the content stream
but all the font characters are directly accessible. 

> Regards,
> 
> DG.
> 
> P.S.  While reviewing older posts, I found your request for the output of
> a 
> small Java program that lists the available fonts on Linux.  Do you still 
> need that output?
> 
No, thank you. I have enough information for Linux, Solaris and MAC
OSX. All the systems can use true-type fonts in the awt so a perfect match
is always possible.

Best Regards,
Paulo Soares

> On Thursday 09 May 2002 5:30 pm, Paulo Soares wrote:
> > Now that we are at it, the way you do the charts is the right way but
> won't
> > support other charsets. You'll have to use DefaultFontMapper to map pdf
> > fonts to awt fonts. I have an example at
> http://www.geocities.com/itextpdf
> > to map a japanese font that may be useful. The example is
> free_chart.java.
> >
> > Best Regards,
> > Paulo Soares
> 
> 
> ___
> 
> Have big pipes? SourceForge.net is looking for download mirrors. We supply
> the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions

___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



RE: [iText-questions] Read PDF

2002-05-10 Thread Paulo Soares

The problem here is exposing too much information. It's easy to get the
field (and the widget) information but using the information to create a new
field, probably changed, is a lot of work. Do you have any idea on how to
present the field information to the user?

Best Regards,
Paulo Soares

> -Original Message-
> From: Leonard Rosenthol [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 17:24
> To:   Paulo Soares; [EMAIL PROTECTED]
> Subject:  RE: [iText-questions] Read PDF
> 
> At 5:01 PM +0100 5/10/02, Paulo Soares wrote:
> >  >  I also added support for getting some of the other "info"
> >>  that programs like Xpdf's pdfinfo and Acrobat's "Properties"
> >>  show...Let me know if you want it or not.
> >>
> > Yes, I do.
> 
>   I'll send under separate cover...
> 
> 
> > I'll start work with a stream parser to parse the appearances. I
> >suppose the biggest interest is to fill forms on the fly and this will
> >always be needed.
> >
> 
>   Parsing the appearances isn't all that important for forms, 
> etc.  It's more important to be able to read the AcroFrom dict, find 
> the form fields and their values.  THEN putting in new ones.   But 
> that's also part and parsel of the whole issue of being able to read 
> in and write out non-content.
> 
>   I've got a stream parser we can use when the need for it comes.
> 
> 
> LDR
> -- 
> --
> -
> Leonard Rosenthol
> 
> Chief Technical Officer  
> PDF Sages, Inc.  215-629-3700 (voice)

___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] Encripted PDFs

2002-05-10 Thread Josh Ellison

I have been using your product for over a year now and I am very happy with how it 
works.  I got a
new task now, I am trying to put a bunch of PDFs into one big PDF so they can easily 
be printed out
in order.  I came across a problem.  I noticed that your program can't open encripted 
PDFs.  I
realize this isn't a bug, it is just how it is.  I was just wondering if there is a 
way to output
encripted PDFs along with other PDFs in one big PDF.  I'm using the PDFReader class to 
open a PDF
and write it to my PDFDocument.  Is there another way to do this that will work with 
encripted PDFs?


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



RE: [iText-questions] Read PDF

2002-05-10 Thread Leonard Rosenthol

At 5:01 PM +0100 5/10/02, Paulo Soares wrote:
>  >I also added support for getting some of the other "info"
>>  that programs like Xpdf's pdfinfo and Acrobat's "Properties"
>>  show...Let me know if you want it or not.
>>
>   Yes, I do.

I'll send under separate cover...


>   I'll start work with a stream parser to parse the appearances. I
>suppose the biggest interest is to fill forms on the fly and this will
>always be needed.
>

Parsing the appearances isn't all that important for forms, 
etc.  It's more important to be able to read the AcroFrom dict, find 
the form fields and their values.  THEN putting in new ones.   But 
that's also part and parsel of the whole issue of being able to read 
in and write out non-content.

I've got a stream parser we can use when the need for it comes.


LDR
-- 
---
Leonard Rosenthol
Chief Technical Officer  
PDF Sages, Inc.  215-629-3700 (voice)


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



RE: [iText-questions] Read PDF

2002-05-10 Thread Paulo Soares



> -Original Message-
> From: Leonard Rosenthol [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 13:33
> To:   Paulo Soares; 'Fred'; [EMAIL PROTECTED]
> Subject:  RE: [iText-questions] Read PDF
> 
> At 10:49 AM +0100 5/10/02, Paulo Soares wrote:
> >Extracting the info was 30 minutes work.
> 
>   Exactly.  I'll see what you did, and how it compares to mine. 
> [time passes] I like what you did with the HashMap - definitely makes 
> more sense then what I was doing with individual calls for each one.
> 
>   I also added support for getting some of the other "info" 
> that programs like Xpdf's pdfinfo and Acrobat's "Properties" 
> show...Let me know if you want it or not.
> 
Yes, I do.

> >I'm tempted to start work to
> >extract information on the outlines and probably annotations (this only
> >leaves the forms behind) but the problem is how to expose the
> information.
> 
>   Feel free to start on forms, since that's what more people 
> (myself included) will find the most useful.  Of course, almost all 
> of this info is only half useful, as you also need to the 
> "manipulating" part that Bruno and I have been discussing...
> 
I'll start work with a stream parser to parse the appearances. I
suppose the biggest interest is to fill forms on the fly and this will
always be needed.

Best Regards,
Paulo Soares

> Leonard
> -- 
> --
> -
> Leonard Rosenthol
> 
> Chief Technical Officer  
> PDF Sages, Inc.  215-629-3700 (voice)

___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] Charts to PDF...

2002-05-10 Thread David Gilbert

I took a look at your example---thanks---and now I have some code that 
displays Unicode characters using the Arial Unicode MS font (I don't have the 
font you used in your code).  I create the DefaultFontMapper object (based on 
your code, modified for my font directory on Linux):

DefaultFontMapper mapper = new DefaultFontMapper();
mapper.insertDirectory("/opt/jbuilder5/jdk1.3/jre/lib/fonts");
DefaultFontMapper.BaseFontParameters pp = mapper.getBaseFontParameters("Arial 
Unicode MS");
if (pp!=null) {
pp.encoding = BaseFont.IDENTITY_H;
}

After looking at the code in DefaultFontMapper I can see that the code above 
is changing the encoding from CP1252 to IDENTITY_H.  Can you explain what 
that means, I'm a little out of my depth with fonts.  I've heard of Cp1252, 
but what is IDENTITY_H.

Regards,

DG.

P.S.  While reviewing older posts, I found your request for the output of a 
small Java program that lists the available fonts on Linux.  Do you still 
need that output?

On Thursday 09 May 2002 5:30 pm, Paulo Soares wrote:
> Now that we are at it, the way you do the charts is the right way but won't
> support other charsets. You'll have to use DefaultFontMapper to map pdf
> fonts to awt fonts. I have an example at http://www.geocities.com/itextpdf
> to map a japanese font that may be useful. The example is free_chart.java.
>
> Best Regards,
> Paulo Soares


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



RE: [iText-questions] trouble with PdfPTable

2002-05-10 Thread Paulo Soares

PdfPTable works this way:

- each row is independent of other rows

- the height of all the cells in a single row is calculated

- the height of that row will be the height of the tallest cell in that row

- the process repeats for each row. NO height is passed from row to row.

If you have more questions regarding this, draw the expected table in GIF,
PNG ot JPG so that I can see graphically the result.

Best Regards,
Paulo Soares

> -Original Message-
> From: anwar mahmood [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 13:55
> To:   [EMAIL PROTECTED]; Paulo Soares
> Subject:  RE: [iText-questions] trouble with PdfPTable
> 
>  i want the height of each row in accoradance with the data in that
> row.like first row has a height of 25, second 20,third 25 and so on
> according to the data..
> the data will be dynamic so each row should adjust the height
> accordingly.presently each row has the height of the row with max. data..
> --
> 
> On Fri, 10 May 2002 11:17:57  
>  Paulo Soares wrote:
> >Can you present a picture of the expected result?
> >
> >Best Regards,
> >Paulo Soares
> >
> >> -Original Message-
> >> From:  anwar mahmood [SMTP:[EMAIL PROTECTED]]
> >> Sent:  Friday, May 10, 2002 11:14
> >> To:[EMAIL PROTECTED]; Paulo Soares
> >> Subject:   RE: [iText-questions] trouble with PdfPTable
> >> 
> >> i really expected this only. so is there any way to avoid this?
> >> 
> >> --
> >> 
> >> On Fri, 10 May 2002 10:26:49  
> >>  Paulo Soares wrote:
> >> >What do you expected to happen for a table?
> >> >
> >> >Best Regards,
> >> >Paulo Soares
> >> >
> >> >> -Original Message-
> >> >> From:   anwar mahmood [SMTP:[EMAIL PROTECTED]]
> >> >> Sent:   Friday, May 10, 2002 10:07
> >> >> To: [EMAIL PROTECTED]
> >> >> Subject:[iText-questions] trouble with PdfPTable
> >> >> 
> >> >> Hi,
> >> >> I am using PdfPTable for generating reports. The problem is if in
> one
> >> cell
> >> >> the data is very large then the height of this partcular becomes the
> >> >> height of all the cells. In short all the rows are of the height of
> the
> >> of
> >> >> the row with max height.
> >> >> If i use setFixedHeight then data is getting truncated. 
> >> >> what should i do??
> >> >> 
> >> >> thanx in advance.
> >> >> 
> >> >> anwar 
> >> >> 
> >> >> 
> >> >> 
> >> >> ___
> >> >> 
> >> >> Have big pipes? SourceForge.net is looking for download mirrors. We
> >> supply
> >> >> the hardware. You get the recognition. Email Us:
> >> [EMAIL PROTECTED]
> >> >> ___
> >> >> iText-questions mailing list
> >> >> [EMAIL PROTECTED]
> >> >> https://lists.sourceforge.net/lists/listinfo/itext-questions
> >> >
> >> 
> >
> 

___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] XML - PDF questions

2002-05-10 Thread Shrikant Shetty

hi,

I am evaluating Itext for building a report  (XML - PDF). I am able to 
build most part of it but there some problems while drawing lines & 
printing headers.

My report format is like this :


Status : Assigned
  
--
id : 1201   Submitted by: Herman, Pete  Submitted: 01/02/02

blah  blah  blah

  
---
id : 1202   Submitted by: Waugh, Steve  Submitted: 01/02/02

blah  blah  blah

  
---
Status : Impact

id : 1201   Submitted by: Herman, Pete  Submitted: 01/02/02

blah  blah  blah

  
---

Now whenever I am on a new page I have to print the "STATUS" and a line 
below it.
The problem is
a) how do i get the current "STATUS" value in the onStartPage (PdfWriter 
writer, Document document) Event / Method.
i.e How do I use PdfWriter / document to access the data ?.

b) Is it possible to access the XML tags in these Events. if so How?.

c) I am drawing a line using  tag, but I cannot alter its 
width. Is it possible to draw
lines using XML tags?.

d) how do I use generic tag functionality in XML.  ex. (Status)
so that I can trap the generic tag event  and customize the page?.

I have seen Chap 1201 example and have used it to build the footer of my 
page dynamically .
But how do I use it to access tags ("STATUS")?

I tried using Chapters & Sections. but it doesn't let me use 
 inside these tags.


Thanks In Advance
Shrikant.


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



RE: [iText-questions] Absolutely position + regular formatting

2002-05-10 Thread Paulo Soares

Use ColumnText for all the text placement instead of Document.add(). There's
no way to skip a region.

Best Regards,
Paulo Soares

> -Original Message-
> From: Aviram Jenik [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 13:17
> To:   [EMAIL PROTECTED]
> Subject:  [iText-questions] Absolutely position + regular formatting
> 
> Hi,
> 
> I want to use the PdfContentByte to write directly to the PDF document,
> but
> to also use the regular Paragraph classes that take care of the alignment,
> etc.
> How can I combine the two? The pdfDocument will overwrite the content byte
> area.
> How can I tell the pdfDocument to skip pass the content byte area?
> 
> Thanks,
> Aviram Jenik
> Beyond Security Ltd.
> http://www.BeyondSecurity.com
> http://www.SecuriTeam.com
> 
> Know that you're safe:
> http://www.AutomatedScanning.com
> 
> 
> 
> ___
> 
> Have big pipes? SourceForge.net is looking for download mirrors. We supply
> the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions

___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



RE: [iText-questions] trouble with PdfPTable

2002-05-10 Thread anwar mahmood

 i want the height of each row in accoradance with the data in that row.like first row 
has a height of 25, second 20,third 25 and so on according to the data..
the data will be dynamic so each row should adjust the height accordingly.presently 
each row has the height of the row with max. data..
--

On Fri, 10 May 2002 11:17:57  
 Paulo Soares wrote:
>Can you present a picture of the expected result?
>
>Best Regards,
>Paulo Soares
>
>> -Original Message-
>> From:anwar mahmood [SMTP:[EMAIL PROTECTED]]
>> Sent:Friday, May 10, 2002 11:14
>> To:  [EMAIL PROTECTED]; Paulo Soares
>> Subject: RE: [iText-questions] trouble with PdfPTable
>> 
>> i really expected this only. so is there any way to avoid this?
>> 
>> --
>> 
>> On Fri, 10 May 2002 10:26:49  
>>  Paulo Soares wrote:
>> >What do you expected to happen for a table?
>> >
>> >Best Regards,
>> >Paulo Soares
>> >
>> >> -Original Message-
>> >> From: anwar mahmood [SMTP:[EMAIL PROTECTED]]
>> >> Sent: Friday, May 10, 2002 10:07
>> >> To:   [EMAIL PROTECTED]
>> >> Subject:  [iText-questions] trouble with PdfPTable
>> >> 
>> >> Hi,
>> >> I am using PdfPTable for generating reports. The problem is if in one
>> cell
>> >> the data is very large then the height of this partcular becomes the
>> >> height of all the cells. In short all the rows are of the height of the
>> of
>> >> the row with max height.
>> >> If i use setFixedHeight then data is getting truncated. 
>> >> what should i do??
>> >> 
>> >> thanx in advance.
>> >> 
>> >> anwar 
>> >> 
>> >> 
>> >> 
>> >> ___
>> >> 
>> >> Have big pipes? SourceForge.net is looking for download mirrors. We
>> supply
>> >> the hardware. You get the recognition. Email Us:
>> [EMAIL PROTECTED]
>> >> ___
>> >> iText-questions mailing list
>> >> [EMAIL PROTECTED]
>> >> https://lists.sourceforge.net/lists/listinfo/itext-questions
>> >
>> 
>



___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



RE: [iText-questions] Read PDF

2002-05-10 Thread Leonard Rosenthol

At 10:49 AM +0100 5/10/02, Paulo Soares wrote:
>Extracting the info was 30 minutes work.

Exactly.  I'll see what you did, and how it compares to mine. 
[time passes] I like what you did with the HashMap - definitely makes 
more sense then what I was doing with individual calls for each one.

I also added support for getting some of the other "info" 
that programs like Xpdf's pdfinfo and Acrobat's "Properties" 
show...Let me know if you want it or not.


>I'm tempted to start work to
>extract information on the outlines and probably annotations (this only
>leaves the forms behind) but the problem is how to expose the information.

Feel free to start on forms, since that's what more people 
(myself included) will find the most useful.  Of course, almost all 
of this info is only half useful, as you also need to the 
"manipulating" part that Bruno and I have been discussing...


Leonard
-- 
---
Leonard Rosenthol
Chief Technical Officer  
PDF Sages, Inc.  215-629-3700 (voice)


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] Absolutely position + regular formatting

2002-05-10 Thread Aviram Jenik

Hi,

I want to use the PdfContentByte to write directly to the PDF document, but
to also use the regular Paragraph classes that take care of the alignment,
etc.
How can I combine the two? The pdfDocument will overwrite the content byte
area.
How can I tell the pdfDocument to skip pass the content byte area?

Thanks,
Aviram Jenik
Beyond Security Ltd.
http://www.BeyondSecurity.com
http://www.SecuriTeam.com

Know that you're safe:
http://www.AutomatedScanning.com



___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



RE: [iText-questions] trouble with PdfPTable

2002-05-10 Thread Paulo Soares

Can you present a picture of the expected result?

Best Regards,
Paulo Soares

> -Original Message-
> From: anwar mahmood [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 11:14
> To:   [EMAIL PROTECTED]; Paulo Soares
> Subject:  RE: [iText-questions] trouble with PdfPTable
> 
> i really expected this only. so is there any way to avoid this?
> 
> --
> 
> On Fri, 10 May 2002 10:26:49  
>  Paulo Soares wrote:
> >What do you expected to happen for a table?
> >
> >Best Regards,
> >Paulo Soares
> >
> >> -Original Message-
> >> From:  anwar mahmood [SMTP:[EMAIL PROTECTED]]
> >> Sent:  Friday, May 10, 2002 10:07
> >> To:[EMAIL PROTECTED]
> >> Subject:   [iText-questions] trouble with PdfPTable
> >> 
> >> Hi,
> >> I am using PdfPTable for generating reports. The problem is if in one
> cell
> >> the data is very large then the height of this partcular becomes the
> >> height of all the cells. In short all the rows are of the height of the
> of
> >> the row with max height.
> >> If i use setFixedHeight then data is getting truncated. 
> >> what should i do??
> >> 
> >> thanx in advance.
> >> 
> >> anwar 
> >> 
> >> 
> >> 
> >> ___
> >> 
> >> Have big pipes? SourceForge.net is looking for download mirrors. We
> supply
> >> the hardware. You get the recognition. Email Us:
> [EMAIL PROTECTED]
> >> ___
> >> iText-questions mailing list
> >> [EMAIL PROTECTED]
> >> https://lists.sourceforge.net/lists/listinfo/itext-questions
> >
> 

___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



RE: [iText-questions] trouble with PdfPTable

2002-05-10 Thread anwar mahmood

i really expected this only. so is there any way to avoid this?

--

On Fri, 10 May 2002 10:26:49  
 Paulo Soares wrote:
>What do you expected to happen for a table?
>
>Best Regards,
>Paulo Soares
>
>> -Original Message-
>> From:anwar mahmood [SMTP:[EMAIL PROTECTED]]
>> Sent:Friday, May 10, 2002 10:07
>> To:  [EMAIL PROTECTED]
>> Subject: [iText-questions] trouble with PdfPTable
>> 
>> Hi,
>> I am using PdfPTable for generating reports. The problem is if in one cell
>> the data is very large then the height of this partcular becomes the
>> height of all the cells. In short all the rows are of the height of the of
>> the row with max height.
>> If i use setFixedHeight then data is getting truncated. 
>> what should i do??
>> 
>> thanx in advance.
>> 
>> anwar 
>> 
>> 
>> 
>> ___
>> 
>> Have big pipes? SourceForge.net is looking for download mirrors. We supply
>> the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
>> ___
>> iText-questions mailing list
>> [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/itext-questions
>



___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



RE: [iText-questions] How to limited demo which runs for 30 days for my user

2002-05-10 Thread Paulo Soares

With so many decompilers floating around this will only give you
psychological relief not real security. You can have a file with some
encrypted information based on some registration key and date. The program
would need to find the file with the correct information to run.

Best Regards,
Paulo Soares

> -Original Message-
> From: andiyang [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 9:44
> To:   [EMAIL PROTECTED]
> Subject:  [iText-questions] How to limted demo which runs for 30 days
> for my user
> 
> hello:
> very  thank your quoting,I have a question want to ask to u! my
> project is a trial versions now. and I want to time limted demo which runs
> for 30 days for my user!
> for example 
> I donnot how to implement it use java!
>  by the way had u ICQ?
>Best regard !
>  andiyang

___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



RE: [iText-questions] Read PDF

2002-05-10 Thread Paulo Soares

Extracting the info was 30 minutes work. I'm tempted to start work to
extract information on the outlines and probably annotations (this only
leaves the forms behind) but the problem is how to expose the information. I
can do as PJ and show the start dictionary but I doubt that many would be
able to use it. I attach the info extraction.

Best Regards,
Paulo Soares

 <> 

> -Original Message-
> From: Leonard Rosenthol [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, May 09, 2002 20:23
> To:   Paulo Soares; 'Fred'; [EMAIL PROTECTED]
> Subject:  RE: [iText-questions] Read PDF
> 
> At 12:21 PM +0100 5/9/02, Paulo Soares wrote:
> >That will be available in the next release. If you are in a hurry I can
> send
> >you now the relevant files for you to compile (against my version at
> >http://www.getocities.com/itextpdf).
> >
> 
>   That's funny - I just added these to my version as well ;). 
> We should really coordinate this stuff to stop duplicating effort...
> 
> 
> LDR
> -- 
> --
> -
> Leonard Rosenthol
> 
> Chief Technical Officer  
> PDF Sages, Inc.  215-629-3700 (voice)



info.zip
Description: Binary data


RE: [iText-questions] trouble with PdfPTable

2002-05-10 Thread Paulo Soares

What do you expected to happen for a table?

Best Regards,
Paulo Soares

> -Original Message-
> From: anwar mahmood [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 10:07
> To:   [EMAIL PROTECTED]
> Subject:  [iText-questions] trouble with PdfPTable
> 
> Hi,
> I am using PdfPTable for generating reports. The problem is if in one cell
> the data is very large then the height of this partcular becomes the
> height of all the cells. In short all the rows are of the height of the of
> the row with max height.
> If i use setFixedHeight then data is getting truncated. 
> what should i do??
> 
> thanx in advance.
> 
> anwar 
> 
> 
> 
> ___
> 
> Have big pipes? SourceForge.net is looking for download mirrors. We supply
> the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions

___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



RE: [iText-questions] Help - Tables

2002-05-10 Thread Paulo Soares

Wrong iText version. Check the CLASSPATH.

Best Regards,
Paulo Soares

> -Original Message-
> From: Lord Zefyrus God [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 0:58
> To:   [EMAIL PROTECTED]
> Subject:  [iText-questions] Help - Tables
> 
> Hi all
> 
> I'm in need to put a table in a cell from another table, but i get the
> error 
> message "The method addCell invoked for type com.lowagie.text.Table with 
> arguments (com.lowagie.text.Table) is not defined"
> 
> 
> 
> My code
> Table table = new Table(7);
> int headerwidths[] = {10, 8, 16, 8, 8, 16,34};
> table.setWidths(headerwidths);
>   table.setPadding(4);
>   table.setSpacing(0);
> table.setWidth(100);
>   table.setBorder(Rectangle.NO_BORDER);
> ...
> table.addCell(new Phrase("DATA",
> FontFactory.getFont(FontFactory.HELVETICA, 
> 10, Font.BOLD)));
>   table.addCell(new Phrase("DES ALARME", 
> FontFactory.getFont(FontFactory.HELVETICA, 10, Font.BOLD)));
>   table.addCell(new Phrase("RES POR", 
> FontFactory.getFont(FontFactory.HELVETICA, 10, Font.BOLD)));
>   table.addCell(new Phrase("FECH LOG", 
> FontFactory.getFont(FontFactory.HELVETICA, 10, Font.BOLD)));
>   table.addCell(new Phrase("ATV ALARME", 
> FontFactory.getFont(FontFactory.HELVETICA, 10, Font.BOLD)));
>   table.addCell(new Phrase("RES POR", 
> FontFactory.getFont(FontFactory.HELVETICA, 10, Font.BOLD)));
> 
>   //criacao da tabela de ocorrencias
>   Table tableocort = new Table(3);
>   int headerwidths2[] = {25, 25, 50};
> tableocort.setWidths(headerwidths2);
>   tableocort.setPadding(4);
>   tableocort.setSpacing(0);
> tableocort.setWidth(100);
>   tableocort.setBorder(Rectangle.NO_BORDER);
>   tableocort.addCell(new Phrase("ATV ALARME", 
> FontFactory.getFont(FontFactory.HELVETICA, 10, Font.BOLD)));
>   tableocort.addCell(new Phrase("DES ALARME", 
> FontFactory.getFont(FontFactory.HELVETICA, 10, Font.BOLD)));
>   tableocort.addCell(new Phrase("MOTIVO", 
> FontFactory.getFont(FontFactory.HELVETICA, 10, Font.BOLD)));
>   table.addCell(tableocort);
> 
> 
> plz help, TKS
> 
> Zefyrus
> 
> _
> Get your FREE download of MSN Explorer at
> http://explorer.msn.com/intl.asp.
> 
> 
> ___
> 
> Have big pipes? SourceForge.net is looking for download mirrors. We supply
> the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions

___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



RE: [iText-questions] Absolute positioning

2002-05-10 Thread Paulo Soares

You need to create a new PdfTemplate and PdfGraphicsd2D for each page.

Best Regards.
Paulo Soares

> -Original Message-
> From: nagi mel [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, May 09, 2002 19:29
> To:   [EMAIL PROTECTED]
> Subject:  [iText-questions] Absolute positioning
> 
> Hi,
> 
> I am new to iText. We have a set of clases which render our reports using 
> the java graphic2D object.I am trying to use the iText API's to create 
> a pdf file using our current renderers.
>  
> I am using the java graphics2d object of the PDFTemplate
> to render my PDFfile
>   
> My problem is with creating the next page.Eventhough I call
> document.nextPage() 
> my stuff is rendered on the same page with text of each page overlapping 
> the text of the previous page 
>   
> Here is a sample of my code :
>   
>   
> //create  document
> com.lowagie.text.Document document = new com.lowagie.text.Document();
> PdfWriter writer = PdfWriter.getInstance(document, new
> FileOutputStream("fileName.pdf"));
> document.open();
> 
> //imageArea  is the rectangle to draw on and 
> //this  corresponds to one page and is calculated 
> //depending  on the type of report
> int w = imageArea.width;
> int h = imageArea.height;
> 
> PdfContentByte cb = writer.getDirectContent();
> 
> // draw using java  g2d
> PdfTemplate tp = cb.createTemplate(w, h);
> java.awt.Graphics2D g2d = tp.createGraphics(w, h);
> 
> //draw  text for the first page 
> //from  point , point.x =0 , point.y = 0 
> 
> //after  rendering first page add template 
> cb.addTemplate(tp, leftMagin, topMargin);
> 
> //go  to the next Page
> document.newPage();
> 
> //start  rendering next page from 
> //point  point.x = 0, point.y =0
> 
> //After  all pages are rendered
> 
> g2d.dispose();
> document.close();
> 
> //end 
> 
> Thanks,
> 
> nagi
> 
> 
> 
>   _  
> 
> Do You Yahoo!?
> Yahoo! Shopping  -
> Mother's Day is May 12th!

___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] trouble with PdfPTable

2002-05-10 Thread anwar mahmood

Hi,
I am using PdfPTable for generating reports. The problem is if in one cell the data is 
very large then the height of this partcular becomes the height of all the cells. In 
short all the rows are of the height of the of the row with max height.
If i use setFixedHeight then data is getting truncated. 
what should i do??

thanx in advance.

anwar 



___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] How to limted demo which runs for 30 days for my user

2002-05-10 Thread andiyang




hello:
very  thank your quoting,I have a 
question want to ask to u! my project is a trial versions now. and I want to 
time limted demo which runs for 30 days for my user!
for example http://big.faceless.org/products/download.jsp
I donnot how to implement it use java!
 by the way had u ICQ?
   Best regard !
 
andiyang