pub trait ITextDocument2_Impl: Sized + ITextDocument_Impl {
Show 44 methods
// Required methods
fn GetCaretType(&self) -> Result<i32>;
fn SetCaretType(&self, value: i32) -> Result<()>;
fn GetDisplays(&self) -> Result<ITextDisplays>;
fn GetDocumentFont(&self) -> Result<ITextFont2>;
fn SetDocumentFont(&self, pfont: Option<&ITextFont2>) -> Result<()>;
fn GetDocumentPara(&self) -> Result<ITextPara2>;
fn SetDocumentPara(&self, ppara: Option<&ITextPara2>) -> Result<()>;
fn GetEastAsianFlags(&self) -> Result<tomConstants>;
fn GetGenerator(&self) -> Result<BSTR>;
fn SetIMEInProgress(&self, value: i32) -> Result<()>;
fn GetNotificationMode(&self) -> Result<i32>;
fn SetNotificationMode(&self, value: i32) -> Result<()>;
fn GetSelection2(&self) -> Result<ITextSelection2>;
fn GetStoryRanges2(&self) -> Result<ITextStoryRanges2>;
fn GetTypographyOptions(&self) -> Result<i32>;
fn GetVersion(&self) -> Result<i32>;
fn GetWindow(&self) -> Result<i64>;
fn AttachMsgFilter(&self, pfilter: Option<&IUnknown>) -> Result<()>;
fn CheckTextLimit(&self, cch: i32, pcch: *const i32) -> Result<()>;
fn GetCallManager(&self) -> Result<IUnknown>;
fn GetClientRect(
&self,
type: tomConstants,
pleft: *mut i32,
ptop: *mut i32,
pright: *mut i32,
pbottom: *mut i32
) -> Result<()>;
fn GetEffectColor(&self, index: i32) -> Result<i32>;
fn GetImmContext(&self) -> Result<i64>;
fn GetPreferredFont(
&self,
cp: i32,
charrep: i32,
options: i32,
curcharrep: i32,
curfontsize: i32,
pbstr: *mut BSTR,
ppitchandfamily: *mut i32,
pnewfontsize: *mut i32
) -> Result<()>;
fn GetProperty(&self, type: i32) -> Result<i32>;
fn GetStrings(&self) -> Result<ITextStrings>;
fn Notify(&self, notify: i32) -> Result<()>;
fn Range2(&self, cpactive: i32, cpanchor: i32) -> Result<ITextRange2>;
fn RangeFromPoint2(&self, x: i32, y: i32, type: i32) -> Result<ITextRange2>;
fn ReleaseCallManager(&self, pvoid: Option<&IUnknown>) -> Result<()>;
fn ReleaseImmContext(&self, context: i64) -> Result<()>;
fn SetEffectColor(&self, index: i32, value: i32) -> Result<()>;
fn SetProperty(&self, type: i32, value: i32) -> Result<()>;
fn SetTypographyOptions(&self, options: i32, mask: i32) -> Result<()>;
fn SysBeep(&self) -> Result<()>;
fn Update(&self, value: i32) -> Result<()>;
fn UpdateWindow(&self) -> Result<()>;
fn GetMathProperties(&self) -> Result<i32>;
fn SetMathProperties(&self, options: i32, mask: i32) -> Result<()>;
fn GetActiveStory(&self) -> Result<ITextStory>;
fn SetActiveStory(&self, pstory: Option<&ITextStory>) -> Result<()>;
fn GetMainStory(&self) -> Result<ITextStory>;
fn GetNewStory(&self) -> Result<ITextStory>;
fn GetStory(&self, index: i32) -> Result<ITextStory>;
}
Required Methods§
fn GetCaretType(&self) -> Result<i32>
fn SetCaretType(&self, value: i32) -> Result<()>
fn GetDisplays(&self) -> Result<ITextDisplays>
fn GetDocumentFont(&self) -> Result<ITextFont2>
fn SetDocumentFont(&self, pfont: Option<&ITextFont2>) -> Result<()>
fn GetDocumentPara(&self) -> Result<ITextPara2>
fn SetDocumentPara(&self, ppara: Option<&ITextPara2>) -> Result<()>
fn GetEastAsianFlags(&self) -> Result<tomConstants>
fn GetGenerator(&self) -> Result<BSTR>
fn SetIMEInProgress(&self, value: i32) -> Result<()>
fn GetNotificationMode(&self) -> Result<i32>
fn SetNotificationMode(&self, value: i32) -> Result<()>
fn GetSelection2(&self) -> Result<ITextSelection2>
fn GetStoryRanges2(&self) -> Result<ITextStoryRanges2>
fn GetTypographyOptions(&self) -> Result<i32>
fn GetVersion(&self) -> Result<i32>
fn GetWindow(&self) -> Result<i64>
fn AttachMsgFilter(&self, pfilter: Option<&IUnknown>) -> Result<()>
fn CheckTextLimit(&self, cch: i32, pcch: *const i32) -> Result<()>
fn GetCallManager(&self) -> Result<IUnknown>
fn GetClientRect( &self, type: tomConstants, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32 ) -> Result<()>
fn GetEffectColor(&self, index: i32) -> Result<i32>
fn GetImmContext(&self) -> Result<i64>
fn GetPreferredFont( &self, cp: i32, charrep: i32, options: i32, curcharrep: i32, curfontsize: i32, pbstr: *mut BSTR, ppitchandfamily: *mut i32, pnewfontsize: *mut i32 ) -> Result<()>
fn GetProperty(&self, type: i32) -> Result<i32>
fn GetStrings(&self) -> Result<ITextStrings>
fn Notify(&self, notify: i32) -> Result<()>
fn Range2(&self, cpactive: i32, cpanchor: i32) -> Result<ITextRange2>
fn RangeFromPoint2(&self, x: i32, y: i32, type: i32) -> Result<ITextRange2>
fn ReleaseCallManager(&self, pvoid: Option<&IUnknown>) -> Result<()>
fn ReleaseImmContext(&self, context: i64) -> Result<()>
fn SetEffectColor(&self, index: i32, value: i32) -> Result<()>
fn SetProperty(&self, type: i32, value: i32) -> Result<()>
fn SetTypographyOptions(&self, options: i32, mask: i32) -> Result<()>
fn SysBeep(&self) -> Result<()>
fn Update(&self, value: i32) -> Result<()>
fn UpdateWindow(&self) -> Result<()>
fn GetMathProperties(&self) -> Result<i32>
fn SetMathProperties(&self, options: i32, mask: i32) -> Result<()>
fn GetActiveStory(&self) -> Result<ITextStory>
fn SetActiveStory(&self, pstory: Option<&ITextStory>) -> Result<()>
fn GetMainStory(&self) -> Result<ITextStory>
fn GetNewStory(&self) -> Result<ITextStory>
fn GetStory(&self, index: i32) -> Result<ITextStory>
Object Safety§
This trait is not object safe.