Re: AW: CORS error when running PDFBox from a web app

2019-04-10 Thread Greg Hanowski
regards, Siegfried - Siegfried Gstöttner siegfried.gstoett...@sbg.ac.at ++43 (0)662 8044 77392 Universitätsbibliothek Salzburg, Bibliothekstechnologie Hofstallgasse 2-4 AT - 5020 Salzburg AUSTRIA -----Ursprüngliche Nachricht- Von: Greg Hanowski [mailto:g...@enventive.com] Gesendet: Dienstag, 09. Apri

Re: CORS error when running PDFBox from a web app

2019-04-09 Thread Greg Hanowski
cribed issue has nothing to do with PDFBox. Andreas Am 09.04.19 um 17:57 schrieb Greg Hanowski: |table.draw(); |which is running on the server and has nothing to do with the browser at that time. Here is the full code for perspective |publicStringcreateDimCtrlPlanPdf(EnDatabasedb,intuserId,Strin

CORS error when running PDFBox from a web app

2019-04-09 Thread Greg Hanowski
This is a puzzler. I can run this exact same code as a stand-alone program and it works fine. But when I run it on a server which has been triggered by a web page, then I get the following error in the Chrome browser console: Access to XMLHttpRequest at 'http://desktop-60nl2pl:9998/GCad/crea

Re: Can pdfbox find a dimension in a pdf drawing, zoom up on it, highlight it, and create an image file?

2019-03-26 Thread Greg Hanowski
een as it zooms. That is exactly the behavior I am looking for.  Is it possible to do the same thing programmatically using pdfbox api? On 3/20/2019 12:48 PM, Tilman Hausherr wrote: Am 20.03.2019 um 19:31 schrieb Greg Hanowski: Hi Tilman, Oh, ok, I understand.  I've uploaded a new pdf

Re: Can pdfbox find a dimension in a pdf drawing, zoom up on it, highlight it, and create an image file?

2019-03-20 Thread Greg Hanowski
without OCR or pattern recognition. I thought it had to do with viewports but now I think that isn't. A file with it is in this question: https://stackoverflow.com/questions/47772334/how-do-i-extract-viewport-from-a-pdf-and-modify-an-annotations-bounding-rectang Tilman Am 20.03.2019 u

Re: Can pdfbox find a dimension in a pdf drawing, zoom up on it, highlight it, and create an image file?

2019-03-20 Thread Greg Hanowski
Greg On 3/20/2019 1:45 AM, Tilman Hausherr wrote: That's just an image in a PDF. No way to find that dimension programmatically (one could use OCR, with all the difficulties) Tilman Am 19.03.2019 um 22:18 schrieb Greg Hanowski: Ok, I've uploaded it to here: http://www.tekknow.net

Re: Can pdfbox find a dimension in a pdf drawing, zoom up on it, highlight it, and create an image file?

2019-03-19 Thread Greg Hanowski
n Am 19.03.2019 um 21:29 schrieb Greg Hanowski: I've pasted a screenshot of an engineering drawing.  Dimensions are the numbers that define distances between two points.  I want to be able to programmatically zoom up on the 12.000 dimension, for example, highlight it in some way (Put a transpar

Re: Can pdfbox find a dimension in a pdf drawing, zoom up on it, highlight it, and create an image file?

2019-03-19 Thread Greg Hanowski
f it), then an image file of the zoomed up view. ** On 3/19/2019 1:33 AM, Tilman Hausherr wrote: Am 18.03.2019 um 22:40 schrieb Greg Hanowski: We get pdf engineering drawings from suppliers.  We need to programmatically zoom up on a specified dimension, highlight it, and create an image file o

Can pdfbox find a dimension in a pdf drawing, zoom up on it, highlight it, and create an image file?

2019-03-18 Thread Greg Hanowski
We get pdf engineering drawings from suppliers.  We need to programmatically zoom up on a specified dimension, highlight it, and create an image file of the zoomed up view.  How to specify the dimension is unknown.  Some dimensions might have the same text so not sure how to differentiate.  Sug