[iText-questions] Adobe Reader v6, v7, and Arabic Text

2005-05-17 Thread Youssef Eldakar
It appears that Adobe changed the way Adobe Reader handles Arabic text in v7. 
In v6, it used to be that Arabic characters had to be written in normal 
character order in order to copy-and-paste and search properly, while in v6 ME 
(Middle Eastern), they had to be written in reverse order. Now, it appears that 
v7 has adopted v6 ME's behavior, so Arabic characters have to be written in 
reverse order. So far, there does not seem to be a v7 ME release.
 
Is anybody aware of this change? Is it officially documented anywhere?
 
Youssef Eldakar
Bibliotheca Alexandrina
 


RE: [iText-questions] Font class - is it thread-safe?

2005-05-17 Thread Paulo Soares
Yes. 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On 
 Behalf Of Biker Conrad
 Sent: Monday, May 16, 2005 10:21 PM
 To: itext-questions@lists.sourceforge.net
 Subject: [iText-questions] Font class - is it thread-safe?
 
 Is it ok to access an object of this class from
 different threads? I have a web application and I want
 to create a few Font objects as static members to be
 used in all my reports. I was wondering if this is
 actually safe, given the fact that the fonts are
 accessed from different threads.
 
 thanks
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 
 
 
 ---
 This SF.Net email is sponsored by Oracle Space Sweepstakes
 Want to be the first software developer in space?
 Enter now for the Oracle Space Sweepstakes!
 http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click
 ___
 iText-questions mailing list
 iText-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/itext-questions
 


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12alloc_id344op=click
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] SimpleTextColumn that flows to next page

2005-05-17 Thread Isabelle Ulfsdotter








Hello,

How can I
implement a simple ColumnText that automatically flows to the next page when
full? What I am looking to do is similar to the ColumnObjects example with multiple
columns and a title at the top, but ensure that the columns continue on the
next page if necessary.



Regards,



Isabelle








[iText-questions] Combine Multiple PDF files with master table of contents

2005-05-17 Thread Jared Davis
Hi,

I have 200+ existing pdf documents that I would like to combine into one pdf 
file. The first couple of pages should be a table of contents that would allow 
the user to click on a name and go to the correct page.

My plan was to use PdfStamper on each pdf file to place a new page number on 
each page, then use PdfCopy to merge the documents together.

What I need help with is how to create the table of contents.


table of contents example:
 
 001.pdf page 3 - 5   (Click here to go to page 3)
 002.pdf page 6 - 12  (Click here to go to page 6)
 ...
 200.pdf page 535-537 (Click here to go to page 535)

My first attempt was to create the table of contents from the PdfCopy document. 
I couldn't figure out where the content was going. It didn't appear in the 
output document.

  if (f == 0) {
document = new Document(reader.getPageSizeWithRotation(1));
writer = new PdfCopy(document, new FileOutputStream(outFile));
document.open();
document.add(new Paragraph(001.pdf Page 3-5)); // never made it to the pdf
document.add(new Paragraph(002.pdf Page 6-12));
document.newPage();
  }
  for (int i = 0; i  n; ) {
 ++i;
 page = writer.getImportedPage(reader, i);
 writer.addPage(page);
  }


My second attempt was to create the table of contents as a separate document 
using Anchors then merge it later. I would always get an exception on the 
document.close stating the destination could not be found.

// create table of contents pdf

document.add(new Paragraph(001.pdf Page 3-5));
Anchor anchor2 = new Anchor(Go to the internal link); 
anchor2.setReference(# + a.pdf);
document.add(anchor2);

would throw

Exception in thread main java.lang.RuntimeException: The name 'a.pdf' has no 
local destination.
at com.lowagie.text.pdf.PdfWriter.addLocalDestinations(PdfWriter.java:1726)
at com.lowagie.text.pdf.PdfDocument.close(PdfDocument.java:926)
at com.lowagie.text.Document.close(Document.java:520)


How do I add Paragraphs with local goto action then merge other pdf documents 
using PdfCopy?







---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] trying to download iText 1.3

