Search found 866 matches

by jeffp
Tue Oct 06, 2009 3:51 pm
Forum: PDF-XChange Viewer SDK
Topic: Setting Form Field Values in Code
Replies: 7
Views: 1623

Re: Setting Form Field Values in Code

Pefect.

Is there a js call to get an array of all the Fields on the page?
by jeffp
Tue Oct 06, 2009 2:52 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: ExportDocument
Replies: 13
Views: 2485

Re: ExportDocument

Just a couple of follow ups: 1. I see that all the image functions like IMG_PageSetFormatLongParameter you refer to are in the ixclib40.dll. However, I can't seem to find the Delphi unit that wraps these functions and in turn exposes them to me. Am I missing a unit here? 2. Do you have a small Delph...
by jeffp
Tue Oct 06, 2009 3:12 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: ExportDocument
Replies: 13
Views: 2485

Re: ExportDocument

I think I'd prefer to do my entire OCR process outside of the Viewer given the current Viewer limitations in this area. As such, I'd also like to create the TIFF images from each PDF page using your non-Viewer AX SDKs. I see in the normal Viewer SDK there is a way to convert the PDF page to a window...
by jeffp
Tue Oct 06, 2009 3:09 am
Forum: PDF-XChange Viewer SDK
Topic: Setting Form Field Values in Code
Replies: 7
Views: 1623

Setting Form Field Values in Code

I'm looking for a way to set a Form Field Value through code. I have several PDF files that contain form fields. Rather than having the user open the PDF and interact with the form fields directly, I need to be able to set these Form Field values via code. I have a list of the form field names. Is t...
by jeffp
Fri Oct 02, 2009 3:33 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Adding Text to a PDF Document
Replies: 5
Views: 1387

Re: Adding Text to a PDF Document

Perfect. Would you happen to have a Delphi Example for this?
by jeffp
Fri Oct 02, 2009 3:14 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: ExportDocument
Replies: 13
Views: 2485

Re: ExportDocument

As I mentioned, I can render the page to a TIFF file just fine in the ActiveX viewer using the ExportDocument call. But I'm looking to do it outside the ActiveX Viewer. As such, in looking at the Non-ActiveX Viewer SDK, I see the PXCV_DrawPageToDC function. Is that what you use? If so, the issue is ...
by jeffp
Fri Oct 02, 2009 3:09 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Adding Text to a PDF Document
Replies: 5
Views: 1387

Re: Adding Text to a PDF Document

Ok. I see that to add text I need to use the PXC Library and not the XCPRO Library. However, this brings up a big issue for me. The PXC Library and the demo you sent can add text to a "new" PDF page. I need to add this text to an "existing" PDF page. When I OCR my existing PDF document, I have to pl...
by jeffp
Fri Oct 02, 2009 2:32 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: ExportDocument
Replies: 13
Views: 2485

Re: ExportDocument

I saw that example but it seems to deal with extracting images that are already in the PDF page. ExportDocument in the Viewer actually creates a TIFF (or other image file) out of the PDF page whether or not that page contains images. Is there something similar in the PDF Tools SDK?
by jeffp
Fri Oct 02, 2009 6:28 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Adding Text to a PDF Document
Replies: 5
Views: 1387

Adding Text to a PDF Document

I am a bit confused as to how to add text to a PDF document via your API. Here's my situation: I'm dealing with PDF files that are essentially images of paper documents that have been scanned in. I first extract a TIFF image of each page of the PDF and send it to my OCR engine. The OCR engine give b...
by jeffp
Fri Oct 02, 2009 6:05 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: ExportDocument
Replies: 13
Views: 2485

ExportDocument

I need to export each page of a pdf as a TIFF file (or other image format) in order to pass it along to my OCR engine. In the Viewer SDK there is a nice ExportDocument call that does it well. However, I'd like to do this without having to open the viewer. As such, is there an equivalent to the Viewe...
by jeffp
Thu Oct 01, 2009 8:59 pm
Forum: PDF-XChange Viewer SDK
Topic: How to Add OCR Text to an Image PDF?
Replies: 7
Views: 1253

Re: How to Add OCR Text to an Image PDF?

The OCR engine gives me the coordinates (since I will have alreay have made a Tiff image of the PDF page and sent it to the OCR engine for processing) and I don't want the user to select the text box in the viewer so that issue is ok. As such, will RunJavaScript place text objects in the viewer docu...
by jeffp
Thu Oct 01, 2009 7:43 pm
Forum: PDF-XChange Viewer SDK
Topic: How to Add OCR Text to an Image PDF?
Replies: 7
Views: 1253

Re: How to Add OCR Text to an Image PDF?

What about JavaScript? I found a post on this form entitled "Problem with Doc.addAnnot method?" which seems to discuss a java script route to adding text. Below is some of that post. string script = "this.addAnnot({page : 0, type : \"FreeText\", rect : [255,10,355,30], fillColor : color.transparent,...
by jeffp
Thu Oct 01, 2009 3:20 pm
Forum: PDF-XChange Viewer SDK
Topic: Delphi 2007 and the PDFXCviewAxLib_TLB.pas unit
Replies: 3
Views: 890

Re: Delphi 2007 and the PDFXCviewAxLib_TLB.pas unit

That worked. Thanks for the file.
by jeffp
Thu Oct 01, 2009 3:19 pm
Forum: PDF-XChange Viewer SDK
Topic: How to Add OCR Text to an Image PDF?
Replies: 7
Views: 1253

Re: How to Add OCR Text to an Image PDF?

In a phone conversation I had with John, he mentioned he thought this was possible in the Viewer. What about the JavaScript route? Does that provide a way to embed hidden text into the active viewer document? My document will already be open in the viewer. If I went the PDF Tools route I'd have to: ...
by jeffp
Wed Sep 30, 2009 7:41 pm
Forum: PDF-XChange Viewer SDK
Topic: How to Add OCR Text to an Image PDF?
Replies: 7
Views: 1253

How to Add OCR Text to an Image PDF?

One of the primary items I need to replicate in my existing program if I make the switch to your PDF components is the ability to add OCR text to a PDF page in the viewer. My OCR engine gives me a bunch of text with coordinates. With my existing PDF component (that I'm not too happy with), I use the...
by jeffp
Wed Sep 30, 2009 7:10 pm
Forum: PDF-XChange Viewer SDK
Topic: Delphi 2007 and the PDFXCviewAxLib_TLB.pas unit
Replies: 3
Views: 890

Delphi 2007 and the PDFXCviewAxLib_TLB.pas unit

I'm new to your product and just trying to get up to speed by compiling your Delphi examples. However, I'm having an issue that seems to be related to the PDFXCviewAxLib_TLB.pas file that Delphi 2007 generates from your PDFXCviewAx.dll. When I try compile your PDFXChangeViewerActiveX project, the co...