Lines Matching refs:xmlWriter
77 def toXML(self, xmlWriter, progress=None):
79 xmlWriter.begintag("CFFFont", name=tostr(fontName))
80 xmlWriter.newline()
82 font.toXML(xmlWriter, progress)
83 xmlWriter.endtag("CFFFont")
84 xmlWriter.newline()
85 xmlWriter.newline()
86 xmlWriter.begintag("GlobalSubrs")
87 xmlWriter.newline()
88 self.GlobalSubrs.toXML(xmlWriter, progress)
89 xmlWriter.endtag("GlobalSubrs")
90 xmlWriter.newline()
385 def toXML(self, xmlWriter, progress):
386 xmlWriter.comment("The 'index' attribute is only for humans; it is ignored when parsed.")
387 xmlWriter.newline()
391 xmlWriter.begintag("CharString", index=i, raw=1)
393 xmlWriter.begintag("CharString", index=i)
394 xmlWriter.newline()
395 subr.toXML(xmlWriter)
396 xmlWriter.endtag("CharString")
397 xmlWriter.newline()
426 def toXML(self, xmlWriter, progress):
428 xmlWriter.begintag("FontDict", index=i)
429 xmlWriter.newline()
430 self[i].toXML(xmlWriter, progress)
431 xmlWriter.endtag("FontDict")
432 xmlWriter.newline()
555 def toXML(self, xmlWriter, progress):
567 xmlWriter.begintag("CharString", [('name', name)] + raw)
569 xmlWriter.begintag("CharString",
571 xmlWriter.newline()
572 charStr.toXML(xmlWriter)
573 xmlWriter.endtag("CharString")
574 xmlWriter.newline()
664 def xmlWrite(self, xmlWriter, name, value, progress):
665 xmlWriter.simpletag(name, value=value)
666 xmlWriter.newline()
675 def xmlWrite(self, xmlWriter, name, value, progress):
676 xmlWriter.simpletag(name, value=tostr(value, encoding="ascii"))
677 xmlWriter.newline()
686 def xmlWrite(self, xmlWriter, name, value, progress):
687 xmlWriter.simpletag(name, value=tostr(value, encoding="latin1"))
688 xmlWriter.newline()
705 def xmlWrite(self, xmlWriter, name, value, progress):
707 xmlWriter.simpletag(name, value=value)
708 xmlWriter.newline()
714 def xmlWrite(self, xmlWriter, name, value, progress):
715 xmlWriter.begintag(name)
716 xmlWriter.newline()
717 value.toXML(xmlWriter, progress)
718 xmlWriter.endtag(name)
719 xmlWriter.newline()
813 def xmlWrite(self, xmlWriter, name, value, progress):
816 ##xmlWriter.simpletag("charset")
817 xmlWriter.comment("charset is dumped separately as the 'GlyphOrder' element")
818 xmlWriter.newline()
988 def xmlWrite(self, xmlWriter, name, value, progress):
990 xmlWriter.simpletag(name, name=value)
991 xmlWriter.newline()
993 xmlWriter.begintag(name)
994 xmlWriter.newline()
998 xmlWriter.simpletag("map", code=hex(code), name=glyphName)
999 xmlWriter.newline()
1000 xmlWriter.endtag(name)
1001 xmlWriter.newline()
1131 def xmlWrite(self, xmlWriter, name, value, progress):
1132 xmlWriter.simpletag(name, [('format', value.format)])
1133 xmlWriter.newline()
1208 def xmlWrite(self, xmlWriter, name, value, progress):
1210 xmlWriter.simpletag(name, [('Registry', tostr(registry)), ('Order', tostr(order)),
1212 xmlWriter.newline()
1503 def toXML(self, xmlWriter, progress):
1511 conv.xmlWrite(xmlWriter, name, value, progress)
1542 def toXML(self, xmlWriter, progress):
1552 BaseDict.toXML(self, xmlWriter, progress)
1585 def toXML(self, xmlWriter, progress):
1587 BaseDict.toXML(self, xmlWriter, progress)