Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.pdf file automation
#2
Not Solved
I didnt get you.
Do you want to know how to work with Excel or PDF?

1) To work with PDF:
Adobe provides methods to make the content of a PDF file available to assistive technology
such as screen readers.
On The Microsoft Windows operating system, Adobe Acrobat and Adobe Reader export PDF
content as COM objects. applications can interface with Acrobat or Adobe Reader in two
Ways :
1. Through Microsoft's Active Accessibility( MSAA ) interface, using MSAA objects that
Acrobat or Adobe Reader exorts.
2. Directly through exported COM objects that allow access to the PDF document's
internal structure, called the Document Object Model( DOM ).

The Acrobat SDK is a set of tools that help you develop software that interacts with Acrobat
technology. The SDK contains header files, type libraries, simple utilities, sample code, and
documentation. Using the Acrobat SDK, you can develop software that integrates with
Acrobat and Adobe Reader

You need to have Both Adobe and Acrobat SDK to work with pdf files.
Example:
Code:
Dim gApp, gPDDoc, jso
Set gApp = CreateObject( "AcroExch.App" )
Set gPDDoc = CreateObject( "AcroExch.PDDoc" )
If gPDDoc.Open( "c:\SomePdfFile.pdf" ) Then
Set jso = gPDDoc.GetJSObject()
jso.console.Show
jso.console.Clear
jso.console.println ( "Try doing more research on this...")
gApp.Show
End If
Set jso = Nothing : Set gPDDoc = Nothing : Set gApp = Nothing


2) To Work with Excel:
check this out..
https://www.learnqtp.com/
Reply


Messages In This Thread
.pdf file automation - by umeshganti - 04-18-2008, 03:29 PM
RE: .pdf file automation - by niranjan - 04-18-2008, 08:19 PM
RE: .pdf file automation - by umeshganti - 04-23-2008, 10:05 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to find and change text in PDF document using QTP UFT automation VBscript alexwhite 0 11,945 02-18-2017, 04:20 AM
Last Post: alexwhite
  PDF Automation vijayendra.shukla 5 5,515 07-05-2013, 02:06 PM
Last Post: Staff
  Save an Open PDF file mv8167 0 3,426 04-03-2012, 01:45 AM
Last Post: mv8167
  ISO file is downloaded as 1 kb from HP Mercury site..can't mount file either.... amipraj1 1 3,830 04-06-2011, 03:12 PM
Last Post: Ankur
  PDF file opreations using qtp 9.2 srikanth.0201 1 4,250 03-02-2011, 05:13 PM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 1 Guest(s)