pub trait ITextDocument_Impl: Sized {
Show 27 methods // Required methods fn CaretType(&self) -> Result<CaretType>; fn SetCaretType(&self, value: CaretType) -> Result<()>; fn DefaultTabStop(&self) -> Result<f32>; fn SetDefaultTabStop(&self, value: f32) -> Result<()>; fn Selection(&self) -> Result<ITextSelection>; fn UndoLimit(&self) -> Result<u32>; fn SetUndoLimit(&self, value: u32) -> Result<()>; fn CanCopy(&self) -> Result<bool>; fn CanPaste(&self) -> Result<bool>; fn CanRedo(&self) -> Result<bool>; fn CanUndo(&self) -> Result<bool>; fn ApplyDisplayUpdates(&self) -> Result<i32>; fn BatchDisplayUpdates(&self) -> Result<i32>; fn BeginUndoGroup(&self) -> Result<()>; fn EndUndoGroup(&self) -> Result<()>; fn GetDefaultCharacterFormat(&self) -> Result<ITextCharacterFormat>; fn GetDefaultParagraphFormat(&self) -> Result<ITextParagraphFormat>; fn GetRange( &self, startposition: i32, endposition: i32 ) -> Result<ITextRange>; fn GetRangeFromPoint( &self, point: &Point, options: PointOptions ) -> Result<ITextRange>; fn GetText( &self, options: TextGetOptions, value: &mut HSTRING ) -> Result<()>; fn LoadFromStream( &self, options: TextSetOptions, value: Option<&IRandomAccessStream> ) -> Result<()>; fn Redo(&self) -> Result<()>; fn SaveToStream( &self, options: TextGetOptions, value: Option<&IRandomAccessStream> ) -> Result<()>; fn SetDefaultCharacterFormat( &self, value: Option<&ITextCharacterFormat> ) -> Result<()>; fn SetDefaultParagraphFormat( &self, value: Option<&ITextParagraphFormat> ) -> Result<()>; fn SetText(&self, options: TextSetOptions, value: &HSTRING) -> Result<()>; fn Undo(&self) -> Result<()>;
}

Required Methods§

fn CaretType(&self) -> Result<CaretType>

fn SetCaretType(&self, value: CaretType) -> Result<()>

fn DefaultTabStop(&self) -> Result<f32>

fn SetDefaultTabStop(&self, value: f32) -> Result<()>

fn Selection(&self) -> Result<ITextSelection>

fn UndoLimit(&self) -> Result<u32>

fn SetUndoLimit(&self, value: u32) -> Result<()>

fn CanCopy(&self) -> Result<bool>

fn CanPaste(&self) -> Result<bool>

fn CanRedo(&self) -> Result<bool>

fn CanUndo(&self) -> Result<bool>

fn ApplyDisplayUpdates(&self) -> Result<i32>

fn BatchDisplayUpdates(&self) -> Result<i32>

fn BeginUndoGroup(&self) -> Result<()>

fn EndUndoGroup(&self) -> Result<()>

fn GetDefaultCharacterFormat(&self) -> Result<ITextCharacterFormat>

fn GetDefaultParagraphFormat(&self) -> Result<ITextParagraphFormat>

fn GetRange(&self, startposition: i32, endposition: i32) -> Result<ITextRange>

fn GetRangeFromPoint( &self, point: &Point, options: PointOptions ) -> Result<ITextRange>

fn GetText(&self, options: TextGetOptions, value: &mut HSTRING) -> Result<()>

fn LoadFromStream( &self, options: TextSetOptions, value: Option<&IRandomAccessStream> ) -> Result<()>

fn Redo(&self) -> Result<()>

fn SaveToStream( &self, options: TextGetOptions, value: Option<&IRandomAccessStream> ) -> Result<()>

fn SetDefaultCharacterFormat( &self, value: Option<&ITextCharacterFormat> ) -> Result<()>

fn SetDefaultParagraphFormat( &self, value: Option<&ITextParagraphFormat> ) -> Result<()>

fn SetText(&self, options: TextSetOptions, value: &HSTRING) -> Result<()>

fn Undo(&self) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§