embedding a viewer like Java / COM component could be attempted with Native Boost.. that is a framework creation effort. viz in Visualworks:
| acrobatInterface arguments |
acrobatInterface := COMDispatchDriver createObject: 'AcroExch.AVDoc'.
arguments := Array new: 10 withAll: 0.
arguments
at: 1 put: 'fileName.pdf';
at: 2 put: self windowHandle;
at: 3 put: 1.
acrobatInterface
invokeMethod: 'OpenInWindowEx'
withArguments: arguments.
acrobatInterface inspect
used to work...if in Pharo we can get that capability.. it will be great for Windows apps.. for lot more than just PDF views
It can cover MS Office / IE .. and tons more of capability..