Re: [iText-questions] Extract PDF from a PDF Collection

2013-03-01 Thread sselvia
Thank you for the very detail response, the PDF is extremely helpful. It took a little digging but I got the code working with the PDF that I have and the embedded PDF's. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Extract-PDF-from-a-PDF-Collection-tp4657711p465

[iText-questions] [SPAM] Re: Extract PDF from a PDF Collection

2013-03-01 Thread mkl
sselvia, sselvia wrote > Using the code below I'm trying to extract an embedded PDF which I can see > in Reader. The problem I'm having is the PdfArray file specs = embedded > files.getAsArray(PdfName.NAMES); The content of the embeddedfiles is an > KIDS item not NAMES. So in case of your file

[iText-questions] Executing javascript on server

2013-03-01 Thread Sirisha Dinavahi
Hi, I have a dynamic PDF template created using Adobe Livecycle ES3. We have to use quite a bit of javascript to dynamically repeat rows in several tables across the form. Can this java script be executed by iText? Right now the only way I figured out is to execute javascript at client i.e. whe

[iText-questions] XMLWorker and images?

2013-03-01 Thread AJ Weber
I am not having any luck using XMLWorkerHelper .parseXHtml( ) where I have images on my local machine, and have the img tag's src attribute set to the URL of the local file (i.e. src="file:/C:/temp/image1.gif" ). I know the image is capable of being added to the PDF, because I can "manually"

Re: [iText-questions] Extract PDF from a PDF Collection

2013-03-01 Thread Leonard Rosenthol
The values of EmbeddedFiles is a Names Tree - so it can have both Names and Kids in any combination Leonard On 2/28/13 11:33 PM, "sselvia" wrote: >Using the code below I'm trying to extract an embedded PDF which I can >see in >Reader. The problem I'm having is the PdfArray file specs = embedde

[iText-questions] XMLWorker and images?

2013-03-01 Thread AJ Weber
(Resending in plain-text, maybe the html-email got rejected.) > I am not having any luck using XMLWorkerHelper .parseXHtml( ) where I > have images on my local machine, and have the img tag's src attribute > set to the URL of the local file (i.e. src="file:/C:/temp/image1.gif" > ). I know the

Re: [iText-questions] Can iText convert PDF to Text

2013-03-01 Thread Dean Johnson
Ross Here's what I use to extract text from a PDF -- in vb.net Private Function GetText(ByVal sInputPathFile As String) As String Dim sResults As String = "" Dim oReader As New iTextSharp.text.pdf.PdfReader(sInputPathFile) For i = 1 To oReader.NumberOfPages Dim its As New iTextSh

[iText-questions] Can iText convert PDF to Text

2013-03-01 Thread Ross
I'd like to run an API from my program that will convert PDF to a text file. Does iText do that? If not what program does? Thanks, --RR -- Everyone hates slow websites. So do we. Make your web apps faster with AppDyn

Re: [iText-questions] Itext 5.4.0 - Splitting pdf / UA

2013-03-01 Thread 1T3XT BVBA
On 1/03/2013 13:14, MILLIERE Loic wrote: As you understood I'm new to Itext and PDF structure, and I was feeling a bit lost ... The Tagged PDF functionality is brand new and undocumented. Your question was very much to the point. I just wanted to make sure you used the correct classes ;-) --

Re: [iText-questions] Itext 5.4.0 - Splitting pdf / UA

2013-03-01 Thread Bruno Lowagie
Op 28/02/2013 11:20, loic schreef: Thank you very much, my problem is solved thanks to your reply. :-) I don't agree. You may have the illusion that your problem is solved, but in reality you're probably doing it wrong. First I have try to use PdfCopy, but I got a nullPointerException when

Re: [iText-questions] XML documentation files missing for itextsharp libraries

2013-03-01 Thread Michael Demey
Hi Wayne, I've uploaded the xml to the following location: http://itextsupport.com/files/itextsharpxml/iTextSharp.zip From the next release onwards, the xml will be included in iText. Kind regards, Michaƫl. Op 28/02/2013 15:20, Wayne Bloss schreef: > Hello, > > Is there an itextsharp.xml file

Re: [iText-questions] Blank pages with very big line heights

2013-03-01 Thread iText Info
Hello Daniel, we think you are a paying customer, but we didn't find you in the paid support system. Is that correct? If so, please register your e-mail address with your account manager (Garry Vleminckx). From that moment on, you'll be able to post questions to the private ticketing system. We

Re: [iText-questions] Itext 5.4.0 - Splitting pdf / UA

2013-03-01 Thread MILLIERE Loic
Bruno, Thanks for your help, you are absolutely right : my problem was not solved using PdfAWriter even after adding setTagged(). As you suggested I went back to PdfCopy adding "keepTaggedPdfStructure" set to true to getImportedPage(). The nullPointerException is gone and it seems (better to

Re: [iText-questions] Strange behaviour of Chunk.setRemoteGoto

2013-03-01 Thread Paul Breslaw
On 01/03/13 08:03, iText Info wrote: > Op 28/02/2013 16:05, Paul Breslaw schreef: >> I isolated one of these misbehaved target files, and looked at the >> corresponding iText-generated pdf code in the source file:- [0 /FitH >> 1]. > Just from the top of my mind (I didn't check), but a page co

[iText-questions] How to add anchor to an existing PDF?

2013-03-01 Thread Wei Zhang
Hi all, Here I have a question about ITextSharp. How to add anchors to a copy page which is used PdfCopy. GetImportedPage to import? Any ideas or helpful links? Thanks in advance. Best Regards, Jerry from China --

Re: [iText-questions] Strange behaviour of Chunk.setRemoteGoto

2013-03-01 Thread iText Info
Op 28/02/2013 16:05, Paul Breslaw schreef: > I isolated one of these misbehaved target files, and looked at the > corresponding iText-generated pdf code in the source file:- [0 /FitH > 1]. Just from the top of my mind (I didn't check), but a page count starts with 1 instead of 0, doesn't it?

[iText-questions] Extract PDF from a PDF Collection

2013-03-01 Thread sselvia
Using the code below I'm trying to extract an embedded PDF which I can see in Reader. The problem I'm having is the PdfArray file specs = embedded files.getAsArray(PdfName.NAMES); The content of the embeddedfiles is an KIDS item not NAMES. If I change the code to be KIDS and execute the rest of