AW: [iText-questions] BaseFont.setKerning()

2004-12-02 Thread Martin Resch
Hello Paolo & Bruno,

is the setKerning-feature planned to be integrated in i.e. Chunks,
Phrases, PdfPCells, ... in one of the next versions of iText?


Best Regards,

Martin



Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Paulo
Soares
Gesendet: Donnerstag, 2. Dezember 2004 22:04
An: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Betreff: RE: [iText-questions] BaseFont.setKerning()


Kerning only works in PdfContentByte.



From: [EMAIL PROTECTED] on behalf of Martin Resch
Sent: Thu 02-Dec-04 18:31
To: [EMAIL PROTECTED]
Subject: [iText-questions] BaseFont.setKerning()



Hello everyone,

this time I've a problem with BaseFont.setKerning(). Here's the
code-snip:

PdfWriter writer = PdfWriter.getInstance(document, new
FileOutputStream("test.pdf"));
document.open();
PdfContentByte cb = writer.getDirectContent();
PdfPTable table = new PdfPTable(1);
   
Font font = FontFactory.getFont(FontFactory.TIMES,
BaseFont.WINANSI, true, 20, Font.NORMAL, Color.GREEN);
BaseFont bf = font.getBaseFont();
bf.setKerning('t', 'e', 30);
   
Phrase phrase = new Phrase("test", font);

PdfPCell cell = new PdfPCell(phrase);
cell.setFixedHeight(100f);
table.addCell(cell);
table.setTotalWidth(300);
table.writeSelectedRows(0, 1, 100, 700, cb);

document.close();

In the generated PDF there's no kerning between the 't' and the 'e'. Any
ideas?

Thanks for your help!


Best regards,

Martin



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


BEGIN:VCARD
VERSION:2.1
N:Resch;Martin;;Herr
FN:Martin Resch ([EMAIL PROTECTED]) ([EMAIL PROTECTED])
ORG:adaptions GmbH
TEL;WORK;VOICE:+49 (8031) 35638 - 37
ADR;WORK:;;Kunstmühlstr. 17;Rosenheim;Bayern;83026;Deutschland
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Kunstm=FChlstr. 17=0D=0ARosenheim, Bayern 83026=0D=0ADeutschland
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20040331T114112Z
END:VCARD


[iText-questions] Maxicode and PDF417

2004-12-02 Thread tle
Hi,
I have two questions regarding these 2D barcode formats:
1. It seems that Maxicode is not supported by iText. Is there
any plan to add Maxicode in the future? (I do know there are
Maxicode projects out there. I just wonder about a more 
'integrated' solution that's all).

2. It seems rather unintuitive that BarcodePDF417 is not
a subclass of Barcode. I suppose the reason is because
Barcode is designed to be 1D. But it seems to me the 2D
class does share many of the same interface with 1D Barcode
(for example setText/setCode, setHeight,...). If we should
adhere to a strict design, can we have something like
a grand Barcode super-interface, and then two sub-interface's
(or abstract classes) Barcode1D and Barcode2D? Then
we can treat barcode instances in a more ubiquitous way,
for example:
Barcode bc = (Barcode)Class.forName(clsName).newInstance();
...
bc.getImage();

which right now is impossible because BarcodePDF417 does
not share a common ancestor.
Thank you.


BarcodePDF417



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] Image moves to next page

2004-12-02 Thread Steve Appling
Is there a reason that isn't the default?  It is the behaviour I think most 
people would expect.
- Original Message - 
From: "Paulo Soares" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, December 02, 2004 4:01 PM
Subject: RE: [iText-questions] Image moves to next page


PdfWriter.setStrictImageSequence(true)



From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED]
Sent: Thu 02-Dec-04 14:05
To: [EMAIL PROTECTED]
Subject: [iText-questions] Image moves to next page



Paulo,
I create a pdf that consist of: text | an image | text. The image does not fit 
on the current page
after the initial text was added. What happens now is that the text that should 
follow the image is
then printed on the current page and the image is moved to the next page. Is 
there a way to avoid
this by behaviour and leave a blank space on the current page and then move the 
image to the next
page followed by the rest of the text.

I know this question was posted before but I do not understood the suggested 
solution then.

Thanks a lot!
Giovanni





---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


RE: [iText-questions] BaseFont.setKerning()

2004-12-02 Thread Paulo Soares
Title: [iText-questions] BaseFont.setKerning()






Kerning only works in 
PdfContentByte.


From: 
[EMAIL PROTECTED] on behalf of Martin 
ReschSent: Thu 02-Dec-04 18:31To: 
[EMAIL PROTECTED]Subject: [iText-questions] 
BaseFont.setKerning()

Hello 
everyone,    this time I've a 
problem with BaseFont.setKerning(). Here's 
thecode-snip:    
    PdfWriter writer = 
PdfWriter.getInstance(document, 
newFileOutputStream("test.pdf"));    
document.open();    
PdfContentByte cb = 
writer.getDirectContent();    
PdfPTable table = new 
PdfPTable(1);   
    Font font = 
FontFactory.getFont(FontFactory.TIMES,BaseFont.WINANSI, true, 20, 
Font.NORMAL, 
Color.GREEN);    
BaseFont bf = 
font.getBaseFont();    
bf.setKerning('t', 'e', 
30);   
    Phrase phrase = new Phrase("test", 
font);    
PdfPCell cell = new 
PdfPCell(phrase);    
cell.setFixedHeight(100f);    
table.addCell(cell);    
table.setTotalWidth(300);    
table.writeSelectedRows(0, 1, 100, 700, 
cb);    
document.close();In the generated PDF there's no kerning between the 't' 
and the 'e'. Anyideas?Thanks for your help!Best 
regards,Martin---SF 
email is sponsored by - The IT Product GuideRead honest & candid reviews 
on hundreds of IT Products from real users.Discover which products truly 
live up to the hype. Start reading now.http://productguide.itmanagersjournal.com/___iText-questions 
mailing list[EMAIL PROTECTED]https://lists.sourceforge.net/lists/listinfo/itext-questions




