01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.swt.internal.ole.win32;
11:
12: import org.eclipse.swt.internal.win32.RECT;
13:
14: public class IOleDocumentView extends IUnknown {
15: public IOleDocumentView(int /*long*/address) {
16: super (address);
17: }
18:
19: public int SetInPlaceSite(int /*long*/pIPSite) {
20: return COM.VtblCall(3, address, pIPSite);
21: }
22:
23: public int SetRect(RECT prcView) {
24: return COM.VtblCall(6, address, prcView);
25: }
26:
27: public int Show(int fShow) {
28: return COM.VtblCall(9, address, fShow);
29: }
30:
31: public int UIActivate(int fUIActivate) {
32: return COM.VtblCall(10, address, fUIActivate);
33: }
34: }
|