Lines Matching refs:xmlWriter
38 def _writeFlagsToXML(self, xmlWriter): argument
41 xmlWriter.simpletag("Flags", value=",".join(flags))
42 xmlWriter.newline()
44 xmlWriter.simpletag(
47 xmlWriter.newline()
106 def toXML(self, xmlWriter, font, attrs, name): argument
107 xmlWriter.begintag(name, **attrs)
108 xmlWriter.newline()
109 xmlWriter.simpletag("NewState", value=self.NewState)
110 xmlWriter.newline()
111 self._writeFlagsToXML(xmlWriter)
112 xmlWriter.simpletag("Verb", value=self.Verb)
115 xmlWriter.comment(verbComment)
116 xmlWriter.newline()
117 xmlWriter.endtag(name)
118 xmlWriter.newline()
167 def toXML(self, xmlWriter, font, attrs, name): argument
168 xmlWriter.begintag(name, **attrs)
169 xmlWriter.newline()
170 xmlWriter.simpletag("NewState", value=self.NewState)
171 xmlWriter.newline()
172 self._writeFlagsToXML(xmlWriter)
173 xmlWriter.simpletag("MarkIndex", value=self.MarkIndex)
174 xmlWriter.newline()
175 xmlWriter.simpletag("CurrentIndex",
177 xmlWriter.newline()
178 xmlWriter.endtag(name)
179 xmlWriter.newline()
341 def toXML(self, xmlWriter, font, attrs, name): argument
342 xmlWriter.begintag(name, **attrs)
343 xmlWriter.newline()
344 xmlWriter.simpletag("NewState", value=self.NewState)
345 xmlWriter.newline()
346 self._writeFlagsToXML(xmlWriter)
351 xmlWriter.simpletag("Action", attribs)
352 xmlWriter.newline()
353 xmlWriter.endtag(name)
354 xmlWriter.newline()
424 def toXML(self, xmlWriter, font, attrs, name): argument
425 xmlWriter.begintag(name, **attrs)
426 xmlWriter.newline()
427 xmlWriter.simpletag("NewState", value=self.NewState)
428 xmlWriter.newline()
429 self._writeFlagsToXML(xmlWriter)
431 xmlWriter.simpletag("CurrentInsertionAction", glyph=g)
432 xmlWriter.newline()
434 xmlWriter.simpletag("MarkedInsertionAction", glyph=g)
435 xmlWriter.newline()
436 xmlWriter.endtag(name)
437 xmlWriter.newline()
495 def toXML(self, xmlWriter, font, attrs=None, name=None): argument
496 BaseTable.toXML(self, xmlWriter, font, attrs, name=self.__class__.__name__)
600 def toXML2(self, xmlWriter, font): argument
602 xmlWriter.simpletag("Glyph", value=glyphName)
603 xmlWriter.newline()
666 def toXML2(self, xmlWriter, font): argument
673 xmlWriter.simpletag("Map", attrs)
674 xmlWriter.newline()
756 def toXML2(self, xmlWriter, font): argument
759 xmlWriter.simpletag("Substitution",
761 xmlWriter.newline()
801 def toXML2(self, xmlWriter, font): argument
805 xmlWriter.simpletag("Substitution",
807 xmlWriter.newline()
961 def toXML2(self, xmlWriter, font): argument
964 xmlWriter.simpletag("ClassDef", [("glyph", glyphName), ("class", cls)])
965 xmlWriter.newline()
1019 def toXML2(self, xmlWriter, font): argument
1022 xmlWriter.begintag("AlternateSet", glyph=glyphName)
1023 xmlWriter.newline()
1025 xmlWriter.simpletag("Alternate", glyph=alt)
1026 xmlWriter.newline()
1027 xmlWriter.endtag("AlternateSet")
1028 xmlWriter.newline()
1105 def toXML2(self, xmlWriter, font): argument
1108 xmlWriter.begintag("LigatureSet", glyph=glyphName)
1109 xmlWriter.newline()
1111 xmlWriter.simpletag("Ligature", glyph=lig.LigGlyph,
1113 xmlWriter.newline()
1114 xmlWriter.endtag("LigatureSet")
1115 xmlWriter.newline()