Examples taken from Apache POI source code