Re: [iText-questions] Headers

2002-05-21 Thread Cooremans, Rony

Bruno ,

setting the offset of the table contained in the headerfooter only moves it up

What i have is that the image moves slight to the right , the upper and lower
borders of the headerfooter object are OK



I send a pdf file to your personal adress containing the problem that i meant
(problem starts on page 2)



Bruno Lowagie wrote:

> Quoting "Cooremans, Rony" <[EMAIL PROTECTED]>:
>
> > Hello
> >
> > I make a header for my pdf doc with the folowing code
> ...
> > The problem with this is that the image displays fine on the first page of my
> > document
> > But on all the folowing pages it is moved about 0.5 cm to the right
> > Anny 1 got a clue ?
>
> There is an automatic offset between two tables.
> This offset depends on the current leading.
> If you haven't added anything yet before you
> add your first table; the leading is 0 (I think,
> I should check it, but I'm not working on my
> own computer rightnow). After a newpage, the
> default leading is set to 16.
>
> I think you can avoid this problem by setting
> the table offset to 0. table.setOffset(0)
>
> Bruno

--
Rony Cooremans

TRASYS N.V.
MVG, LIN, AOSO,  afdeling Geotechniek
Arianelaan 7, 1200 Brussel
Tramstraat 52, 9052 Zwijnaarde
Tel: 02/773.94.87
Tel: 09/240.75.24


e-mail Trasys: mailto:[EMAIL PROTECTED]
e-mail LIN: mailto:[EMAIL PROTECTED]



___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] extra blank page

2002-05-21 Thread casey masterson



I am having a problem with a blank page showing up after every time I add an 
instance of an image.  If anybody could help me out with a work around, I 
would greatly appreciate it.  I will list the pertinent code below.


public static void main(int commonid, int orgid) throws Exception {

Document document = new Document(PageSize.A4.rotate());

PdfWriter writer = PdfWriter.getInstance(document, new 
FileOutputStream(file_name));
PdfContentByte cb = writer.getDirectContent();

Image form = Image.getInstance("/Users/stephen/form.gif");
form.setAlignment(Image.TOP);
document.open();

cb.beginText();
BaseFont bf = BaseFont.createFont(BaseFont.HELVETICA, 
BaseFont.CP1252, BaseFont.NOT_EMBEDDED);

cb.setFontAndSize(bf, 35);
cb.showTextAligned(cb.ALIGN_CENTER, orgname, 430, 500, 0);   // 
draw the ORGNAME --430

document.add(form);
/* tell the content byte that we're done writing. */
cb.endText();
}
catch(DocumentException de) {
System.err.println(de.getMessage());
}
catch(IOException ioe) {
System.err.println(ioe.getMessage());
}
// step 5: we close the document
document.close();
}




_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



RE: [iText-questions] Use iText to generate PDF w/o licensing from Adobe

2002-05-21 Thread Jose Sandoval

[etc...] Further, you are not authorized to bundle the Adobe Acrobat Reader
Software with any (i) PDF creation software not licensed from Adobe Systems
Incorporated [etc...]

There is no conflict. Do not bundle Acrobat Reader with your CD unless your
app is licensed by Adobe. This has nothing to do with the iText API used to
generate the PDF file, it's your application that needs to be licensed...
--
Jose'


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> [EMAIL PROTECTED]
> Sent: May 21, 2002 2:10 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: [iText-questions] Use iText to generate PDF w/o licensing from
> Adobe
>
>
>
> Hey Guys,
>
> We are looking at using your iText library in a stand-alone java based
> commerical product.  I was concerned about the legality of using your
> library for PDF creation in terms of paying a licensing fee to Adobe.
>
> I was curious about the legality of distributing the free Acrobat Reader
> and so I went the Adobe license agreement for distributing Reader web site
> (http://www.adobe.com/products/acrobat/acrrdistribute.html) and I was
> reading the fine print of the End User License Agreement Supplement to
> Permit Distribution, (which is at the bottom of the above page) and I came
> across the following disconcerting clause.
>
> I have repeated the clause below:
>
> .
> .
> .
>
>
>
>
>
>
>  B. Other Distribution. Subject to the limitations set forth
> below, you may reproduce and
>  distribute unlimited copies of the Software (a) as bundled with
> other software or Scalable
>  Vector Graphic (SVG) content through electronic means
> (including, without limitation,
>  electronic software download), (b) as bundled with other
> software, Portable Document Format
>  (PDF) content or SVG format content on tangible media and (c) on
> a standalone basis solely on
>  tangible media; provided, however, that you are not authorized
> to bundle the Software with any
>  other software, plug-in or enhancement which uses or relies upon
> the Software when converting
>  or transforming SVG or PDF files into other file formats (e.g.,
> a PDF file into a JPEG, SVG or
>  TIFF file, or an SVG file into a JPEG, PDF, PNG or SWF file).
> Further, you are not authorized
>  to bundle the Adobe Acrobat Reader Software with any (i) PDF
> creation software not licensed
>  from Adobe Systems Incorporated, (ii) Adobe Acrobat Reader
> plug-in software not developed in
>  accordance with the Adobe Integration Key License Agreement or
> (iii) other software or
>  enhancement that uses Inter Application Communication (IAC) to
> programmatically interface with
>  Adobe Acrobat Reader for the purpose of (A) creating a file that
> contains data (e.g., an XML
>  or comments file), (B) saving modifications to a PDF file or (C)
> rendering a PDF file in such
>  other software's application window.
>
>
>
>
>
>
>
>
>
>
>
>  Now because our product was to be shipped on a CD which would
> install our Java code, along
>  with your iText jars and the free Adobe Acrobat Reader on the
> customer's machine.
>
>
>  Now the above clause is in conflict with the section you quote
> from the PDF Reference guide
>  (http://www.lowagie.com/iText/faq.html#adobe) and so I thought
> you guys could give me some
>  guidance on how to proceed on the legality of using your iText
> Library in my private
>  commerical development.
>
>
>
>  Thanx,
>
>
>
>  Ninju Bohra
>
>
>
>
>
>
>
>
>
> ___
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
>
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Fwd: Re: [iText-questions] a question

2002-05-21 Thread Bruno Lowagie



- Forwarded message from [EMAIL PROTECTED] -
Date: Wed, 22 May 2002 10:48:23 +0800
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
 Subject: Re: [iText-questions] a question
  To: Bruno Lowagie <[EMAIL PROTECTED]>

simsun.ttc is chinese font,it work well at win2000, but it display incorrectly 
at linux, why?

import java.io.FileOutputStream;
import java.io.IOException;
import java.awt.Color;
import com.lowagie.text.*;
import com.lowagie.text.pdf.*;
public class Chap0403 {
public static void main(String[] args) {
 Document document = new Document(PageSize.A4, 50, 50, 50, 50);
try {
PdfWriter writer=PdfWriter.getInstance(document, new 
FileOutputStream("Chap0403.pdf"));
document.open();
BaseFont bfComic = BaseFont.createFont("simsun.ttc,1", 
BaseFont.IDENTITY_H, BaseFont.EMBEDDED);
Font font = new Font(bfComic, 12);
Font font1 = new Font(bfComic, 16, Font.BOLD, new Color(255, 0, 
0));

Paragraph title1 = new Paragraph("第一章aa",font1);
Chapter chapter1 = new Chapter(title1, 1);
Paragraph someText = new Paragraph("第一节bb",font1 );
chapter1.add(someText);
Paragraph title11 = new Paragraph("第一节cc",font1 );
Section section1 = chapter1.addSection(title11);
Paragraph someSectionText = new Paragraph("第一节dd",font1 );
section1.add(someSectionText);
document.add(chapter1);
}
catch(Exception de) {
de.printStackTrace();
}
// step 5: we close the document
document.close();
}
}

- Original Message - 
From: "Bruno Lowagie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, May 21, 2002 6:44 PM
Subject: Re: [iText-questions] a question


> Quoting [EMAIL PROTECTED]:
> 
> > hello
> > Does itext support chinese at unix or linux?
> > send me example.
> > thanks!
> 
> All examples in Chapter 9 of the tutorial
> work on Windows as well on UNIX or LINUX.
> Just make sure to change the paths to the
> TTF- or TTC-files where necessary.
> 
> Bruno
> 
> 

- End forwarded message -




___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] Future of iText

2002-05-21 Thread Kumata Mitsugu

Hi,

I'm using iText and it works fine.
I'd like to know the future of iText.
Is there any plan that iText is going to support;

  - right to left direction writing?

  - top to bottom direction writing for CJK languages?

  - embeding OpneType with PS glyph? (not TrueType glyph)
(I want to embed special font that TrueType does not have)

  - way of input for special character that UNICODE does not hava
its code but CID or OpenType have one

  - any other multi-ligual feature?

Thank you,
KuMi


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] Headers

