protected static void WriteRawTag(TextWriter s, int depth, Dictionary <string, string> namespaces, string tagname, bool preserveWhitespace, string tagNamespace, object data) { s.Write("<"); OoxmlComplexType.WriteXmlPrefix(s, namespaces, tagNamespace); s.Write(tagname); if (preserveWhitespace) { s.Write(" xml:space=\"preserve\""); } s.Write(">"); OoxmlComplexType.WriteData(s, data); s.Write("</"); OoxmlComplexType.WriteXmlPrefix(s, namespaces, tagNamespace); s.Write(tagname); s.Write(">"); }