[iText-questions] FDF Merge Field Text is chopped

2004-11-17 Thread dsmall2
Title: Message



I used the FDF_merge 
example to merge a PDF and its corresponding FDF file, worked great however the 
text is chopped at the bottom i.e the p g j etc. It is as if the Field 
Appearance feature border is set to medium. The corresponding files flatten 
without problem in Acrobat 5. Any thoughts? 
 
regards 
D.Small


[iText-questions] Comment summary generation

2004-11-17 Thread Nguyen, Daniel
Title: Comment summary generation





Hi, 


The facts:
I have a PDF document
I have FDF file(s) that relate to the document


I want to implement a feature similar to the 'Create PDF of comments summary'  in Acrobat 6.


The questions:
Q1: Should I start using the PdfcopyMerge class to implement the feature ? (copying selected page then working on my own)

Q2: On the comment page, images are being displayed. How can I retrieve them ? I am rather supposed to generate them ?
Q3: The resulting document includes a 'Font' dictionary with over 140 fonts. How can I generate such  a dictionary ? Where do the fonts come from ? Do I need to generate such  a dictionary ?

Any input would be greatly appreciated...


In advance, with many thanks for any answer



Daniel Nguyen Thanh Son






[iText-questions] Where is public PdfChunk() ???

2004-11-17 Thread vgalan

Hi!

I tried to replace my previous iText.1.0 lib with iText.1.1 lib in my project 
and I found that the public constructor of PdfChunk class is not longer 
visible. What's the workaround for a code like this:

BidiLine bidi = new BidiLine();
bidi.addChunk(new PdfChunk(new Chunk(strText, font), null));

Thank you for you time,
Virgil



---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] Re: Tray Selection Indicators

2004-11-17 Thread Leonard Rosenthol
At 10:47 AM 11/17/2004, Gaurav wrote:
Leonard what information should i ask for from the network people. I know 
that
these are Lexmark printers. Apart from this what else would be helpful.
Postscript or PCL?  What level of Postscript?
What Job Ticket formats does it support?
Leonard
---
Leonard Rosenthol
Chief Technical Officer  
PDF Sages, Inc.  215-938-7080 (voice)
 215-938-0880 (fax)

---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Signing and PKCS#7 Blocks

2004-11-17 Thread Mark Nelson
Hello-

I'm currently using the instructions at the following to sign PDFs with an
external hash in Windows Certificate mode:

http://itextpdf.sourceforge.net/howtosign.html

It is all working great, except for one thing.  We have a server application
that verifies the signatures, but it expects the "authenticatedAttributes" to
be set (the content type, signing time and message digest) in the PKCS#7 block.
 I know it is an optional element, but I don't have control over that code.

My question is, can someone point me in the right direction to modify the
PdfPKCS7 object to return this in the signer info block?  I'm lost when it
comes to these ASN1 structures!

Thanks for any insight!

Mark Nelson
[EMAIL PROTECTED]





---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Issue with Image into PDF

2004-11-17 Thread Sudheendra Singh
Hi All,   I am working on a module where we insert images into a PDF. It was working fine but with one particular image (width-732 and height-1714) is going into an infinite loop. I am using Table and Cell classes to achieve this. Is there any restriction on the dimensions of the image that can be rendered?Regards,Sudheendra.N.SinghCaritor Inc., CACell : 415-760-1805Work : 415-243-6903Home : 510-675-0630Pick battles big enough to matter not small enough to win.

---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] IOException when trying to access font

2004-11-17 Thread Tomas Hansson
I have a servlet that generates PDF reports based on some data in a
database.  I am using the Arial font (c:/windows/fonts/arial.ttf).  While
stress-testing this servlet (>10 simultaneous connections), I am
occasionally getting a java.io.IOException: Bad file descriptor.

To alleviate this problem, I was trying to pre-load the font in the init
method of the servlet (see below) but I am still getting this exception when
closing the PDF document.  Any suggestions on how to change the code to
avoid this problem would be very welcome!

Here is the init method:
private static final String FONT = "c:/windows/fonts/arial.ttf";

/** Arial arialPlain - plain. */
private Font arialPlain;

/** Arial arialPlain - bold. */
private Font arialBold;

public void init() {
try {
BaseFont bf =
BaseFont.createFont(FONT, BaseFont.IDENTITY_H,
BaseFont.EMBEDDED);
arialPlain  = new Font(bf , FONT_SIZE);
arialBold = new Font(bf, FONT_SIZE, Font.BOLD);
} catch (IOException e) { 
e.printStackTrace(System.err);
} catch (DocumentException e) { 
e.printStackTrace(System.err);
}
}

And the main method is fairly straight forward as in:

ByteArrayOutputStream ba = new ByteArrayOutputStream();

// Set document margins
Document document = new Document(PageSize.A4,
PDFDOC_MARGIN, PDFDOC_MARGIN, PDFDOC_MARGIN, PDFDOC_MARGIN);

// Use the Arial arialPlain and embedd it
// Should give us basic UTF-8 support for most characters
PdfWriter.getInstance(document, ba);

document.open();

...
Paragraph para = new Paragraph(
new Chunk("Assessment/Évaluation:", arialBold));
document.add(para);
...

document.close();


--
Tomas Hansson
mailto:[EMAIL PROTECTED]



---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Help on graphics/text placement

2004-11-17 Thread Jim Owen
Hi,

I've run into a problem where I'm getting an extra page in a
generated PDF file that contains images that I expected to be placed on the
prior page.  In other words, I output a bunch of text, then place graphics
on the page with a PdfContentByte. I'm ending up with the text on one page
and the graphics following on the next.

It's probably something pretty simple, but I've bashed on it long
enough.

Here's the code with a lot of pseudo-code for simplicity:

Any help would be appreciated.

Regards,

Jim