2002-05-21 Thread John K. Watson

Hmm.  I am setting all my table offsets (one of the first things I checked).
Thanks for the tip, though.  I'll keep hunting.
John

- Original Message -
From: "Bruno Lowagie" <[EMAIL PROTECTED]>
To: "John K. Watson" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, May 21, 2002 7:30 AM
Subject: Re: [iText-questions] Headers


> Quoting "John K. Watson" <[EMAIL PROTECTED]>:
>
> > I have a similar odd thing happening with my tables.  It doesn't involve
a
> > header.  I have a big table followed by several smaller ones.  On the
first
> > page, everything looks great.  On subsequent pages, there is extra space
> > between the big table and the smaller ones.  I have wracked my brains
> > looking over my code to try and find something different between the
pages,
> > but I can't (the pages are generated in a loop, so it has to be
identical).
> > Anyone have any ideas?
> > John
>
> There is an automatic offset between two tables.
> This offset depends on the current leading.
> If you haven't added anything yet before you
> add your first table; the leading is 0 (I think,
> I should check it, but I'm not working on my
> own computer rightnow). After a newpage, the
> default leading is set to 16.
>
> I think you can avoid this problem by setting
> the table offset to 0. table.setOffset(0)
>
> Bruno
>



___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] Problem in using JPG image in a PdfPCell

2002-05-21 Thread Ravi Vinnamuri

Hi,
I've problems in using JPG image in a PdfPCell. I'm able to see the
image if I don't use the Cell/Table. When I use the table it doesn't
display the image. Following is the piece of code.

 Image  image = Image.getInstance(new
URL("http://saturn/images/abc.jpg";));
 PdfPTable table = new PdfPTable(1);
 table.setWidthPercentage(100);
 PdfPCell  cell = new PdfPCell(image);
 table.addCell(cell);
 document.add(table);

Thanks for the help,
Ravi


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] Use iText to generate PDF w/o licensing from Adobe

2002-05-21 Thread Matt Benson

Well, who am I, but I would say just don't bundle the
reader!  If you had to bundle a viewer, you could
possibly get by with GSView which I guess is part of
ghostScript, or just give them a link to download the
Acrobat reader instead of bundling it with your app...

2c
-Matt

