You need php 5.2+. Unpack BullDoc archive, give write permission to cache and workshop folders, and exec permission to bulldoc script and it is ready to work. There are manual's sources in the distributive. You can use it as an example.
Google Code page: code.google.com/p/bulldoc
You can check SVN repository.