Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cpvt_section.h>
Classes | |
class | Line |
Definition at line 26 of file cpvt_section.h.
|
explicit |
Definition at line 209 of file cpvt_section.cpp.
|
default |
CPVT_WordPlace CPVT_Section::AddLine | ( | const CPVT_LineInfo & | lineinfo | ) |
Definition at line 232 of file cpvt_section.cpp.
CPVT_WordPlace CPVT_Section::AddWord | ( | const CPVT_WordPlace & | place, |
const CPVT_WordInfo & | wordinfo ) |
Definition at line 223 of file cpvt_section.cpp.
Referenced by CPVT_VariableText::InsertSection().
void CPVT_Section::ClearWord | ( | const CPVT_WordPlace & | place | ) |
Definition at line 757 of file cpvt_section.cpp.
void CPVT_Section::ClearWords | ( | const CPVT_WordRange & | PlaceRange | ) |
Definition at line 740 of file cpvt_section.cpp.
References CPVT_WordRange::BeginPos, CPVT_WordRange::EndPos, GetBeginWordPlace(), GetEndWordPlace(), CPVT_WordPlace::nWordIndex, CPVT_WordPlace::operator<=(), and CPVT_WordPlace::operator>=().
void CPVT_Section::EraseWordsFrom | ( | int32_t | index | ) |
Definition at line 429 of file cpvt_section.cpp.
CPVT_WordPlace CPVT_Section::GetBeginWordPlace | ( | ) | const |
Definition at line 249 of file cpvt_section.cpp.
Referenced by ClearWords(), GetNextWordPlace(), GetPrevWordPlace(), CPVT_VariableText::GetPrevWordPlace(), SearchWordPlace(), and SearchWordPlace().
CPVT_WordPlace CPVT_Section::GetEndWordPlace | ( | ) | const |
Definition at line 255 of file cpvt_section.cpp.
Referenced by ClearWords(), GetNextWordPlace(), CPVT_VariableText::GetNextWordPlace(), GetPrevWordPlace(), SearchWordPlace(), and CPVT_VariableText::WordIndexToWordPlace().
int32_t CPVT_Section::GetLineArraySize | ( | ) | const |
Definition at line 407 of file cpvt_section.cpp.
Referenced by CPVT_VariableText::GetDownWordPlace(), CPVT_VariableText::GetUpWordPlace(), and CPVT_VariableText::Iterator::NextLine().
const CPVT_Section::Line * CPVT_Section::GetLineFromArray | ( | int32_t | index | ) | const |
Definition at line 411 of file cpvt_section.cpp.
Referenced by CPVT_VariableText::Iterator::GetLine(), CPVT_VariableText::GetLineEndPlace(), and CPVT_VariableText::Iterator::GetWord().
CPVT_WordPlace CPVT_Section::GetNextWordPlace | ( | const CPVT_WordPlace & | place | ) | const |
Definition at line 282 of file cpvt_section.cpp.
References GetBeginWordPlace(), GetEndWordPlace(), CPVT_Section::Line::GetNextWordPlace(), CPVT_Section::Line::m_LineInfo, CPVT_LineInfo::nEndWordIndex, CPVT_WordPlace::nLineIndex, and CPVT_WordPlace::nWordIndex.
Referenced by CPVT_VariableText::GetNextWordPlace().
CPVT_WordPlace CPVT_Section::GetPrevWordPlace | ( | const CPVT_WordPlace & | place | ) | const |
Definition at line 261 of file cpvt_section.cpp.
References CPVT_WordPlace::CPVT_WordPlace(), GetBeginWordPlace(), GetEndWordPlace(), CPVT_Section::Line::GetPrevWordPlace(), CPVT_Section::Line::m_LineInfo, CPVT_LineInfo::nBeginWordIndex, CPVT_WordPlace::nLineIndex, CPVT_WordPlace::nSecIndex, and CPVT_WordPlace::nWordIndex.
Referenced by CPVT_VariableText::GetPrevWordPlace().
|
inline |
Definition at line 64 of file cpvt_section.h.
Referenced by CPVT_VariableText::GetDownWordPlace(), CPVT_VariableText::GetUpWordPlace(), and CPVT_VariableText::SearchWordPlace().
CFX_SizeF CPVT_Section::GetSectionSize | ( | float | fFontSize | ) |
Definition at line 244 of file cpvt_section.cpp.
References CPVT_FloatRect::Height(), and CFX_FloatRect::Width().
int32_t CPVT_Section::GetWordArraySize | ( | ) | const |
Definition at line 418 of file cpvt_section.cpp.
Referenced by CPVT_VariableText::InsertSection(), CPVT_VariableText::WordIndexToWordPlace(), and CPVT_VariableText::WordPlaceToWordIndex().
const CPVT_WordInfo * CPVT_Section::GetWordFromArray | ( | int32_t | index | ) | const |
Definition at line 422 of file cpvt_section.cpp.
Referenced by CPVT_VariableText::Iterator::GetWord(), and CPVT_VariableText::InsertSection().
CPVT_FloatRect CPVT_Section::Rearrange | ( | ) |
Definition at line 238 of file cpvt_section.cpp.
void CPVT_Section::ResetLinePlace | ( | ) |
Definition at line 215 of file cpvt_section.cpp.
CPVT_WordPlace CPVT_Section::SearchWordPlace | ( | const CFX_PointF & | point | ) | const |
Definition at line 319 of file cpvt_section.cpp.
References CPVT_WordRange::CPVT_WordRange(), CPVT_LineInfo::fLineDescent, CPVT_LineInfo::fLineY, GetBeginWordPlace(), CPVT_Section::Line::GetBeginWordPlace(), GetEndWordPlace(), CPVT_Section::Line::GetEndWordPlace(), CPVT_Section::Line::GetNextWordPlace(), CPVT_Section::Line::m_LineInfo, and CPVT_WordPlace::nLineIndex.
Referenced by CPVT_VariableText::SearchWordPlace().
CPVT_WordPlace CPVT_Section::SearchWordPlace | ( | float | fx, |
const CPVT_WordPlace & | lineplace ) const |
Definition at line 359 of file cpvt_section.cpp.
References CPVT_WordRange::CPVT_WordRange(), GetBeginWordPlace(), CPVT_Section::Line::GetBeginWordPlace(), CPVT_Section::Line::GetEndWordPlace(), CPVT_Section::Line::GetNextWordPlace(), CFX_FloatRect::left, and SearchWordPlace().
CPVT_WordPlace CPVT_Section::SearchWordPlace | ( | float | fx, |
const CPVT_WordRange & | range ) const |
Definition at line 372 of file cpvt_section.cpp.
References CPVT_WordRange::BeginPos, CPVT_WordRange::EndPos, and CPVT_WordPlace::nWordIndex.
Referenced by SearchWordPlace().
|
inline |
Definition at line 62 of file cpvt_section.h.
|
inline |
Definition at line 63 of file cpvt_section.h.
References CPVT_WordPlace::nSecIndex.
|
inline |
Definition at line 65 of file cpvt_section.h.
void CPVT_Section::UpdateWordPlace | ( | CPVT_WordPlace & | place | ) | const |
Definition at line 300 of file cpvt_section.cpp.
References CPVT_Section::Line::m_LineInfo, CPVT_LineInfo::nBeginWordIndex, CPVT_LineInfo::nEndWordIndex, CPVT_WordPlace::nLineIndex, and CPVT_WordPlace::nWordIndex.
Referenced by CPVT_VariableText::WordIndexToWordPlace().