Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to embed Acrobat Reader inside SWT ?



hmm...... thanks anyway.... i hope SWT team got some ideas on that....


On 1/31/07, Doug Zwick <email@hidden> wrote:
Ivan Ooi wrote:

> hmm.... this really interesting.... PDF Kit... I didn't know anythings
> about this...
>
> Thanks for your tips!
>
> On 1/30/07, Doug Zwick <email@hidden> wrote:
>> Ivan Ooi wrote:
>>
>> > In Windows, I can embed acrobat reader in SWT using ActiveX but...
>> > how bout in Mac ?
>> > How can I do that ?
>>
>> Starting in 10.4 (IIRC), the Mac OS X frameworks includes "PDF Kit".
>> If it works at all like WebKit it should be embeddable using the
>> CocoaComponent class (included by Apple in the JVM). This is not a
>> trivial project, however. See the Java WebKit project on Source Forge
>> to see how it was done with WebKit.

I just noticed the "SWT" note. CocoaComponent is for use with Swing,
so that route might not help you. If SWT offers something similar
(i.e. a way to embed a Cocoa NSView) you might be in luck. Otherwise,
you may need to look at a pure-Java solution like Multivalent (IIRC
it is open source under GPL) and do your own SWT-based rendering. If
the SWT Browser (mentioned by another poster) embeds WebKit, you
might be able to get it to render PDFs via the browser plugin.

For more info on the native Cocoa frameworks (PDFKit, WebKit), do a
search on developer.apple.com.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: How to embed Acrobat Reader inside SWT ? (From: Doug Zwick <email@hidden>)
 >Re: How to embed Acrobat Reader inside SWT ? (From: "Ivan Ooi" <email@hidden>)
 >Re: How to embed Acrobat Reader inside SWT ? (From: Doug Zwick <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.