summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_text.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_text.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/xfa/fxfa/parser/cxfa_text.cpp b/xfa/fxfa/parser/cxfa_text.cpp
index e890aca7ec..e000493446 100644
--- a/xfa/fxfa/parser/cxfa_text.cpp
+++ b/xfa/fxfa/parser/cxfa_text.cpp
@@ -37,3 +37,7 @@ CXFA_Text::CXFA_Text(CXFA_Document* doc, XFA_PacketType packet)
pdfium::MakeUnique<CJX_Text>(this)) {}
CXFA_Text::~CXFA_Text() {}
+
+WideString CXFA_Text::GetContent() {
+ return JSObject()->GetContent(false);
+}