--- [EMAIL PROTECTED] wrote:
> 
> Hey Guys,
> 
> We are looking at using your iText library in a
> stand-alone java based
> commerical product.  I was concerned about the
> legality of using your
> library for PDF creation in terms of paying a
> licensing fee to Adobe.
> 
> I was curious about the legality of distributing the
> free Acrobat Reader
> and so I went the Adobe license agreement for
> distributing Reader web site
>
(http://www.adobe.com/products/acrobat/acrrdistribute.html)
> and I was
> reading the fine print of the End User License
> Agreement Supplement to
> Permit Distribution, (which is at the bottom of the
> above page) and I came
> across the following disconcerting clause.
> 
> I have repeated the clause below:
> 
> .
> .
> .
> 
>
> 
>
> 
>
>  B. Other Distribution. Subject to the limitations
> set forth below, you may reproduce and   
>  distribute unlimited copies of the Software (a) as
> bundled with other software or Scalable 
>  Vector Graphic (SVG) content through electronic
> means (including, without limitation,  
>  electronic software download), (b) as bundled with
> other software, Portable Document Format
>  (PDF) content or SVG format content on tangible
> media and (c) on a standalone basis solely on  
>  tangible media; provided, however, that you are not
> authorized to bundle the Software with any 
>  other software, plug-in or enhancement which uses
> or relies upon the Software when converting  
>  or transforming SVG or PDF files into other file
> formats (e.g., a PDF file into a JPEG, SVG or 
>  TIFF file, or an SVG file into a JPEG, PDF, PNG or
> SWF file). Further, you are not authorized  
>  to bundle the Adobe Acrobat Reader Software with
> any (i) PDF creation software not licensed
>  from Adobe Systems Incorporated, (ii) Adobe Acrobat
> Reader plug-in software not developed in   
>  accordance with the Adobe Integration Key License
> Agreement or (iii) other software or 
>  enhancement that uses Inter Application
> Communication (IAC) to programmatically interface
> with 
>  Adobe Acrobat Reader for the purpose of (A)
> creating a file that contains data (e.g., an XML   
>  or comments file), (B) saving modifications to a
> PDF file or (C) rendering a PDF file in such  
>  other software's application window.   
>
> 
>
> 
>
> 
>
> 
>
> 
>
>  Now because our product was to be shipped on a CD
> which would install our Java code, along 
>  with your iText jars and the free Adobe Acrobat
> Reader on the customer's machine.  
> 
>
>  Now the above clause is in conflict with the
> section you quote from the PDF Reference guide
>  (http://www.lowagie.com/iText/faq.html#adobe) and
> so I thought you guys could give me some 
>  guidance on how to proceed on the legality of using
> your iText Library in my private   
>  commerical development.
>
> 
>
>  Thanx, 
>
> 
>
>  Ninju Bohra
>
> 
>
> 
> 
> 
> 
> 
> 
>
___
> 
> Don't miss the 2002 Sprint PCS Application
> Developer's Conference
> August 25-28 in Las Vegas --
> http://devcon.sprintpcs.com/adp/index.cfm
> 
> ___
> iTex

[iText-questions] Use iText to generate PDF w/o licensing from Adobe

2002-05-21 Thread ninju . bohra


Hey Guys,

We are looking at using your iText library in a stand-alone java based
commerical product.  I was concerned about the legality of using your
library for PDF creation in terms of paying a licensing fee to Adobe.

I was curious about the legality of distributing the free Acrobat Reader
and so I went the Adobe license agreement for distributing Reader web site
(http://www.adobe.com/products/acrobat/acrrdistribute.html) and I was
reading the fine print of the End User License Agreement Supplement to
Permit Distribution, (which is at the bottom of the above page) and I came
across the following disconcerting clause.

I have repeated the clause below:

.
.
.
   
 
   
 
   
 
 B. Other Distribution. Subject to the limitations set forth below, you may reproduce 
and   
 distribute unlimited copies of the Software (a) as bundled with other software or 
Scalable 
 Vector Graphic (SVG) content through electronic means (including, without limitation, 
 
 electronic software download), (b) as bundled with other software, Portable Document 
Format
 (PDF) content or SVG format content on tangible media and (c) on a standalone basis 
solely on  
 tangible media; provided, however, that you are not authorized to bundle the Software 
with any 
 other software, plug-in or enhancement which uses or relies upon the Software when 
converting  
 or transforming SVG or PDF files into other file formats (e.g., a PDF file into a 
JPEG, SVG or 
 TIFF file, or an SVG file into a JPEG, PDF, PNG or SWF file). Further, you are not 
authorized  
 to bundle the Adobe Acrobat Reader Software with any (i) PDF creation software not 
licensed
 from Adobe Systems Incorporated, (ii) Adobe Acrobat Reader plug-in software not 
developed in   
 accordance with the Adobe Integration Key License Agreement or (iii) other software 
or 
 enhancement that uses Inter Application Communication (IAC) to programmatically 
interface with 
 Adobe Acrobat Reader for the purpose of (A) creating a file that contains data (e.g., 
an XML   
 or comments file), (B) saving modifications to a PDF file or (C) rendering a PDF file 
in such  
 other software's application window.  
 
   
 
   
 
   
 
   
 
   
 
 Now because our product was to be shipped on a CD which would install our Java code, 
along 
 with your iText jars and the free Adobe Acrobat Reader on the customer's machine. 
 
   
 
 Now the above clause is in conflict with the section you quote from the PDF Reference 
guide
 (http://www.lowagie.com/iText/faq.html#adobe) and so I thought you guys could give me 
some 
 guidance on how to proceed on the legality of using your iText Library in my private  
 
 commerical development.   
 
   
 
 Thanx,
 
   
 
 Ninju Bohra   
 
   
 






___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] General PDF question: Landscape orientation

2002-05-21 Thread Matt Benson

We are using ghostPcl to convert a landscape PCL
document to PDF.  With PCL, since the destination is a
printed page, you get a portrait page with text turned
90 degrees counterclockwise.  You rotate the paper 90
degrees clockwise in your hand and it's landscape. 
When converting to PDF, it is viewed by default in
Acrobat viewer as a portrait page with sideways print.
 If you rotate clockwise in the viewer, it looks as it
should.  Does anyone know how to specify that the page
should be landscape using ghostScript or ghostPcl?

Thanks,
Matt

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] Form fields to text

2002-05-21 Thread Leonard Rosenthol

At 3:53 PM +0200 5/21/02, Andreas Gerhard wrote:
>i want to encrypt an existing PDF, but all form-fields are gone... any
>suggestions?
>
>Is there a way to keep the fields or to convert them to text, before I
>encrypt the file?
>

Not using iText, no.   The way that encrypts an existing file 
is to copy ON THE CONTENT from the old file into the new one and then 
encrypt the new one.

You'll need to look elsewhere - such as SecurSign 
(http://www.appligent.com) which has a nice Java API.


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


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] XML, PDF, internationalization

2002-05-21 Thread ROBIN-EXTERIEUR, Yannick

Hi,

I can't create a pdf document with Greek or cyrillic using unicode whereas
for special character (here Euro) there is no problem.


...

Euro :  € Some greek characters: Γ Δ
ζ Some cyrillic characters: И я 


I guess the issue isn't the font, I can create the document with the exemple
3, chapter 9 of the iText tutorial. 

Thanks,

Yannick

___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] displaying pdf

2002-05-21 Thread Bruno Lowagie

Quoting Reto Carrara <[EMAIL PROTECTED]>:

> hi there
> 
> is it possible to display a pdf in a java container using iText.

No, what you need is a PDF viewer, not a PDF generator like iText.

Bruno

___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] Headers

2002-05-21 Thread Bruno Lowagie

Quoting "John K. Watson" <[EMAIL PROTECTED]>:

> I have a similar odd thing happening with my tables.  It doesn't involve a
> header.  I have a big table followed by several smaller ones.  On the first
> page, everything looks great.  On subsequent pages, there is extra space
> between the big table and the smaller ones.  I have wracked my brains
> looking over my code to try and find something different between the pages,
> but I can't (the pages are generated in a loop, so it has to be identical).
> Anyone have any ideas?
> John

There is an automatic offset between two tables.
This offset depends on the current leading.
If you haven't added anything yet before you
add your first table; the leading is 0 (I think,
I should check it, but I'm not working on my
own computer rightnow). After a newpage, the
default leading is set to 16.

I think you can avoid this problem by setting
the table offset to 0. table.setOffset(0)

Bruno

___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] displaying pdf

2002-05-21 Thread Reto Carrara

hi there

is it possible to display a pdf in a java container using iText.

thanx 4 help
reto


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] Form fields to text

2002-05-21 Thread Andreas Gerhard

Hello list-members,

i want to encrypt an existing PDF, but all form-fields are gone... any
suggestions?

Is there a way to keep the fields or to convert them to text, before I
encrypt the file?

Greetings, Andreas




___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] Headers