// Get an input file reader - just a text file
BufferedReader in = new BufferedReader(new FileReader( inputFilename ));
PdfWriter writer = null;

// Get the first line and start processing
String inputLine = in.readLine();
while ( inputLine != null )
{
// Check if we are starting a new statement from the file.  
 // Find out if this line is an placeholder for a new statement. Get
// output file name from the line.
// If starting a new statement, then need to finalize the prior

// statement.
If ( newStatement )
{
// Place images on page since we just finished some other
// statement. With special handing for  first page.  But 
// want to do this before next page so images are 
// placed on the correct page.
  PdfContentByte cb = writer.getDirectContent();
   // Get the image
   buffImage = (BufferedImage)eImages.nextElement();
   // Now get a document image
   Image image = Image.getInstance(buffImage, null);
   // Calculate a value for x and y and set it in the image.
   image.setAbsolutePosition(xPos, yPos );
   // Add the image to the output.
 cb.addImage(image);
   // Null the reference
   cb = null;
   // close the document now
   document.close();
   }
   // Now Start a new document
   document = new Document(PageSize.LETTER );
   // Open the output writer
   writer = PdfWriter.getInstance(document, new FileOutputStream(
pdfFile ));
   // Set some preferences
   // Open the document
   document.open();

   // Init some values
   currLine = 0;
   }
   // Check if we have a signature position
   // If we have one, then store the image into the vector or later
processing

// Now output the line to the document.
 inputLine += "\n";
 Phrase p = new Phrase( inputLine,
FontFactory.getFont(FontFactory.COURIER, 10, Font.NORMAL, new Color(0, 0,
0)));
// Add the phrase to the document.
 document.add( p );

 // Now check if we are at the end of a page in the statement
 //  We'll need to output the images, if so.
// Do all the same stuff here as when we start a new statement
except call newPage();
document.newPage();

 // Read the next line.
 inputLine = in.readLine();
 }

 // Close up stuff
 in.close();
 in = null;

 // See if there is anything to output on the final page and output it if
so.
 // Close the document.
 document.close();



---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Bug in PdfLine

2004-11-17 Thread Steve Appling
I believe there is a bug in PdfLine.getAscender (added by me unfortunately).

The problem is the lines:
   if (ck.isImage())
   ascender = Math.max(ascender, ck.getImageOffsetY());

This was copied from the getDescender code without thinking it through.  I 
think it should be:
   if (ck.isImage())
   ascender = Math.max(ascender, ck.getImage().scaledHeight() + 
ck.getImageOffsetY());

Since images contained in chunks are rendered with the bottom of the image on 
the baseline, I think
the scaledHeight should serve as the Ascender height (if there are no offsets).

The current bug will cause a problem in a PdfPCell if the cell has 
setUseAscender(true) and only an
image in the cell.  Currently the image will not display at all (cell ends up 
with 0 height).

