1

I use OpenOffice through the java API, and make him open the .odt file, fill in some values and save as .doc and .pdf. The .doc have no checkboxes in it.

I'm basically looking for a workaround of bug 45347

Correcting the bug by myself is not an option since a checkout of the openoffice code takes more than 10h (various Go of stuff), and I never managed to carry out a compilation of it.

Thanks,

Nico.

nraynaud
  • 4,924
  • 7
  • 39
  • 54
  • If it's too much effort for you to fix the bug (your job I assume), do you really expect the _volunteer_ SO community to do so? – Frank Krueger Oct 20 '09 at 16:13
  • 2
    http://en.wikipedia.org/wiki/Workaround Although I'm not a native english speaker, I don't think I made such big error in my text to be interpreted as such ? Can you tell me what passage is confusing that I correct it please ? – nraynaud Oct 20 '09 at 16:32
  • Maybe I'm misunderstanding the question, but shouldn't this be on Super User..? – Sasha Chedygov Oct 25 '09 at 22:37
  • yes maybe, but I'm using it in my software, and I don't have an account there. And I just think a developer knows how to read a bug report, and what a workaround is (even if not everybody here does) and would have had investigated that in the past. – nraynaud Oct 26 '09 at 00:29
  • @Frank Krueger: I don't think fixing OpenOffice bugs is his job. His job is to build something that uses it. @nraynaud: Have you tried exporting to DOCX or what the new office format is called again? Maybe it behaves better there? – Pekka Oct 28 '09 at 12:39
  • If you're using a java lib and you are sure of how to patch the appropriate classes, you can find the appropriate jar, decompile the classes, patch the src, recompile and rebuild the jar. – Miguel Ping Oct 28 '09 at 13:31

1 Answers1

2

One workaround would be the Apache Java POI library -- generate the document with OpenOffice, then open and modify it with the POI Microsoft Office API -- here's someone's suggestion for a similar problem

sventechie
  • 1,859
  • 1
  • 22
  • 51