Index: core/fpdfdoc/cpdf_variabletext.cpp |
diff --git a/core/fpdfdoc/cpdf_variabletext.cpp b/core/fpdfdoc/cpdf_variabletext.cpp |
index 1d5fde289dd06f29744e52071d6baa8515bd88b9..010d426cf2478570ba2f7663cd40f5302aaf5eb9 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 |