[iText-questions] formatting numbers when creating PDF using iText

2003-07-31 Thread Ramamoorthy_Natarajan
Hi !
  I want to know how to format numbers as below:

$1324.56
When I created the PDF template variables I specified on the properties.
But it is not happening.  Can you explain why this is happening.
I am using concat.java to create my PDF.

Nats




**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. 

This footnote also confirms that this email message has been
swept for the presence of computer viruses.

UniGroup, Inc.
**



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] How to set overprint when writting a text?

2003-07-31 Thread Rogerio Cisi

Hello,

Using setOverPrintNonStroking or setOverPrintStroking I can´t take the
OverPrint effect. I have used Adobe Acrobat Professional 6 to verify this,
entering in the section Advanced - Separation Preview. Taking off the black
color, if the page color is yellow, for instance, the space where before
was occupied by the text remains in white color, instead of assuming the
page color.

The way to take a effect similar to OverPrint is to set the text color, in
CMYK, as beeing 0, 0, 0.23, 1, if the color page is 0, 0, 0.23, 0.

Thank´s

Rogério Rodrigues Lima Cisi
São Paulo - Brasil
e-mail : [EMAIL PROTECTED]
Fone : 3145-3900ramal: 3967




   

"Paulo 

Soares"  Para:   "Rogerio Cisi" <[EMAIL PROTECTED]>
   
<[EMAIL PROTECTED]cc: <[EMAIL PROTECTED]>  
 
iste.pt> Assunto: Re: [iText-questions] How to set 
overprint when writting a   
 text? 

31/07/2003 

06:52  

   

   





I've no idea. You can also put in the gs.setOverPrintNonStroking(true). Are
you sure that the output device understands the overprint command?

Best Regards,
Paulo Soares

- Original Message -
From: "Rogerio Cisi" <[EMAIL PROTECTED]>
To: "Leonard Rosenthol" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; "Paulo Soares"
<[EMAIL PROTECTED]>
Sent: Wednesday, July 30, 2003 22:26
Subject: Re: [iText-questions] How to set overprint when writting a text?



Thank´s for your comments!

You are right that OverPrint isn´t supported in AcrobatReader, but my
application will generate pages to be sent to press. In this situation,
we
need to make sure that OverPrint will be obeyed.

Using the code that Paulo gave me I still did´t take the OverPrint
effect.
May I doing something wrong?


m_Document = new Document( pageSize );
m_Writer = PdfWriter.getInstance(m_Document, new FileOutputStream(
ms_DirPDFout + strNomePag ));
m_Document.open();
m_CB = m_Writer.getDirectContent();

m_CB.beginText();

PdfGState gs = new PdfGState();
gs.setOverPrintStroking(true);
m_CB.setGState(gs);

m_CB.showTextAligned( PdfContentByte.ALIGN_LEFT, "texto", mf_PosX,
mf_PosY,
0 );
m_CB.endText();



PS (to Paulo and others): parabéns pela excelente ferramenta
desenvolvida!!!


Rogério Rodrigues Lima Cisi
e-mail : [EMAIL PROTECTED]
São Paulo - Brasil
Fone : 55-11-3145-3900ramal: 3967






Leonard

RosentholPara:   "Paulo Soares"
<[EMAIL PROTECTED]>, "Rogerio Cisi"
<[EMAIL PROTECTED]<[EMAIL PROTECTED]>,
<[EMAIL PROTECTED]>
sages.com>   cc:

 Assunto: Re:
[iText-questions] How to set overprint when writting a
30/07/2003   text?

17:15









At 08:55 PM 7/30/2003 +0100, Paulo Soares wrote:

>You must set the graphic state:
>
>PdfContentByte cb = ;
>PdfGState gs = new PdfGState();
>gs.setOverPrintStroking(true);
>cb.setGState(gs);

 Do keep in mind that many Acrobat users still may not see this
correctly, since OverPrint Preview isn't supported in Reader - only in
"Full", Standard and Professional.   And may be turned off by users.


Leonard


---
Leonard Rosenthol

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







