From 95b232f791231a0db0de780b568a0825a2e6e989 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Mon, 29 Jan 2018 22:21:36 +0000 Subject: Cleanup some ChoiceList code This CL combines some ComboBox with ListBox code to remove duplication when dealing with choice lists. Change-Id: I735b6596c67aaf80ab96573af5c8d81e7875c27c Reviewed-on: https://pdfium-review.googlesource.com/24551 Reviewed-by: Henrique Nakashima Commit-Queue: dsinclair --- xfa/fxfa/parser/cxfa_node.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xfa/fxfa') diff --git a/xfa/fxfa/parser/cxfa_node.h b/xfa/fxfa/parser/cxfa_node.h index 130422e59c..87f5a475bd 100644 --- a/xfa/fxfa/parser/cxfa_node.h +++ b/xfa/fxfa/parser/cxfa_node.h @@ -312,7 +312,6 @@ class CXFA_Node : public CXFA_Object { bool IsListBox(); bool IsAllowNeutral(); bool IsRadioButton(); - bool IsChoiceListAllowTextEntry(); bool IsMultiLine(); XFA_AttributeEnum GetButtonHighlight(); @@ -336,6 +335,7 @@ class CXFA_Node : public CXFA_Object { CXFA_Node* GetExclGroupFirstMember(); CXFA_Node* GetExclGroupNextMember(CXFA_Node* pNode); + bool IsChoiceListAllowTextEntry(); int32_t CountChoiceListItems(bool bSaveValue); Optional GetChoiceListItem(int32_t nIndex, bool bSaveValue); bool IsChoiceListMultiSelect(); -- cgit v1.2.3