Hi all,
I m trying to write black text on a PDF using java.awt.Graphics2D and
itext in CYMK.
I have seen the docs on
http://www.lowagie.com/iText/tutorial/ch10.html#graphics2D
and run the example Chap10_Graphics2D.java
(http://www.lowagie.com/iText/examples/Chap10_Graphics2D.java) but the
colo
Okay,
With a the great assistance of Paulo, I have the software working
properly. However there is a problem which appears to be a bug.
Here's my implementation:
copy = new PdfCopy ( this, outputStream );
this.open ();
contentByte = null;
boolean fi
Hello,
I have tried many times tweaking different things but I keep getting a blank
page instead of the PDF file.
Does anyone know how to get iText working within the Struts framework? In my
Action class execute() function I do this:
- create the PDF file as a ByteArrayOutputStream
- flush th
Hi all,
I m trying to write black text on a PDF using java.awt.Graphics2D and
itext in CYMK.
I have seen the docs on
http://www.lowagie.com/iText/tutorial/ch10.html#graphics2D
and run the example Chap10_Graphics2D.java
(http://www.lowagie.com/iText/examples/Chap10_Graphics2D.java) but the
colo
Is it possible
to populate the document properties of a PDF file if the PDF is only in
memory? I am using iText with FOP, which saves the generated
PDF to a stream (ByteArrayOutputStream outbuffer) and passed it on to iText
via a PdfReader before it is Encrypted. Sample code
below.
Woodchuck yahoo.com> writes:
>
> I've followed the tutorial instructions and other
> instructions elsewhere but I'm always getting a blank
> page and yes, I am calling the
> response.setContentLength()..
>
nevermind, it finally worked when i added these 3
lines:
response.setHeader("Expir
I've followed the tutorial instructions and other
instructions elsewhere but I'm always getting a blank
page and yes, I am calling the
response.setContentLength()..
Is there anything wrong or missing in my Action
class's execute():
public ActionForward execute(
ActionMapping m
PdfReader.getPermissions()
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Katie Portwin
> Sent: Wednesday, June 02, 2004 5:27 PM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] READ Encryption settings?
>
> Hi,
>
> I want to KEEP whateve
Hi,
I want to KEEP whatever encryption settings (allow printing, etc) are on an
original PDF, when I grab some of its pages and write them to a new
document.
I understand how to use PdfEncryptor.encrypt to SET encryption. ..But can
I do something like GET the encryption flags on a PdfReader so
Hi again,
A few trial and error, here are my result from the community :
- Color created from a CMYK java.awt.color.ColorSpace does not work
- Color with type com.lowagie.text.pdf.CMYKColor works.
Conclusion : to do CMYK graphics using the java.awt.Graphics2D-object in
itext use
Hi,
Will it work if the java.awt.Color is created from a CMYK Colorspace
(eg. color#getType() returns 9=java.awt.color.ColorSpace#TYPE_CMYK ) ?
I try it but it does not seem to work :)
BR
Guillaume
Le mer 02/06/2004 Ã 15:35, Paulo Soares a Ãcrit :
> The Graphics2D in iText only supports R
At 10:00 AM 6/2/2004, Paulo Soares wrote:
Thank you for the assistance. I'll probably only have time in July to
see this but from what I've glanced the real problem is what kind what
interface is exposed to the users so that they understand and use it
without being PDF gurus.
Agreed.
Another thing. Are there any examples of PDFs with OCG?
Best Regards,
Paulo Soares
> -Original Message-
> From: Paulo Soares
> Sent: Wednesday, June 02, 2004 3:00 PM
> To: 'Leonard Rosenthol'; Ignacio Galmarino; Murph;
> [EMAIL PROTECTED]
> Subject: RE: [iText-questions] Background non
Thank you for the assistance. I'll probably only have time in July to
see this but from what I've glanced the real problem is what kind what
interface is exposed to the users so that they understand and use it
without being PDF gurus.
Best Regards,
Paulo Soares
> -Original Message-
> From
The method PdfDocument.fixOutlines() disappeared in Jul 15, 2002 and was
never seen since then. You have multiple iText versions in your
classpath.
Best Regards,
Paulo Soares
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Henrik Skafsgaard Lar
At 09:28 AM 6/2/2004, Paulo Soares wrote:
I'm tempted to add support for OCG. I'll try to find time to do it.
It's not difficult, but it is tricky - as you have to put pieces
in a variety of places.../Catalog, /Page/Resources and even inside the
content stream(s) themselves.
If y
The Graphics2D in iText only supports RGB.
Best Regards,
Paulo Soares
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of xYomguIx
> Sent: Wednesday, June 02, 2004 2:26 PM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] CMYK graphics using the
Hiyas
I can currently write XML metadata to the PDF and its stored nicely.
However, the Adobe XMP specification requires a specific location to
write the XMP data to. Does anyone know how I can write it to the level
required? This here is from the specification, maybe that helps:
PDF
For PDF file
That's not supported but it's a trivial modification. I'll add in the
next release.
Best Regards,
Paulo Soares
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Chris Boulter
> Sent: Tuesday, June 01, 2004 4:46 PM
> To: [EMAIL PROTECTED]
> Subject
I'm tempted to add support for OCG. I'll try to find time to do it.
Best Regards,
Paulo Soares
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Leonard Rosenthol
> Sent: Wednesday, June 02, 2004 1:48 AM
> To: Ignacio Galmarino; Murph; [EMAIL PRO
Hi all,
I m trying to write black text on a PDF using java.awt.Graphics2D and
itext in CYMK.
I have seen the docs on
http://www.lowagie.com/iText/tutorial/ch10.html#graphics2D
and run the example Chap10_Graphics2D.java
(http://www.lowagie.com/iText/examples/Chap10_Graphics2D.java) but the
colo
Hello,
I recently upgraded JasperReports to v. 0.53 and Itext to 1.02b,
created a report, compiled it but got the following error:
ExceptionConverter: java.lang.NullPointerException
ExceptionConverter: java.lang.NullPointerException at
com.lowagie.text.pdf.PdfDocument.fixOutlines(PdfDocument.
halloo..
I'm trying to run the XML -> PDF formating based on the example Chap0702,
but everytime I compile it, it shows following error messages ;
java.net.UnknownHostException: itext.sourceforge.net
at java.net.InetAddress.getAllByName0(InetAddress.java:585)
at java.net.InetAd
Yes, and the result is the same. The image is not displayed
too.
The RTF file produced by Word after saving is bigger than the
same file produced by iText.
After analyzing the two RTF files, I found differences in the
image data ...
Regards,
Mo
Quoting Murph <[EMAIL PROTECTED]>:
> 1.) Is it possible to create a table without any visible borders?
You have set the Table border to NO_BORDER,
but you have to do the same for each Cell
(or for the default Cell).
> 2.) I would like to use the default, fixed-width font Courier. When I use it
>
25 matches
Mail list logo