pub trait ITextDocument_Impl: Sized + IDispatch_Impl {
Show 19 methods
// Required methods
fn GetName(&self) -> Result<BSTR>;
fn GetSelection(&self) -> Result<ITextSelection>;
fn GetStoryCount(&self) -> Result<i32>;
fn GetStoryRanges(&self) -> Result<ITextStoryRanges>;
fn GetSaved(&self) -> Result<i32>;
fn SetSaved(&self, value: tomConstants) -> Result<()>;
fn GetDefaultTabStop(&self) -> Result<f32>;
fn SetDefaultTabStop(&self, value: f32) -> Result<()>;
fn New(&self) -> Result<()>;
fn Open(
&self,
pvar: *const VARIANT,
flags: tomConstants,
codepage: i32,
) -> Result<()>;
fn Save(
&self,
pvar: *const VARIANT,
flags: tomConstants,
codepage: i32,
) -> Result<()>;
fn Freeze(&self) -> Result<i32>;
fn Unfreeze(&self) -> Result<i32>;
fn BeginEditCollection(&self) -> Result<()>;
fn EndEditCollection(&self) -> Result<()>;
fn Undo(&self, count: i32) -> Result<i32>;
fn Redo(&self, count: i32) -> Result<i32>;
fn Range(&self, cpactive: i32, cpanchor: i32) -> Result<ITextRange>;
fn RangeFromPoint(&self, x: i32, y: i32) -> Result<ITextRange>;
}
Required Methods§
fn GetName(&self) -> Result<BSTR>
fn GetSelection(&self) -> Result<ITextSelection>
fn GetStoryCount(&self) -> Result<i32>
fn GetStoryRanges(&self) -> Result<ITextStoryRanges>
fn GetSaved(&self) -> Result<i32>
fn SetSaved(&self, value: tomConstants) -> Result<()>
fn GetDefaultTabStop(&self) -> Result<f32>
fn SetDefaultTabStop(&self, value: f32) -> Result<()>
fn New(&self) -> Result<()>
fn Open( &self, pvar: *const VARIANT, flags: tomConstants, codepage: i32, ) -> Result<()>
fn Save( &self, pvar: *const VARIANT, flags: tomConstants, codepage: i32, ) -> Result<()>
fn Freeze(&self) -> Result<i32>
fn Unfreeze(&self) -> Result<i32>
fn BeginEditCollection(&self) -> Result<()>
fn EndEditCollection(&self) -> Result<()>
fn Undo(&self, count: i32) -> Result<i32>
fn Redo(&self, count: i32) -> Result<i32>
fn Range(&self, cpactive: i32, cpanchor: i32) -> Result<ITextRange>
fn RangeFromPoint(&self, x: i32, y: i32) -> Result<ITextRange>
Object Safety§
This trait is not object safe.