[iText-questions] redaction using itext

2011-10-19 Thread Sailesh K
Can I actually Redact portions of a document using itext? how do I go about it? Any examples in the book?   Thanks-- All the data continuously generated in your IT infrastructure contains a definitive record of customers,

Re: [iText-questions] redaction using itext

2011-10-19 Thread Sailesh K
Doing some basic research looks like this better done with appligent or using acrobat javascript. We would like this done on the server side rather than via javascript on the client side.   Is it possible to execute a javascript from itext on a batch of pdf's to redact specific content?

Re: [iText-questions] Convert Existing Word document to pdf

2011-10-19 Thread Lucas Francisco
Try to use another api... I'll suggest you Docx4j (www.docx4java.org). -- All the data continuously generated in your IT infrastructure contains a definitive record of customers,

Re: [iText-questions] Convert Existing Word document to pdf

2011-10-19 Thread Balder VC
Hmm dunno for Microsoft language if there are libs that do that maybe you can help yourself out with Java e.g. http://code.google.com/p/xdocreport/ On 19/10/11 13:51, Nandhini S.L. wrote: Hi, I understand that iTextSharp can be used for converting a document to pdf. But first we have to

Re: [iText-questions] redaction using itext

2011-10-19 Thread Leonard Rosenthol
Appligent's Redax product is available for server-side usage (http://www.appligent.com/res). iText is not really suited for doing redaction as it doesn't have a concept of editing page content (only reading it). From: Sailesh K skrish...@yahoo.commailto:skrish...@yahoo.com Reply-To: Sailesh K

Re: [iText-questions] iText - Dynamic Table + Footer

2011-10-19 Thread Balder VC
Using e.g. Document d = new Document(PageSize.A4, 25f, 25f, 25f, 100f); De 100f is respected as bottom margin by my tables On 18/10/11 19:28, Lucas Francisco wrote: How are you numbering your pages ? I'm using events, is it the problem ? What about your document, are you using some specific

[iText-questions] What Text Rendering mode should I use

2011-10-19 Thread Sailesh K
Hi,   I have an OCG which I am filling with a background Color. when I then try to add text using contentByte.showTextAligned ...the writing appears with only the  outlines of the writing but the fill color seeping into the lettering itelf. What TextRenderingMode should I be using instead?  

Re: [iText-questions] What Text Rendering mode should I use

2011-10-19 Thread Leonard Rosenthol
Then don't set the render mode, or set it to 0. From: Sailesh K skrish...@yahoo.commailto:skrish...@yahoo.com Reply-To: Sailesh K skrish...@yahoo.commailto:skrish...@yahoo.com, Post here itext-questions@lists.sourceforge.netmailto:itext-questions@lists.sourceforge.net Date: Wed, 19 Oct 2011

Re: [iText-questions] Convert Existing Word document to pdf

2011-10-19 Thread McGee, Edwin F. Sr.
I have had great success using OpenOffice running as a service and using Java api to convert Word, Excel, PowerPoint, and Text to PDF. The following URL is a good start for How To using Open Office as a server service: artofsolving.com/node/10. Hope this helps. Ed McGee

Re: [iText-questions] iText - Dynamic Table + Footer

2011-10-19 Thread Lucas Francisco
Solved... Well done! It was my mistake... thank you! -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application

Re: [iText-questions] What Text Rendering mode should I use

2011-10-19 Thread Sailesh K
For some reason, when I do this, the text just disappears. I have the background fill set to white: so thiscontentBye.setTextRenderingMode(PdfContentByte.TEXT_RENDER_MODE_FILL_STROKE_CLIP);   causes it to appear with the font in black outline and white inside and this:  

Re: [iText-questions] What Text Rendering mode should I use

2011-10-19 Thread Leonard Rosenthol
Perhaps you forgot to set the fill color back to black before drawing the text?? From: Sailesh K skrish...@yahoo.commailto:skrish...@yahoo.com Reply-To: Sailesh K skrish...@yahoo.commailto:skrish...@yahoo.com Date: Wed, 19 Oct 2011 07:47:51 -0700 To: Leonard Rosenthol

[iText-questions] Infopath to PDF

2011-10-19 Thread Tom Berchenbriter
Is there anything already developed that would allow me to convert a InfoPath xsn its associated XML into PDF with iText? -- All the data continuously generated in your IT infrastructure contains a definitive record of

Re: [iText-questions] Infopath to PDF

2011-10-19 Thread Leonard Rosenthol
Are you trying to convert the presentation, the template, the data, what?? Do you want a static PDF or a fillable form? If a form, how much business logic? There are SO SO MANY unanswered questions here that are really about InfoPath-PDF and not iText specifically… Leonard From: Tom

Re: [iText-questions] Deleting a PDF

2011-10-19 Thread TvT
(if that is not a joke question) you can delete the pdf with normal java file operations. e.g. here http://www.java2s.com/Code/Java/File-Input-Output/DeletefileusingJavaIOAPI.htm 2011/10/19 Lucas Francisco dominicals There is any function to remove an entire pdf from my computer using iText

Re: [iText-questions] Deleting a PDF

2011-10-19 Thread Lucas Francisco
Yes... it was a noob question -.- Sorry for my lazy and thx for your reply! -- The demand for IT networking professionals continues to grow, and the demand for specialized

Re: [iText-questions] Infopath to PDF

2011-10-19 Thread Tom Berchenbriter
XML data is exported from an InfoPath XSN file. The layout in one of the views I have is exactly the way I need it, but automating the print to pdf is not really possible with infopath alone, so I would like to use itext to automate the last step so that sharepoint can spit out a pdf to a

Re: [iText-questions] Infopath to PDF

2011-10-19 Thread Andreas Kuehne
Hi Tom, if you don't mind to get in touch with XSL, try to convert your data into XSL-FO and let it render by one of the XSL-FO-engines. You don't have to get near a single line of Java code or a compiler ... Greetings Andreas - original Nachricht Betreff: Re: [iText-questions]

[iText-questions] embedding fonts

2011-10-19 Thread Jason Berk
I found this online: http://itext-general.2136553.n4.nabble.com/PdfSmartCopy-not-reusing-a-fo nt-resource-td2170980.html I understand the PdfSmartCopy will not strip out embedded fonts if only a subset of the font was used. I would like to embed the entire font in my PDFs (it only has 10

[iText-questions] Why doesnt iText add tables which are near the page buttom to the document?

2011-10-19 Thread shakur
I have a lot of small tables, which i encapsulate in a sorrounding 1x1 table, and set the SplitRows attribute to false on the sorrounding table. This way, i can avoid my table getting split when it reaches the buttom of a page. When i get to the end of a page, and there is a little space for text,

[iText-questions] Multiple iterations over PdfContentByte object causes corrupt pdf

2011-10-19 Thread Lindsey, Ron
The following code causes the resulting pdf to open with the following error. If the iteration is reduced by 1 (to 52), no error is generated. [cid:image001.png@01CC8E7A.06D2BBD0] public void BasicTest() { byte[] pdf = data.pdf.Resource1.test; for (int x = 0; x 53; x++) {

Re: [iText-questions] Why doesnt iText add tables which are near thepage buttom to the document?

2011-10-19 Thread Jason Berk
table.setKeepTogether(true) document.add(table) -Original Message- From: shakur [mailto:kenanpw...@gmail.com] Sent: Wed 10/19/2011 6:51 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Why doesnt iText add tables which are near thepage buttom to the document? I