2005-05-17 Thread Christopher Spiller
Hello I just tried to download the jar of 1.3, but it only downloaded 
15KB! I'll keep trying in case it is an issue on my end, but you may 
want to double check the link at: http://www.lowagie.com/iText/download.html

Thanks,
Chris Spiller
---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Split Table or Columns and Create an Appendix

2005-05-17 Thread Janne Berg
Hi !
I have following dilemma:
I want to add som content to a PDF say a table, after the table i need 
to have 2 columns of text that only have limited space to reside in. If 
this text fills the determined area i need to replace the text with see 
appendix  and the move all of the text to another page in this document.
Which is the best way to solve this problem ?  In the example below i've 
used MultiColumnText, is this the right way to go or should i use 
PdfPTable ?

Extra questions :
Is it possbile to make a table split text between columns?
Is it possible to make a  table to split between pages but not the 
following page (appendix or some such)

When i was browsing the site i found following code snippet  here 
(http://itextdocs.lowagie.com/tutorial/objects/columns/index.html#introduction)

while (mct.hasMoreText()) {
   document.add(mct);
   mct.nextColumn();
   document.newPage();
}
(mct.hasMoreText()) is not a member of MultiColumnText right ?
Code Example :
import com.lowagie.text.Document;
import com.lowagie.text.DocumentException;
import com.lowagie.text.PageSize;
import com.lowagie.text.Paragraph;
import com.lowagie.text.Phrase;
import com.lowagie.text.pdf.MultiColumnText;
import com.lowagie.text.pdf.PdfPTable;
import com.lowagie.text.pdf.PdfWriter;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.OutputStream;

public class  TestMultiColumn{
   private String lorem = Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vestibulum tincidunt sem tincidunt sem. Nulla mattis, elit vitae ultricies egestas, turpis pede feugiat justo, non ullamcorper sapien magna ac ante. Maecenas bibendum aliquam nulla. In sed diam. Suspendisse potenti. Etiam eu mauris non ipsum vehicula bibendum. Etiam adipiscing odio quis libero. Nulla facilisi. In euismod massa et magna. Suspendisse vel nisl iaculis massa accumsan fringilla. Mauris cursus, nunc id lacinia pharetra, elit dui accumsan urna, sed euismod risus sapien non augue. Vivamus eget orci facilisis leo scelerisque vestibulum. Nullam condimentum. Mauris in diam. Duis eu purus sed felis auctor porta. Vivamus tristique. Quisque et sapien. Aliquam sed metus.Sed eget enim eget ligula ullamcorper viverra. Nulla congue. In lorem urna, tempus mattis, ornare vitae, porttitor sed, eros. Morbi nec purus sed odio ultrices egestas. Morbi vitae mi. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non sem ac mi euismod imperdiet. Etiam wisi massa, lobortis non, tristique in, eleifend a, pede. Integer dolor pede, ultrices at, faucibus volutpat, mattis eu, lacus. Mauris semper. Etiam adipiscing elit sed est.Cras nec velit. Duis egestas augue sit amet lectus. Phasellus purus diam, molestie eu, vestibulum at, feugiat eu, felis. Proin dictum elit. Quisque molestie. Aliquam dapibus justo a mi. Vivamus lobortis lorem non turpis. Fusce vulputate justo. Phasellus eu enim sit amet massa iaculis imperdiet. Suspendisse blandit diam quis mi. Nunc vel risus nec mi sodales tristique. Praesent lobortis, augue et sagittis mollis, elit arcu adipiscing risus, luctus pharetra libero risus et est. Nullam eu orci. Praesent pretium, tellus at facilisis egestas, pede est faucibus leo, sit amet blandit erat nisl tristique risus. Aliquam elementum elit et leo. Donec facilisis ipsum nec erat. Nunc consectetuer cursus purus. Mauris non diam.Nam odio wisi, luctus a, euismod eget, ultricies id, nulla. Quisque eget neque vel pede lobortis porttitor. Phasellus id massa. Etiam tristique. Vestibulum viverra elementum lacus. Maecenas dignissim, enim non vulputate ultricies, metus purus lobortis elit, sed iaculis lectus orci rhoncus urna. Suspendisse ullamcorper, nibh et aliquam vehicula, tellus dolor aliquet pede, ut ornare dolor mauris eget diam. Curabitur mattis risus nec erat. Curabitur viverra ante ac libero. Sed accumsan. Sed diam wisi, vulputate sed, lobortis non, congue vel, turpis. Nulla arcu neque, tempor ac, varius ac, vehicula at, orci. Duis at magna sed dolor feugiat semper. Suspendisse potenti. Curabitur eleifend enim eu justo.Suspendisse at purus quis sem sodales vestibulum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Quisque rutrum viverra ipsum. Aliquam neque nibh, placerat vitae, varius non, facilisis at, ante. Vestibulum est ligula, hendrerit non, porta quis, ullamcorper et, neque. Curabitur eu dolor vitae dui pharetra consectetuer. Vivamus iaculis tellus sit amet elit. Suspendisse elementum, metus et dapibus accumsan, urna sapien porttitor lacus, a condimentum libero tortor sed massa. In aliquam, urna vel rutrum laoreet, ligula lectus porttitor lacus, nec placerat ipsum sem a nulla. Integer purus. Sed vel mi at erat ultrices mattis. Aliquam mauris felis, luctus vel, fermentum sed, conseq;
   public TestMultiColumn() {
   try {
   
   Document document = new Document(PageSize.A4,34, 34, 20, 68);
   OutputStream out = new 

Re: [iText-questions] trying to download iText 1.3

2005-05-17 Thread Bruno Lowagie
Christopher Spiller wrote:
Hello I just tried to download the jar of 1.3, but it only downloaded 
15KB! I'll keep trying in case it is an issue on my end, but you may 
want to double check the link at: 
http://www.lowagie.com/iText/download.html
The 15 kbyte is a webpage provided by SF that redirects you to a mirror 
of your choice.
You need to download the jar from that mirror, not the page from 
sourceforge.
br,
Bruno

---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Plz tell me which jar(s) file I should add to the classpath to compilesource code at my desktop for iText.

2005-05-17 Thread b . laxminarayana

Hi,
 I am unable to understand how compile the files, which one I found in
your site.  Please give in detial which jar files are required to add class
file, and where from can I get them as early as possible.

Thanks n Regards
Laxminarayana Boojjewar
91-40-23407500 Ext 605


This e-Mail may contain proprietary and confidential information and is sent 
for the intended recipient(s) only. 
If by an addressing or transmission error this mail has been misdirected to 
you, you are requested to delete this mail immediately.
You are also hereby notified that any use, any form of reproduction, 
dissemination, copying, disclosure, modification,
distribution and/or publication of this e-mail message, contents or its 
attachment other than by its intended recipient/s is strictly prohibited.

Visit Us at http://www.polaris.co.in


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] PDFContentByte toPDF()

2005-05-17 Thread Krunoslav Požega
Hi,

One question:

I have PDFContentByte object (passed to method as parameter).
How can I create a PDF document from this PDFContentByte object ? I presume 
that this is done with the toPDF() method ? 
But how ?


Kruno

To sporoilo in vse njegove morebitne priloge lahko vsebujejo zaupne 
informacije in so last podjetja Infotehna d.o.o. ter namenjene izkljuno 
naslovniku. V kolikor ste sporoilo prejeli, pa ni namenjeno vam, Vas prosimo, 
da nas o tem obvestite, sporoilo pa izbriete. Kakrnokoli nepooblaeno 
irjenje vsebine sporoila je izrecno prepovedano. Vsa elektronska pota je 
pregledana z antivirusnim programom. 

This message and any attachments may contain confidential information, and are 
proprietary of Infotehna, and intended solely and only to the recipient.  If  
If you are not the intended recipient, or have received this e-mail mistakenly, 
please notify the sender immediately, and delete this e-mail. Any unauthorized 
copying, disclosure or distribution of this e-mail, or its content, is strictly 
forbidden. E-mail message is scanned by anti-virus software.



---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12alloc_id344op=click
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


RE: [iText-questions] UGH! I give up! Blue backgrounds are driving me crazy

2005-05-17 Thread Leonard Rosenthol
At 05:14 PM 5/16/2005, A. Gautier wrote:
I need to know how to turn off background and hovor colors using itext,
does anyone know how to do that?
iText can't modify existing PDF documents.
Also, that sort of functionality is usually written into the 
JavaScripts of the document.

Leonard
---
Leonard Rosentholmailto:[EMAIL PROTECTED]
Chief Technical Officer  http://www.pdfsages.com
PDF Sages, Inc.  215-938-7080 (voice)
 215-938-0880 (fax)

---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] Adobe Reader v6, v7, and Arabic Text

2005-05-17 Thread Leonard Rosenthol
At 04:07 AM 5/17/2005, Youssef Eldakar wrote:
It appears that Adobe changed the way Adobe Reader handles Arabic text in v7.
Yes, they did.  They made it so that the English (normal) 
version of Acrobat is ME aware - no longer do users need a separate version 
of Acrobat when working with Arabic/Hebrew/etc.


In v6, it used to be that Arabic characters had to be written in normal 
character order in order to copy-and-paste and search properly, while in 
v6 ME (Middle Eastern), they had to be written in reverse order. Now, it 
appears that v7 has adopted v6 ME's behavior, so Arabic characters have to 
be written in reverse order.
ME 6 and Acrobat 7 follow standard Unicode rules for ME/RTL data - 
such that the extraction is based on logical and NOT visual order.  They 
also both have knowledge of RTL glyph and codepoint rules, provided that 
the document(s) in question have appropriate font and/or Unicode internals 
(aka /ToUnicode table)


So far, there does not seem to be a v7 ME release.
If there is - it will only be for localization.

Is anybody aware of this change? Is it officially documented anywhere?
Yes, in the developer notes that I wrote for Adobe ;).
Leonard
---
Leonard Rosentholmailto:[EMAIL PROTECTED]
Chief Technical Officer  http://www.pdfsages.com
PDF Sages, Inc.  215-938-7080 (voice)
 215-938-0880 (fax)

---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


RE: [iText-questions] Adobe Reader v6, v7, and Arabic Text

2005-05-17 Thread Youssef Eldakar
Are these developer notes publicly available?
 
Thank you so much for the information.
 
Youssef Eldakar
Bibliotheca Alexandrina

-Original Message- 
From: Leonard Rosenthol [mailto:[EMAIL PROTECTED] 
Sent: Tue 5/17/2005 1:55 PM 
To: Youssef Eldakar; itext-questions@lists.sourceforge.net 
Cc: 
Subject: Re: [iText-questions] Adobe Reader v6, v7, and Arabic Text



At 04:07 AM 5/17/2005, Youssef Eldakar wrote:
It appears that Adobe changed the way Adobe Reader handles Arabic text 
in v7.

 Yes, they did.  They made it so that the English (normal)
version of Acrobat is ME aware - no longer do users need a separate 
version
of Acrobat when working with Arabic/Hebrew/etc.


In v6, it used to be that Arabic characters had to be written in normal
character order in order to copy-and-paste and search properly, while 
in
v6 ME (Middle Eastern), they had to be written in reverse order. Now, 
it
appears that v7 has adopted v6 ME's behavior, so Arabic characters 
have to
be written in reverse order.

 ME 6 and Acrobat 7 follow standard Unicode rules for ME/RTL 
data -
such that the extraction is based on logical and NOT visual order.  They
also both have knowledge of RTL glyph and codepoint rules, provided that
the document(s) in question have appropriate font and/or Unicode 
internals
(aka /ToUnicode table)


So far, there does not seem to be a v7 ME release.

 If there is - it will only be for localization.


Is anybody aware of this change? Is it officially documented anywhere?


 Yes, in the developer notes that I wrote for Adobe ;).


Leonard


---
Leonard Rosentholmailto:[EMAIL PROTECTED]
Chief Technical Officer  http://www.pdfsages.com
PDF Sages, Inc.  215-938-7080 (voice)
  215-938-0880 (fax)




NHS^X'u%y*Zqylfz^~*yzZ)zxIz+%y*Zqylmv,vw(

Re: [iText-questions] SimpleTextColumn that flows to next page

2005-05-17 Thread Steve Appling
Try using MultiColumnText.
Isabelle Ulfsdotter wrote:
Hello,
How can I implement a simple ColumnText that automatically flows to 
the next page when full? What I am looking to do is similar to the 
ColumnObjects example with multiple columns and a title at the top, 
but ensure that the columns continue on the next page if necessary.

 

Regards,
 

Isabelle

---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Paragraphs and Chunks and Graphics2D

2005-05-17 Thread Nederhof M.J.
Some advice would be appreciated with the following problem.

1) I have a method that generates Egyptian hieroglyphs written to
Graphics2D, in such a way that no pixelization results. I.e. I write curves,
not pixels. This has been applied to PdfGraphics2D as well, which works fine
provided I know the x and y coordinates on a page.

