I'm a new in apache poi could anyone help me with creating checkboxes and fillable fields(plain text, rich text) in docx document? I saw xml representation of docx and I think that is element describe checkbox
<w:fldChar w:fldCharType="begin">
<w:ffData>
<w:name w:val="Check59"/>
<w:enabled/>
<w:calcOnExit w:val="0"/>
<w:checkBox>
<w:sizeAuto/>
<w:default w:val="0"/>
</w:checkBox>
</w:ffData>
</w:fldChar>
</w:r>
<w:bookmarkStart w:id="6" w:name="Check59"/>
<w:r>
<w:rPr>
<w:sz w:val="20"/>
</w:rPr>
<w:instrText xml:space="preserve">FORMCHECKBOX</w:instrText>
</w:r>
<w:r>
<w:rPr>
<w:sz w:val="20"/>
</w:rPr>
</w:r>
<w:r>
<w:rPr>
<w:sz w:val="20"/>
</w:rPr>
<w:fldChar w:fldCharType="end"/>
</w:r>
and that xml elements describe input text:
<w:r>
<w:rPr>
<w:sz w:val="20"/>
<w:u w:val="single"/>
</w:rPr>
<w:fldChar w:fldCharType="begin">
<w:ffData>
<w:name w:val="Text1"/>
<w:enabled/>
<w:calcOnExit w:val="0"/>
<w:textInput/>
</w:ffData>
</w:fldChar>
</w:r>
<w:r>
<w:rPr>
<w:sz w:val="20"/>
<w:u w:val="single"/>
</w:rPr>
<w:instrText xml:space="preserve">FORMTEXT</w:instrText>
</w:r>
<w:r>
<w:rPr>
<w:sz w:val="20"/>
<w:u w:val="single"/>
</w:rPr>
</w:r>
<w:r>
<w:rPr>
<w:sz w:val="20"/>
<w:u w:val="single"/>
</w:rPr>
<w:fldChar w:fldCharType="separate"/>
</w:r>
<w:r>
<w:rPr>
<w:noProof/>
<w:sz w:val="20"/>
<w:u w:val="single"/>
</w:rPr>
<w:t> </w:t>
</w:r>
<w:r>
<w:rPr>
<w:noProof/>
<w:sz w:val="20"/>
<w:u w:val="single"/>
</w:rPr>
<w:t> </w:t>
</w:r>
<w:r>
<w:rPr>
<w:noProof/>
<w:sz w:val="20"/>
<w:u w:val="single"/>
</w:rPr>
<w:t> </w:t>
</w:r>
<w:r>
<w:rPr>
<w:noProof/>
<w:sz w:val="20"/>
<w:u w:val="single"/>
</w:rPr>
<w:t> </w:t>
</w:r>
<w:r>
<w:rPr>
<w:noProof/>
<w:sz w:val="20"/>
<w:u w:val="single"/>
</w:rPr>
<w:t> </w:t>
</w:r>
<w:r>
<w:rPr>
<w:sz w:val="20"/>
<w:u w:val="single"/>
</w:rPr>
<w:fldChar w:fldCharType="end"/>
</w:r>
<w:r>
<w:rPr>
<w:sz w:val="20"/>
<w:u w:val="single"/>
</w:rPr>
<w:tab/>
</w:r>
<w:r>
<w:rPr>
<w:sz w:val="20"/>
</w:rPr>
<w:t xml:space="preserve">,“Seller” whether one or more, and</w:t>
</w:r>
</w:p>
but how that is get from apache poi or create the same?