Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CPVT_VariableText Class Reference

#include <cpvt_variabletext.h>

+ Collaboration diagram for CPVT_VariableText:

Classes

class  Iterator
 
class  Provider
 

Public Member Functions

 CPVT_VariableText (Provider *Provider)
 
 ~CPVT_VariableText ()
 
void SetProvider (Provider *pProvider)
 
CPVT_VariableText::IteratorGetIterator ()
 
CFX_FloatRect GetContentRect () const
 
void SetPlateRect (const CFX_FloatRect &rect)
 
const CFX_FloatRectGetPlateRect () const
 
void SetAlignment (int32_t nFormat)
 
void SetPasswordChar (uint16_t wSubWord)
 
void SetLimitChar (int32_t nLimitChar)
 
void SetMultiLine (bool bMultiLine)
 
void SetAutoReturn (bool bAuto)
 
void SetFontSize (float fFontSize)
 
void SetCharArray (int32_t nCharArray)
 
void SetAutoFontSize (bool bAuto)
 
void Initialize ()
 
bool IsValid () const
 
void RearrangeAll ()
 
void RearrangePart (const CPVT_WordRange &PlaceRange)
 
void SetText (const WideString &text)
 
CPVT_WordPlace InsertWord (const CPVT_WordPlace &place, uint16_t word, FX_Charset charset)
 
CPVT_WordPlace InsertSection (const CPVT_WordPlace &place)
 
CPVT_WordPlace DeleteWords (const CPVT_WordRange &PlaceRange)
 
CPVT_WordPlace DeleteWord (const CPVT_WordPlace &place)
 
CPVT_WordPlace BackSpaceWord (const CPVT_WordPlace &place)
 
int32_t GetTotalWords () const
 
float GetFontSize () const
 
int32_t GetAlignment () const
 
uint16_t GetPasswordChar () const
 
int32_t GetCharArray () const
 
int32_t GetLimitChar () const
 
bool IsMultiLine () const
 
bool IsAutoReturn () const
 
CPVT_WordPlace GetBeginWordPlace () const
 
CPVT_WordPlace GetEndWordPlace () const
 
CPVT_WordPlace GetPrevWordPlace (const CPVT_WordPlace &place) const
 
CPVT_WordPlace GetNextWordPlace (const CPVT_WordPlace &place) const
 
CPVT_WordPlace SearchWordPlace (const CFX_PointF &point) const
 
CPVT_WordPlace GetUpWordPlace (const CPVT_WordPlace &place, const CFX_PointF &point) const
 
CPVT_WordPlace GetDownWordPlace (const CPVT_WordPlace &place, const CFX_PointF &point) const
 
CPVT_WordPlace GetLineBeginPlace (const CPVT_WordPlace &place) const
 
CPVT_WordPlace GetLineEndPlace (const CPVT_WordPlace &place) const
 
CPVT_WordPlace GetSectionBeginPlace (const CPVT_WordPlace &place) const
 
CPVT_WordPlace GetSectionEndPlace (const CPVT_WordPlace &place) const
 
void UpdateWordPlace (CPVT_WordPlace &place) const
 
CPVT_WordPlace PrevLineHeaderPlace (const CPVT_WordPlace &place) const
 
CPVT_WordPlace NextLineHeaderPlace (const CPVT_WordPlace &place) const
 
int32_t WordPlaceToWordIndex (const CPVT_WordPlace &place) const
 
CPVT_WordPlace WordIndexToWordPlace (int32_t index) const
 
uint16_t GetSubWord () const
 
float GetPlateWidth () const
 
float GetPlateHeight () const
 
CFX_PointF GetBTPoint () const
 
CFX_PointF GetETPoint () const
 
CFX_PointF InToOut (const CFX_PointF &point) const
 
CFX_PointF OutToIn (const CFX_PointF &point) const
 
CFX_FloatRect InToOut (const CPVT_FloatRect &rect) const
 
float GetFontAscent (int32_t nFontIndex, float fFontSize) const
 
float GetFontDescent (int32_t nFontIndex, float fFontSize) const
 
int32_t GetDefaultFontIndex ()
 
