Re: Problem with appearance construction when newline character included in field value

2017-08-24 Thread Maruan Sahyoun
Hi Scott, > Am 25.08.2017 um 00:47 schrieb Scott Coldwell : > > Maruan, > > Letting adobe acrobat fix the appearance isn’t an option for us. We have to > flatten the forms when we generate them. There is also the potential of > users entering text with newlines for remark/comment fields on s

Re: appearance stream for line dimension

2017-08-24 Thread chitgoks
Hi Tilman i uploaded the PDF file. i set the 2nd half of the line to color blue so you can see where it is being drawn thank you mark On Fri, Aug 25, 2017 at 1:09 AM, Tilman Hausherr wrote: > Am 24.08.2017 um 11:57 schrieb chitgoks: > >> hi im working on an appearance stream for line dimensi

Re: Problem with appearance construction when newline character included in field value

2017-08-24 Thread Scott Coldwell
Maruan, Letting adobe acrobat fix the appearance isn’t an option for us. We have to flatten the forms when we generate them. There is also the potential of users entering text with newlines for remark/comment fields on some of our forms. I suppose I can temporarily replace all newlines with

Re: How to extract pdf content from a html page

2017-08-24 Thread Tilman Hausherr
Am 24.08.2017 um 19:27 schrieb Aalok Agrawal: I have written following code - PDFTextStripper pdfStripper = null; PDDocument pdDoc = null; COSDocument cosDoc = null; String parsedText = null; URL url = new URL(strURL); BufferedInputStream file = new BufferedInputStream(url.openStream()); PDFPar

Re: Problem with appearance construction when newline character included in field value

2017-08-24 Thread Maruan Sahyoun
Hi Scott, > Am 24.08.2017 um 17:53 schrieb Scott Coldwell : > > https://www.dropbox.com/s/aauv4rwnb65qj3x/TestI9.pdf?dl=0 > > > The field in question is Signature of Employee (employee.signature) on the > first page. > > We may be ab

Re: How to extract pdf content from a html page

2017-08-24 Thread Aalok Agrawal
I have written following code - PDFTextStripper pdfStripper = null; PDDocument pdDoc = null; COSDocument cosDoc = null; String parsedText = null; URL url = new URL(strURL); BufferedInputStream file = new BufferedInputStream(url.openStream()); PDFParser parser = new PDFParser(file); parser.parse(

Re: appearance stream for line dimension

2017-08-24 Thread Tilman Hausherr
Am 24.08.2017 um 11:57 schrieb chitgoks: hi im working on an appearance stream for line dimension and this is the closest that i came across https://issues.apache.org/jira/secure/attachment/12805085/showAnnotation.java bottom most if condition the code actually works. partially. i assumed tha

Re: Problem with appearance construction when newline character included in field value

2017-08-24 Thread Scott Coldwell
https://www.dropbox.com/s/aauv4rwnb65qj3x/TestI9.pdf?dl=0 The field in question is Signature of Employee (employee.signature) on the first page. We may be able to do away with the newline. We’re migrating an app from itext and I was t

Re: How to extract pdf content from a html page

2017-08-24 Thread Gilad Denneboom
If you don't know the file's URL or the path of the local temp file to which it is saved I don't see how you could do it. On Thu, Aug 24, 2017 at 4:08 PM, Aalok Agrawal wrote: > Hi, > > I am working on an application where pdf is getting rendered in browser. > There is no pdf extension in URL. >

How to extract pdf content from a html page

2017-08-24 Thread Aalok Agrawal
Hi, I am working on an application where pdf is getting rendered in browser. There is no pdf extension in URL. I have to read the content of the pdf & check some text. Is there any way to do that. Thanks Aalok Agrawal

appearance stream for line dimension

2017-08-24 Thread chitgoks
hi im working on an appearance stream for line dimension and this is the closest that i came across https://issues.apache.org/jira/secure/attachment/12805085/showAnnotation.java bottom most if condition the code actually works. partially. i assumed that once you rotate the content stream's matr

Re: Problem with appearance construction when newline character included in field value

2017-08-24 Thread Maruan Sahyoun
> Am 24.08.2017 um 09:10 schrieb Scott Coldwell : > > Tried with both 2.0.6 and 2.0.7. Also tried with multiline on and off. > Different results with the multiline flag as to what was visible without > focus, but neither was correct. > Would it be possible to get a sample form? BTW - for mul

Re: Problem with appearance construction when newline character included in field value

2017-08-24 Thread Scott Coldwell
Tried with both 2.0.6 and 2.0.7. Also tried with multiline on and off. Different results with the multiline flag as to what was visible without focus, but neither was correct. > On Aug 24, 2017, at 1:49 AM, Maruan Sahyoun wrote: > > Hi Scott, > > >> Am 24.08.2017 um 03:01 schrieb Scott Coldw