[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform.swt] Re: Adobe SVG Control
|
Can you be more specfic about "can only access content on the local
machine"?
In the IE example, there is a restriction on what can be downloaded.
In OleBrowserView.createBrowserControl the following lines restrict the kind
of things the browser will display:
Variant download = new Variant(DLCTL_NO_SCRIPTS);
webControlSite.setSiteProperty(DISPID_AMBIENT_DLCONTROL, download);
See MSDN:
"Hosts can control certain aspects of downloading-frames, images, Java, and
so on-by implementing both IOleClientSite and an ambient property defined as
DISPID_AMBIENT_DLCONTROL. When the host's IDispatch::Invoke method is called
with dispidMember set to DISPID_AMBIENT_DLCONTROL, it should place zero or a
combination of the following values in pvarResult."
http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/overview
/overview.asp
"David" <walkerdk@xxxxxxxxxxx> wrote in message
news:b9scu7$3tb$1@xxxxxxxxxxxxxxxx
> Recently, I tried to integrate the Adobe SVG Control (version 3) into an
> SWT application that I'm developing. In doing so, I was able to test a
> couple controls and get things working (easily so with the IE sample);
> unfortunately, I ran into much difficulty with the SVG Control.
>
> First off, it appears that in Java/SWT, the control can only access
> content on the local machine (remote content worked fine from the VB
> version using the same control).
>
> So my question for the group is, does anyone have any sample code of this
> working? Is there any configuration/initialization above and beyond what
> is required to initialize SWT?
>
> Any help would be greatly appreciated!
>
> David
>