2) I use Paragraphs and Chunks for normal running text. I can mix this with
Images containing hieroglyphs, which works fine from the viewpoint of layout,
but then I get pixelization, because Images consist of pixels, not curves.

Question: how do I combine the two? So, how can I mix hieroglyphs with normal
running text, arranged in Paragraphs and Chunks, in such a way that there is 
no pixelization for the hieroglyphs?

Thanks in advance.

 Mark-Jan


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] Paragraphs and Chunks and Graphics2D

2005-05-17 Thread Bruno Lowagie
Nederhof M.J. wrote:
Some advice would be appreciated with the following problem.
1) I have a method that generates Egyptian hieroglyphs written to
Graphics2D, in such a way that no pixelization results. I.e. I write curves,
not pixels. This has been applied to PdfGraphics2D as well, which works fine
provided I know the x and y coordinates on a page.
2) I use Paragraphs and Chunks for normal running text. I can mix this with
Images containing hieroglyphs, which works fine from the viewpoint of layout,
but then I get pixelization, because Images consist of pixels, not curves.
Question: how do I combine the two? So, how can I mix hieroglyphs with normal
running text, arranged in Paragraphs and Chunks, in such a way that there is 
no pixelization for the hieroglyphs?

Are you combining 1) and 2) ?
As you describe the problem, it seems that you are converting the
hieroglyphs to soe Image format (gif, png, jpg) first and add this
image to an iText object.
You could using the PdfGraphics2D to make a PdfTemplate
and construct a com.lowagie.text.Image object with this PdfTemplate.
You can use this Image in Chunk or Paragraph.
I don't think you'll get pixelization in this case.
br,
Bruno
---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] Paragraphs and Chunks and Graphics2D