Paulo, could you please add this to your next version.
Bruno, I don't know how often you make minor bug fixes like this to the main 
release - I wouldn't
want someone else to waste a day like I just did trying to track down why my 
images aren't showing
up :(




---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Re: PdfPCell question

2004-11-17 Thread M Lynn
Try using the setWidths() method, for example:
 
    int headerwidths[] = {8, 12, 9, 11, 10, 7, 9, 9, 9, 7, 9}; // percentage
    table.setWidths(headerwidths);
 
Hope this help!
 
jml
		Do you Yahoo!? 
Meet the all-new My Yahoo! – Try it today! 

[iText-questions] RE: How do you create multi-columns header using Table/PdfPTable?

2004-11-17 Thread M Lynn
Thanks!  I got both header and footer in multi-column table working.by using the header-watermak.java as example.
 
However, I still don't understand how to fit the template object into the PdfPCell so I can display "Page x of y" yet.  I get around it by generating the PDF report twice so I can captuere the total no of pages generated.
 
Many thanks!
 
jml
 
 
		Do you Yahoo!? 
Discover all that’s new in My Yahoo!

[iText-questions] Re: Silent Printing

2004-11-17 Thread Gaurav
Hi, 
We are using Lexmark T630 printers. It has three trays & I want to
always print from Tray 3. I got the reference manual for the Printer,
please see the link below. I am not sure myself what I should be looking
for; if you could help I would really appreciate this. 
http://www.lexmark.com/publications/eng/lexmarkt630/index.html

Thanks
Gaurav Kochhar




---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


RE: [SPAM] - RE: [iText-questions] HtmlWorker - tag - Email f ound in subject

2004-11-17 Thread Danny Molloy
Does this mean that the "endDocument" method in HtmlWorker needs to be
adjusted to use Columntext depending on the element type being added? My
test class doesn't explicitly add anything to the document. The following is
what my main looks like in my test class Maybe I'm calling the parser
incorrectly. 

 

Document document = new Document(PageSize.A4, 80, 50, 30, 65);

try {

PdfWriter.getInstance(document, new
FileOutputStream("test.pdf"));

document.open();

HTMLWorker worker = new HTMLWorker(document);

FileReader reader = new FileReader("test.html");

worker.parse(reader);

}



catch(Exception e) {

e.printStackTrace();

System.err.println(e.getMessage());

}   

document.close();  

 

Thanks for your help 

 

DM

Danny Molloy

[EMAIL PROTECTED]  

 

-Original Message-
From: Paulo Soares [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 17, 2004 2:13 AM
To: Danny Molloy; [EMAIL PROTECTED]
Subject: [SPAM] - RE: [iText-questions] HtmlWorker -  tag - Email found
in subject

 

HTMLWorker is to be used with ColumnText. It uses auto-leading that the
plain document.add() doesn't support.

 


  _  


From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Danny
Molloy
Sent: Wednesday, November 17, 2004 1:17 AM
To: '[EMAIL PROTECTED]'
Subject: [iText-questions] HtmlWorker -  tag

Hello, 

 

I'm experiencing problems converting paragraph "" tags to pdf. The text,
when converted to PDF, appears all on the same line for paragraphs. If the
paragraph spans multiple lines the text wraps and starts overwriting on the
same line that the previous text was on. If I change the paragraph tags to
"" tags, then proper paragraphs are created but then obviously loose the
paragraph properties (i.e. align="right").

 

I downloaded the latest code as of Nov 16th and am still experiencing this.
Just wondering if anyone else has experienced this or knows a work around. I
have taken a quick glance at the HtmlWorker source and it seems at the
highlevel that its calling FractoryProperties and using the standard iText
Paragraph(() so I'm not sure what would be causing it to overwrite on the
same line without delving deeper. 

 

The following is the sample HTML that I am using for testing this. I'm not
sure how this mailing list would handle html (i.e. interpret or spit out
raw... presuming it would be raw but just in case I have left out the angle
brackets and replaced them with quotes ). 

 

"html"

"body"

"p" This is a sample paragraph that spans multiple lines but wraps over the
same line there blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah "/p"

"p" This is a sample paragraph that spans multiple lines but wraps over the
same line there blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah "/p"

"ul"

"li" test list item1 "/li"

"li" test list item2 "/li"
"/ul"

"/body"

"/html"

 

 

If you need more info feel free to contact me. Thx for any help you can
provide. 

 

DM

Danny Molloy

[EMAIL PROTECTED]  

 

<>

RE: [iText-questions] Merging annotations in FDF to original PDF

2004-11-17 Thread Paulo Soares
That's not a problem, there are 9 compression levels for flate. 

> -Original Message-
> From: Nguyen, Daniel [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, November 17, 2004 4:03 PM
> To: Paulo Soares; [EMAIL PROTECTED]
> Subject: RE: [iText-questions] Merging annotations in FDF to 
> original PDF
> 
>  Paulo,
> 
> Solved ! But still 1 question remaining (see below)
> 
> FYI:
> The problem was appearing when an annotation had associated stream.
> 
> 1- The annotation is stored into an FDF file
> The PRStream was instantiated with offset / length, but no content
> (bytes member remained null)
> 2- I create a pdfstamper, using the PDF file as reader
> 3- When copying the stream, I was using the constructor 
> PRStream(PRStream
> stream, PdfDictionary newDic).
> When saving, the PDF file was used to retrieve the 
> content rather than
> the original FDF file
> 
> To fix it:
> 3- When copying the stream, I am now using the 
> PdfReader.getStreamByte () as
> follows:
> 
> /**
>  * The method copies a stream
>  * @param srcStream if the source stream
>  * @return a copied stream
>  */
> protected PdfStream copyStream (PRStream srcStream)
>   throws IOException
> {
>   PRStream destStream = null;
>   byte buf[] = srcStream.getBytes ();
>   if (null == buf)
>   {
>   //  Should read the content of source stream...
>   RandomAccessFileOrArray raf =
> srcStream.getReader().getSafeFile ();
>   buf = PdfReader.getStreamBytes (srcStream, raf);
>   destStream = new PRStream (srcStream.getReader(), buf);
>   }
>   else
>   destStream = new PRStream (srcStream, null);
> 
>   Iterator srcIt = srcStream.getKeys().iterator ();
>   while (srcIt.hasNext ())
>   {
>   PdfName key = (PdfName) srcIt.next();
>   PdfObject value = srcStream.get(key);
>   destStream.put (key, copyObject (value));
>   }
>   return destStream;
> }
> 
> 
> Q1: I noticed the original size of the stream was 2133 with 
> /FlatDecode
> filter.
>   The buffer was then decoded using PdfReader.FlateDecode 
> () (length
> 5852)
>   The buffer is then zipped in the PRStream constructor
> (Document.compress = true)
>   The buffer size is then 2130.
> 
> So question is: Is this acceptable / normal ?
> 
> (Special thank goes to Paulo for his kindness at quickly helping), 
> 
> Regards,
> 
> 
> -Original Message-
> From: Paulo Soares [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, November 16, 2004 11:49 PM
> To: Nguyen, Daniel; [EMAIL PROTECTED]
> Subject: Re: [iText-questions] Merging annotations in FDF to 
> original PDF
> 
> 
> - Original Message -
> From: "Nguyen, Daniel" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, November 16, 2004 21:19
> Subject: [iText-questions] Merging annotations in FDF to original PDF
> 
> 
> > Hi,
> >
> > I'm trying to merge annotations contained in an FDF file to 
> the PDF file
> it
> > relates to.
> > I've been testing the PdfStamper class to do so, however, I 
> noticed the
> > generated object id's were not unique within the document.
> >
> 
> Yes they are.
> 
> > Q1: Should I continue looking at this class for such a 
> purpose ? If not,
> can
> > anyone give me any advice on how to proceed ?
> 
> PdfStamper is the class to use.
> 
> > Q2: How should I handle annotations that refer to other 
> using reference in
> a
> > circular way (ie: Popup -> Parent, and Parent -> Popup) ?
> >
> 
> Not a problem but depends exactly on the specific annotation. 
> In general the
> indirect reference is created first and is attributed to each dic.
> 
> > Any answer would be greatly appreciated,
> >
> > 
> > Daniel Nguyen Thanh Son
> > 
> >
> 


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


RE: [iText-questions] Re: Tray Selection Indicators

2004-11-17 Thread Kochhar, Gaurav
Hi, 
We are using Lexmark T630 printers. It has three trays & I want to
always print from Tray 3. I got the reference manual for the Printer,
please see the link below. I am not sure myself what I should be looking
for; if you could help I would really appreciate this. 
http://www.lexmark.com/publications/eng/lexmarkt630/index.html

Thanks
Gaurav Kochhar


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


RE: [iText-questions] Merging annotations in FDF to original PDF

2004-11-17 Thread Nguyen, Daniel
 Paulo,

Solved ! But still 1 question remaining (see below)

FYI:
The problem was appearing when an annotation had associated stream.

1- The annotation is stored into an FDF file
The PRStream was instantiated with offset / length, but no content
(bytes member remained null)
2- I create a pdfstamper, using the PDF file as reader
3- When copying the stream, I was using the constructor PRStream(PRStream
stream, PdfDictionary newDic).
When saving, the PDF file was used to retrieve the content rather than
the original FDF file

To fix it:
3- When copying the stream, I am now using the PdfReader.getStreamByte () as
follows:

/**
 * The method copies a stream
 * @param srcStream if the source stream
 * @return a copied stream
 */
protected PdfStream copyStream (PRStream srcStream)
throws IOException
{
PRStream destStream = null;
byte buf[] = srcStream.getBytes ();
if (null == buf)
{
//  Should read the content of source stream...
RandomAccessFileOrArray raf =
srcStream.getReader().getSafeFile ();
buf = PdfReader.getStreamBytes (srcStream, raf);
destStream = new PRStream (srcStream.getReader(), buf);
}
else
destStream = new PRStream (srcStream, null);

Iterator srcIt = srcStream.getKeys().iterator ();
while (srcIt.hasNext ())
{
PdfName key = (PdfName) srcIt.next();
PdfObject value = srcStream.get(key);
destStream.put (key, copyObject (value));
}
return destStream;
}


Q1: I noticed the original size of the stream was 2133 with /FlatDecode
filter.
  The buffer was then decoded using PdfReader.FlateDecode () (length
5852)
  The buffer is then zipped in the PRStream constructor
(Document.compress = true)
  The buffer size is then 2130.

So question is: Is this acceptable / normal ?

(Special thank goes to Paulo for his kindness at quickly helping), 

Regards,


-Original Message-
From: Paulo Soares [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 16, 2004 11:49 PM
To: Nguyen, Daniel; [EMAIL PROTECTED]
Subject: Re: [iText-questions] Merging annotations in FDF to original PDF


- Original Message -
From: "Nguyen, Daniel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 16, 2004 21:19
Subject: [iText-questions] Merging annotations in FDF to original PDF


> Hi,
>
> I'm trying to merge annotations contained in an FDF file to the PDF file
it
> relates to.
> I've been testing the PdfStamper class to do so, however, I noticed the
> generated object id's were not unique within the document.
>

Yes they are.

> Q1: Should I continue looking at this class for such a purpose ? If not,
can
> anyone give me any advice on how to proceed ?

PdfStamper is the class to use.

> Q2: How should I handle annotations that refer to other using reference in
a
> circular way (ie: Popup -> Parent, and Parent -> Popup) ?
>

Not a problem but depends exactly on the specific annotation. In general the
indirect reference is created first and is attributed to each dic.

> Any answer would be greatly appreciated,
>
> 
> Daniel Nguyen Thanh Son
> 
>


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


RE: [iText-questions] Resize PdfImportedPage

2004-11-17 Thread Paulo Soares



PdfContentByte cb 
= writer.getDirectContent();PdfReader reader = new PdfReader("some_pdf.pdf");PdfTemplate tp = 
writer.getImportedPage(reader, 1);Image img = Image.getInstance(tp);img.setAbsolutePosition(100, 100);img.scalePercent(20);img.setRotationDegrees(33);cb.addImage(im2);

  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  [EMAIL PROTECTED]Sent: Wednesday, November 17, 2004 2:28 
  PMTo: [EMAIL PROTECTED]Subject: 
  [iText-questions] Resize PdfImportedPage
  Hi, I'm trying to add a pdf document to my pdf document and 
  I wanted to resize the original pages to write them into a delimited area of 
  the 2nd document (my pdf document). I'm using setHeight and setWidth methods 
  of PdfImportedPage (inherited from PdfContentByte) to resize the pages but 
  I've not succeeded in doing this. I would like to resize each page, or it's 
  contents, as I do with images and add them to my document. It's possible to do it? How? Thanks. Chema.


[iText-questions] Re: Tray Selection Indicators

2004-11-17 Thread Gaurav
Leonard what information should i ask for from the network people. I know that 
these are Lexmark printers. Apart from this what else would be helpful.



---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Re: Silent Printing

2004-11-17 Thread Gaurav
Guys, Thanks for your suggestions. I was able to make it work by adding the 
following serverside code.

document.open()
PdfAction jAction = PdfAction.javaScript("this.print(false);\r", writer);
writer.addJavaScript(jAction);

Follow up Question(Requirement for our project):
I want to make Printer setting -select the paper from Tray 3, Can i do this 
here, could someone point me to the iText api. 
(We Use Lexmark printers if that is relevant here)



---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] PdfPCell question

2004-11-17 Thread Marco Rossi
Hi, 
I have to set the size of a cell in a PdfPTable, (i.e. a row with two
cell, one 80%  and the othe 20%), but i can't find the right method.

Thk.


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] PDF to PCL

2004-11-17 Thread Matt Benson
--- Rémi Guilbert <[EMAIL PROTECTED]> wrote:

> Hi, do you know what can I do to convert pdf file to
> pcl file (on Unix) ?  I 
> need to use duplex functionnality.

Never forget ghostScript for tasks just such as this!

-Matt

> Thank's !!
> Rémi 




__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 



---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] How do you create a 3-column page header?

2004-11-17 Thread [EMAIL PROTECTED]
Help!
I browsed the archive and found many reference about Table in header so 
one can generate a multi-column header as well as in the iText tutorial 
that hints at that as well.

From the tutorial, I learned to generate a simple text header and 
footter.  But I want to generate a 3-column header with ISO date in the 
left column, "confidential" in the center and report name in the right cell.

Can someone show me how to do that?
Thanks a million any any help!
jml
---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] PDF to PCL

2004-11-17 Thread Rémi Guilbert
Hi, do you know what can I do to convert pdf file to pcl file (on Unix) ?  I 
need to use duplex functionnality.
Thank's !!
Rémi 

---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Resize PdfImportedPage

2004-11-17 Thread josem_berges

Hi,

I'm trying to add a pdf document to my pdf document and I wanted to resize the original pages to write them into a delimited area of the 2nd document (my pdf document). I'm using setHeight and setWidth methods of PdfImportedPage (inherited from PdfContentByte) to resize the pages but I've not succeeded in doing this. I would like to resize each page, or it's contents, as I do with images and add them to my document. 
It's possible to do it? How?

Thanks. Chema.





RE: [iText-questions] How do you create multi-columns header using Table/PdfPTable?

2004-11-17 Thread Paulo Soares



See the example headers_and_watermarks.java at 
http://itextpdf.sf.net.

  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of M 
  LynnSent: Wednesday, November 17, 2004 3:20 PMTo: 
  [EMAIL PROTECTED]Subject: [iText-questions] How 
  do you create multi-columns header using Table/PdfPTable?
  
  Help!
   
  I want to create a 3-column page header but I don't know how.  I can 
  generate a simple page header based on the iText tutorial.  From the same 
  tutorial as well as from this archive, using a Table or PdfPTable to create 
  the header were hinted at muliple references.  I cannot find any detail 
  or code fragement on how to go by doing that.
   
  Cam someone give me some code fragement on using Table or PdfPTable in 
  the header?
   
  Thanks a million for any help!
   
  jml
  
  
  Do you Yahoo!?Discover all that’s new in My 
  Yahoo!


Re: [iText-questions] itext-paulo-142 -> iText 1.1

2004-11-17 Thread Bruno
Quoting Matt Benson <[EMAIL PROTECTED]>:

> Bruno:
> I'm still lurking.  :)  Wanted to help out:
> s/responsability/responsibility .

Thanks! You will probably find lots of errors
like that. Why is it the French and the English
always had to change 1 letter for the same word:

responsible - responsable
example - exemple
blue - bleu
...

Why can't you people just all speak Dutch?
(Or even better: Flemish!)
That would make the world a lot easier *LOL* ;-)
br,
Bruno


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] How do you create multi-columns header using Table/PdfPTable?

2004-11-17 Thread M Lynn
Help!
 
I want to create a 3-column page header but I don't know how.  I can generate a simple page header based on the iText tutorial.  From the same tutorial as well as from this archive, using a Table or PdfPTable to create the header were hinted at muliple references.  I cannot find any detail or code fragement on how to go by doing that.
 
Cam someone give me some code fragement on using Table or PdfPTable in the header?
 
Thanks a million for any help!
 
jml
		Do you Yahoo!? 
Discover all that’s new in My Yahoo!

Re: [iText-questions] New release itext-paulo-141

2004-11-17 Thread Bruno
sam smith wrote:
> Does anyone know where I can find out more information about the 
> PdfStamper bug that was fixed in version 141?  I didn't see it in the 
> bug database.

Oops, the bug database...

I hardly ever check that SourceForge feature,
nor the support request page. I thought people
did use the mailing-list for this kind of stuff.
I should clear those page up, but the site redesign
has priority for now.

br,
Bruno


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


RE: [iText-questions] Linearized information lost after using iText

2004-11-17 Thread Paulo Soares
iText doesn't support linearization. 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of why lost
> Sent: Wednesday, November 17, 2004 2:17 PM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Linearized information lost after 
> using iText
> 
> After I used some tools in iText, such as 
> com.lowagie.tools.split_pdf, 
> encrypt etc,
> the result from my  original linearized pdf file become  
> no-linearized.
> Who could tell me how to keep the output file also linearized? I will 
> appreciate your
> reply!
> 
> _
> 享用世界上最大的电子邮件系统― MSN Hotmail。  http://www.hotmail.com  
> 
> 
> 
> ---
> This SF.Net email is sponsored by: InterSystems CACHE
> FREE OODBMS DOWNLOAD - A multidimensional database that combines
> robust object and relational technologies, making it a perfect match
> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


