Lines Matching refs:xmlWriter
147 def toXML(self, xmlWriter): argument
148 xmlWriter.simpletag("major", value=self.major)
149 xmlWriter.newline()
150 xmlWriter.simpletag("minor", value=self.minor)
151 xmlWriter.newline()
153 xmlWriter.begintag("CFFFont", name=tostr(fontName))
154 xmlWriter.newline()
156 font.toXML(xmlWriter)
157 xmlWriter.endtag("CFFFont")
158 xmlWriter.newline()
159 xmlWriter.newline()
160 xmlWriter.begintag("GlobalSubrs")
161 xmlWriter.newline()
162 self.GlobalSubrs.toXML(xmlWriter)
163 xmlWriter.endtag("GlobalSubrs")
164 xmlWriter.newline()
643 def toXML(self, xmlWriter): argument
644 xmlWriter.comment(
647 xmlWriter.newline()
651 xmlWriter.begintag("CharString", index=i, raw=1)
653 xmlWriter.begintag("CharString", index=i)
654 xmlWriter.newline()
655 subr.toXML(xmlWriter)
656 xmlWriter.endtag("CharString")
657 xmlWriter.newline()
708 def toXML(self, xmlWriter): argument
710 xmlWriter.begintag("FontDict", index=i)
711 xmlWriter.newline()
712 self[i].toXML(xmlWriter)
713 xmlWriter.endtag("FontDict")
714 xmlWriter.newline()
721 def toXML(self, xmlWriter): argument
723 xmlWriter.begintag("FontDict", index=i)
724 xmlWriter.newline()
725 self[i].toXML(xmlWriter)
726 xmlWriter.endtag("FontDict")
727 xmlWriter.newline()
779 def writeXML(self, xmlWriter, name): argument
780 self.otVarStore.toXML(xmlWriter, self.font)
916 def toXML(self, xmlWriter): argument
925 xmlWriter.begintag("CharString", [('name', name)] + raw)
927 xmlWriter.begintag(
930 xmlWriter.newline()
931 charStr.toXML(xmlWriter)
932 xmlWriter.endtag("CharString")
933 xmlWriter.newline()
1055 def xmlWrite(self, xmlWriter, name, value): argument
1056 xmlWriter.simpletag(name, value=value)
1057 xmlWriter.newline()
1071 def xmlWrite(self, xmlWriter, name, value): argument
1072 xmlWriter.simpletag(name, value=tounicode(value, encoding="ascii"))
1073 xmlWriter.newline()
1087 def xmlWrite(self, xmlWriter, name, value): argument
1091 xmlWriter.simpletag(name, value=value)
1092 xmlWriter.newline()
1121 def xmlWrite(self, xmlWriter, name, value): argument
1123 xmlWriter.begintag(name)
1124 xmlWriter.newline()
1125 xmlWriter.indent()
1127 xmlWriter.simpletag(kBlendDictOpName, value=blendValue)
1128 xmlWriter.newline()
1129 xmlWriter.dedent()
1130 xmlWriter.endtag(name)
1131 xmlWriter.newline()
1133 xmlWriter.simpletag(name, value=value)
1134 xmlWriter.newline()
1146 def xmlWrite(self, xmlWriter, name, value): argument
1148 xmlWriter.begintag(name)
1149 xmlWriter.newline()
1150 xmlWriter.indent()
1153 xmlWriter.simpletag(kBlendDictOpName, value=blendValue)
1154 xmlWriter.newline()
1155 xmlWriter.dedent()
1156 xmlWriter.endtag(name)
1157 xmlWriter.newline()
1160 xmlWriter.simpletag(name, value=value)
1161 xmlWriter.newline()
1175 def xmlWrite(self, xmlWriter, name, value): argument
1176 xmlWriter.begintag(name)
1177 xmlWriter.newline()
1178 value.toXML(xmlWriter)
1179 xmlWriter.endtag(name)
1180 xmlWriter.newline()
1314 def xmlWrite(self, xmlWriter, name, value): argument
1318 xmlWriter.comment("charset is dumped separately as the 'GlyphOrder' element")
1319 xmlWriter.newline()
1514 def xmlWrite(self, xmlWriter, name, value): argument
1516 xmlWriter.simpletag(name, name=value)
1517 xmlWriter.newline()
1519 xmlWriter.begintag(name)
1520 xmlWriter.newline()
1524 xmlWriter.simpletag("map", code=hex(code), name=glyphName)
1525 xmlWriter.newline()
1526 xmlWriter.endtag(name)
1527 xmlWriter.newline()
1666 def xmlWrite(self, xmlWriter, name, value): argument
1667 xmlWriter.simpletag(name, [('format', value.format)])
1668 xmlWriter.newline()
1690 def xmlWrite(self, xmlWriter, name, value): argument
1691 value.writeXML(xmlWriter, name)
1784 def xmlWrite(self, xmlWriter, name, value): argument
1786 xmlWriter.simpletag(
1793 xmlWriter.newline()
2264 def toXML(self, xmlWriter): argument
2281 conv.xmlWrite(xmlWriter, name, value)
2284 xmlWriter.comment(
2286 xmlWriter.newline()
2329 def toXML(self, xmlWriter): argument
2339 BaseDict.toXML(self, xmlWriter)