diff options
Diffstat (limited to 'core/fpdfdoc/cpdf_variabletext.cpp')
-rw-r--r-- | core/fpdfdoc/cpdf_variabletext.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/fpdfdoc/cpdf_variabletext.cpp b/core/fpdfdoc/cpdf_variabletext.cpp index 1d5fde289d..010d426cf2 100644 --- a/core/fpdfdoc/cpdf_variabletext.cpp +++ b/core/fpdfdoc/cpdf_variabletext.cpp @@ -787,10 +787,18 @@ FX_BOOL CPDF_VariableText::GetSectionInfo(const CPVT_WordPlace& place, return FALSE; } +void CPDF_VariableText::SetPlateRect(const CFX_FloatRect& rect) { + CPDF_EditContainer::SetPlateRect(rect); +} + CFX_FloatRect CPDF_VariableText::GetContentRect() const { return InToOut(CPVT_FloatRect(CPDF_EditContainer::GetContentRect())); } +const CFX_FloatRect& CPDF_VariableText::GetPlateRect() const { + return CPDF_EditContainer::GetPlateRect(); +} + FX_FLOAT CPDF_VariableText::GetWordFontSize(const CPVT_WordInfo& WordInfo, FX_BOOL bFactFontSize) { return m_bRichText && WordInfo.pWordProps |