RE: [iText-questions] Setting the default border for a table

2004-11-17 Thread Paulo Soares
It's possible with PdfPTable and PdfPTableEvent.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of JNB CI / Derick Potgieter
> Sent: Wednesday, November 17, 2004 1:02 PM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Setting the default border for a table
> 
> Hi all,
> 
> I know how to remove the border, but how do you set another border?
> I want to set an double border around my table, will this be possible
> 
> Thanks
> Derick
> 
> 
> 
> ---
> This SF.Net email is sponsored by: InterSystems CACHE
> FREE OODBMS DOWNLOAD - A multidimensional database that combines
> robust object and relational technologies, making it a perfect match
> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


RE: [iText-questions] New release itext-paulo-141

2004-11-17 Thread Paulo Soares



It was a bug introduced in 140. To know more do a diff and see 
what was changed.

  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of sam 
  smithSent: Wednesday, November 17, 2004 2:23 PMTo: 
  [EMAIL PROTECTED]Subject: Re: [iText-questions] 
  New release itext-paulo-141
  
  Does anyone know where I can find out more information about the 
  PdfStamper bug that was fixed in version 141?  I didn't see it in the bug 
  database.
   
  Thanks,
  Sam
  - fixed a bug in PdfStamper with form flattening and fields 
  added
  Paulo Soares <[EMAIL PROTECTED]> wrote:
  Changes 
