diff options
Diffstat (limited to 'xfa/fxfa/parser/cxfa_object.h')
-rw-r--r-- | xfa/fxfa/parser/cxfa_object.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xfa/fxfa/parser/cxfa_object.h b/xfa/fxfa/parser/cxfa_object.h index a58a922ea2..5d5f31c647 100644 --- a/xfa/fxfa/parser/cxfa_object.h +++ b/xfa/fxfa/parser/cxfa_object.h @@ -72,6 +72,12 @@ class CXFA_Object : public CFXJSE_HostObject { CJX_Object* JSObject() { return m_pJSObject.get(); } const CJX_Object* JSObject() const { return m_pJSObject.get(); } + bool HasCreatedUIWidget() const { + return m_elementType == XFA_Element::Field || + m_elementType == XFA_Element::Draw || + m_elementType == XFA_Element::Subform || + m_elementType == XFA_Element::ExclGroup; + } void CreateWidgetAcc(); CXFA_WidgetAcc* GetWidgetAcc() { return acc_.get(); } |