float GetLineLeading ()
 
float GetWordWidth (const CPVT_WordInfo &WordInfo) const
 
float GetWordWidth (int32_t nFontIndex, uint16_t Word, uint16_t SubWord, float fFontSize, float fWordTail) const
 
float GetWordAscent (const CPVT_WordInfo &WordInfo) const
 
float GetWordDescent (const CPVT_WordInfo &WordInfo) const
 
float GetWordAscent (const CPVT_WordInfo &WordInfo, float fFontSize) const
 
float GetWordDescent (const CPVT_WordInfo &WordInfo, float fFontSize) const
 
float GetLineAscent ()
 
float GetLineDescent ()
 
float GetLineIndent ()
 

Detailed Description

Definition at line 30 of file cpvt_variabletext.h.

Constructor & Destructor Documentation

◆ CPVT_VariableText()

CPVT_VariableText::CPVT_VariableText ( Provider * Provider)
explicit

Definition at line 168 of file cpvt_variabletext.cpp.

References CPVT_VariableText().

Referenced by CPVT_VariableText(), and CPDF_GenerateAP::GenerateFormAP().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ~CPVT_VariableText()

CPVT_VariableText::~CPVT_VariableText ( )
default

Member Function Documentation

◆ BackSpaceWord()

CPVT_WordPlace CPVT_VariableText::BackSpaceWord ( const CPVT_WordPlace & place)

Definition at line 259 of file cpvt_variabletext.cpp.

References PrevLineHeaderPlace().

+ Here is the call graph for this function:

◆ DeleteWord()

CPVT_WordPlace CPVT_VariableText::DeleteWord ( const CPVT_WordPlace & place)

Definition at line 255 of file cpvt_variabletext.cpp.

References PrevLineHeaderPlace().

+ Here is the call graph for this function:

◆ DeleteWords()

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().

+ Here is the caller graph for this function:

◆ GetAlignment()

int32_t CPVT_VariableText::GetAlignment ( ) const
inline

Definition at line 104 of file cpvt_variabletext.h.

◆ GetBeginWordPlace()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetBTPoint()

CFX_PointF CPVT_VariableText::GetBTPoint ( ) const

Definition at line 872 of file cpvt_variabletext.cpp.

References CFX_FloatRect::left, and CFX_FloatRect::top.

◆ GetCharArray()

int32_t CPVT_VariableText::GetCharArray ( ) const
inline

Definition at line 106 of file cpvt_variabletext.h.

◆ GetContentRect()

CFX_FloatRect CPVT_VariableText::GetContentRect ( ) const

Definition at line 565 of file cpvt_variabletext.cpp.

References InToOut().

Referenced by CPDF_GenerateAP::GenerateFormAP().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetDefaultFontIndex()

int32_t CPVT_VariableText::GetDefaultFontIndex ( )

Definition at line 858 of file cpvt_variabletext.cpp.

Referenced by GetLineAscent(), GetLineDescent(), Initialize(), and InsertWord().

+ Here is the caller graph for this function:

◆ GetDownWordPlace()

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.

+ Here is the call graph for this function:

◆ GetEndWordPlace()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetETPoint()

CFX_PointF CPVT_VariableText::GetETPoint ( ) const

Definition at line 876 of file cpvt_variabletext.cpp.

References CFX_FloatRect::bottom, and CFX_FloatRect::right.

◆ GetFontAscent()

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().

+ Here is the caller graph for this function:

◆ GetFontDescent()

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().

+ Here is the caller graph for this function:

◆ GetFontSize()

float CPVT_VariableText::GetFontSize ( ) const
inline

Definition at line 103 of file cpvt_variabletext.h.

Referenced by GetLineAscent(), GetLineDescent(), and Initialize().

+ Here is the caller graph for this function:

◆ GetIterator()

CPVT_VariableText::Iterator * CPVT_VariableText::GetIterator ( )

Definition at line 862 of file cpvt_variabletext.cpp.

Referenced by CPDF_GenerateAP::GenerateFormAP().

+ Here is the caller graph for this function:

◆ GetLimitChar()