2005-05-17 Thread Nederhof M.J.
Dear Bruno,

Thanks very much for your help.

 Nederhof M.J. wrote:
 Some advice would be appreciated with the following problem.
 
 1) I have a method that generates Egyptian hieroglyphs written to
 Graphics2D, in such a way that no pixelization results. I.e. I write
  curves, not pixels. This has been applied to PdfGraphics2D as well, which
  works fine provided I know the x and y coordinates on a page.
 
 2) I use Paragraphs and Chunks for normal running text. I can mix this
  with Images containing hieroglyphs, which works fine from the viewpoint
  of layout, but then I get pixelization, because Images consist of pixels,
  not curves.
 
 Question: how do I combine the two? So, how can I mix hieroglyphs with
  normal running text, arranged in Paragraphs and Chunks, in such a way
  that there is no pixelization for the hieroglyphs?

 Are you combining 1) and 2) ?

In the past, 1) and 2) were used separately. Now I wanted combined them.

 As you describe the problem, it seems that you are converting the
 hieroglyphs to soe Image format (gif, png, jpg) first and add this
 image to an iText object.

What I did in the past was to create an AWT Image, get a Graphics2D from that,
and write the hieroglyphs to that Graphics2D. Then the AWT Image is turned 
into an iText Image. Then that is turned into a Chunk and that is added to a 
Paragraph.

 You could using the PdfGraphics2D to make a PdfTemplate
 and construct a com.lowagie.text.Image object with this PdfTemplate.
 You can use this Image in Chunk or Paragraph.
 I don't think you'll get pixelization in this case.

