NCBI C++ ToolKit
|
Search Toolkit Book for CCalcSizeStream
Public Member Functions | |
CCalcSizeStream () | |
virtual StreamHint | GetHint () const |
virtual CStyledTextOStream & | operator<< (const string &text) |
virtual int | CurrentRowLength () const |
virtual void | SetStyle (const CTextStyle *WXUNUSED(style)) |
virtual void | SetDefaultStyle () |
virtual void | Indent (size_t steps) |
virtual void | NewLine () |
wxSize | GetSize () const |
Public Member Functions inherited from CStyledTextOStream | |
virtual | ~CStyledTextOStream () |
virtual wxTextOutputStream * | GetTextStream () const |
virtual bool | IsVisible () const |
virtual void | UpdatePosition (int) |
virtual void | SetStyle (const CTextStyle *style)=0 |
virtual void | NBtoggle () |
void | WriteMultiLineText (const string &text) |
Private Member Functions | |
void | x_AddChars (int count) |
Private Attributes | |
int | m_LineSize |
int | m_LineCount |
int | m_MaxLineSize |
Additional Inherited Members | |
Public Types inherited from CStyledTextOStream | |
enum | StreamHint { kDisplay , kTextPos , kCopyText } |
Protected Member Functions inherited from CStyledTextOStream | |
virtual void | x_OnNBStart () |
virtual void | x_OnNBEnd () |
virtual bool | x_InNB () const |
Definition at line 47 of file text_item.cpp.
|
inline |
Definition at line 50 of file text_item.cpp.
|
inlinevirtual |
|
inlinevirtual |
Implements CStyledTextOStream.
Definition at line 52 of file text_item.cpp.
References CStyledTextOStream::kDisplay.
wxSize CCalcSizeStream::GetSize | ( | void | ) | const |
Definition at line 77 of file text_item.cpp.
References m_LineCount, and m_MaxLineSize.
Referenced by CTextItem::CalcSize().
|
inlinevirtual |
Implements CStyledTextOStream.
Definition at line 60 of file text_item.cpp.
References x_AddChars().
|
inlinevirtual |
Implements CStyledTextOStream.
Definition at line 61 of file text_item.cpp.
References m_LineCount, and m_LineSize.
|
inlinevirtual |
Implements CStyledTextOStream.
Definition at line 54 of file text_item.cpp.
References text(), and x_AddChars().
|
inlinevirtual |
Implements CStyledTextOStream.
Definition at line 59 of file text_item.cpp.
|
inlinevirtual |
Definition at line 58 of file text_item.cpp.
|
inlineprivate |
Definition at line 66 of file text_item.cpp.
References count, m_LineSize, and m_MaxLineSize.
Referenced by Indent(), and operator<<().
|
private |
Definition at line 73 of file text_item.cpp.
|
private |
Definition at line 72 of file text_item.cpp.
Referenced by CurrentRowLength(), NewLine(), and x_AddChars().
|
private |
Definition at line 74 of file text_item.cpp.
Referenced by GetSize(), and x_AddChars().