2

I wanna make a program to create MS Word file, but some API's can't add checkbox to the document. Someone have done that? Thanks.

skaffman
  • 398,947
  • 96
  • 818
  • 769
Carlos
  • 21
  • 2

3 Answers3

1

How about open office's api?

http://api.openoffice.org/docs/common/ref/com/sun/star/form/FormComponentType.html

Also, see this Stackoverflow thread: What's a good Java API for creating Word documents?

Community
  • 1
  • 1
zmf
  • 9,095
  • 2
  • 26
  • 28
0

Apache POI may help you out... http://poi.apache.org/

Although, My experience with this API has been with excel and it appears the Word stuff is less developed. Hope it helps though!

Chris
  • 11,780
  • 13
  • 48
  • 70
  • Thanks for your fast answer. Have you added checkbox to the MS Excel file? Anyway, I'll check it out. – Carlos Aug 04 '10 at 16:52
  • My experience here has been with Excel files however I did notice their section discussing Word so i thought I would at least mention it to you. Sorry for not knowing more about its abilities with M$ Word docs. – Chris Aug 05 '10 at 17:28
0

You could try JODReports or Docmosis. Both sit over open office and can simplify some of the interactions with OpenOffice. OpenOffice does a pretty impressive job of doc reading/writing and format conversions.

Paul Jowett
  • 6,513
  • 2
  • 24
  • 19