NCBI C++ ToolKit
Public Types | Public Member Functions | Protected Member Functions | List of all members
CStyledTextOStream Class Referenceabstract

Search Toolkit Book for CStyledTextOStream

#include <gui/widgets/text_widget/draw_styled_text.hpp>

+ Inheritance diagram for CStyledTextOStream:

Public Types

enum  StreamHint { kDisplay , kTextPos , kCopyText }
 

Public Member Functions

virtual ~CStyledTextOStream ()
 
virtual StreamHint GetHint () const =0
 
virtual wxTextOutputStream * GetTextStream () const
 
virtual bool IsVisible () const
 
virtual void UpdatePosition (int)
 
virtual CStyledTextOStreamoperator<< (const string &text)=0
 
virtual int CurrentRowLength () const =0
 
virtual void SetStyle (const CTextStyle *style)=0
 
virtual void SetDefaultStyle ()=0
 
virtual void Indent (size_t steps)=0
 
virtual void NewLine ()=0
 
virtual void NBtoggle ()
 
void WriteMultiLineText (const string &text)
 

Protected Member Functions

virtual void x_OnNBStart ()
 
virtual void x_OnNBEnd ()
 
virtual bool x_InNB () const
 

Detailed Description

Definition at line 45 of file draw_styled_text.hpp.

Member Enumeration Documentation

◆ StreamHint

Enumerator
kDisplay 
kTextPos 
kCopyText 

Definition at line 48 of file draw_styled_text.hpp.

Constructor & Destructor Documentation

◆ ~CStyledTextOStream()

virtual CStyledTextOStream::~CStyledTextOStream ( )
inlinevirtual

Definition at line 55 of file draw_styled_text.hpp.

Member Function Documentation

◆ CurrentRowLength()

virtual int CStyledTextOStream::CurrentRowLength ( ) const
pure virtual

◆ GetHint()

virtual StreamHint CStyledTextOStream::GetHint ( ) const
pure virtual

◆ GetTextStream()

virtual wxTextOutputStream* CStyledTextOStream::GetTextStream ( ) const
inlinevirtual

Definition at line 58 of file draw_styled_text.hpp.

References NULL.

Referenced by CAsnElementBlockCollapsed::RenderValue(), and CXmlClosedBlock::x_RenderXml().

◆ Indent()

virtual void CStyledTextOStream::Indent ( size_t  steps)
pure virtual

◆ IsVisible()

virtual bool CStyledTextOStream::IsVisible ( void  ) const
inlinevirtual

◆ NBtoggle()

virtual void CStyledTextOStream::NBtoggle ( )
inlinevirtual

Reimplemented in CBaseTextOStream, and CCalcNBPosOStream.

Definition at line 69 of file draw_styled_text.hpp.

◆ NewLine()

virtual void CStyledTextOStream::NewLine ( )
pure virtual

◆ operator<<()

virtual CStyledTextOStream& CStyledTextOStream::operator<< ( const string text)
pure virtual

◆ SetDefaultStyle()

virtual void CStyledTextOStream::SetDefaultStyle ( )
pure virtual

◆ SetStyle()

virtual void CStyledTextOStream::SetStyle ( const CTextStyle style)
pure virtual

◆ UpdatePosition()

virtual void CStyledTextOStream::UpdatePosition ( int  )
inlinevirtual

◆ WriteMultiLineText()

void CStyledTextOStream::WriteMultiLineText ( const string text)

◆ x_InNB()

virtual bool CStyledTextOStream::x_InNB ( ) const
inlineprotectedvirtual

Reimplemented in CBaseTextOStream.

Definition at line 76 of file draw_styled_text.hpp.

◆ x_OnNBEnd()

virtual void CStyledTextOStream::x_OnNBEnd ( )
inlineprotectedvirtual

Reimplemented in CDrawTextOStream, and CCalcTextPosOStream.

Definition at line 75 of file draw_styled_text.hpp.

Referenced by CBaseTextOStream::NBtoggle(), and CBaseTextOStream::NewLine().

◆ x_OnNBStart()

virtual void CStyledTextOStream::x_OnNBStart ( )
inlineprotectedvirtual

Reimplemented in CCalcTextPosOStream.

Definition at line 74 of file draw_styled_text.hpp.

Referenced by CBaseTextOStream::NBtoggle().


The documentation for this class was generated from the following files:
Modified on Wed Apr 17 13:09:00 2024 by modify_doxy.py rev. 669887