Home | History | Annotate | Download | only in tables

Lines Matching refs:attrs

75 	def xmlRead(self, attrs, content, font):
79 def xmlWrite(self, xmlWriter, font, value, name, attrs):
85 def xmlWrite(self, xmlWriter, font, value, name, attrs):
86 xmlWriter.simpletag(name, attrs + [("value", value)])
88 def xmlRead(self, attrs, content, font):
89 return attrs["value"]
92 def xmlRead(self, attrs, content, font):
93 return int(attrs["value"], 0)
112 def xmlRead(self, attrs, content, font):
113 value = attrs["value"]
118 def xmlWrite(self, xmlWriter, font, value, name, attrs):
124 xmlWriter.simpletag(name, attrs + [("value", value)])
146 def xmlWrite(self, xmlWriter, font, value, name, attrs):
167 def xmlRead(self, attrs, content, font):
168 return float(attrs["value"])
188 def xmlWrite(self, xmlWriter, font, value, name, attrs):
190 if attrs:
194 xmlWriter.simpletag(name, attrs + [("empty", True)])
199 value.toXML(xmlWriter, font, attrs, name=name)
201 def xmlRead(self, attrs, content, font):
203 if attrs.get("empty"):
205 Format = attrs.get("Format")
210 name, attrs, content = element
211 table.fromXML(name, attrs, content, font)
304 def xmlWrite(self, xmlWriter, font, value, name, attrs):
308 value.toXML(xmlWriter, font, self.name, attrs)
309 def xmlRead(self, attrs, content, font):
312 value.fromXML(None, attrs, content, font)
362 def xmlWrite(self, xmlWriter, font, value, name, attrs):
363 xmlWriter.simpletag(name, attrs + [("value", value)])
366 def xmlRead(self, attrs, content, font):
367 return safeEval(attrs["value"])