Planet PDF Forum Archive

Planet PDF ForumWowsers! This is page is old, head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner to in-depth developer and pre-press discussions. If you wish to continue... one & two archive covers 1999-2011 (160,000 pages).


New Forum | Previous | Next | (P-PDF) Developers


Topic: MSACCESS XP and Acrobat 6
Conf: (P-PDF) Developers, Msg: 90461
From: Allquixotic
Date: 6/20/2003 10:40 PM

Hi all,

I recently purchased Acrobat 6 standard, after discovering that a Developer Network Account is not required to get the Acrobat 6 Type Library. I have extensive experience with VB, OLE Automation, MDAC and Access - but I'm pretty new to the Adobe API. What is the highest layer in the API model that I can use to insert blob/OLE objects (.bmps) into the top left and lower right hand corners of a PDF? For example, I want to automate, through Visual Basic (well - VBA - I'm hoping that I can code this in an Access form), the process of inserting OLE images from an Access table into a programmatically opened PDF. The API reference (for 5.0 at least) does not provide clear examples of how to specify the coordinates of where the image is inserted. Maybe I am missing something, since I am so used to OLE Automation in MS Office. Can I do this from the PDFEdit layer, or do I have to use the Cos layer? I can use ADO or DAO in Access to get handles to the OLE object in question, but then inserting it in a specific, set area of the PDF (and scaling it to a static size of 100% because every iteration of the OLE objects will have the same bitmap dimensions) becomes a major Javascript project, it appears... unless I am missing something! The way it is done in OLE (on a Word document, for example) is very, very simple: Insert > Object... Create from File > pick BMP, drag it to the desired coordinates. It's literally just as easy through programmatic OLE Automation! But in a PDF... has anyone seen an example of anything very similar to this, done through VB/VBA and the Acrobat 6 Type Library?

P.S. - My clients will be opening the files with either Acrobat Reader 5 or 6 (probably more often Reader 6.) They will not be able to download third-party client plugins.

P.S.S - Some say to use the JavaScript Help option in Acrobat... why does Acrobat 5 have this option but not Acrobat 6?

TIA
Sean


PDF In-Depth Free Product Trials Ubiquitous PDF

Debenu Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link...

Download free demo

Debenu PDF Tools Pro

It's simple to use and will let you preview and edit PDF files, it's a Windows application that makes...

Download free demo

Back to the past, 15 years ago! Open Publish 2002

Looking back to 2002, it's amazing how much of the prediction became a reality. Take a read and see what you think!

September 14, 2017
Platinum Sponsor





Search Planet PDF
more searching options...
Planet PDF Newsletter
Most Popular Articles
Featured Product

Debenu PDF Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link control. Take Acrobat to the next level.

Features

Adding a PDF Stamp Comment

OK, so you want to stamp your document. Maybe you need to give reviewers some advice about the document's status or sensitivity. This tip from author Ted Padova demonstrates how to add stamps with the Stamp Tool along with related comments.