Class FormPropertiesElement

    • Field Detail

      • ELEMENT_NAME

        public static final OdfName ELEMENT_NAME
    • Constructor Detail

      • FormPropertiesElement

        public FormPropertiesElement​(OdfFileDom ownerDoc)
        Create the instance of FormPropertiesElement
        Parameters:
        ownerDoc - The type is OdfFileDom
    • Method Detail

      • newFormPropertyElement

        public FormPropertyElement newFormPropertyElement​(String formPropertyNameValue,
                                                          double officeValueValue,
                                                          String officeValueTypeValue)
        Create child element <form:property>.
        Parameters:
        formPropertyNameValue - the String value of FormPropertyNameAttribute , see @form:property-name at specification
        officeValueValue - the Double value of OfficeValueAttribute, see @office:value at specification
        officeValueTypeValue - the String value of OfficeValueTypeAttribute , see @office:value-type at specification
        Returns:
        the element <form:property>
      • accept

        public void accept​(ElementVisitor visitor)
        Accept an visitor instance to allow the visitor to do some operations. Refer to visitor design pattern to get a better understanding.
        Overrides:
        accept in class OdfElement
        Parameters:
        visitor - an instance of DefaultElementVisitor