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_variabletext.h>
Classes | |
class | Iterator |
class | Provider |
Definition at line 30 of file cpvt_variabletext.h.
|
explicit |
Definition at line 168 of file cpvt_variabletext.cpp.
References CPVT_VariableText().
Referenced by CPVT_VariableText(), and CPDF_GenerateAP::GenerateFormAP().
|
default |
CPVT_WordPlace CPVT_VariableText::BackSpaceWord | ( | const CPVT_WordPlace & | place | ) |
Definition at line 259 of file cpvt_variabletext.cpp.
References PrevLineHeaderPlace().
CPVT_WordPlace CPVT_VariableText::DeleteWord | ( | const CPVT_WordPlace & | place | ) |
Definition at line 255 of file cpvt_variabletext.cpp.
References PrevLineHeaderPlace().
CPVT_WordPlace CPVT_VariableText::DeleteWords | ( | const CPVT_WordRange & | PlaceRange | ) |
Definition at line 239 of file cpvt_variabletext.cpp.
References CPVT_WordRange::BeginPos, CPVT_WordRange::EndPos, and CPVT_WordPlace::nSecIndex.
Referenced by SetText().
|
inline |
Definition at line 104 of file cpvt_variabletext.h.
CPVT_WordPlace CPVT_VariableText::GetBeginWordPlace | ( | ) | const |
Definition at line 364 of file cpvt_variabletext.cpp.
References CPVT_WordPlace::CPVT_WordPlace(), and CPVT_WordPlace::CPVT_WordPlace().
Referenced by GetNextWordPlace(), GetPrevWordPlace(), RearrangeAll(), SearchWordPlace(), SetText(), UpdateWordPlace(), and WordIndexToWordPlace().
CFX_PointF CPVT_VariableText::GetBTPoint | ( | ) | const |
Definition at line 872 of file cpvt_variabletext.cpp.
References CFX_FloatRect::left, and CFX_FloatRect::top.
|
inline |
Definition at line 106 of file cpvt_variabletext.h.
CFX_FloatRect CPVT_VariableText::GetContentRect | ( | ) | const |
Definition at line 565 of file cpvt_variabletext.cpp.
References InToOut().
Referenced by CPDF_GenerateAP::GenerateFormAP().
int32_t CPVT_VariableText::GetDefaultFontIndex | ( | ) |
Definition at line 858 of file cpvt_variabletext.cpp.
Referenced by GetLineAscent(), GetLineDescent(), Initialize(), and InsertWord().
CPVT_WordPlace CPVT_VariableText::GetDownWordPlace | ( | const CPVT_WordPlace & | place, |
const CFX_PointF & | point ) const |
Definition at line 466 of file cpvt_variabletext.cpp.
References CPVT_WordPlace::AdvanceSection(), CPVT_Section::GetLineArraySize(), CPVT_Section::GetRect(), CFX_FloatRect::left, and CPVT_WordPlace::nLineIndex.
CPVT_WordPlace CPVT_VariableText::GetEndWordPlace | ( | ) | const |
Definition at line 368 of file cpvt_variabletext.cpp.
References CPVT_WordPlace::CPVT_WordPlace().
Referenced by GetNextWordPlace(), GetPrevWordPlace(), RearrangeAll(), SearchWordPlace(), SetText(), UpdateWordPlace(), and WordIndexToWordPlace().
CFX_PointF CPVT_VariableText::GetETPoint | ( | ) | const |
Definition at line 876 of file cpvt_variabletext.cpp.
References CFX_FloatRect::bottom, and CFX_FloatRect::right.
float CPVT_VariableText::GetFontAscent | ( | int32_t | nFontIndex, |
float | fFontSize ) const |
Definition at line 599 of file cpvt_variabletext.cpp.
Referenced by GetLineAscent(), GetWordAscent(), GetWordAscent(), and Initialize().
float CPVT_VariableText::GetFontDescent | ( | int32_t | nFontIndex, |
float | fFontSize ) const |
Definition at line 605 of file cpvt_variabletext.cpp.
Referenced by GetLineDescent(), GetWordDescent(), GetWordDescent(), and Initialize().
|
inline |
Definition at line 103 of file cpvt_variabletext.h.
Referenced by GetLineAscent(), GetLineDescent(), and Initialize().
CPVT_VariableText::Iterator * CPVT_VariableText::GetIterator | ( | ) |
Definition at line 862 of file cpvt_variabletext.cpp.
Referenced by CPDF_GenerateAP::GenerateFormAP().
|
inline |
Definition at line 107 of file cpvt_variabletext.h.
float CPVT_VariableText::GetLineAscent | ( | ) |
Definition at line 591 of file cpvt_variabletext.cpp.
References GetDefaultFontIndex(), GetFontAscent(), and GetFontSize().
CPVT_WordPlace CPVT_VariableText::GetLineBeginPlace | ( | const CPVT_WordPlace & | place | ) | const |
Definition at line 486 of file cpvt_variabletext.cpp.
References CPVT_WordPlace::CPVT_WordPlace(), CPVT_WordPlace::nLineIndex, and CPVT_WordPlace::nSecIndex.
float CPVT_VariableText::GetLineDescent | ( | ) |
Definition at line 595 of file cpvt_variabletext.cpp.
References GetDefaultFontIndex(), GetFontDescent(), and GetFontSize().
CPVT_WordPlace CPVT_VariableText::GetLineEndPlace | ( | const CPVT_WordPlace & | place | ) | const |
Definition at line 491 of file cpvt_variabletext.cpp.
References CPVT_Section::Line::GetEndWordPlace(), CPVT_Section::GetLineFromArray(), and CPVT_WordPlace::nLineIndex.
float CPVT_VariableText::GetLineIndent | ( | ) |
Definition at line 633 of file cpvt_variabletext.cpp.
float CPVT_VariableText::GetLineLeading | ( | ) |
Definition at line 629 of file cpvt_variabletext.cpp.
CPVT_WordPlace CPVT_VariableText::GetNextWordPlace | ( | const CPVT_WordPlace & | place | ) | const |
Definition at line 389 of file cpvt_variabletext.cpp.
References GetBeginWordPlace(), CPVT_Section::GetEndWordPlace(), GetEndWordPlace(), CPVT_Section::GetNextWordPlace(), CPVT_WordPlace::nSecIndex, and CPVT_WordPlace::operator<().
Referenced by NextLineHeaderPlace().
|
inline |
Definition at line 105 of file cpvt_variabletext.h.
References GetSubWord().
|
inline |
Definition at line 133 of file cpvt_variabletext.h.
References CFX_FloatRect::bottom, and CFX_FloatRect::top.
const CFX_FloatRect & CPVT_VariableText::GetPlateRect | ( | ) | const |
Definition at line 569 of file cpvt_variabletext.cpp.
|
inline |
Definition at line 132 of file cpvt_variabletext.h.
References CFX_FloatRect::left, and CFX_FloatRect::right.
CPVT_WordPlace CPVT_VariableText::GetPrevWordPlace | ( | const CPVT_WordPlace & | place | ) | const |
Definition at line 374 of file cpvt_variabletext.cpp.
References CPVT_Section::GetBeginWordPlace(), GetBeginWordPlace(), GetEndWordPlace(), CPVT_Section::GetPrevWordPlace(), CPVT_WordPlace::nSecIndex, and CPVT_WordPlace::operator>().
Referenced by PrevLineHeaderPlace().
CPVT_WordPlace CPVT_VariableText::GetSectionBeginPlace | ( | const CPVT_WordPlace & | place | ) | const |
Definition at line 505 of file cpvt_variabletext.cpp.
References CPVT_WordPlace::CPVT_WordPlace(), and CPVT_WordPlace::nSecIndex.
CPVT_WordPlace CPVT_VariableText::GetSectionEndPlace | ( | const CPVT_WordPlace & | place | ) | const |
Definition at line 510 of file cpvt_variabletext.cpp.
|
inline |
Definition at line 130 of file cpvt_variabletext.h.
Referenced by GetPasswordChar(), GetWordWidth(), and InsertWord().
int32_t CPVT_VariableText::GetTotalWords | ( | ) | const |
Definition at line 518 of file cpvt_variabletext.cpp.
Referenced by InsertSection(), and InsertWord().
CPVT_WordPlace CPVT_VariableText::GetUpWordPlace | ( | const CPVT_WordPlace & | place, |
const CFX_PointF & | point ) const |
Definition at line 443 of file cpvt_variabletext.cpp.
References CPVT_Section::GetLineArraySize(), CPVT_Section::GetRect(), CFX_FloatRect::left, CPVT_WordPlace::nLineIndex, and CPVT_WordPlace::nSecIndex.
float CPVT_VariableText::GetWordAscent | ( | const CPVT_WordInfo & | WordInfo | ) | const |
Definition at line 621 of file cpvt_variabletext.cpp.
References GetFontAscent(), and CPVT_WordInfo::nFontIndex.
float CPVT_VariableText::GetWordAscent | ( | const CPVT_WordInfo & | WordInfo, |
float | fFontSize ) const |
Definition at line 611 of file cpvt_variabletext.cpp.
References GetFontAscent(), and CPVT_WordInfo::nFontIndex.
float CPVT_VariableText::GetWordDescent | ( | const CPVT_WordInfo & | WordInfo | ) | const |
Definition at line 625 of file cpvt_variabletext.cpp.
References GetFontDescent(), and CPVT_WordInfo::nFontIndex.
float CPVT_VariableText::GetWordDescent | ( | const CPVT_WordInfo & | WordInfo, |
float | fFontSize ) const |
Definition at line 616 of file cpvt_variabletext.cpp.
References GetFontDescent(), and CPVT_WordInfo::nFontIndex.
float CPVT_VariableText::GetWordWidth | ( | const CPVT_WordInfo & | WordInfo | ) | const |
Definition at line 586 of file cpvt_variabletext.cpp.
References CPVT_WordInfo::fWordTail, GetSubWord(), GetWordWidth(), CPVT_WordInfo::nFontIndex, and CPVT_WordInfo::Word.
float CPVT_VariableText::GetWordWidth | ( | int32_t | nFontIndex, |
uint16_t | Word, | ||
uint16_t | SubWord, | ||
float | fFontSize, | ||
float | fWordTail ) const |
Definition at line 577 of file cpvt_variabletext.cpp.
Referenced by GetWordWidth().
void CPVT_VariableText::Initialize | ( | ) |
Definition at line 173 of file cpvt_variabletext.cpp.
References CPVT_LineInfo::fLineAscent, CPVT_LineInfo::fLineDescent, GetDefaultFontIndex(), GetFontAscent(), GetFontDescent(), GetFontSize(), and CPVT_WordPlace::nSecIndex.
Referenced by CPDF_GenerateAP::GenerateFormAP().
CPVT_WordPlace CPVT_VariableText::InsertSection | ( | const CPVT_WordPlace & | place | ) |
Definition at line 209 of file cpvt_variabletext.cpp.
References CPVT_WordPlace::CPVT_WordPlace(), CPVT_Section::AddWord(), GetTotalWords(), CPVT_Section::GetWordArraySize(), CPVT_Section::GetWordFromArray(), CPVT_WordPlace::nSecIndex, CPVT_WordPlace::nWordIndex, and UpdateWordPlace().
CPVT_WordPlace CPVT_VariableText::InsertWord | ( | const CPVT_WordPlace & | place, |
uint16_t | word, | ||
FX_Charset | charset ) |
Definition at line 192 of file cpvt_variabletext.cpp.
References CPVT_WordInfo::CPVT_WordInfo(), GetDefaultFontIndex(), GetSubWord(), GetTotalWords(), and CPVT_WordPlace::nWordIndex.
CFX_PointF CPVT_VariableText::InToOut | ( | const CFX_PointF & | point | ) | const |
Definition at line 880 of file cpvt_variabletext.cpp.
CFX_FloatRect CPVT_VariableText::InToOut | ( | const CPVT_FloatRect & | rect | ) | const |
Definition at line 888 of file cpvt_variabletext.cpp.
Referenced by GetContentRect().
|
inline |
Definition at line 109 of file cpvt_variabletext.h.
|
inline |
Definition at line 108 of file cpvt_variabletext.h.
|
inline |
Definition at line 89 of file cpvt_variabletext.h.
CPVT_WordPlace CPVT_VariableText::NextLineHeaderPlace | ( | const CPVT_WordPlace & | place | ) | const |
Definition at line 653 of file cpvt_variabletext.cpp.
References GetNextWordPlace(), CPVT_WordPlace::nLineIndex, and CPVT_WordPlace::nWordIndex.
CFX_PointF CPVT_VariableText::OutToIn | ( | const CFX_PointF & | point | ) | const |
Definition at line 884 of file cpvt_variabletext.cpp.
CPVT_WordPlace CPVT_VariableText::PrevLineHeaderPlace | ( | const CPVT_WordPlace & | place | ) | const |
Definition at line 646 of file cpvt_variabletext.cpp.
References GetPrevWordPlace(), CPVT_WordPlace::nLineIndex, and CPVT_WordPlace::nWordIndex.
Referenced by BackSpaceWord(), DeleteWord(), and UpdateWordPlace().
void CPVT_VariableText::RearrangeAll | ( | ) |
Definition at line 746 of file cpvt_variabletext.cpp.
References CPVT_WordRange::CPVT_WordRange(), GetBeginWordPlace(), and GetEndWordPlace().
Referenced by CPDF_GenerateAP::GenerateFormAP().
void CPVT_VariableText::RearrangePart | ( | const CPVT_WordRange & | PlaceRange | ) |
Definition at line 750 of file cpvt_variabletext.cpp.
CPVT_WordPlace CPVT_VariableText::SearchWordPlace | ( | const CFX_PointF & | point | ) | const |
Definition at line 404 of file cpvt_variabletext.cpp.
References CFX_FloatRect::bottom, GetBeginWordPlace(), GetEndWordPlace(), CPVT_Section::GetRect(), CFX_FloatRect::left, CPVT_WordPlace::nSecIndex, CPVT_Section::SearchWordPlace(), and CFX_FloatRect::top.
|
inline |
Definition at line 79 of file cpvt_variabletext.h.
Referenced by CPDF_GenerateAP::GenerateFormAP().
|
inline |
Definition at line 86 of file cpvt_variabletext.h.
Referenced by CPDF_GenerateAP::GenerateFormAP().
|
inline |
Definition at line 83 of file cpvt_variabletext.h.
Referenced by CPDF_GenerateAP::GenerateFormAP().
|
inline |
Definition at line 85 of file cpvt_variabletext.h.
Referenced by CPDF_GenerateAP::GenerateFormAP().
|
inline |
Definition at line 84 of file cpvt_variabletext.h.
Referenced by CPDF_GenerateAP::GenerateFormAP().
|
inline |
Definition at line 81 of file cpvt_variabletext.h.
Referenced by CPDF_GenerateAP::GenerateFormAP().
|
inline |
Definition at line 82 of file cpvt_variabletext.h.
Referenced by CPDF_GenerateAP::GenerateFormAP().
|
inline |
Definition at line 80 of file cpvt_variabletext.h.
Referenced by CPDF_GenerateAP::GenerateFormAP().
void CPVT_VariableText::SetPlateRect | ( | const CFX_FloatRect & | rect | ) |
Definition at line 561 of file cpvt_variabletext.cpp.
References CFX_FloatRect::operator=().
Referenced by CPDF_GenerateAP::GenerateFormAP().
Definition at line 868 of file cpvt_variabletext.cpp.
void CPVT_VariableText::SetText | ( | const WideString & | text | ) |
Definition at line 263 of file cpvt_variabletext.cpp.
References CPVT_WordPlace::CPVT_WordPlace(), CPVT_WordRange::CPVT_WordRange(), DeleteWords(), GetBeginWordPlace(), and GetEndWordPlace().
Referenced by CPDF_GenerateAP::GenerateFormAP().
void CPVT_VariableText::UpdateWordPlace | ( | CPVT_WordPlace & | place | ) | const |
Definition at line 305 of file cpvt_variabletext.cpp.
References GetBeginWordPlace(), GetEndWordPlace(), CPVT_WordPlace::nSecIndex, and PrevLineHeaderPlace().
Referenced by InsertSection(), and WordPlaceToWordIndex().
CPVT_WordPlace CPVT_VariableText::WordIndexToWordPlace | ( | int32_t | index | ) | const |
Definition at line 335 of file cpvt_variabletext.cpp.
References GetBeginWordPlace(), CPVT_Section::GetEndWordPlace(), GetEndWordPlace(), CPVT_Section::GetWordArraySize(), CPVT_WordPlace::nSecIndex, CPVT_WordPlace::nWordIndex, and CPVT_Section::UpdateWordPlace().
int32_t CPVT_VariableText::WordPlaceToWordIndex | ( | const CPVT_WordPlace & | place | ) | const |
Definition at line 316 of file cpvt_variabletext.cpp.
References CPVT_Section::GetWordArraySize(), CPVT_WordPlace::nSecIndex, CPVT_WordPlace::nWordIndex, and UpdateWordPlace().