The way I understood this is as follows:

PdfTemplate template = writer.getDirectContent().createTemplate(80, 80);
Graphics2D g = template.createGraphics(80, 80, myFontMapper);
g.drawString(string, 10,10); // and also hieroglyphs written here...
g.dispose();
Image img = Image.getInstance(template);
Chunk c = new Chunk(img, 0, 0);
someParagraph.add(c);

I tried it and it seems to work. Your help is much appreciated.

Regards,
 Mark-Jan


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] iText - print existing PDF file

2005-05-17 Thread Behnken, Andree
Title: iText - print existing PDF file





Hi,


I have a question regarding iText and printing:


Is there a way to print a pdf-file which exists as a byte[] or a ByteArrayOutputStream from a java program without using servlets (as in the SilentPrinting example) and also without using AcrobatReader to display and then print the file?

Thanks,
Andree






[iText-questions] iText

2005-05-17 Thread Sri ram Murthy
Hi All,
I am using the class com.lowagie.tools.concat_pdf  for 
merging two pdfs. But the output  pdf if opened is not showing Bookmarks 
by default, but clicking on the Bookmarks will show me all the 
bookmarks. Is there any way to open the pdf with the bookmarks by 
default. If you require any further information let me know.

Thanks
Sri Ram
---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Table et hauteur

2005-05-17 Thread christophe . canou


Bonjour,

j'aimerais mettre une hauteur de ligne spécifique à chacune de mes lignes de mon
tableau.

Comment puis-je procéder ?

PS: excellente librairie


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12alloc_id344op=click
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] fill in form question

2005-05-17 Thread Mikhalsky Stanislav
Title: fill in form question






Hello!


I'm trying to use your examples from iText software. Everything looks great. I just have one question -- you have a Register.java class to show how to fill out the form. However, for PDF file, how do I find exact field names? For example, you're using name, address, postal_code, email. If I'll change postal_code, for example. to code, this field is not populated. This is understandable, you're using correct name for each field. My question is, where in Adibe I could read a properties for these fields, their exact names?

Thank you very much,


Stan Mikhalsky

BBVA -- Bancomer Securities International

786-5222554


This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.





RE: [iText-questions] iText

2005-05-17 Thread Paulo Soares
PdfCopy.setViewerPreferences(). See the javadocs for PdfWriter.

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On 
 Behalf Of Sri ram Murthy
 Sent: Tuesday, May 17, 2005 2:41 PM
 To: itext-questions@lists.sourceforge.net
 Subject: [iText-questions] iText
 
 Hi All,
 
  I am using the class com.lowagie.tools.concat_pdf  for 
 merging two pdfs. But the output  pdf if opened is not 
 showing Bookmarks 
 by default, but clicking on the Bookmarks will show me all the 
 bookmarks. Is there any way to open the pdf with the bookmarks by 
 default. If you require any further information let me know.
 
 
 Thanks
 Sri Ram
 
 
 ---
 This SF.Net email is sponsored by Oracle Space Sweepstakes
 Want to be the first software developer in space?
 Enter now for the Oracle Space Sweepstakes!
 http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click
 ___
 iText-questions mailing list
 iText-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/itext-questions
 


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12alloc_id344op=click
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


RE: [iText-questions] fill in form question

2005-05-17 Thread Paulo Soares
You must know the field names. It's possible to list the field names but
you still have to know what to do with them. 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On 
 Behalf Of Mikhalsky Stanislav
 Sent: Tuesday, May 17, 2005 4:20 PM
 To: itext-questions@lists.sourceforge.net
 Subject: [iText-questions] fill in form question
 
 Hello! 
 
 I'm trying to use your examples from iText software. 
 Everything looks great. I just have one question -- you have 
 a Register.java class to show how to fill out the form. 
 However, for PDF file, how do I find exact field names? For 
 example, you're using name, address, postal_code, 
 email. If I'll change postal_code, for example. to 
 code, this field is not populated. This is understandable, 
 you're using correct name for each field. My question is, 
 where in Adibe I could read a properties for these fields, 
 their exact names?
 
 Thank you very much, 
 
 Stan Mikhalsky 
 BBVA -- Bancomer Securities International 
 786-5222554 
 
 This e-mail message is for the sole use of the intended 
 recipient(s) and may contain confidential and privileged 
 information. Any unauthorized review, use, disclosure or 
 distribution is prohibited.  If you are not the intended 
 recipient, please contact the sender by reply e-mail and 
 destroy all copies of the original message.
 
 
 


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12alloc_id344op=click
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


RE: [iText-questions] Table et hauteur

2005-05-17 Thread Paulo Soares
Table ou PdfPTable? 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On 
 Behalf Of [EMAIL PROTECTED]
 Sent: Tuesday, May 17, 2005 3:14 PM
 To: itext-questions@lists.sourceforge.net
 Subject: [iText-questions] Table et hauteur
 
 
 
 Bonjour,
 
 j'aimerais mettre une hauteur de ligne spcifique  chacune 
 de mes lignes de mon
 tableau.
 
 Comment puis-je procder ?
 
 PS: excellente librairie
 
 
 ---
 This SF.Net email is sponsored by Oracle Space Sweepstakes
 Want to be the first software developer in space?
 Enter now for the Oracle Space Sweepstakes!
 http://ads.osdn.com/?ad_idt12alloc_id344op=ick
 ___
 iText-questions mailing list
 iText-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/itext-questions
 


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12alloc_id344op=click
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


RE: [iText-questions] UGH! I give up! Blue backgrounds are driving me crazy

2005-05-17 Thread A. Gautier
Yes, iText can definatly make changes to existing documents.  I have added
fields, moved them around, renamed them and set the /MaxLen property. 
Also, using PdfContentByte I have been able to change just about anything
I have wanted.  I just don't understand what you are saying since I can
also look at the code and extend the PDFStamper(which I have also done) to
add which ever low-level access I need.

All that said thank you for the lead on the Javascript side I did not
think about that and I will look into it.  It seems that I might need to
do that to remove the Javascript.  A better question would be what
property in the widget connects it to the JavaScript.

Cheers, Adam

 At 05:14 PM 5/16/2005, A. Gautier wrote:
I need to know how to turn off background and hovor colors using itext,
does anyone know how to do that?

  iText can't modify existing PDF documents.

  Also, that sort of functionality is usually written into the
 JavaScripts of the document.


 Leonard

 ---
Leonard Rosenthol
 mailto:[EMAIL PROTECTED]
 Chief Technical Officer  http://www.pdfsages.com
PDF Sages, Inc.  215-938-7080 (voice)
   215-938-0880 (fax)



 !DSPAM:428a152d186121390313913!






---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12alloc_id344op=click
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] multiple output types

2005-05-17 Thread Mark Hall
On Monday 16 May 2005 14:13, Doug James wrote:
 I was trying to use the base objects, like Table and Cell, in my
 document so I could use either a PDFWriter, RTFWriter, or a HTMLWriter.
 Make sense?
If you stick to the base objects, you should get similar looking documents in 
each of the formats depending on which writer you use. The RtfWriter and 
HTMLWriter have some limitations in some areas. Check the documentation for 
details.

Greetings,
Mark
-- 
Avoid Quiet and Placid persons unless you are in Need of Sleep.
-- National Lampoon, Deteriorata

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


pgpRhpgFnvWX0.pgp
Description: PGP signature


RE: [iText-questions] Adobe Reader v6, v7, and Arabic Text

2005-05-17 Thread Leonard Rosenthol
At 07:05 AM 5/17/2005, Youssef Eldakar wrote:
Are these developer notes publicly available?
No.
They were made available by Adobe to developers during the beta 
period.

But you can ask me stuff and I can answer it - I just can't give 
you the prewritten material.

Leonard
---
Leonard Rosentholmailto:[EMAIL PROTECTED]
Chief Technical Officer  http://www.pdfsages.com
PDF Sages, Inc.  215-938-7080 (voice)
 215-938-0880 (fax)

---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Relative text position

2005-05-17 Thread fabian andres gutierrez
Hi,

can you tell me if itext has a way to write some text in a direct position. eg: 5 cms from the left and 3 cms from the top of the paper. 

I cant find anything like that in the faq. Thanks in advance.

regards

Fabian