Hi Paulo,
I converted the icc profile of my image to US Web Coated SWOP using
Photoshop. My programme working fine and it created a PDFx compliant
document. However, my requirement is to embedd an icc profile
programatically OR as you suggested, mapping the default colorspace
without changing th
I forward this to the mailing list.
I still have too much work on the book.
br,
Bruno
Prashant Baj wrote:
> Hi,
> I have a HTML template which has [[placeholders]] and I want to
> replace the placeholdres with the dynamic content and create the PDF.
> Value of one of the placeholders may be sev
Ok Paulo,
I solved the problem. I was put into PdfCopyMerge() the first document
when I would put a new PDF document.
thanks.
*
* Federal University of Minas Gerais*
* Department of C
Now the documents are being loaded. But the final document doesn't contain
the PDF files. What could be happening?
//obter documento base
OutputStream outBase = new ByteArrayOutputStream();
IOUtils.copy(docBase,outBase);
PdfCopyMerge docComposto = new PdfCopyMerge(outBase)
At 03:44 PM 8/30/2006, Dilip Ladhani wrote:
>How can I hide the document message bar though..thanks
>
You can't.
It's visibility is controlled by the user.
Leonard
---
Leonard Rosenthol
Who knows what is in the byte array? Output it to a file and look at what
you get.
Paulo
- Original Message -
From: "Aloizio Pereira da Silva" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, August 30, 2006 7:30 PM
Subject: [iText-questions] PDF Header signature not found
I am using
form.setFieldProperty("notes","clrfflags", PdfFormField.FF_REQUIRED, null)
works.
Paulo
- Original Message -
From: "Beate Niendorf" <[EMAIL PROTECTED]>
To: "'Post all your questions about iText here'"
Sent: Wednesday, August 30, 2006 2:29 PM
Subject: Re: [iText-questions] FormField is
Thanks,
I do use this to hide the toolbar. How can I hide the document message
bar though..thanks
On 8/30/06, bruno <[EMAIL PROTECTED]> wrote:
> Dilip Ladhani wrote:
>
> >Is there any way to Hide the document Message bar. Like a javascript
> >or preferences? thanks
> >
> http://itextdocs.lowagie.c
I am using
ByteArrayOutputStream saida = new ByteArrayOutputStream();
IOUtils.copy(inFile,saida);
PdfReader doc = new PdfReader(saida.toByteArray()); (the error
happens in this line)
If I put the url everything is ok. Why doesn't work with byteArray?
Hi everybody,
I am trying to concatenate existing PDF files but I am getting the error
java.io.IOException: PDF header signature not found.
at com.lowagie.text.pdf.PRTokeniser.checkPdfHeader(Unknown Source)
at com.lowagie.text.pdf.PdfReader.readPdf(Unknown Source)
at com.l
- Original Message -
From: "Prakhya, Ganesh" <[EMAIL PROTECTED]>
To: "Post all your questions about iText here"
Sent: Wednesday, August 30, 2006 2:23 PM
Subject: Re: [iText-questions] Embedding an ICC Profile to jpg image.
> Hi Paulo,
>
> There is NO ICC profile attached to the image
Hi Paulo,
There is NO ICC profile attached to the image I am using. I am assuming
this by the following code.
Image img = Image.getInstance(imageFile);
System.out.println(img.hasICCProfile());
This returning false. Is there any other way to check whether an ICC
profile presnet or not?
-- Ganesh
Hi Paulo,
There is NO ICC profile attached to the image I am using. I am assuming
this by the following code.
Image img = Image.getInstance(imageFile);
System.out.println(img.hasICCProfile());
This returning false. Is there any other way to check whether an ICC
profile presnet or not?
-- Ganes
Hi Paulo,
There is NO ICC profile attached to the image I am using. I am assuming
this by the following code.
Image img = Image.getInstance(imageFile);
System.out.println(img.hasICCProfile());
This returning false. Is there any other way to check whether an ICC
profile presnet or not?
-- Gane
Hi Paulo,
This is how I try to set the field "notes" to "not required:
public static void main(String[] args) throws Exception {
File f = new File("C:/tmp/test/foo.pdf");
FileInputStream inStream = new FileInputStream(f);
PdfReader reader = new PdfReader(inStream);
PdfStamper sta
Hi Paulo,
There is NO ICC profile attached to the image I am using. I am assuming
this by the following code.
Image img = Image.getInstance(imageFile);
System.out.println(img.hasICCProfile());
This returning false. Is there any other way to check whether an ICC
profile presnet or not?
-- Ganesh
Works for me. Post a small PDF and the exact code you are using so that the
problem can be reproduced.
Paulo
- Original Message -
From: "Beate Niendorf" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, August 30, 2006 1:56 PM
Subject: [iText-questions] FormField is not required
>
>
> Hello,
As far as I know jpeg images carry their own ICC profile, if any. I suspect
that you may have to change the image before inserting it with iText.
Paulo
- Original Message -
From: "bruno" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, August 30, 2006 1:43 PM
Subject: Re: [iText-questions] Emb
Hello,
I try to turn off the flag "FF_REQUIRED" of some PdfFormFields but
form.setFieldProperty(fieldname, "ctrlfflags", PdfFormField.FF_REQUIRED,
null); is not working :(
Also turning on the flag with form.setFieldProperty(fieldname,
"setfflags", PdfFormField.FF_REQUIRED, null); ist not wo
You used the wrong mailinglist address.
I forward your mail.
Prakhya, Ganesh wrote:
> I have a template which has a copy hole for putting jpg image and I am
> using this template for multiple page generation. I want print ready
> PDFx document, so, I embedded an ICC profile with the following c
If you remove the javascript from printfields.pdf it will work correctly. It
looks like it's the javascript that has to be debugged.
Paulo
- Original Message -
From: "bruno" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, August 30, 2006 11:57 AM
Subject: [iText-questions] appearance comb tex
Hello all,
I forward a problem that is reported on the Planet PDF forum.
An original PDF file (printfield) has some text fields with the comb option.
When filled using iTextSharp, this results in printfieldmodified.pdf.
When Adobe Reader creates the appearance, everything looks OK (I think),
but t
Peter Neu wrote:
>Is there any way to fit(shrink) the original picture better in ?
>
>
Look for a method scaleToFit
br,
Bruno
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickl
Ok , so I did this:
float x = reader.getPageSize(1).width() - img.scaledWidth();
float y = reader.getPageSize(1).height() - img.scaledHeight();
Problem is the pictures are too big.
Original page is 595.0 x 842.0
Picture is 834.0 x 1181.0
So I get this coordinates -239.0 x -339.0
Is there an
bruno lowagie.com> writes:
>
> jerry wrote:
>
> >hi,
> >
> >how to find whether the urls in the pdf file is active or not.
> >
> >
> First you extract the URLs from the PDF.
> Then I guess you create a java.net.URL object
> and try openStream. If it fails, the URL is down
> for the moment, if
Peter Neu wrote:
>Is there a way round this? I can't do absolute positioning because the
>pictures have different size.
>
You know the page size and you know the size of the image.
The math to center an image vertically is rather straightforward.
br,
Bruno
--
jerry wrote:
>hi,
>
>how to find whether the urls in the pdf file is active or not.
>
>
First you extract the URLs from the PDF.
Then I guess you create a java.net.URL object
and try openStream. If it fails, the URL is down
for the moment, if it works, it's active.
I don't think there's any wate
hi,
how to find whether the urls in the pdf file is active or not.
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
D
Hello,
I need to stamp an image on a pdf. So I use PdfStamper. When I use this
alignment method
img.setAlignment(Image.MIDDLE);
Itext throws this exception:
java.io.IOException: The image must have absolute positioning.
Is there a way round this? I can't do absolute positioning because the
[EMAIL PROTECTED] wrote:
> godverdomme
Hier vloekt men niet! ;-)
br,
Bruno
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job e
30 matches
Mail list logo