* Throws if a writing operation is done on a read only package.
* @see org.openxml4j.opc.PackageAccess
*/
public void throwExceptionIfReadOnly() throws InvalidOperationException {
if (packageAccess == PackageAccess.READ)
throw new InvalidOperationException(
"Operation not allowed, document open in read only mode!");
}