RE: [iText-questions] Image moves to next page

2004-12-02 Thread Paulo Soares



PdfWriter.setStrictImageSequence(true)


From: 
[EMAIL PROTECTED] on behalf of 
[EMAIL PROTECTED]Sent: Thu 02-Dec-04 14:05To: 
[EMAIL PROTECTED]Subject: [iText-questions] Image 
moves to next page

Paulo,I create a pdf that consist of: text | an image | text. The image 
does not fit on the current page after the initial text was added. What happens 
now is that the text that should follow the image is then printed on the current 
page and the image is moved to the next page. Is there a way to avoid this by 
behaviour and leave a blank space on the current page and then move the image to 
the next page followed by the rest of the text.I know this question was 
posted before but I do not understood the suggested solution then.Thanks 
a lot!Giovanni


[iText-questions] Image moves to next page

2004-12-02 Thread giovanni . roos

Paulo,
I create a pdf that consist of: text | an image | text. The image does not fit on the current page after the initial text was added. What happens now is that the text that should follow the image is then printed on the current page and the image is moved to the next page. Is there a way to avoid this by behaviour and leave a blank space on the current page and then move the image to the next page followed by the rest of the text.

I know this question was posted before but I do not understood the suggested solution then.

Thanks a lot!
Giovanni

[iText-questions] BaseFont.setKerning()

2004-12-02 Thread Martin Resch
Hello everyone,

this time I've a problem with BaseFont.setKerning(). Here's the
code-snip:

PdfWriter writer = PdfWriter.getInstance(document, new
FileOutputStream("test.pdf"));
document.open();
PdfContentByte cb = writer.getDirectContent();
PdfPTable table = new PdfPTable(1);

Font font = FontFactory.getFont(FontFactory.TIMES,
BaseFont.WINANSI, true, 20, Font.NORMAL, Color.GREEN);
BaseFont bf = font.getBaseFont();
bf.setKerning('t', 'e', 30);

Phrase phrase = new Phrase("test", font);

PdfPCell cell = new PdfPCell(phrase);
cell.setFixedHeight(100f);
table.addCell(cell);
table.setTotalWidth(300);
table.writeSelectedRows(0, 1, 100, 700, cb);

document.close();

In the generated PDF there's no kerning between the 't' and the 'e'. Any
ideas?

Thanks for your help!


Best regards,

Martin



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] barcode with the new itext lib

2004-12-02 Thread Thomas Kübler
hallo,
i have a little problem to produce barcodes with text. all works fine
until i change the itext lib from version 1.0 to 1.1. now i get the
message < All the fonts must be embedded. >, but i don't know which fonts
he ( the lib ) want's.
thanks thomas kübler

---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


RE: [iText-questions] (no subject)

2004-12-02 Thread Paulo Soares
It's trivial to get the other boxes. To get the art box, for example:

PdfReader reader = ...; 
PdfDictionary page = reader.getPageN(1);
PdfArray artBox = (PdfArray)PdfReader.getPdfObject(page.get(PdfName.ARTBOX));
Rectangle rect = null;
if (artBox != null)
rect = PdfReader.getNormalizedRectangle(artBox);

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Henning Vortisch
> Sent: Thursday, December 02, 2004 1:03 PM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] (no subject)
> 
> I need to know the trim-, crop-, bleed and artbox of an 
> imported page for an
> impostion-programm for pdf. I saw getCropBox in PdfReader.
> Is it planned, to implement the other Boxes in the PdfReader, 
> PdfPage and
> PdfImportedPage?
> 
> The Boxes above are characteristics of visual pages.
> So programming for me would be more easy, if a 
> PdfImportedPage would have
> these members.
> Same with PdfPage.
> 
> I would programm this for you, if you think this will be good 
> for itext.
> I don't know the code very well because I use itext as black box.
> So I think to change PdfReader, PdfImportedPage and PdfPage and some
> constants will cost half an hour for you.
> I will need one ore more days because I don't know the 
> details of itext and
> have to inspect the code very well.
> 
> 
> mit freundlichen Grüßen
> 
> Henning Vortisch
> 
>  Voigt Druck GmbH | Henning Vortisch
>  tel 05371 985515 | fax 05371 985550
> email [EMAIL PROTECTED] 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ---
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from 
> real users.
> Discover which products truly live up to the hype. Start reading now. 
> http://productguide.itmanagersjournal.com/
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


RE: [iText-questions] Bold font changed to plain font after flattening

2004-12-02 Thread Paulo Soares



I need the the pdf and the code so that I can reproduce the 
problem.

  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Dan 
  ChenSent: Thursday, December 02, 2004 3:15 PMTo: 
  [EMAIL PROTECTED]Subject: [iText-questions] 
  Bold font changed to plain font after flattening
  
  
  Hi,
   
  I have a form field as 
  below:
   
  17 0 obj
  
  /F 
  4
  /T(patient.name.fn)
  /BS<>
  /V(Smith)
  /Ff 
  1
  /Rect[56.692 660.214 93.062 
  648.214]
  /Subtype/Widget
  /DA(/HeBo 10.0 Tf 0 g\n)
  /FT/Tx>>
  endobj
   
  The name was 
  displayed as bold font before flattening. After flattening, the name was 
  changed to plain font.
  Does anyone know 
  why? If I want to keep the bold font after flattening, what I need to 
  do?
   
  Thanks in 
  advance
   
  Dan