---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01
/01
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions








---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums

Re: [iText-questions] Template cutting off bottom of text . . .

2003-07-31 Thread phillip

Make sure your template is bigger enough to accomodate the comma. Just
increment the width of the template should do.

> I am using a template in order to print "Page x of y" on every page.  I am 
> using the Chap1201.java example almost exactly as it is presented.  The 
> difference is that I am placing a comma after the page number in the 
> onCloseDocument event:
> template.showText(String.valueOf(writer.getPageNumber() - 1) + "," );
> For some reason the bottom of the comma gets chopped off.  I experimented by 
> adding on a "j" and sure enough, the "j" gets cut also.
> 
> Is this a common problem?  I'm sure I'm missing something easy.
> 
> How do I make the template characters print with the correct vertical 
> alignment, but allow characters that go below the line fully print?
> 

-- 
With regards

Phillip Pan
---



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Template cutting off bottom of text . . .

2003-07-31 Thread Tom Kofford
I am using a template in order to print "Page x of y" on every page.  I am 
using the Chap1201.java example almost exactly as it is presented.  The 
difference is that I am placing a comma after the page number in the 
onCloseDocument event:
template.showText(String.valueOf(writer.getPageNumber() - 1) + "," );
For some reason the bottom of the comma gets chopped off.  I experimented by 
adding on a "j" and sure enough, the "j" gets cut also.

Is this a common problem?  I'm sure I'm missing something easy.

How do I make the template characters print with the correct vertical 
alignment, but allow characters that go below the line fully print?

_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Barcode "Decodbility"

2003-07-31 Thread Brook Stevens
Title: Barcode "Decodbility"





I am not sure if this is an itext question/issue or not but I am somewhat at a loss.  I have an application set up to print barcodes, and it works fine except when said barcode is graded I keep getting a "D" on the Decodability.  Is there something obvious to look at?  Has anyone else had any experience with this?

Thanks
Brook





Re: [iText-questions] Any plans to support tif files for Image?

2003-07-31 Thread Matt Benson
JMagick sits on top of ImageMagick and seems to
provide a means of getting its Images into awt.  It is
a Java interface into non-Java software as opposed to
a pure-java package.

-Matt

--- David Thielen <[EMAIL PROTECTED]> wrote:
> Hi;
> 
> That's really good news.
> 
> BTW - is there a java api that can turn formats
> other than jpeg/gif/png into
> a java (not itext) Image? Or convert it to a png
> format?
> 
> thanks - dave
> 
> - Original Message - 
> From: "Chris Farmer" <[EMAIL PROTECTED]>
> To: "itext" <[EMAIL PROTECTED]>
> Sent: Thursday, July 31, 2003 12:11 PM
> Subject: RE: [iText-questions] Any plans to support
> tif files for Image?
> 
> 
> 
> Check out this message from Paulo from this list on
> 7/22 describing the
> tiff support:
> 
> 
> TIFF flavors supported:
> 
> Compression - no compression, packbits, lzw,
> deflate, ccitt Photometric
> - bw, rgb, separated (cymk), indexed Bit depth - 1,
> 2, 4, 8 iccprofile
> is used if present
> 
> Not supported - planar images and extra sample
> (masks)
> 
> Other images types:
> 
> gif - full support
> bmp - full support
> png - full support
> jpg - rgb and cymk 8 bit and monochrome
> wmf - no bmp or patterns
> 
> Best Regards,
> Paulo Soares
> 
> 
> 
> -Original Message-
> From: Matt Benson [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 31, 2003 10:33 AM
> To: David Thielen; itext
> Subject: Re: [iText-questions] Any plans to support
> tif files for Image?
> 
> I believe the reason it is not supported is because
> TIFF is multipage, and so contains multiple images.
> 
> -Matt
> 
> --- David Thielen <[EMAIL PROTECTED]> wrote:
> > thanks - dave
> 
> 
> __
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site
> design software
> http://sitebuilder.yahoo.com
> 
> 
>
---
> This SF.Net email sponsored by: Free pre-built
> ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are
> available now.
> Download today and enter to win an XBOX or Visual
> Studio .NET.
>
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01
> /01
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> 
>
---
> This SF.Net email sponsored by: Free pre-built
> ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are
> available now.
> Download today and enter to win an XBOX or Visual
> Studio .NET.
>
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> 
> 
>
---
> This SF.Net email sponsored by: Free pre-built
> ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are
> available now.
> Download today and enter to win an XBOX or Visual
> Studio .NET.
>
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/itext-questions


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] special characters

2003-07-31 Thread Sam Maina
Title: Message

(B
(B
(B
(BThis characters are 
(Bnot asian. \u221E represents $B!g(J.
(BI don't 
(Bthink I need asian characters. The only characters am able to display is the 
(BGreek.
(B 
(B 
(B
(B  - Original Message - 
(B  From: 
(B  Sam Maina 
(B
(B  To: '[EMAIL PROTECTED] 
(B  Sourceforge. Net' 
(B  Sent: Thursday, July 31, 2003 11:17 
(B  AM
(B  Subject: [iText-questions] special 
(B  characters
(B  
(B  
(B  I tried :
(B  document.add(new Chunk("some special characters 
(B  \u221E \u2264")); And all it show is "some special characters" omitting 
(B  the unicode characters.
(B  What more do I need 
(B  to do to show these characters?
(B   
(B 
(BSam Maina
(BWeb Developer
(B Knovel  Corporation
(B(607) 773 1840 ext 
(B670
(B[EMAIL PROTECTED]
(B 

RE: [iText-questions] Any plans to support tif files for Image?

2003-07-31 Thread Matt Benson
I was speaking to the fact that TIFF images are not
directly supported in the Image class.  You have to go
to the codec class and specify the page you want.

-Matt

--- Chris Farmer <[EMAIL PROTECTED]> wrote:
> 
> Check out this message from Paulo from this list on
> 7/22 describing the
> tiff support:
> 
> 
> TIFF flavors supported:
> 
> Compression - no compression, packbits, lzw,
> deflate, ccitt Photometric
> - bw, rgb, separated (cymk), indexed Bit depth - 1,
> 2, 4, 8 iccprofile
> is used if present
> 
> Not supported - planar images and extra sample
> (masks)
> 
> Other images types:
> 
> gif - full support
> bmp - full support
> png - full support
> jpg - rgb and cymk 8 bit and monochrome
> wmf - no bmp or patterns
> 
> Best Regards,
> Paulo Soares
> 
> 
> 
> -Original Message-
> From: Matt Benson [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 31, 2003 10:33 AM
> To: David Thielen; itext
> Subject: Re: [iText-questions] Any plans to support
> tif files for Image?
> 
> I believe the reason it is not supported is because
> TIFF is multipage, and so contains multiple images.
> 
> -Matt
> 
> --- David Thielen <[EMAIL PROTECTED]> wrote:
> > thanks - dave
> 
> 
> __
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site
> design software
> http://sitebuilder.yahoo.com
> 
> 
>
---
> This SF.Net email sponsored by: Free pre-built
> ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are
> available now.
> Download today and enter to win an XBOX or Visual
> Studio .NET.
>
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01
> /01
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> 
>
---
> This SF.Net email sponsored by: Free pre-built
> ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are
> available now.
> Download today and enter to win an XBOX or Visual
> Studio .NET.
>
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/itext-questions


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] Any plans to support tif files for Image?

2003-07-31 Thread David Thielen
Hi;

That's really good news.

BTW - is there a java api that can turn formats other than jpeg/gif/png into
a java (not itext) Image? Or convert it to a png format?

thanks - dave

- Original Message - 
From: "Chris Farmer" <[EMAIL PROTECTED]>
To: "itext" <[EMAIL PROTECTED]>
Sent: Thursday, July 31, 2003 12:11 PM
Subject: RE: [iText-questions] Any plans to support tif files for Image?



Check out this message from Paulo from this list on 7/22 describing the
tiff support:


TIFF flavors supported:

Compression - no compression, packbits, lzw, deflate, ccitt Photometric
- bw, rgb, separated (cymk), indexed Bit depth - 1, 2, 4, 8 iccprofile
is used if present

Not supported - planar images and extra sample (masks)

Other images types:

gif - full support
bmp - full support
png - full support
jpg - rgb and cymk 8 bit and monochrome
wmf - no bmp or patterns

Best Regards,
Paulo Soares



-Original Message-
From: Matt Benson [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 10:33 AM
To: David Thielen; itext
Subject: Re: [iText-questions] Any plans to support tif files for Image?

I believe the reason it is not supported is because
TIFF is multipage, and so contains multiple images.

-Matt

--- David Thielen <[EMAIL PROTECTED]> wrote:
> thanks - dave


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01
/01
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] special characters

2003-07-31 Thread David Thielen
Title: Message



Do you have the asian fonts installed on your 
O/S?
 

  - Original Message - 
  From: 
  Sam Maina 

  To: '[EMAIL PROTECTED] 
  Sourceforge. Net' 
  Sent: Thursday, July 31, 2003 11:17 
  AM
  Subject: [iText-questions] special 
  characters
  
  
  I tried :
  document.add(new Chunk("some special characters 
  \u221E \u2264")); And all it show is "some special characters" omitting 
  the unicode characters.
  What more do I need 
  to do to show these characters?
   
  Sam Maina
  Web Developer
   Knovel  Corporation
  (607) 773 1840 ext 
  670
  [EMAIL PROTECTED]
   


RE: [iText-questions] Any plans to support tif files for Image?

2003-07-31 Thread Chris Farmer

Check out this message from Paulo from this list on 7/22 describing the
tiff support:


TIFF flavors supported:

Compression - no compression, packbits, lzw, deflate, ccitt Photometric
- bw, rgb, separated (cymk), indexed Bit depth - 1, 2, 4, 8 iccprofile
is used if present

Not supported - planar images and extra sample (masks)

Other images types:

gif - full support
bmp - full support
png - full support
jpg - rgb and cymk 8 bit and monochrome
wmf - no bmp or patterns

Best Regards,
Paulo Soares



-Original Message-
From: Matt Benson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 31, 2003 10:33 AM
To: David Thielen; itext
Subject: Re: [iText-questions] Any plans to support tif files for Image?

I believe the reason it is not supported is because
TIFF is multipage, and so contains multiple images.

-Matt

--- David Thielen <[EMAIL PROTECTED]> wrote:
> thanks - dave


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01
/01
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] Any plans to support tif files for Image?

2003-07-31 Thread Matt Benson
I believe the reason it is not supported is because
TIFF is multipage, and so contains multiple images.

-Matt

--- David Thielen <[EMAIL PROTECTED]> wrote:
> thanks - dave


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] special characters

2003-07-31 Thread Sam Maina
Title: Message




I tried :
document.add(new Chunk("some special characters 
\u221E \u2264")); And all it show is "some special characters" omitting 
the unicode characters.
What more do I need to 
do to show these characters?
 
Sam Maina
Web Developer
 Knovel  Corporation
(607) 773 1840 ext 
670
[EMAIL PROTECTED]
 


[iText-questions] Any plans to support tif files for Image?

2003-07-31 Thread David Thielen



thanks - dave


Re: [iText-questions] Special Characters

2003-07-31 Thread Philipp Keller
Sam Maina wrote:
(B
(B> Can anyone tell me how I can display special characters.
(B> I am able to display only the Greek characters. For example, how can I
(B> display $B!g(B.
(B> among other symbols.
(B> Sam Maina
(B> /Web Developer/
(B> Knovel Corporation
(B> (607) 773 1840 ext 670
(B> [EMAIL PROTECTED] 
(B
(Byou can enter unicode characters in all iText elements..
(Bhave a look at
(Bhttp://www.w3.org/TR/1998/REC-html40-19980424/sgml/entities.html
(B
(Byou can enter them by "\u00a9"
(B(the first char is a backslash.. hope that is displayed rightly..)
(B
(Bgreets
(BPhilipp Keller
(B
(B
(B
(B
(B
(B---
(BThis SF.Net email sponsored by: Free pre-built ASP.NET sites including
(BData Reports, E-commerce, Portals, and Forums are available now.
(BDownload today and enter to win an XBOX or Visual Studio .NET.
(Bhttp://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
(B___
(BiText-questions mailing list
(B[EMAIL PROTECTED]
(Bhttps://lists.sourceforge.net/lists/listinfo/itext-questions

[iText-questions] Special Characters

2003-07-31 Thread Sam Maina
Title: Message

(B
(B
(BCan anyone tell me 
(Bhow I can display special characters.
(BI am able to display 
(Bonly the Greek characters. For example, how can I display $B!g(J.
(Bamong other 
(Bsymbols.
(B 
(BSam Maina
(BWeb Developer
(B Knovel  Corporation
(B(607) 773 1840 ext 
(B670
(B[EMAIL PROTECTED]
(B 

Re: [iText-questions] Add SVG to pdf

2003-07-31 Thread Paulo Soares
Your SVG is broken. Batik doesn't like it (it's a batik error). It may work
with other viewers but that doesn't mean that batik will read it.

Best Regards,
Paulo Soares

- Original Message -
From: "Stefanie Hölderl" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 31, 2003 7:53
Subject: [iText-questions] Add SVG to pdf


Hi,
I have 3 different svg drawings. I can only add on of them. The other
two don´t work, I can´t see them in the resulting pdf file. What is the
problem? Is it a size problem??
Here is the error message:

java.io.IOException: Content is not allowed in trailing section.
at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown
Source)
at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown
Source)
at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown
Source)
at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown
Source)
at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown
Source)
at org.apache.batik.transcoder.print.PrintTranscoder.print(Unknown
Source)
at com.zf.isotoleranz.actions.EvalToPrint.execute(EvalToPrint.java:109)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:480)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
274)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1420)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:502)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
(Http11Protocol.java:392)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:56
5)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:619)
at java.lang.Thread.run(Thread.java:536)
Finished.

Can anyone help?

__
ComputerBild 15-03 bestaetigt: Den besten Spam-Schutz gibt es bei
WEB.DE FreeMail - Deutschlands beste E-Mail - http://s.web.de/?mc=021121



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01
/01
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] CJK font equivalent

2003-07-31 Thread Paulo Soares
The windows 2000/xp cd has several TTC fonts that support CJK. Office also
comes with arial unicode that has everything. Use one of those fonts with
the encoding Identity-H or Identity-V for vertical writing.
See the example ms_pgothic.java in my site for a japanese example.

Best Regards,
Paulo Soares

- Original Message -
From: "Mark Goking" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 31, 2003 7:54
Subject: [iText-questions] CJK font equivalent


>
>
> Anyone know some equivalent fonts for chinese japanese and korean?
> Because using i-textasian.jar will not allow you to emebed the font
> within the pdf. Please include encoding type
>
> Mark




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] Saving a PDF after Modifying the AcroForm

2003-07-31 Thread Paulo Soares
The fields can also be set individually from java, of course.

Best Regards,
Paulo Soares

- Original Message - 
From: "Bruno" <[EMAIL PROTECTED]>
To: "Steve Wolf" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, July 31, 2003 7:29
Subject: Re: [iText-questions] Saving a PDF after Modifying the AcroForm


> Quoting Steve Wolf <[EMAIL PROTECTED]>:
> 
> > So, I figured out how to read an existing pdf form, get the acroform,
> and
> > even modify the field info dictionary.  But, I'm having trouble
> getting the
> > now modified acroform and the pdf it came from, saved as a new file. 
> > Unfortunately, our business takes care of creating the pdf forms with
> defined
> > form fields and I'm supposed to populate the fields with data.  I'm
> pretty
> > sure that it can be done, this has proved to be an excellent library
> so far. 
> > There must just be some simple thing I'm over looking.  A nudge in the
> right
> > direction would be greatly appreciated.
> 
> Take a look at the merge_fdf.java example at Paulo's site
> (the examples-xxx.zip).
> br,
> Bruno
> 
> 
> ---
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01
> /01
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] How to set overprint when writting a text?

2003-07-31 Thread Paulo Soares
I've no idea. You can also put in the gs.setOverPrintNonStroking(true). Are
you sure that the output device understands the overprint command?

Best Regards,
Paulo Soares

- Original Message -
From: "Rogerio Cisi" <[EMAIL PROTECTED]>
To: "Leonard Rosenthol" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; "Paulo Soares"
<[EMAIL PROTECTED]>
Sent: Wednesday, July 30, 2003 22:26
Subject: Re: [iText-questions] How to set overprint when writting a text?



Thank´s for your comments!

You are right that OverPrint isn´t supported in AcrobatReader, but my
application will generate pages to be sent to press. In this situation,
we
need to make sure that OverPrint will be obeyed.

Using the code that Paulo gave me I still did´t take the OverPrint
effect.
May I doing something wrong?


m_Document = new Document( pageSize );
m_Writer = PdfWriter.getInstance(m_Document, new FileOutputStream(
ms_DirPDFout + strNomePag ));
m_Document.open();
m_CB = m_Writer.getDirectContent();

m_CB.beginText();

PdfGState gs = new PdfGState();
gs.setOverPrintStroking(true);
m_CB.setGState(gs);

m_CB.showTextAligned( PdfContentByte.ALIGN_LEFT, "texto", mf_PosX,
mf_PosY,
0 );
m_CB.endText();



PS (to Paulo and others): parabéns pela excelente ferramenta
desenvolvida!!!


Rogério Rodrigues Lima Cisi
e-mail : [EMAIL PROTECTED]
São Paulo - Brasil
Fone : 55-11-3145-3900ramal: 3967






Leonard

RosentholPara:   "Paulo Soares"
<[EMAIL PROTECTED]>, "Rogerio Cisi"
<[EMAIL PROTECTED]<[EMAIL PROTECTED]>,
<[EMAIL PROTECTED]>
sages.com>   cc:

 Assunto: Re:
[iText-questions] How to set overprint when writting a
30/07/2003   text?

17:15









At 08:55 PM 7/30/2003 +0100, Paulo Soares wrote:

>You must set the graphic state:
>
>PdfContentByte cb = ;
>PdfGState gs = new PdfGState();
>gs.setOverPrintStroking(true);
>cb.setGState(gs);

 Do keep in mind that many Acrobat users still may not see this
correctly, since OverPrint Preview isn't supported in Reader - only in
"Full", Standard and Professional.   And may be turned off by users.


Leonard


---
Leonard Rosenthol

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







---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01
/01
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] CJK font equivalent

2003-07-31 Thread Mark Goking


Anyone know some equivalent fonts for chinese japanese and korean? Because using 
i-textasian.jar will not allow you to emebed the font within the pdf. Please include 
encoding type

Mark

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.504 / Virus Database: 302 - Release Date: 7/24/2003
 


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Add SVG to pdf

2003-07-31 Thread Stefanie=20H=F6lderl
Hi,
I have 3 different svg drawings. I can only add on of them. The other two don´t work, 
I can´t see them in the resulting pdf file. What is the problem? Is it a size problem??
Here is the error message:

java.io.IOException: Content is not allowed in trailing section.
at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown Source)
at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown Source)
at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source)
at org.apache.batik.transcoder.print.PrintTranscoder.print(Unknown Source)
at com.zf.isotoleranz.actions.EvalToPrint.execute(EvalToPrint.java:109)
at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:480)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1420)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:502)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
(Http11Protocol.java:392)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:536)
Finished.

Can anyone help?
__
ComputerBild 15-03 bestaetigt: Den besten Spam-Schutz gibt es bei 
WEB.DE FreeMail - Deutschlands beste E-Mail - http://s.web.de/?mc=021121



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions