Adobe® Acrobat Reader OCX Interface 
Description

This application allows one to view and print Adobe PDF files within Visual Smalltalk using the OCX shipped with Acrobat Reader 3.0.

Files

Requirements

VS/VSE 3.1.2 for Win32s. Requires at least the following libraries:
 
ARBase.sll Alejandro Reimondo base components SLL 
vreg31w.sll Registration Database Support
voleb31w.sll  OLE COM Support
volec31w.sll OLE Container Support
volex31w.sll  OLE Control Support
OCX.sll (or OCX.st) OCX Wrapper

Adobe® Acrobat Reader 3.0 or better should be installed.

Installation

Ensure that the above SLLs are installed in the VS/VSE library directory or a directory that appears in the Windows PATH statement and evaluate:

SmalltalkLibraryBinder bindTo:'Acrobat'.

The Acrobat.sll library will automatically bind its required libraries if they have not already been bound to the image.

Examples

Evaluate

AcrobatTest open

to open a test window on the Acrobat OCX.

Additional info

The majority of classes and code for this application may be generated automatically from the OCX Wrapper library by evaluating the following expression:

OCXFrameworkBuilder
    buildClassesFor: 'PDF.PdfCtrl.1'
    mask: 'Acrobat'.

A few methods have been added to customize the resulting class AcrobatTest. Class methods controlSiteFramingBlock, notifierFramingBlock, and notifierHeight of AcrobatTest have been added to control the position of the panes in the test window. To open a PDF document methods openFile and promptFile have been added to AcrobatTest.

Contact

Alejandro F. Reimondo
Amenabar 3476 Piso: 2 Dto: B.
Ciudad de Buenos Aires.
Argentina.
Tel: (54)-1-703-5586.
aleReimondo@sugarWeb.com
http://www.sugarweb.com


Links to:
The ObjectShare web site
VisualSmalltalk Product Support
ObjectShare's Online Documentation Site