RE: [iText-questions] appending a file-pdf to a stream-pdf

2004-12-02 Thread Paulo Soares



There is no such thing as a "streamed pdf". To add more pages you 
need to have the pdf in memory or in file. Note that all the PdfReader 
constructors, except when reading from file, read all the pdf to an internal 
byte array first.

  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  Allistair CrossleySent: Thursday, December 02, 2004 1:10 
  PMTo: [EMAIL PROTECTED]Subject: 
  [iText-questions] appending a file-pdf to a stream-pdf
  
  Hi 
  All,
   
  I am using 
  JasperReports to generate a PDF on-the-fly that I stream to the client. 
  However, before I stream it, I need to somehow add a PDF from a file (terms 
  and conds) to it. 
   
  Does iText 
  have any dynamic way of manipulating an existing stream? This is the call I 
  make to send it to the user...
   
  JasperRunManager.runReportToPdfStream(getClass().getClassLoader().getResourceAsStream( "com/comp/newmedia/intranet/pof/dto/pof.jasper"), 
  response.getOutputStream(),parameters, 
  lineItemDataSource   );
   
  I am 
  guessing not but maybe I get lucky!
   
  Cheers, 
  Allistair.---QAS 
  Ltd.Developers of QuickAddress Softwarewww.qas.comRegistered in England: No 
  2582055Registered in Australia: No 082 851 
  474---


[iText-questions] Bold font changed to plain font after flattening

2004-12-02 Thread Dan Chen








Hi,

 

I have a form field as below:

 

17
0 obj

<>

/F 4

/T(patient.name.fn)

/BS<>

/V(Smith)

/Ff 1

/Rect[56.692
660.214 93.062 648.214]

/Subtype/Widget

/DA(/HeBo
10.0 Tf 0 g\n)

/FT/Tx>>

endobj

 

The name was displayed
as bold font before flattening. After flattening, the name was changed to plain
font.

Does anyone know
why? If I want to keep the bold font after flattening, what I need to do?

 

Thanks in advance

 

Dan








[iText-questions] Re: (no subject)

2004-12-02 Thread Sven Henckel
Henning Vortisch  voigtdruck.de> writes:

> I need to know the trim-, crop-, bleed and artbox of an imported page for an
> impostion-programm for pdf. I saw getCropBox in PdfReader.
> Is it planned, to implement the other Boxes in the PdfReader, PdfPage and
> PdfImportedPage?

The latestet version of iText (1.1) supports all boxes.

usage:
Rectangle trimBox = pdfReader.getBoxSize(pageNumber, "trim");
(names: "media", "crop", "trim", "bleed", "art")



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


RE: [iText-questions] Acrobat error

2004-12-02 Thread Malloy, James



