neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::i_text_document Class Referenceabstract

#include <i_text_document.hpp>

Inheritance diagram for neogfx::i_text_document:
neogfx::i_document

Public Member Functions

virtual i_string const & plain_text () const =0
 
virtual bool set_plain_text (i_string const &aPlainText)=0
 
virtual i_string const & rich_text (rich_text_format aFormat=rich_text_format::Html) const =0
 
virtual bool set_rich_text (i_string const &aRichText, rich_text_format aFormat=rich_text_format::Html)=0
 
virtual void paste_plain_text ()=0
 
virtual void paste_rich_text (rich_text_format aFormat=rich_text_format::Html)=0
 
virtual void begin_update ()=0
 
virtual void end_update ()=0
 
- Public Member Functions inherited from neogfx::i_document
virtual ~i_document ()=default
 
virtual std::size_t document_length () const =0
 
virtual void move_cursor (cursor::move_operation_e aMoveOperation, bool aMoveAnchor=true)=0
 

Detailed Description

Definition at line 32 of file i_text_document.hpp.

Member Function Documentation

◆ begin_update()

virtual void neogfx::i_text_document::begin_update ( )
pure virtual

◆ end_update()

virtual void neogfx::i_text_document::end_update ( )
pure virtual

◆ paste_plain_text()

virtual void neogfx::i_text_document::paste_plain_text ( )
pure virtual

◆ paste_rich_text()

virtual void neogfx::i_text_document::paste_rich_text ( rich_text_format  aFormat = rich_text_format::Html)
pure virtual

◆ plain_text()

virtual i_string const & neogfx::i_text_document::plain_text ( ) const
pure virtual

◆ rich_text()

virtual i_string const & neogfx::i_text_document::rich_text ( rich_text_format  aFormat = rich_text_format::Html) const
pure virtual

◆ set_plain_text()

virtual bool neogfx::i_text_document::set_plain_text ( i_string const &  aPlainText)
pure virtual

◆ set_rich_text()

virtual bool neogfx::i_text_document::set_rich_text ( i_string const &  aRichText,
rich_text_format  aFormat = rich_text_format::Html 
)
pure virtual

The documentation for this class was generated from the following file: