currentWriter = bufferState.getXmlWriter();
}
try
{
final MemoryByteArrayOutputStream out =
new MemoryByteArrayOutputStream(INITIAL_BUFFER_SIZE, 256 * INITIAL_BUFFER_SIZE);
final DeflaterOutputStream deflateOut = new DeflaterOutputStream(out);
final OutputStreamWriter xmlBuffer = new OutputStreamWriter(deflateOut, "UTF-16");
// final StringWriter xmlBuffer = new StringWriter
// (OfficeDocumentReportTarget.INITIAL_BUFFER_SIZE);
final XmlWriter contentXmlWriter = new XmlWriter(xmlBuffer, createTagDescription());