Thats 
where I got the list of destination syntaxes I tried. I checked the 1.3 and 1.6 
specs to make sure nothing had changed - nothing had.

  -Original Message-From: Leonard Rosenthol 
  [mailto:[EMAIL PROTECTED]Sent: Thursday, December 02, 2004 
  10:01 AMTo: Malloy, James; 
  [EMAIL PROTECTED]Subject: RE: [iText-questions] 
  Acrobat errorAt 09:25 AM 12/2/2004, Malloy, James 
  wrote:
  I have discovered the cause of this problem. I am still unsure how to 
fix it 
  however.Did 
  you check the PDFRef for the correct syntax for 
  destinations??Leonard
  ---
  Leonard 
  Rosenthol    
  
  Chief Technical 
  Officer  
  
  PDF Sages, 
  Inc.  
  215-938-7080 (voice)
   
  215-938-0880 (fax)

-
This e-mail transmission may contain information that is proprietary, privileged and/or confidential and is intended exclusively for the person(s) to whom it is addressed. Any use, copying, retention or disclosure by any person other than the intended recipient or the intended recipient's designees is strictly prohibited. If you are not the intended recipient or their designee, please notify the sender immediately by return e-mail and delete all copies. 

-


[iText-questions] Bold font changed to plain font after flattening

2004-12-02 Thread Dan Chen








Hi,

 

I have a form field as below:

 

17
0 obj



/F 4

/T(patient.name.fn)

/BS<>

/V(Smith)

/Ff 1

/Rect[56.692
660.214 93.062 648.214]

/Subtype/Widget

/DA(/HeBo 10.0 Tf
0 g\n)

/FT/Tx>>

endobj

 

The name was
displayed as bold font before flattening. After flattening, the name was
changed to plain font.

Does anyone know
why? If I want to keep the bold font after flattening, what I need to do?

 

Thanks in advance

 

Dan








RE: [iText-questions] Acrobat error

2004-12-02 Thread Paulo Soares



That's probably a bug with Acrobat. Note that some of 
the options require more parameters.
 

  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  Malloy, JamesSent: Thursday, December 02, 2004 2:26 
  PMTo: Leonard Rosenthol; 
  [EMAIL PROTECTED]Subject: RE: [iText-questions] 
  Acrobat error
  
  I 
  have discovered the cause of this problem. I am still unsure how to fix it 
  however.
   
  I am 
  using a map to add an outline to a PDF I am building. 
   
  If I 
  use the following destination syntaxes the problem occurs:  
  
  map.put("Page", currPageNr + " Fit");
  map.put("Page", currPageNr + " 
  FitV");
  map.put("Page", 
  currPageNr + " FitBV");
   
  If I 
  use:
  
  map.put("Page", currPageNr + " FitH");
  map.put("Page", currPageNr + " 
  FitB");
  map.put("Page", 
  currPageNr + " FitBH");
   
  The problem does not occur
   
  I should also state that my previous email was 
  incorrect. This problem only occurs in Acrobat/ Reader 5.0 and does not seem 
  to occur in any version of Reader 6.0. Sorry for the 
  misinformation.
   
   
   
  
-Original Message-From: Leonard Rosenthol 
[mailto:[EMAIL PROTECTED]Sent: Tuesday, November 30, 2004 
4:52 PMTo: Malloy, James; 
[EMAIL PROTECTED]Subject: Re: 
[iText-questions] Acrobat errorAt 04:15 PM 11/30/2004, 
Malloy, James wrote:
I am getting the following error from Acrobat: : 
What 
version of Acrobat?  Reader, Standard or Professional?
My application uses Itext to merge/ append pdf forms with bookmarks 
  using PdfCopyFields. 
What 
version of 
iText?Can 
you provide a sample PDF with the problem?Leonard
---
Leonard 
Rosenthol    

Chief Technical 
Officer  

PDF Sages, 
Inc.  
215-938-7080 (voice)
 
215-938-0880 (fax)
  -This e-mail 
  transmission may contain information that is proprietary, privileged and/or 
  confidential and is intended exclusively for the person(s) to whom it is 
  addressed. Any use, copying, retention or disclosure by any person other than 
  the intended recipient or the intended recipient's designees is strictly 
  prohibited. If you are not the intended recipient or their designee, please 
  notify the sender immediately by return e-mail and delete all copies. 
  -


RE: [iText-questions] Acrobat error

2004-12-02 Thread Leonard Rosenthol


At 09:25 AM 12/2/2004, Malloy, James wrote:
I
have discovered the cause of this problem. I am still unsure how to fix
it however.

Did you
check the PDFRef for the correct syntax for destinations??

Leonard


---
Leonard
Rosenthol   

Chief Technical
Officer 

PDF Sages,
Inc. 
215-938-7080 (voice)

215-938-0880 (fax)



[iText-questions] (no subject)

2004-12-02 Thread Henning Vortisch
I need to know the trim-, crop-, bleed and artbox of an imported page for an
impostion-programm for pdf. I saw getCropBox in PdfReader.
Is it planned, to implement the other Boxes in the PdfReader, PdfPage and
PdfImportedPage?

The Boxes above are characteristics of visual pages.
So programming for me would be more easy, if a PdfImportedPage would have
these members.
Same with PdfPage.

I would programm this for you, if you think this will be good for itext.
I don't know the code very well because I use itext as black box.
So I think to change PdfReader, PdfImportedPage and PdfPage and some
constants will cost half an hour for you.
I will need one ore more days because I don't know the details of itext and
have to inspect the code very well.


mit freundlichen Grüßen

Henning Vortisch

 Voigt Druck GmbH | Henning Vortisch
 tel 05371 985515 | fax 05371 985550
email [EMAIL PROTECTED] 










---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


RE: [iText-questions] Acrobat error

2004-12-02 Thread Malloy, James



I have 
discovered the cause of this problem. I am still unsure how to fix it 
however.
 
I am 
using a map to add an outline to a PDF I am building. 
 
If I 
use the following destination syntaxes the problem occurs:  

map.put("Page", currPageNr + " Fit");
map.put("Page", currPageNr + " 
FitV");
map.put("Page", 
currPageNr + " FitBV");
 
If I 
use:

map.put("Page", currPageNr + " FitH");
map.put("Page", currPageNr + " 
FitB");
map.put("Page", 
currPageNr + " FitBH");
 
The problem does not occur
 
I should also state that my previous email was 
incorrect. This problem only occurs in Acrobat/ Reader 5.0 and does not seem to 
occur in any version of Reader 6.0. Sorry for the 
misinformation.
 
 
 

  -Original Message-From: Leonard Rosenthol 
  [mailto:[EMAIL PROTECTED]Sent: Tuesday, November 30, 2004 4:52 
  PMTo: Malloy, James; 
  [EMAIL PROTECTED]Subject: Re: [iText-questions] 
  Acrobat errorAt 04:15 PM 11/30/2004, Malloy, James 
  wrote:
  I am getting the following error from Acrobat: : 
  What 
  version of Acrobat?  Reader, Standard or Professional?
  My application uses Itext to merge/ append pdf forms with bookmarks 
using PdfCopyFields. 
  What 
  version of 
  iText?Can 
  you provide a sample PDF with the problem?Leonard
  ---
  Leonard 
  Rosenthol    
  
  Chief Technical 
  Officer  
  
  PDF Sages, 
  Inc.  
  215-938-7080 (voice)
   
  215-938-0880 (fax)

-
This e-mail transmission may contain information that is proprietary, privileged and/or confidential and is intended exclusively for the person(s) to whom it is addressed. Any use, copying, retention or disclosure by any person other than the intended recipient or the intended recipient's designees is strictly prohibited. If you are not the intended recipient or their designee, please notify the sender immediately by return e-mail and delete all copies. 

-


Re: [iText-questions] Asian Language Jars

2004-12-02 Thread Bruno Lowagie
Steve Appling wrote:
By the way, how is the new tutorial/documentation coming?
For the moment I'm working on projects for Ghent University that don't 
involve PDF,
but this will probably change in the near future as some new projects 
with lots of
document generation will be started next year.
Anyway: before I start writing chapters I want to make an XSL that not only
generates the chapters from XML to HTML, but also an XSL that constructs
the build.xml file for the examples of every chapter (with correct 
CLASSPATHs).

 Would you like any community help writing / reviewing it?
All help is welcome of course!
br,
Bruno
---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] Asian Language Jars

2004-12-02 Thread Steve Appling
I think that's fine - thanks.

By the way, how is the new tutorial/documentation coming?  Would you like any 
community help writing
/ reviewing it?
- Original Message - 
From: "Bruno Lowagie" <[EMAIL PROTECTED]>
To: "Steve Appling" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, December 02, 2004 8:13 AM
Subject: Re: [iText-questions] Asian Language Jars


> Steve Appling wrote:
>
> >I was talking about making links to them on the 
> >http://www.lowagie.com/iText/download.html page.
> >I'm wasn't sure that anyone would know to go to  
> >http://itext.sourceforge.net/downloads/ to get
> >them.  It would be nice for the site to supply links to the different jars 
> >you might need and
> >explain what they are and why you might need them.
> >
> >
> I just updated my FAQ: http://www.lowagie.com/iText/faq.html#asianfonts
> If I put links on the downloadpage, wouldn't that be overkill for most
> of the users?
> br,
> Bruno
>
>
> ---
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://productguide.itmanagersjournal.com/
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>




---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] Asian Language Jars

2004-12-02 Thread Bruno Lowagie
Steve Appling wrote:
I was talking about making links to them on the http://www.lowagie.com/iText/download.html page.
I'm wasn't sure that anyone would know to go to  http://itext.sourceforge.net/downloads/ to get
them.  It would be nice for the site to supply links to the different jars you might need and
explain what they are and why you might need them.
 

I just updated my FAQ: http://www.lowagie.com/iText/faq.html#asianfonts
If I put links on the downloadpage, wouldn't that be overkill for most 
of the users?
br,
Bruno

---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] appending a file-pdf to a stream-pdf

2004-12-02 Thread Allistair Crossley



Hi 
All,
 
I am using 
JasperReports to generate a PDF on-the-fly that I stream to the client. However, 
before I stream it, I need to somehow add a PDF from a file (terms and conds) to 
it. 
 
Does iText 
have any dynamic way of manipulating an existing stream? This is the call I make 
to send it to the user...
 
JasperRunManager.runReportToPdfStream(getClass().getClassLoader().getResourceAsStream( "com/comp/newmedia/intranet/pof/dto/pof.jasper"), 
response.getOutputStream(),parameters, 
lineItemDataSource   );
 
I am 
guessing not but maybe I get lucky!
 
Cheers, 
Allistair.

 
---
QAS Ltd.
Developers of QuickAddress Software
www.qas.com
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---





Re: [iText-questions] Asian Language Jars

2004-12-02 Thread Steve Appling
I was talking about making links to them on the 
http://www.lowagie.com/iText/download.html page.
I'm wasn't sure that anyone would know to go to  
http://itext.sourceforge.net/downloads/ to get
them.  It would be nice for the site to supply links to the different jars you 
might need and
explain what they are and why you might need them.

- Original Message - 
From: "Bruno" <[EMAIL PROTECTED]>
To: "Steve Appling" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, December 02, 2004 5:26 AM
Subject: RE: [iText-questions] Asian Language Jars


> Quoting Paulo Soares <[EMAIL PROTECTED]>:
>
> > That's up to Bruno but the main site already has iTextAsian.jar. The other
> > jar is very specialized and will always need some guidance.
>
> What jars are you talking about?
> I thought I had them both on the downloadsite:
> http://itext.sourceforge.net/downloads/
>
> iTextAsian.jar  03-Oct-2003 07:48   322k
> iTextAsianCmaps.jar 03-Oct-2003 07:50   1.6M
>
> br,
> Bruno
>




---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] How can one create PDF Forms containing Acrofields?

2004-12-02 Thread Leonard Rosenthol
At 04:04 AM 12/2/2004, Jacqui wrote:
Is there no opensource alternative to Acrobat for this functionality?
Not if you wish to do it graphically, no.
Leonard
---
Leonard Rosenthol
Chief Technical Officer  
PDF Sages, Inc.  215-938-7080 (voice)
 215-938-0880 (fax)

---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] Embeded object (RTF Package)

2004-12-02 Thread Mark Hall
On Thursday 02 December 2004 11:21, Nguyen Van Hung wrote:
> I have a problem when I generate XML  to RTF, I want to embeded
> object( equation, word app, excel app, ...) but I don't know how.
> Please help me to have solution. Thanks you very much.
There is no support for embedded objects in the rtf writer.

Greetings,
Mark
-- 
People are like onions -- you cut them up, and they make you cry.

My GPG public key is available at:
http://www.edu.uni-klu.ac.at/~mhall/data/security/MarkHall.asc


pgpwGIBoSQURc.pgp
Description: PGP signature


RE: [iText-questions] Black and white image issue

2004-12-02 Thread Paulo Soares
Look at your printer/printer driver configuration. Some printers are too smart 
and try to aliase the bw images. 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of dee3lmo
> Sent: Thursday, December 02, 2004 7:41 AM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Black and white image issue
> 
> Hello,
> 
> I encounter some troubles with a black&white images.
> The image is of the com.lowagie.text.Image type and is
> created using Image.getInstance('a java.awt.Image',
> new Color(0, 0, 0)) The 'a java.awt.Image' object is a
> black and white picture.
> 
> Adding the image to the document goes fine, and I can
> open the PDF document. The troubles encounter when I
> print the PDF document. Then I see that the black and
> white picture is not just only black and white.
> However the PDF document on my screen only shows the
> black and white colors, the printer prints the picture
> with black, white and gray colors.
> 
> How is it possible that the picture on my screen
> differs from the picture on the paper?
> 
> Thanks in advance,
> dee3lmo
> 
> 
>   
> ___ 
> Moving house? Beach bar in Thailand? New Wardrobe? Win £10k 
> with Yahoo! Mail to make your dream a reality. 
> Get Yahoo! Mail www.yahoo.co.uk/10k
> 
> 
> ---
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from 
> real users.
> Discover which products truly live up to the hype. Start reading now. 
> http://productguide.itmanagersjournal.com/
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


RE: [iText-questions] Asian Language Jars

2004-12-02 Thread Bruno
Quoting Paulo Soares <[EMAIL PROTECTED]>:

> That's up to Bruno but the main site already has iTextAsian.jar. The other
> jar is very specialized and will always need some guidance.

What jars are you talking about?
I thought I had them both on the downloadsite:
http://itext.sourceforge.net/downloads/

iTextAsian.jar  03-Oct-2003 07:48   322k
iTextAsianCmaps.jar 03-Oct-2003 07:50   1.6M

br,
Bruno


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Embeded object (RTF Package)

2004-12-02 Thread Nguyen Van Hung
Hi every one,
I have a problem when I generate XML  to RTF, I want to embeded
object( equation, word app, excel app, ...) but I don't know how.
Please help me to have solution. Thanks you very much.

---
Nguyen Van Hung
Phone:(084) 7614621
Home: (084) 5596551


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


RE: [iText-questions] Determining if a PdfPTable will fit on a page

2004-12-02 Thread Paulo Soares
Use PdfWriter.fitsPage(). If you want more precision you must abandon
document.add(). 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of John Sims
> Sent: Thursday, December 02, 2004 4:29 AM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Determining if a PdfPTable will 
> fit on a page
> 
> I would like to determine if a PdfPTable will fit on the current page 
> before adding it do the document. I noticed the 
> getTotalHeight() method 
> on the PdfPTable that returns a float. What does this floating point 
> number represent? Is there a method to get the remaining 
> space/height on 
> the current page so that it can be compared to the tables 
> total height?
> 
> thanks,
> -john
> 
> 
> ---
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from 
> real users.
> Discover which products truly live up to the hype. Start reading now. 
> http://productguide.itmanagersjournal.com/
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


RE: [iText-questions] large table - fitsPage()

2004-12-02 Thread Paulo Soares



Use the latest iText version, fitsPage() has some 
fixes.

  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  Shivakumar ParamasivamSent: Thursday, December 02, 2004 3:27 
  AMTo: [EMAIL PROTECTED]Subject: RE: 
  [iText-questions] large table - fitsPage()
  
   Thanks for the reply. I 
  used PdfPTable and fitsPage() for the large table, but one of the row 
  overflows, so there is only one row in the following page followed by the 
  new Page with remaining rows. 
   
  Thanks.
  Shiva
  Paulo Soares <[EMAIL PROTECTED]> 
  wrote:
  

Use a PdfPTable and 
PdfWriter.fitsPage().

  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  Shivakumar ParamasivamSent: Tuesday, November 30, 2004 2:09 
  AMTo: [EMAIL PROTECTED]Subject: 
  [iText-questions] large table - multiple headers and 
  space
  
  Hi,
   
  My table should start from the new page if the table does not fit the 
  remaining space in the page. But when I tried to set the table as 
  setTableFitsPage(), I get two column headers for the first page and there 
  is space between the headers and the rows for that page. 
   
   Is there anyway I can make the table to start from the new page 
  without having the column headers repeating and the empty spaces?
   
  Thanks.--Shivakumar 
  Paramasivam,Ph: (903) 366-1586 
  
  
  Do you Yahoo!?The all-new My Yahoo! 
  – What will yours 
  do?--Shivakumar 
  Paramasivam,Ph: (903) 366-1586
  
  
  Do you Yahoo!?The all-new My Yahoo! – 
  What will yours do?


RE: [iText-questions] Multipage FDF

2004-12-02 Thread Paulo Soares
Title: Message



iText has no ability to add pages from a 
FDF.

  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  dsmall2Sent: Thursday, December 02, 2004 6:38 AMTo: 
  [EMAIL PROTECTED]Subject: [iText-questions] 
  Multipage FDF
  
  Is it possible to 
  read the fields in a multi-page FDF file like the one below using iText. Any 
  thoughts most appreciated.
   
  D.Small
   
  %FDF-1.2%âãÏÓ1 0 obj<< /FDF 
  << /Pages 2 0 R >> >> endobj2 0 obj[ 
  << /Templates 3 0 R >> << /Templates 5 0 R >> 
  << /Templates 7 0 R >> 
   
  ]endobj3 0 
  obj[ << /TRef << /F (http://localhost/0005.pdf)/Name 
  (Master)>> /Fields 4 0 R >> 
   
  ]endobj4 0 
  obj[ << /T (Comm_01)/V (239 Test Street)>> << /T 
  (Comm_02)/V (WestWard VIC 4070)>> << /T (Comm_03)/V ()>> 
  ]endobj5 0 obj[ << /TRef << /F (http://localhost/0005.pdf)/Name 
  (Master)>>/Fields 6 0 R >> 
   
  ]endobj6 0 
  obj[<< /T (Comm_01)/V (1010 Bingo Street)>> << /T 
  (Comm_02)/V (The Place VIC 4020)>><< /T (Comm_03)/V ()>> 
  ]endobj7 0 obj[ << /TRef << /F (http://localhost/0005.pdf)/Name 
  (Master)>>/Fields 8 0 R >> 
   
  ]endobj8 0 
  obj[ << /T (Comm_01)/V (23 Home Street)>> << /T 
  (Comm_02)/V (Dingly VIC 4571)>> << /T (Comm_03)/V ()>> 
  ]endobjtrailer<>%%EOF 


RE: [iText-questions] still can't solve my problem!!!!! pdfspotcolor problem

2004-12-02 Thread Paulo Soares
You have all that is needed. Do as follow:

PdfArray sep = ...; // 11 0 obj
PdfArray lab = ...; // 12 0 obj
sep.getArrayList().add(2, lab);

Extend PdfSpotColor and return sep in getSpotObject().



> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of color_prepress
> Sent: Thursday, December 02, 2004 5:45 AM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] still can't solve my problem! 
> pdfspotcolor problem
> 
> Here is part of my source PDF file.
> 
> 
> 
> /Resources << /ColorSpace << /CS0 11 0 R >> /ExtGState << 
> /GS0 7 0 R >> >>
> 
> 
> 
> 11 0 obj
> 
> [ /Separation /myOrange 12 0 R << /FunctionType 2 /Domain [ 0 
> 1 ] /C0 [ 100
> 0 0 ] /C1 [ 55 58 80 ]
> 
> /Range [ 0 100 -128 127 -128 127 ] /N 1 >> ]
> 
> endobj
> 
> 
> 
> 12 0 obj
> 
> [ /Lab << /WhitePoint [ 0.9642 1 0.82491 ] /BlackPoint [ 0 0 
> 0 ] /Range
> [ -128 127 -128 127 ] >> ]
> 
> endobj
> 
> 
> 
> above is source pdf which contain this spotcolor information (name as
> "myOrange") include LAB value.and so on.
> 
> Now what I want to do is, I use pdfreader read this source 
> pdf and place it
> in contentbyte.
> 
> Then I need to show some text by using this spotcolor.(so 
> maybe I need to
> extract this whole information and become as PdfSpotColor 
> object or a whole
> PdfArray out then "link it" by using indirect reference to 
> "link" to this
> color Object so that my new text will show in this color.
> 
> I not able to use PdfSpotColor to do that. It can't capture 
> back the data
> from pdf source and contruct as new PdfSpotColor object.
> 
> using contentbyte available method will only show the text in 
> either CMYK
> value ..
> 
> so any suggestion? more detail will help me a lot
> 
> thanks.
> 
> How do I can do it by using itext?
> 
> 
> 
> 
> 
> ---
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from 
> real users.
> Discover which products truly live up to the hype. Start reading now. 
> http://productguide.itmanagersjournal.com/
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


RE: [iText-questions] image masking

2004-12-02 Thread Paulo Soares
A mask must be bw or grayscale. I doubt that you can find a gif with
those characteristics. 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of [EMAIL PROTECTED]
> Sent: Wednesday, December 01, 2004 10:57 PM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] image masking
> 
> I am trying to take one image and create a mask for another 
> image but seem
> to be getting a parsing error when the PDF is generated. 
> Below is a snipet
> of the code.
> 
> //Two tone mask: black and white.
> Image mask= Image.getInstance(new URL("http://"+imageURL+"mask.gif";));
> mask.makeMask();
> mask.setInvertMask(true);
> 
> Image pic = Image.getInstance(new URL("http://"+imageURL+"pic.gif";));
> pic.setImageMask(mask);
> doc.add(pic);
> 
> Am I missing something?
> 
> Do I need to convert the mask object to
> Image temp= Image.getInstance(new 
> URL("http://"+imageURL+"mask.gif";));
> byte[] maskArray = temp.getOriginalData();
> Image mask = Image.getInstance(widthOfMask, heightOfMask, 1, 1,
> maskArray);
> 
> 
> Is there any code example with a mask  .gif and picture  .gif
> 
> Thank you
> Casildo
> 
> 
> ---
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from 
> real users.
> Discover which products truly live up to the hype. Start reading now. 
> http://productguide.itmanagersjournal.com/
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


RE: [iText-questions] how to know the width of a text when using particular font?

2004-12-02 Thread Paulo Soares
BaseFont.getWidthPoint() 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of color_prepress
> Sent: Thursday, December 02, 2004 9:18 AM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] how to know the width of a text 
> when using particular font?
> 
> when apply a font then draw text into contentbyte, is that anyway to
> calculate the width of the text so that I can put it the text 
> at correct
> position.
> 
> 
> 
> 
> 
> ---
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from 
> real users.
> Discover which products truly live up to the hype. Start reading now. 
> http://productguide.itmanagersjournal.com/
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] how to know the width of a text when using particular font?

2004-12-02 Thread color_prepress
when apply a font then draw text into contentbyte, is that anyway to
calculate the width of the text so that I can put it the text at correct
position.





---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Black and white image issue

2004-12-02 Thread dee3lmo
Hello,

I encounter some troubles with a black&white images.
The image is of the com.lowagie.text.Image type and is
created using Image.getInstance('a java.awt.Image',
new Color(0, 0, 0)) The 'a java.awt.Image' object is a
black and white picture.

Adding the image to the document goes fine, and I can
open the PDF document. The troubles encounter when I
print the PDF document. Then I see that the black and
white picture is not just only black and white.
However the PDF document on my screen only shows the
black and white colors, the printer prints the picture
with black, white and gray colors.

How is it possible that the picture on my screen
differs from the picture on the paper?

Thanks in advance,
dee3lmo



___ 
Moving house? Beach bar in Thailand? New Wardrobe? Win £10k with Yahoo! Mail to 
make your dream a reality. 
Get Yahoo! Mail www.yahoo.co.uk/10k


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] question re iText

2004-12-02 Thread Marvin Shapiro
I have successfully used iText to create a rather complicated PDF file, 
but now I am having trouble getting the same PDF-writing program to 
work on the web.

My web iText program compiles fine, but when I run it I get error 
messages indicating that it does not have access to the iText-102b.jar 
file, even though (I think) it is part of the jar file.

I thought that maybe the "com." in, e.g., "import com.lowagie.text.*" 
is part of the problem, i.e. maybe the lowagie import statements are 
not working.

What does that "com." mean to Java, as far as telling my program where 
iText is?

Or do you have any other ideas of where the trouble can lie?
Thanks again for your help.
ms

---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Multipage FDF

2004-12-02 Thread dsmall2
Title: Message



Is it possible to 
read the fields in a multi-page FDF file like the one below using iText. Any 
thoughts most appreciated.
 
D.Small
 
%FDF-1.2%âãÏÓ1 0 obj<< /FDF 
<< /Pages 2 0 R >> >> endobj2 0 obj[ 
<< /Templates 3 0 R >> << /Templates 5 0 R >> 
<< /Templates 7 0 R >> 
 
]endobj3 0 
obj[ << /TRef << /F (http://localhost/0005.pdf)/Name 
(Master)>> /Fields 4 0 R >> 
 
]endobj4 0 
obj[ << /T (Comm_01)/V (239 Test Street)>> << /T 
(Comm_02)/V (WestWard VIC 4070)>> << /T (Comm_03)/V ()>> 
]endobj5 0 obj[ << /TRef << /F (http://localhost/0005.pdf)/Name 
(Master)>>/Fields 6 0 R >> 
 
]endobj6 0 
obj[<< /T (Comm_01)/V (1010 Bingo Street)>> << /T 
(Comm_02)/V (The Place VIC 4020)>><< /T (Comm_03)/V ()>> 
]endobj7 0 obj[ << /TRef << /F (http://localhost/0005.pdf)/Name 
(Master)>>/Fields 8 0 R >> 
 
]endobj8 0 
obj[ << /T (Comm_01)/V (23 Home Street)>> << /T 
(Comm_02)/V (Dingly VIC 4571)>> << /T (Comm_03)/V ()>> 
]endobjtrailer<>%%EOF 


[iText-questions] image masking

2004-12-02 Thread casildo
I am trying to take one image and create a mask for another image but seem
to be getting a parsing error when the PDF is generated. Below is a snipet
of the code.

//Two tone mask: black and white.
Image mask= Image.getInstance(new URL("http://"+imageURL+"mask.gif";));
mask.makeMask();
mask.setInvertMask(true);

Image pic = Image.getInstance(new URL("http://"+imageURL+"pic.gif";));
pic.setImageMask(mask);
doc.add(pic);

Am I missing something?

Do I need to convert the mask object to
Image temp= Image.getInstance(new URL("http://"+imageURL+"mask.gif";));
byte[] maskArray = temp.getOriginalData();
Image mask = Image.getInstance(widthOfMask, heightOfMask, 1, 1,
maskArray);


Is there any code example with a mask  .gif and picture  .gif

Thank you
Casildo


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] I figured it out

2004-12-02 Thread Marvin Shapiro
My itext-1.02b.jar should have been in Jakarta.../common/lib.
Sorry to have bothered you.
ms

---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] still can't solve my problem!!!!! pdfspotcolor problem

2004-12-02 Thread color_prepress
Here is part of my source PDF file.



/Resources << /ColorSpace << /CS0 11 0 R >> /ExtGState << /GS0 7 0 R >> >>



11 0 obj

[ /Separation /myOrange 12 0 R << /FunctionType 2 /Domain [ 0 1 ] /C0 [ 100
0 0 ] /C1 [ 55 58 80 ]

/Range [ 0 100 -128 127 -128 127 ] /N 1 >> ]

endobj



12 0 obj

[ /Lab << /WhitePoint [ 0.9642 1 0.82491 ] /BlackPoint [ 0 0 0 ] /Range
[ -128 127 -128 127 ] >> ]

endobj



above is source pdf which contain this spotcolor information (name as
"myOrange") include LAB value.and so on.

Now what I want to do is, I use pdfreader read this source pdf and place it
in contentbyte.

Then I need to show some text by using this spotcolor.(so maybe I need to
extract this whole information and become as PdfSpotColor object or a whole
PdfArray out then "link it" by using indirect reference to "link" to this
color Object so that my new text will show in this color.

I not able to use PdfSpotColor to do that. It can't capture back the data
from pdf source and contruct as new PdfSpotColor object.

using contentbyte available method will only show the text in either CMYK
value ..

so any suggestion? more detail will help me a lot

thanks.

How do I can do it by using itext?





---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] How can one create PDF Forms containing Acrofields?

2004-12-02 Thread Jacqui
Hi Leonard
Is there no opensource alternative to Acrobat for this functionality?
Jacqui
Leonard Rosenthol wrote:
At 03:54 AM 12/1/2004, Jacqui Zurcher wrote:
but what I would like to now know if how can I create a PDF form 
containing acrofields.
 

Adobe Acrobat.
Leonard
---
Leonard Rosenthol

Chief Technical Officer  >
PDF Sages, Inc.  215-938-7080 (voice)
 215-938-0880 (fax)


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions