final Set<Style> styles;
{
final ZipEntry zipEntry = new ZipEntry( CONTENT_XML );
zipOutputStream.putNextEntry( zipEntry );
final DocumentContentWriter writer = new DocumentContentWriter( this.spreadsheet, this.timeZone );
writer.write( zipOutputStream );
styles = writer.getStyles();
zipOutputStream.closeEntry();
}
{
final ZipEntry zipEntry = new ZipEntry( META_XML );
zipOutputStream.putNextEntry( zipEntry );
final DocumentMetaWriter writer = new DocumentMetaWriter( this.timeZone );
writer.write( zipOutputStream );
zipOutputStream.closeEntry();
}
final InputStream templateStream = this.templateInputStream != null ? this.templateInputStream :