in itext-paulo-141 (2004-11-10)- all the current CVS 
changes- fixed a bug in PdfStamper with form flattening and fields 
added- PdfStamper will keep the acroform even if flattening. The 
acroformcanalso be used by other annotations to keep the 
resources- added support to read from an InputStream 
inRandomAccessFileOrArray,PdfReader and FdfReader.- fixed a 
bug in PdfDocument that caused in certain cases an emptypage to 
beoutput when an image didn't fit the page.- fixed 
PdfAnnotation.createScreen() to suppport embedded 
multimediafiles- SimpleBookmark can read some broken outlines. 
Contribution byujihara.- the SplitCharacter interface was 
changed. This was done to openthe wayto more sophisticated splitting 
algorithms that require characterlook ahead.All thi s 
at:http://itextpdf.sourceforge.netBest Regards,Paulo 
Soares---This 
SF.Net email is sponsored by:Sybase ASE Linux Express Edition - download 
now for FREELinuxWorld Reader's Choice Award Winner for best database on 
Linux.http://ads.osdn.com/?ad_idU88&alloc_id065&op=click___iText-questions 
mailing 
list[EMAIL PROTECTED]https://lists.sourceforge.net/lists/listinfo/itext-questions
  
  
  Do you Yahoo!?Meet the all-new My Yahoo! 
  – Try it today! 


[iText-questions] Setting the default border for a table

2004-11-17 Thread JNB CI / Derick Potgieter
Hi all,

I know how to remove the border, but how do you set another border?
I want to set an double border around my table, will this be possible

Thanks
Derick



---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] New release itext-paulo-141

2004-11-17 Thread sam smith
Does anyone know where I can find out more information about the PdfStamper bug that was fixed in version 141?  I didn't see it in the bug database.
 
Thanks,
Sam
- fixed a bug in PdfStamper with form flattening and fields added
Paulo Soares <[EMAIL PROTECTED]> wrote:
Changes in itext-paulo-141 (2004-11-10)- all the current CVS changes- fixed a bug in PdfStamper with form flattening and fields added- PdfStamper will keep the acroform even if flattening. The acroformcanalso be used by other annotations to keep the resources- added support to read from an InputStream inRandomAccessFileOrArray,PdfReader and FdfReader.- fixed a bug in PdfDocument that caused in certain cases an emptypage to beoutput when an image didn't fit the page.- fixed PdfAnnotation.createScreen() to suppport embedded multimediafiles- SimpleBookmark can read some broken outlines. Contribution byujihara.- the SplitCharacter interface was changed. This was done to openthe wayto more sophisticated splitting algorithms that require characterlook ahead.All thi
 s
 at:http://itextpdf.sourceforge.netBest Regards,Paulo Soares---This SF.Net email is sponsored by:Sybase ASE Linux Express Edition - download now for FREELinuxWorld Reader's Choice Award Winner for best database on Linux.http://ads.osdn.com/?ad_idU88&alloc_id065&op=click___iText-questions mailing list[EMAIL PROTECTED]https://lists.sourceforge.net/lists/listinfo/itext-questions
		Do you Yahoo!? 
Meet the all-new My Yahoo! – Try it today! 

[iText-questions] Linearized information lost after using iText

2004-11-17 Thread why lost
After I used some tools in iText, such as com.lowagie.tools.split_pdf, 
encrypt etc,
the result from my  original linearized pdf file become  no-linearized.
Who could tell me how to keep the output file also linearized? I will 
appreciate your
reply!

_
享用世界上最大的电子邮件系统― MSN Hotmail。  http://www.hotmail.com  


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


RE: [iText-questions] space between text and bar

2004-11-17 Thread Paulo Soares
PdfChunk 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Rémi Guilbert
> Sent: Wednesday, November 17, 2004 12:16 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [iText-questions] space between text and bar
> 
> Hi, where I can find the default value of underline spacing 
> (which class)?
> Thank's !!
> Rémi
> 
> - Original Message - 
> From: "Paulo Soares" <[EMAIL PROTECTED]>
> To: "Rémi Guilbert" <[EMAIL PROTECTED]>; 
> <[EMAIL PROTECTED]>
> Sent: Saturday, November 13, 2004 1:56 PM
> Subject: Re: [iText-questions] space between text and bar
> 
> 
> > Chunk.setUnderline()
> >
> > - Original Message - 
> > From: "Rémi Guilbert" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Saturday, November 13, 2004 15:17
> > Subject: [iText-questions] space between text and bar
> >
> >
> > Hi, what is the method or property to reduce the space 
> between the text 
> > and
> > bar of a underline text ?
> > Thank's !!
> > Rémi
> >
> > 
> 
> 
> ---
> This SF.Net email is sponsored by: InterSystems CACHE
> FREE OODBMS DOWNLOAD - A multidimensional database that combines
> robust object and relational technologies, making it a perfect match
> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] itext-paulo-142 -> iText 1.1

2004-11-17 Thread Leonard Rosenthol
At 03:54 AM 11/17/2004, Bruno wrote:
I received some mails about problems with the site.
I tested with Firefox 0.9.2, Mozilla 1.5b and MSIE 6.0
on Window XP. Only MSIE doesn't show the left column as
I want it (i.e. fixed, even when you scroll).
Yeah, I was using MSIE...

Leonard, the text I meant is on this page:
http://www.lowagie.com/iText/download.html
That's fine with me...
Leonard
---
Leonard Rosenthol
Chief Technical Officer  
PDF Sages, Inc.  215-938-7080 (voice)
 215-938-0880 (fax)

---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] Re: Silent Printing