int32_t CPVT_VariableText::GetLimitChar ( ) const
inline

Definition at line 107 of file cpvt_variabletext.h.

◆ GetLineAscent()

float CPVT_VariableText::GetLineAscent ( )

Definition at line 591 of file cpvt_variabletext.cpp.

References GetDefaultFontIndex(), GetFontAscent(), and GetFontSize().

+ Here is the call graph for this function:

◆ GetLineBeginPlace()

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.

+ Here is the call graph for this function:

◆ GetLineDescent()

float CPVT_VariableText::GetLineDescent ( )

Definition at line 595 of file cpvt_variabletext.cpp.

References GetDefaultFontIndex(), GetFontDescent(), and GetFontSize().

+ Here is the call graph for this function:

◆ GetLineEndPlace()

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.

+ Here is the call graph for this function:

◆ GetLineIndent()

float CPVT_VariableText::GetLineIndent ( )

Definition at line 633 of file cpvt_variabletext.cpp.

◆ GetLineLeading()

float CPVT_VariableText::GetLineLeading ( )

Definition at line 629 of file cpvt_variabletext.cpp.

◆ GetNextWordPlace()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetPasswordChar()

uint16_t CPVT_VariableText::GetPasswordChar ( ) const
inline

Definition at line 105 of file cpvt_variabletext.h.

References GetSubWord().

+ Here is the call graph for this function:

◆ GetPlateHeight()

float CPVT_VariableText::GetPlateHeight ( ) const
inline

Definition at line 133 of file cpvt_variabletext.h.

References CFX_FloatRect::bottom, and CFX_FloatRect::top.

◆ GetPlateRect()

const CFX_FloatRect & CPVT_VariableText::GetPlateRect ( ) const

Definition at line 569 of file cpvt_variabletext.cpp.

◆ GetPlateWidth()

float CPVT_VariableText::GetPlateWidth ( ) const
inline

Definition at line 132 of file cpvt_variabletext.h.

References CFX_FloatRect::left, and CFX_FloatRect::right.

◆ GetPrevWordPlace()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetSectionBeginPlace()

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.

+ Here is the call graph for this function:

◆ GetSectionEndPlace()

CPVT_WordPlace CPVT_VariableText::GetSectionEndPlace ( const CPVT_WordPlace & place) const

Definition at line 510 of file cpvt_variabletext.cpp.

◆ GetSubWord()

uint16_t CPVT_VariableText::GetSubWord ( ) const
inline

Definition at line 130 of file cpvt_variabletext.h.

Referenced by GetPasswordChar(), GetWordWidth(), and InsertWord().

+ Here is the caller graph for this function:

◆ GetTotalWords()

int32_t CPVT_VariableText::GetTotalWords ( ) const

Definition at line 518 of file cpvt_variabletext.cpp.

Referenced by InsertSection(), and InsertWord().

+ Here is the caller graph for this function:

◆ GetUpWordPlace()

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.

+ Here is the call graph for this function:

◆ GetWordAscent() [1/2]

float CPVT_VariableText::GetWordAscent ( const CPVT_WordInfo & WordInfo) const

Definition at line 621 of file cpvt_variabletext.cpp.

References GetFontAscent(), and CPVT_WordInfo::nFontIndex.

+ Here is the call graph for this function:

◆ GetWordAscent() [2/2]

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.

+ Here is the call graph for this function:

◆ GetWordDescent() [1/2]

float CPVT_VariableText::GetWordDescent ( const CPVT_WordInfo & WordInfo) const

Definition at line 625 of file cpvt_variabletext.cpp.

References GetFontDescent(), and CPVT_WordInfo::nFontIndex.

+ Here is the call graph for this function:

◆ GetWordDescent() [2/2]

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.

+ Here is the call graph for this function:

◆ GetWordWidth() [1/2]

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.

+ Here is the call graph for this function:

◆ GetWordWidth() [2/2]

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().

+ Here is the caller graph for this function:

◆ Initialize()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ InsertSection()

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().

+ Here is the call graph for this function:

◆ InsertWord()

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.

+ Here is the call graph for this function:

