com.jniwrapper.win32.ole
Interface IOleDocumentView

All Superinterfaces:
AutoDeleteParameter, IUnknown
All Known Implementing Classes:
IOleDocumentViewImpl

public interface IOleDocumentView
extends IUnknown

This interface is used by containers for receiving information about views of a document.

See Also:
Microsoft COM SDK documentation

Field Summary
static java.lang.String INTERFACE_IDENTIFIER
           
 
Method Summary
 void applyViewState(IStream pStm)
           
 void closeView(Int32 dwReserved)
           
 IUnknown getDocument()
           
 IOleInPlaceSite getInPlaceSite()
           
 Rect getRect()
           
 IOleDocumentView invokeClone(IOleInPlaceSite pIPSiteNew)
           
 void open()
           
 void saveViewState(IStream pStm)
           
 void setInPlaceSite(IOleInPlaceSite pIPSite)
           
 void setRect(Rect prcView)
           
 void setRectComplex(Rect prcView, Rect prcHScroll, Rect prcVScroll, Rect prcSizeBox)
           
 void show(VariantBool fShow)
           
 void UIActivate(VariantBool fUIActivate)
           
 
Methods inherited from interface com.jniwrapper.win32.com.IUnknown
addRef, isNull, queryInterface, release, setNull
 
Methods inherited from interface com.jniwrapper.AutoDeleteParameter
isAutoDelete, setAutoDelete
 

Field Detail

INTERFACE_IDENTIFIER

static final java.lang.String INTERFACE_IDENTIFIER
See Also:
Constant Field Values
Method Detail

setInPlaceSite

void setInPlaceSite(IOleInPlaceSite pIPSite)
                    throws ComException
Parameters:
pIPSite - [in]
Throws:
ComException

getInPlaceSite

IOleInPlaceSite getInPlaceSite()
                               throws ComException
Throws:
ComException

getDocument

IUnknown getDocument()
                     throws ComException
Throws:
ComException

setRect

void setRect(Rect prcView)
             throws ComException
Parameters:
prcView - [in]
Throws:
ComException

getRect

Rect getRect()
             throws ComException
Throws:
ComException

setRectComplex

void setRectComplex(Rect prcView,
                    Rect prcHScroll,
                    Rect prcVScroll,
                    Rect prcSizeBox)
                    throws ComException
Parameters:
prcView - [in]
prcHScroll - [in]
prcVScroll - [in]
prcSizeBox - [in]
Throws:
ComException

show

void show(VariantBool fShow)
          throws ComException
Parameters:
fShow - [in]
Throws:
ComException

UIActivate

void UIActivate(VariantBool fUIActivate)
                throws ComException
Parameters:
fUIActivate - [in]
Throws:
ComException

open

void open()
          throws ComException
Throws:
ComException

closeView

void closeView(Int32 dwReserved)
               throws ComException
Parameters:
dwReserved - [in]
Throws:
ComException

saveViewState

void saveViewState(IStream pStm)
                   throws ComException
Parameters:
pStm - [in]
Throws:
ComException

applyViewState

void applyViewState(IStream pStm)
                    throws ComException
Parameters:
pStm - [in]
Throws:
ComException

invokeClone

IOleDocumentView invokeClone(IOleInPlaceSite pIPSiteNew)
                             throws ComException
Parameters:
pIPSiteNew - [in]
Throws:
ComException