Home | History | Annotate | Download | only in xfa
      1 // Copyright 2017 PDFium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
      6 
      7 #ifndef FXJS_XFA_CJX_SUBFORM_H_
      8 #define FXJS_XFA_CJX_SUBFORM_H_
      9 
     10 #include "fxjs/CJX_Define.h"
     11 #include "fxjs/xfa/cjx_container.h"
     12 
     13 class CXFA_Delta;
     14 
     15 class CJX_Subform : public CJX_Container {
     16  public:
     17   explicit CJX_Subform(CXFA_Node* container);
     18   ~CJX_Subform() override;
     19 
     20   JS_METHOD(execCalculate, CJX_Subform);
     21   JS_METHOD(execEvent, CJX_Subform);
     22   JS_METHOD(execInitialize, CJX_Subform);
     23   JS_METHOD(execValidate, CJX_Subform);
     24 
     25   JS_PROP(allowMacro);
     26   JS_PROP(anchorType);
     27   JS_PROP(colSpan);
     28   JS_PROP(columnWidths);
     29   JS_PROP(h);
     30   JS_PROP(hAlign);
     31   JS_PROP(instanceIndex);
     32   JS_PROP(layout);
     33   JS_PROP(locale);
     34   JS_PROP(maxH);
     35   JS_PROP(maxW);
     36   JS_PROP(minH);
     37   JS_PROP(minW);
     38   JS_PROP(presence);
     39   JS_PROP(relevant);
     40   JS_PROP(restoreState);
     41   JS_PROP(scope);
     42   JS_PROP(use);
     43   JS_PROP(usehref);
     44   JS_PROP(validationMessage);
     45   JS_PROP(vAlign);
     46   JS_PROP(w);
     47   JS_PROP(x);
     48   JS_PROP(y);
     49 
     50  private:
     51   static const CJX_MethodSpec MethodSpecs[];
     52 };
     53 
     54 #endif  // FXJS_XFA_CJX_SUBFORM_H_
     55