Ejemplo n.º 1
0
 protected static void WriteRawTag(TextWriter s, string tagname, bool preserveWhitespace, string tagNamespacePrefix, object data)
 {
     s.Write("<");
     s.Write(tagNamespacePrefix);
     s.Write(":");
     s.Write(tagname);
     if (preserveWhitespace)
     {
         s.Write(" xml:space=\"preserve\"");
     }
     s.Write(">");
     OoxmlComplexType.WriteData(s, data);
     s.Write("</");
     s.Write(tagNamespacePrefix);
     s.Write(":");
     s.Write(tagname);
     s.Write(">");
 }
Ejemplo n.º 2
0
 protected static void WriteRawTag(TextWriter s, string tagname, string tagNamespacePrefix, object data)
 {
     OoxmlComplexType.WriteRawTag(s, tagname, false, tagNamespacePrefix, data);
 }