summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_binditems.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-01-03 15:22:37 -0500
committerChromium commit bot <commit-bot@chromium.org>2018-01-03 21:15:21 +0000
commit368c634f87eb5fdf03a532d3125d9b6c5400f61a (patch)
tree9b029f7d1cb63f56f187b28c898a112a42913969 /xfa/fxfa/parser/cxfa_binditems.cpp
parent44820980f762797f1ffba61b9f5b8cf0922489a3 (diff)
downloadpdfium-368c634f87eb5fdf03a532d3125d9b6c5400f61a.tar.xz
Fold CXFA_BindItemsData into CXFA_BindItems
This CL merges CXFA_BindItemsData into the CXFA_BindItems class. Change-Id: I424274fcd6a9a4376d78794b1014988c3649602f Reviewed-on: https://pdfium-review.googlesource.com/22170 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_binditems.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_binditems.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/xfa/fxfa/parser/cxfa_binditems.cpp b/xfa/fxfa/parser/cxfa_binditems.cpp
index 1c33e4c1c5..d7d72a7e3a 100644
--- a/xfa/fxfa/parser/cxfa_binditems.cpp
+++ b/xfa/fxfa/parser/cxfa_binditems.cpp
@@ -34,3 +34,15 @@ CXFA_BindItems::CXFA_BindItems(CXFA_Document* doc, XFA_PacketType packet)
pdfium::MakeUnique<CJX_BindItems>(this)) {}
CXFA_BindItems::~CXFA_BindItems() {}
+
+WideString CXFA_BindItems::GetLabelRef() {
+ return JSObject()->GetCData(XFA_Attribute::LabelRef);
+}
+
+WideString CXFA_BindItems::GetValueRef() {
+ return JSObject()->GetCData(XFA_Attribute::ValueRef);
+}
+
+WideString CXFA_BindItems::GetRef() {
+ return JSObject()->GetCData(XFA_Attribute::Ref);
+}