Trait windows::Win32::System::Ole::IOleDocumentView_Impl
pub trait IOleDocumentView_Impl: Sized {
Show 13 methods
// Required methods
fn SetInPlaceSite(&self, pipsite: Option<&IOleInPlaceSite>) -> Result<()>;
fn GetInPlaceSite(&self) -> Result<IOleInPlaceSite>;
fn GetDocument(&self) -> Result<IUnknown>;
fn SetRect(&self, prcview: *const RECT) -> Result<()>;
fn GetRect(&self) -> Result<RECT>;
fn SetRectComplex(
&self,
prcview: *const RECT,
prchscroll: *const RECT,
prcvscroll: *const RECT,
prcsizebox: *const RECT,
) -> Result<()>;
fn Show(&self, fshow: BOOL) -> Result<()>;
fn UIActivate(&self, fuiactivate: BOOL) -> Result<()>;
fn Open(&self) -> Result<()>;
fn CloseView(&self, dwreserved: u32) -> Result<()>;
fn SaveViewState(&self, pstm: Option<&IStream>) -> Result<()>;
fn ApplyViewState(&self, pstm: Option<&IStream>) -> Result<()>;
fn Clone(
&self,
pipsitenew: Option<&IOleInPlaceSite>,
) -> Result<IOleDocumentView>;
}
Required Methods§
fn SetInPlaceSite(&self, pipsite: Option<&IOleInPlaceSite>) -> Result<()>
fn GetInPlaceSite(&self) -> Result<IOleInPlaceSite>
fn GetDocument(&self) -> Result<IUnknown>
fn SetRect(&self, prcview: *const RECT) -> Result<()>
fn GetRect(&self) -> Result<RECT>
fn SetRectComplex( &self, prcview: *const RECT, prchscroll: *const RECT, prcvscroll: *const RECT, prcsizebox: *const RECT, ) -> Result<()>
fn Show(&self, fshow: BOOL) -> Result<()>
fn UIActivate(&self, fuiactivate: BOOL) -> Result<()>
fn Open(&self) -> Result<()>
fn CloseView(&self, dwreserved: u32) -> Result<()>
fn SaveViewState(&self, pstm: Option<&IStream>) -> Result<()>
fn ApplyViewState(&self, pstm: Option<&IStream>) -> Result<()>
fn Clone( &self, pipsitenew: Option<&IOleInPlaceSite>, ) -> Result<IOleDocumentView>
Object Safety§
This trait is not object safe.