// the column's content are evenly distributed.
final XmlWriter writer = getXmlWriter();
final AttributeList attrs = new AttributeList();
attrs.setAttribute(OfficeNamespaces.TEXT_NS, "style-name", generateSectionStyle(numberOfColumns));
attrs.setAttribute(OfficeNamespaces.TEXT_NS, "name", sectionNames.generateName("Section"));
writer.writeTag(OfficeNamespaces.TEXT_NS, "section", attrs, XmlWriterSupport.OPEN);
for (int i = 0; i < numberOfColumns; i++)
{
writer.writeStream(contents.getXmlAsReader());
}