As part of a patch fix for:
I've added the complimentary setter methods to the getter methods
that are already present in the class:
Only a couple of these methods are used in DocumentImpl.java, but I thought
I'd round out the rest of them.