2004-11-17 Thread Leonard Rosenthol
At 06:10 PM 11/16/2004, Gaurav wrote:
Thanks for the response Carsten. I am not sure I understood what you meant. I
want to basically print out the PDF document (which is diaplayed in the jsp
page) by clicking on the Print button in the PDF Header.
My question is very basic how will i capture the onClick event of the PDF
document & then redirect it to the printer. (I dont want to display the Print
Dialog box to the User). I might be asking a very basic question here but 
am a
newbie on PDF docs.
You write an Acrobat JavaScript, embed it in the PDF.
This is in the FAQ.
Leonard
---
Leonard Rosenthol
Chief Technical Officer  
PDF Sages, Inc.  215-938-7080 (voice)
 215-938-0880 (fax)

---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] space between text and bar

2004-11-17 Thread Rémi Guilbert
Hi, where I can find the default value of underline spacing (which class)?
Thank's !!
Rémi
- Original Message - 
From: "Paulo Soares" <[EMAIL PROTECTED]>
To: "Rémi Guilbert" <[EMAIL PROTECTED]>; 
<[EMAIL PROTECTED]>
Sent: Saturday, November 13, 2004 1:56 PM
Subject: Re: [iText-questions] space between text and bar


Chunk.setUnderline()
- Original Message - 
From: "Rémi Guilbert" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 13, 2004 15:17
Subject: [iText-questions] space between text and bar

Hi, what is the method or property to reduce the space between the text 
and
bar of a underline text ?
Thank's !!
Rémi



---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Frank Zhou/ReserveFunds is out of the office.

2004-11-17 Thread Frank_Zhou




I will be out of the office starting  11/16/2004 and will not return until
11/18/2004.

I will respond to your message when I return.
Please contact Gong Cai at 5815 if you need immediate assistance.




---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


RE: [iText-questions] JAI jar file

2004-11-17 Thread Paulo Soares
http://java.sun.com/products/java-media/jai/ 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Ravichandran
> Sent: Wednesday, November 17, 2004 9:55 AM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] JAI jar file
> 
> 
> 
> I want to use "javax.media.jai.JAI" file into my class.I want 
> to download 
> corresponding Jar files.Plz help me and where to download.I 
> think that jar 
> file name is jai_codec.jar
> 
> 
> Cheers,
> Ravi.
> 
> 
> 
> ---
> This SF.Net email is sponsored by: InterSystems CACHE
> FREE OODBMS DOWNLOAD - A multidimensional database that combines
> robust object and relational technologies, making it a perfect match
> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] JAI jar file

2004-11-17 Thread Ravichandran


I want to use "javax.media.jai.JAI" file into my class.I want to download 
corresponding Jar files.Plz help me and where to download.I think that jar 
file name is jai_codec.jar


Cheers,
Ravi.



---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


RE: [iText-questions] HtmlWorker - tag

2004-11-17 Thread Paulo Soares



HTMLWorker is to be used with ColumnText. It uses auto-leading 
that the plain document.add() doesn't support.

  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Danny 
  MolloySent: Wednesday, November 17, 2004 1:17 AMTo: 
  '[EMAIL PROTECTED]'Subject: [iText-questions] 
  HtmlWorker -  tag
  
  
  Hello, 
   
  I'm experiencing problems 
  converting paragraph "" tags to pdf. The text, when converted to PDF, 
  appears all on the same line for paragraphs. If the paragraph spans multiple 
  lines the text wraps and starts overwriting on the same line that the previous 
  text was on. If I change the paragraph tags to "" tags, then proper 
  paragraphs are created but then obviously loose the paragraph properties (i.e. 
  align="right").
   
  I downloaded the latest code as of 
  Nov 16th and am still experiencing this. Just wondering if anyone 
  else has experienced this or knows a work around. I have taken a quick glance 
  at the HtmlWorker source and it seems at the highlevel that its calling 
  FractoryProperties and using the standard iText Paragraph(() so I'm not sure 
  what would be causing it to overwrite on the same line without delving deeper. 
  
   
  The following is the sample HTML 
  that I am using for testing this. I'm not sure how this mailing list would 
  handle html (i.e. interpret or spit out raw... presuming it would be raw but 
  just in case I have left out the angle brackets and replaced them with quotes 
  ). 
   
  "html"
  "body"
  "p" This is a sample paragraph 
  that spans multiple lines but wraps over the same line there blah blah blah 
  blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
  blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
  blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
  blah blah blah blah blah blah "/p"
  "p" This is a sample paragraph 
  that spans multiple lines but wraps over the same line there blah blah blah 
  blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
  blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
  blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah 
  blah blah blah blah blah blah "/p"
  "ul"
  "li" test list item1 
  "/li"
  "li" test list item2 
  "/li""/ul"
  "/body"
  "/html"
   
   
  If you need more info feel free to 
  contact me. Thx for any help you can provide. 
   
  DM
  Danny Molloy
  [EMAIL PROTECTED]
   


RE: [iText-questions] Merging annotations in FDF to original PDF

2004-11-17 Thread Paulo Soares
Title: RE: [iText-questions] Merging annotations in FDF to original PDF



I had a look at all that and it's not trivial to add the 
annotations, particulary if there's appearances with resources. I'll see if 
next week I have the time to implement it.

  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  Nguyen, DanielSent: Tuesday, November 16, 2004 11:26 
  PMTo: Paulo Soares; Nguyen, Daniel; 
  [EMAIL PROTECTED]Subject: RE: [iText-questions] 
  Merging annotations in FDF to original PDF
  
  Paulo, 
  I'm afraid I don't understand: ... > Q2: How should I handle annotations 
  that refer to other using reference in a 
  > circular way (ie: Popup -> Parent, and Parent -> 
  Popup) ? > 
  Not a problem but depends exactly on the specific annotation. 
  In general the indirect reference is created first and 
  is attributed to each dic. ... 
  Q1: ie: In the FDF file, I have: - an 
  'Annots' array holding 2 references: '4 0 R' and '3 0 R' - an object '3 0' that is an annotation dictionary 'Popup' that 
  contains a 'Parent' reference '4 0 R' - an object '4 
  0' that is an annotation dictionary 'Text' that contains a 'Popup' reference 
  '3 0 R' 
  Can you tell me how should I proceed to merge these annotation 
  into the PdfStamper regarding the way I should 'reserve' the reference for 
  annotation use ?
  PS: I don't use the PdfStamper addAnnotation () because of 
  this circular dependancy issue...or should I ? 



RE: [iText-questions] what different between pdfimportpage,pdfcopy,...

2004-11-17 Thread Paulo Soares
PdfWriter creates new documents, PdfCopy joins already created
documents. PdfWriter can also import pages from external documents. In
either case no redution is ever made but PdfCopy will keep the
annotations. If you want to combine 2 pages in a single page you'll have
to use PdfWriter.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of color_prepress
> Sent: Saturday, November 13, 2004 1:22 AM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] what different between 
> pdfimportpage,pdfcopy,...
> 
> Is that any different for that?
> I want to get the content from particular pdf, then put it in 
> new pdf.(all
> content must exactly same as source pdf, no reduce quality, no
> missing/truncate data from source.
> So that my final pdf is same with source, so I need to use 
> pdfimportpage or
> pdfcopy,..
> example like I want to get 2 A4 size page and in 1 new A3 size pdf.
> so that A3 size will have 2 A4 combine together into 1page.
> I dunno by using pdfcopy,pdfimportedpage, the quality of 
> source to new
> pdf will reduce or not.
> So please let me know use what for that.
> :)
> 
> 
> 
> 
> 
> ---
> This SF.Net email is sponsored by: InterSystems CACHE
> FREE OODBMS DOWNLOAD - A multidimensional database that combines
> robust object and relational technologies, making it a perfect match
> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Re: iText designer

