Re: [iText-questions] Editing PDF using iText. Creating new APIs

2011-04-25 Thread 1T3XT BVBA
Op 26/04/2011 8:25, Naresh Chaurasia schreef: > I had been given a task of doing text replacement in pdf files Stop right there. PDF is not a format for editing. Ask the original source that was used to create the PDF, change that source, create a new PDF. If the PDF is a tagged PDF, you could c

Re: [iText-questions] PDF/A Validation

2011-04-25 Thread beppecosta
http://itext-general.2136553.n4.nabble.com/file/n3474837/PDFA-INVALID.pdf PDFA-INVALID.pdf -- View this message in context: http://itext-general.2136553.n4.nabble.com/PDF-A-Validation-tp3465491p3474837.html Sent from the iText - General mailing list archive at Nabble.com. --

[iText-questions] Editing PDF using iText. Creating new APIs

2011-04-25 Thread Naresh Chaurasia
Hi, I had been given a task of doing text replacement in pdf files. I googled and found iText as a good place to start. After reading couple of chapters and trying few example, i spent time with chapter18, Under the hood from iText in Action and came to conclusion that iText is basically not built

Re: [iText-questions] itext as OSGi bundle

2011-04-25 Thread Pascal Leclercq - Opensagres
Hi, do you know when iText 5.x.x will be available ? Where are planning a release of xdocreport pretty soon and sonatype ask to avoid third parties repositories : cf. https://docs.sonatype.org/display/Repository/Central+Sync+Requirements Besides, we *discourage* putting release repository/plugin

Re: [iText-questions] compile FestivalCalendar2.java gives package *.richmedia does not exist

2011-04-25 Thread 1T3XT BVBA
Op 26/04/2011 1:59, Larry Evans schreef: > What should I do to enable mvn to find the richmedia package? We moved it from the core iText to the xtra package. I'll ask Balder to take a look at the POMs. -- WhatsUp Gold - Do

[iText-questions] compile FestivalCalendar2.java gives package *.richmedia does not exist

2011-04-25 Thread Larry Evans
After checkouts: svn co https://itext.svn.sourceforge.net/svnroot/itext/trunk main svn co https://itext.svn.sourceforge.net/svnroot/itext/book book to: ~/prog_dev/itext/ and installs on all the following poms: ~/prog_dev/itext/main $ find . -name pom.xml ./itext/pom.xml ./xtra/pom.xml ./

Re: [iText-questions] itext as OSGi bundle

2011-04-25 Thread Pascal Leclercq
Hi, do you know when iText 5.x.x will be available ? Where are planning a release of xdocreport pretty soon and sonatype ask to avoid third parties repositories : cf. https://docs.sonatype.org/display/Repository/Central+Sync+Requirements Besides, we *discourage* putting release repository/plugin

Re: [iText-questions] Table cells with different widths?

2011-04-25 Thread Nurettin DAG
You can do exactly that by using either the constructor which takes in a float[]. Each element of the array is the percentage width for the corresponding column. You can also call table.setWidths once the table object is instantiated. Good luck Nurettin On Mon, Apr 25, 2011 at 3:08 PM, Richard an

[iText-questions] Table cells with different widths?

2011-04-25 Thread Richard and Terri Bonneau
Hi All, Trying to write out a footer table and need to have two cells, but with differing widths. My current code is derived from the TwoPasses example in the iText in action book and is shown below. It appears that the table cells are being rendered with equal size - how can I set the siz

[iText-questions] show permissons

2011-04-25 Thread M. Niedermair
Hi, how can I display the permissons of a pdf file (only the owner-pw is set)? int permissions = reader.getPermissions(); Show me a value of -1852! Only ALLOW_PRINTING is used (PdfWriter.java: ALLOW_PRINTING = 4 + 2048) How can I get the value 4+2048 for ALLOW_PRINTING from the value -1852? I

Re: [iText-questions] How to Embed fonts in PDF

2011-04-25 Thread Balder
No need to CC us in the message, we read the list, it won't help you to get a quicker reply. On 25/04/2011 8:29, Balajiprasad wrote: Hi, I have searched for the Font Directory & some example. I have some doubts, 1)if we are trying to embed one font into PDF and that font is not available i