NCBI C++ ToolKit
|
Search Toolkit Book for CStyledTextOStream
#include <gui/widgets/text_widget/draw_styled_text.hpp>
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 CStyledTextOStream & | operator<< (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 |
Definition at line 45 of file draw_styled_text.hpp.
Enumerator | |
---|---|
kDisplay | |
kTextPos | |
kCopyText |
Definition at line 48 of file draw_styled_text.hpp.
|
inlinevirtual |
Definition at line 55 of file draw_styled_text.hpp.
|
pure virtual |
Implemented in CCalcSizeStream, CCalcDataPosOStream, CBaseTextOStream, CCalcCharsOStream, and CCalcNBPosOStream.
Referenced by CAsnElementPrimitive::RenderValue(), and CAsnOctetStringBlock::RenderValue().
|
pure virtual |
Implemented in CCalcSizeStream, CCalcDataPosOStream, CDrawTextOStream, CCalcTextPosOStream, CCalcSizeOStream, CCalcNBPosOStream, and CCalcCaretPosOStream.
Referenced by CAsnElementBlockCollapsed::RenderValue(), and CXmlClosedBlock::x_RenderXml().
|
inlinevirtual |
Definition at line 58 of file draw_styled_text.hpp.
References NULL.
Referenced by CAsnElementBlockCollapsed::RenderValue(), and CXmlClosedBlock::x_RenderXml().
|
pure virtual |
Implemented in CCalcSizeStream, CCalcDataPosOStream, CDrawTextOStream, CCalcTextPosOStream, CCalcSizeOStream, CCalcNBPosOStream, and CCalcCaretPosOStream.
|
inlinevirtual |
Definition at line 59 of file draw_styled_text.hpp.
Referenced by CAsnElementBlockCollapsed::RenderValue(), and CXmlClosedBlock::x_RenderXml().
|
inlinevirtual |
Reimplemented in CBaseTextOStream, and CCalcNBPosOStream.
Definition at line 69 of file draw_styled_text.hpp.
|
pure virtual |
Implemented in CCalcSizeStream, CCalcDataPosOStream, CBaseTextOStream, CCalcCharsOStream, CCalcTextPosOStream, CCalcSizeOStream, CCalcNBPosOStream, and CCalcCaretPosOStream.
Referenced by WriteMultiLineText().
|
pure virtual |
|
pure virtual |
Implemented in CCalcSizeStream, CCalcDataPosOStream, CBaseTextOStream, CCalcCharsOStream, CCalcSizeOStream, and CCalcNBPosOStream.
|
pure virtual |
Implemented in CCalcDataPosOStream, CBaseTextOStream, and CCalcSizeOStream.
|
inlinevirtual |
Definition at line 60 of file draw_styled_text.hpp.
Referenced by CAsnElementBlockCollapsed::RenderValue(), and CXmlClosedBlock::x_RenderXml().
Definition at line 39 of file draw_styled_text.cpp.
References NStr::fSplit_Tokenize, ITERATE, NewLine(), NStr::Split(), and text().
Referenced by s_Render_GenericAlign(), s_Render_PairwiseAlign(), s_Render_SeqFeat(), CTextItemDefault::x_RenderText(), CTextItemSeq_align::x_RenderText(), CTextItemSeq_feat::x_RenderText(), and CTextItemSeq_loc::x_RenderText().
|
inlineprotectedvirtual |
Reimplemented in CBaseTextOStream.
Definition at line 76 of file draw_styled_text.hpp.
|
inlineprotectedvirtual |
Reimplemented in CDrawTextOStream, and CCalcTextPosOStream.
Definition at line 75 of file draw_styled_text.hpp.
Referenced by CBaseTextOStream::NBtoggle(), and CBaseTextOStream::NewLine().
|
inlineprotectedvirtual |
Reimplemented in CCalcTextPosOStream.
Definition at line 74 of file draw_styled_text.hpp.
Referenced by CBaseTextOStream::NBtoggle().