◆ InToOut() [1/2]

CFX_PointF CPVT_VariableText::InToOut ( const CFX_PointF & point) const

Definition at line 880 of file cpvt_variabletext.cpp.

◆ InToOut() [2/2]

CFX_FloatRect CPVT_VariableText::InToOut ( const CPVT_FloatRect & rect) const

Definition at line 888 of file cpvt_variabletext.cpp.

Referenced by GetContentRect().

+ Here is the caller graph for this function:

◆ IsAutoReturn()

bool CPVT_VariableText::IsAutoReturn ( ) const
inline

Definition at line 109 of file cpvt_variabletext.h.

◆ IsMultiLine()

bool CPVT_VariableText::IsMultiLine ( ) const
inline

Definition at line 108 of file cpvt_variabletext.h.

◆ IsValid()

bool CPVT_VariableText::IsValid ( ) const
inline

Definition at line 89 of file cpvt_variabletext.h.

◆ NextLineHeaderPlace()

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.

+ Here is the call graph for this function:

◆ OutToIn()

CFX_PointF CPVT_VariableText::OutToIn ( const CFX_PointF & point) const

Definition at line 884 of file cpvt_variabletext.cpp.

◆ PrevLineHeaderPlace()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RearrangeAll()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RearrangePart()

void CPVT_VariableText::RearrangePart ( const CPVT_WordRange & PlaceRange)

Definition at line 750 of file cpvt_variabletext.cpp.

◆ SearchWordPlace()

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.

+ Here is the call graph for this function:

◆ SetAlignment()

void CPVT_VariableText::SetAlignment ( int32_t nFormat)
inline

Definition at line 79 of file cpvt_variabletext.h.

Referenced by CPDF_GenerateAP::GenerateFormAP().

+ Here is the caller graph for this function:

◆ SetAutoFontSize()

void CPVT_VariableText::SetAutoFontSize ( bool bAuto)
inline

Definition at line 86 of file cpvt_variabletext.h.

Referenced by CPDF_GenerateAP::GenerateFormAP().

+ Here is the caller graph for this function:

◆ SetAutoReturn()

void CPVT_VariableText::SetAutoReturn ( bool bAuto)
inline

Definition at line 83 of file cpvt_variabletext.h.

Referenced by CPDF_GenerateAP::GenerateFormAP().

+ Here is the caller graph for this function:

◆ SetCharArray()

void CPVT_VariableText::SetCharArray ( int32_t nCharArray)
inline

Definition at line 85 of file cpvt_variabletext.h.

Referenced by CPDF_GenerateAP::GenerateFormAP().

+ Here is the caller graph for this function:

◆ SetFontSize()

void CPVT_VariableText::SetFontSize ( float fFontSize)
inline

Definition at line 84 of file cpvt_variabletext.h.

Referenced by CPDF_GenerateAP::GenerateFormAP().

+ Here is the caller graph for this function:

◆ SetLimitChar()

void CPVT_VariableText::SetLimitChar ( int32_t nLimitChar)
inline

Definition at line 81 of file cpvt_variabletext.h.

Referenced by CPDF_GenerateAP::GenerateFormAP().

+ Here is the caller graph for this function:

◆ SetMultiLine()

void CPVT_VariableText::SetMultiLine ( bool bMultiLine)
inline

Definition at line 82 of file cpvt_variabletext.h.

Referenced by CPDF_GenerateAP::GenerateFormAP().

+ Here is the caller graph for this function:

◆ SetPasswordChar()

void CPVT_VariableText::SetPasswordChar ( uint16_t wSubWord)
inline

Definition at line 80 of file cpvt_variabletext.h.

Referenced by CPDF_GenerateAP::GenerateFormAP().

+ Here is the caller graph for this function:

◆ SetPlateRect()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetProvider()

void CPVT_VariableText::SetProvider ( Provider * pProvider)

Definition at line 868 of file cpvt_variabletext.cpp.

◆ SetText()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateWordPlace()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ WordIndexToWordPlace()

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().

+ Here is the call graph for this function:

◆ WordPlaceToWordIndex()

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().

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: