public override void WriteCloseTag(TextWriter s, string tagName, int depth, Dictionary <string, string> namespaces) { s.Write("</"); OoxmlComplexType.WriteXmlPrefix(s, namespaces, "http://schemas.openxmlformats.org/drawingml/2006/main"); s.Write(tagName); s.Write(">"); }
public override void WriteCloseTag(TextWriter s, string tagName, int depth, Dictionary <string, string> namespaces) { s.Write("</"); OoxmlComplexType.WriteXmlPrefix(s, namespaces, "http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"); s.Write(tagName); s.Write(">"); }
public override void WriteOpenTag(TextWriter s, string tagName, int depth, Dictionary <string, string> namespaces, bool root) { s.Write("<"); OoxmlComplexType.WriteXmlPrefix(s, namespaces, "http://schemas.openxmlformats.org/spreadsheetml/2006/main"); s.Write(tagName); this.WriteAttributes(s); if (root) { foreach (string key in namespaces.Keys) { s.Write(" xmlns"); if (namespaces[key] != "") { s.Write(":"); s.Write(namespaces[key]); } s.Write("=\""); s.Write(key); s.Write("\""); } } s.Write(">"); }