2004-11-17 Thread Bruno
Marco Rossi wrote:

>Hi guys,
>is there any designer tool for iText to help the document layout?
>
>Thanks in advance,
>Marco
>
You have sent your mail to the mailinglist admin instead of the mailinglist.
There are some higher level tools that allow you to make a design for your PDF,
but instead of me promoting one of them, you could post us a mail with your
actual requirements, so that the developers and users of higher level tools can
answer you if their product suites your needs.
br,
Bruno


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] what different between pdfimportpage,pdfcopy,...

2004-11-17 Thread color_prepress
Is that any different for that?
I want to get the content from particular pdf, then put it in new pdf.(all
content must exactly same as source pdf, no reduce quality, no
missing/truncate data from source.
So that my final pdf is same with source, so I need to use pdfimportpage or
pdfcopy,..
example like I want to get 2 A4 size page and in 1 new A3 size pdf.
so that A3 size will have 2 A4 combine together into 1page.
I dunno by using pdfcopy,pdfimportedpage, the quality of source to new
pdf will reduce or not.
So please let me know use what for that.
:)





---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] itext-paulo-142 -> iText 1.1

2004-11-17 Thread Bruno
Quoting Leonard Rosenthol <[EMAIL PROTECTED]>:

> At 01:58 PM 11/16/2004, Bruno wrote:
> >Leonard, on the same page (under license agreement),
> >I wrote something on support contracts.
> >Is the text OK for you?
> 
>  I don't see that when I view the page :(.  What am I missing?

I received some mails about problems with the site.
I tested with Firefox 0.9.2, Mozilla 1.5b and MSIE 6.0
on Window XP. Only MSIE doesn't show the left column as
I want it (i.e. fixed, even when you scroll).

The main problem people are experiencing, is that they
have an old version of the style.css. Reloading the
complete page should do the trick.

Leonard, the text I meant is on this page:
http://www.lowagie.com/iText/download.html

third paragraph:
Some companies have a policy not to use Free / Open Source Software without a
license or a support contract. The iText developers can't and won't sell you
such a contract, but they have granted Leonard Rosenthol and his company PDF
Sages the right to sell licenses and support contracts on a case per case basis.
There was no money involved in this deal; the developers of iText are not on the
paylist of PDF Sages. The responsability for these contracts lies with PDF
Sages, not with the developers Paulo Soares and/or Bruno Lowagie.

Feel free to send me your suggestions if you think the text is not clear.

br,
Bruno


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


RE: [iText-questions] Merging annotations in FDF to original PDF

2004-11-17 Thread Nguyen, Daniel
Title: RE: [iText-questions] Merging annotations in FDF to original PDF





Paulo,


I'm afraid I don't understand:
...
> Q2: How should I handle annotations that refer to other using reference in
a
> circular way (ie: Popup -> Parent, and Parent -> Popup) ?
>


Not a problem but depends exactly on the specific annotation. In general the
indirect reference is created first and is attributed to each dic.
...


Q1: ie: In the FDF file, I have:
- an 'Annots' array holding 2 references: '4 0 R' and '3 0 R'
- an object '3 0' that is an annotation dictionary 'Popup' that contains a 'Parent' reference '4 0 R'
- an object '4 0' that is an annotation dictionary 'Text' that contains a 'Popup' reference '3 0 R'


Can you tell me how should I proceed to merge these annotation into the PdfStamper regarding the way I should 'reserve' the reference for annotation use ?

PS: I don't use the PdfStamper addAnnotation () because of this circular dependancy issue...or should I ?





[iText-questions] Re: Silent Printing

2004-11-17 Thread Gaurav
Thanks for the response Carsten. I am not sure I understood what you meant. I 
want to basically print out the PDF document (which is diaplayed in the jsp 
page) by clicking on the Print button in the PDF Header. 
My question is very basic how will i capture the onClick event of the PDF 
document & then redirect it to the printer. (I dont want to display the Print 
Dialog box to the User). I might be asking a very basic question here but am a 
newbie on PDF docs.



---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions