Re: [iText-questions] "Template not rendering as expected" Forum Post

2011-07-26 Thread James Butenhoff
Bruno (& folks), Using the unmodified MovieCountries1.java from SVN (Rev. 4521) and several JVMs, I continue to generate the same problem my own code experiences. When the total pages number is written to the template's canvas, the position is directly above the expected target. For your reference

Re: [iText-questions] Problems detecting page sizes of PDF documents

2011-07-26 Thread 1T3XT BVBA
On 26/07/2011 16:26, Bassini Massimo wrote: > the resulting document still has the same problem: looks like an A4 > within code, but it’s something else, though. In addition to Mark's answer (which is correct), I'd like to add that apart from the /MediaBox (a rectangle returned by getPageSize())

Re: [iText-questions] Merging 3 PDF Files with annotations intact

2011-07-26 Thread Mark Storer
PdfCopy or PdfSmartCopy is your best bet. --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; From: Botte, John [mailto:john.bo...@fmglobal.com] Sent: Tuesday, July 26, 2011 8:49 A

[iText-questions] Merging 3 PDF Files with annotations intact

2011-07-26 Thread Botte, John
Hey all, I am working on a c# application which will merge multiple pdf documents. Some of these documents contain annotations. What is the best method to merge these and keep annotations? Annotations include notes and highlighted areas of the document. Is this something that can be done, would

Re: [iText-questions] Problems detecting page sizes of PDF documents

2011-07-26 Thread Mark Storer
You've assumed that 0,0 is always going to be one of the corners of the page. Don't. Particularly with N-up printing, pages can be no where near 0,0. If the page you're dealing with was intended to be in the 3rd column, 4th row of a 6x6 "page" page, it's corners could be just about anywhere, de

[iText-questions] Problems detecting page sizes of PDF documents

2011-07-26 Thread Bassini Massimo
Hi everyone, this is my first question. I'm sorry but I've to skip presentation 'cause I'm pressed ... The problem I have is the following: I'm trying to manipulate PDF files (ex. Adding images, adding barcodes etc.). Usually I don't have big problems but in this case ... When I read the

Re: [iText-questions] How can we remove watermark from a PDF document programatically using iText?

2011-07-26 Thread 1T3XT BVBA
On 26/07/2011 17:36, 1T3XT BVBA wrote: > I often but the watermark in an OCG. I often PUT the watermark in an OCG. -- Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention m

Re: [iText-questions] How can we remove watermark from a PDF document programatically using iText?

2011-07-26 Thread 1T3XT BVBA
On 26/07/2011 16:29, Dedovic, Enes wrote: There are two distinct ways watermark is added to a document: 1.Watermark is added using iText. This is done by adding a text component? Should we use signet tool instead? 2.Watermark is added using Adobe Pro's watermark tool. We would like to be ab

[iText-questions] How can we remove watermark from a PDF document programatically using iText?

2011-07-26 Thread Dedovic, Enes
There are two distinct ways watermark is added to a document: 1. Watermark is added using iText. This is done by adding a text component? Should we use signet tool instead? 2. Watermark is added using Adobe Pro's watermark tool. We would like to be able to remove both of them.

[iText-questions] How can we remove watermark from a PDF document programatically using iText?

2011-07-26 Thread Dedovic, Enes
There are two distinct ways watermark is added to a document: 1. Watermark is added using iText. This is done by adding a text component? Should we use signet tool instead? 2. Watermark is added using Adobe Pro's watermark tool. We would like to be able to remove both of them. -

[iText-questions] PATCH

2011-07-26 Thread Henri Laulhere
I needed hyperlinks in the PDFGraphics2D. There is already a rendering hint. I needed local gotos and hyperlinks for Shapes. Here is a patch with the extended behavior. This path applies to version 2.1.5 Regards, Henri extendedHyperlinks.patch Description: Binary data --

Re: [iText-questions] PDFStamper watermark text wrapping

2011-07-26 Thread 1T3XT BVBA
On 26/07/2011 10:53, CRON_20 wrote: > Hi > > I use PDFStamper for adding some text to left side of each page of my pdf. > But my text is very long and go out from page. > > PdfContentByte overlay = stamper.getOverContent(i); > ... > overlay.setTextMatrix(0, 1, -1, 0, 20, 20); > overlay.newlineShowT

[iText-questions] PDFStamper watermark text wrapping

2011-07-26 Thread CRON_20
Hi I use PDFStamper for adding some text to left side of each page of my pdf. But my text is very long and go out from page. PdfContentByte overlay = stamper.getOverContent(i); ... overlay.setTextMatrix(0, 1, -1, 0, 20, 20); overlay.newlineShowText("here my text with very long length"); ... How

[iText-questions] How to create static XFA in adobe Live Cycle designer ES2

2011-07-26 Thread ankita1313
HI, I am using iText XFa movie example, wirting data from xml over the pdf, then converting it to the Acroform and then generating tiff for the pdf. I have my own static pdfs, but the problem is I m not able to change it to AcroForm properly. Can you please tell me the step that how XFAMovie.pd

[iText-questions] Issue with Itext : ExceptionConverter: java.io.IOException: A system call received a parameter that is not valid in itext

2011-07-26 Thread Shrikrishna Kadge
Hi All,   I am getting Error   2011-07-22 13:45:23,208 | DEBUG | rhiTextPDFConverter : generateiTextPDF(?) | Font Name : /usr3/SIR04908/mydomain/Reports/PROP/arial.ttf 2011-07-22 13:45:28,755 | FATAL | rhiTextPDFConverter : generateiTextPDF(?) | Error while parsing userconfig.xml ExceptionCo

Re: [iText-questions] embedded font within jar

2011-07-26 Thread 1T3XT BVBA
On 24/07/2011 0:21, Beep wrote: > im trying to make a jar conaining the fonts that will be embedded in the > resulting pdf. > The problem is that i can't realize how to load the fonts as resources. Your code snippets tell me you're trying to get those resources the hard way. The BaseFont class has

Re: [iText-questions] need help to bout iTextSharp in Windows Azure...

2011-07-26 Thread 1T3XT BVBA
On 25/07/2011 18:23, kumaran.cts wrote: > Exception Details: System.IO.IOException: > F:\sitesroot\0\PDFTemplate\xyz.pdf not found as file or resource. What about these Exception Details isn't clear? Your application wants to access the file xyz.pdf and either that file isn't present in F:\sitesr

Re: [iText-questions] Checkbox

2011-07-26 Thread chandrashekar
String[] chkboxs = form.getAppearanceStates("checkboxname"); for(String s : chkboxs){ System.out.println (s); // the value listed will show you what values it expects. } -- View this messa

Re: [iText-questions] need help to bout iTextSharp in Windows Azure...

2011-07-26 Thread kumaran.cts
Hello, I am getting similar error after deployed into azure as follow: Server Error in '/' Application. F:\sitesroot\0\PDFTemplate\xyz.pdf not found as file or resource. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for