2002-05-21 Thread John K. Watson

I have a similar odd thing happening with my tables.  It doesn't involve a
header.  I have a big table followed by several smaller ones.  On the first
page, everything looks great.  On subsequent pages, there is extra space
between the big table and the smaller ones.  I have wracked my brains
looking over my code to try and find something different between the pages,
but I can't (the pages are generated in a loop, so it has to be identical).
Anyone have any ideas?
John

- Original Message -
From: "Cooremans, Rony" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 21, 2002 6:16 AM
Subject: [iText-questions] Headers


> Hello
>
> I make a header for my pdf doc with the folowing code
>
>
> -- code
nippet  
> Table hoofd = new Table(4,1);
>
>   hoofd.setBorder(Rectangle.NO_BORDER);
>   Image logoImg = Image.getInstance(m_logofile);
>   Cell logo = new Cell(new Chunk(logoImg,-35,-30));
>   logo.setHorizontalAlignment(Rectangle.ALIGN_LEFT);
>   logo.setVerticalAlignment(Rectangle.ALIGN_CENTER);
>   logo.setBorder(Rectangle.NO_BORDER);
>
>   hoofd.addCell(logo);
>   Cell logotekst = null;
>   logotekst = new Cell(new Phrase(" " + m_defRapportTitel,new
font(Font.TIMES_NEW_ROMAN,14,Font.BOLD)));
>   logotekst.setHorizontalAlignment(Rectangle.ALIGN_LEFT);
>   logotekst.setVerticalAlignment(Rectangle.ALIGN_TOP);
>   logotekst.setBorder(Rectangle.NO_BORDER);
>   logotekst.setColspan(3);
>   hoofd.addCell(logotekst);
>   Phrase fraas = new Phrase();
>   fraas.add(hoofd);
>
>   m_header = new HeaderFooter(fraas,false);
>   m_header.setBorder(Rectangle.NO_BORDER);
>   m_doc.resetHeader();
>   m_doc.setHeader(m_header);
>
>  end of code   
>
> The problem with this is that the image displays fine on the first page of
my document
> But on all the folowing pages it is moved about 0.5 cm to the right
> Anny 1 got a clue ?
>
>
> ___
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
>
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>



___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] Headers

2002-05-21 Thread Cooremans, Rony

Hello

I make a header for my pdf doc with the folowing code


-- code snippet  
Table hoofd = new Table(4,1);

  hoofd.setBorder(Rectangle.NO_BORDER);
  Image logoImg = Image.getInstance(m_logofile);
  Cell logo = new Cell(new Chunk(logoImg,-35,-30));
  logo.setHorizontalAlignment(Rectangle.ALIGN_LEFT);
  logo.setVerticalAlignment(Rectangle.ALIGN_CENTER);
  logo.setBorder(Rectangle.NO_BORDER);

  hoofd.addCell(logo);
  Cell logotekst = null;
  logotekst = new Cell(new Phrase(" " + m_defRapportTitel,new 
font(Font.TIMES_NEW_ROMAN,14,Font.BOLD)));
  logotekst.setHorizontalAlignment(Rectangle.ALIGN_LEFT);
  logotekst.setVerticalAlignment(Rectangle.ALIGN_TOP);
  logotekst.setBorder(Rectangle.NO_BORDER);
  logotekst.setColspan(3);
  hoofd.addCell(logotekst);
  Phrase fraas = new Phrase();
  fraas.add(hoofd);

  m_header = new HeaderFooter(fraas,false);
  m_header.setBorder(Rectangle.NO_BORDER);
  m_doc.resetHeader();
  m_doc.setHeader(m_header);

 end of code   

The problem with this is that the image displays fine on the first page of my document
But on all the folowing pages it is moved about 0.5 cm to the right
Anny 1 got a clue ?


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] Support of Boldface for plain fonts

2002-05-21 Thread Leonard Rosenthol

At 8:02 PM -0700 5/20/02, B J wrote:
>If an embedded font is only available in it's PLAIN style, does not 
>have it's bold or italic style available. e.g Arial Unicode MS is 
>vailable only in it's plain form. For such fonts there is no way we 
>can show boldface in PDF document.


That is pretty much a correct statement.


>Will iText support this in future versions? ( Is it possible to 
>generate boldface font info from plain font info, while embedding 
>can the same be applied?)
>

what you are asking for is called "faux bold" (fake bold) - a 
process whereby the glyph is redrawn multiple times or line widths 
are increased in order to give a "bold like" appearance.   Since you 
could do either/both of these things as easily as iText could, I 
don't see why putting such a feature into iText would be good.


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


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] Internationalization of "Parsing (X)HTML to create a PDF"

2002-05-21 Thread Bruno Lowagie

Quoting Sriram M <[EMAIL PROTECTED]>:

> the exact exception is :
> "org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0xa0) was
> found in the element content of the document"
>  Are we missing something? Are we not setting some parameter that we need
> to.

I don't have the time to check this out now (maybe tomorrow),
but isn't this the error that is thrown when you don't specify
the right encoding in the XML prolog (and HTML doesn't have
such a prolog):

Don't you need something like this:

Remark that all characters have to be represented by 2 bytes
if you use the above prolog...

Bruno

___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] HI

2002-05-21 Thread Bruno Lowagie

Quoting Senthil Kumar Mani <[EMAIL PROTECTED]>:

> Tomcat is not
> starting after adding the iText.jar file to lib directory.  Can u help
> me out with this?!!!

I work with Tomcat and I can't reproduce this problem.
Isn't Tomcat logging what goes wrong somewhere?

___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] a question

2002-05-21 Thread Bruno Lowagie

Quoting [EMAIL PROTECTED]:

> hello
> Does itext support chinese at unix or linux?
> send me example.
> thanks!

All examples in Chapter 9 of the tutorial
work on Windows as well on UNIX or LINUX.
Just make sure to change the paths to the
TTF- or TTC-files where necessary.

Bruno


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



RE: [iText-questions] a question

2002-05-21 Thread Paulo Soares

See http://www.lowagie.com/iText/tutorial/ch09.html.

Best Regards,
Paulo Soares

> -Original Message-
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, May 21, 2002 10:28
> To:   [EMAIL PROTECTED]
> Subject:  [iText-questions] a question
> 
> hello
> Does itext support chinese at unix or linux?
> send me example.
> thanks!
>  
> ÄãºÃ£º
> ÇëÎÊitextÔÚunix or linuxÏÂÖ§³ÖÖÐÎÄ×ÖÌåÂð£¿
> ÈçºÎ×öµ½Ö§³ÖÖÐÎÄ×ÖÌåÄØ£¿
> Çë¸ø·¢ËÍЩÀý×ÓºÃÂð£¿
> лл£¡
>  

___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] a question

2002-05-21 Thread lcy



hello
Does itext support chinese at unix or linux?
send me example.
thanks!
 
ÄãºÃ£º
ÇëÎÊitextÔÚunix or linuxÏÂÖ§³ÖÖÐÎÄ×ÖÌåÂð£¿
ÈçºÎ×öµ½Ö§³ÖÖÐÎÄ×ÖÌåÄØ£¿
Çë¸ø·¢ËÍЩÀý×ÓºÃÂð£¿
лл£¡
 


[iText-questions] HI

2002-05-21 Thread Senthil Kumar Mani


I have probs using iText with Apache Tomcat.  Tomcat is not starting after adding the iText.jar file to lib directory.  Can u help me out with this?!!!Send and receive Hotmail on your mobile device: Click Here

___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions