Page 1 of 1

add check box to sheet

PostPosted: Tue Sep 25, 2018 3:47 am
by wojsa17
Hi,

I'm trying to work with this library, and add a checkbox from the java code. I tried to write something based on an example with a picture but I have no idea how add this object. I've used a page (http://webapp.docx4java.org/OnlineDemo/PartsList.html) that's supposed to help me in this but in drawing1.xml I got only <xdr:wsDr/>.

can You help me with this?

I am sorry that I did not paste any code, but currently it is a lot of nothing, and usually blindly :)

regards.

Re: add check box to sheet

PostPosted: Sat Sep 29, 2018 7:01 am
by wojsa17
I solved my problem.
If You use example with image... you must add vml (i found it, in unzipped excel file) and ofc drawing part.
In few days I will try to add an example to the repository.

regards

Re: add check box to sheet

PostPosted: Sat Sep 29, 2018 8:15 am
by jason
Great to hear you solved this yourself. You beat me to it :-)

Would be great to have as an example, if you could make a git pull request when ready :-)