Lines Matching refs:item

59 					call converter's write method for each item in the value. 
63 to the writer's self.items, then calls the item's compile method.
243 for item in self.items:
244 if hasattr(item, "getData") or hasattr(item, "getCountData"):
245 if item.longOffset:
250 l = l + len(item)
259 item = items[i]
261 if hasattr(item, "getData"):
262 if item.longOffset:
263 items[i] = packULong(item.pos - pos)
266 items[i] = packUShort(item.pos - pos)
270 # just report the current item. Otherwise...
273 # If we split the sub-table just before the current item, we may still suffer overflow.
276 # Get worst case by adding up all the item lengths, depth first traversal.
277 # and then report the first item that overflows a short.
281 for item in table.items:
282 length = length + getDeepItemLength(item)
288 if hasattr(self, "sortCoverageLast") and item.name == "Coverage":
289 # Coverage is first in the item list, but last in the table list,
290 # The original overflow is really in the item list. Skip the Coverage
295 item = items[j]
296 length = length + getDeepItemLength(item)
299 overflowErrorRecord = self.getOverflowErrorRecord(item)
335 item = items[i]
336 if hasattr(item, "getCountData"):
337 items[i] = item.getCountData()
338 elif hasattr(item, "getData"):
340 item._doneWriting()
342 item._doneWriting(internedTables)
343 internedItem = internedTables.get(item)
345 items[i] = item = internedItem
347 internedTables[item] = item
379 item = self.items[i]
380 if hasattr(item, "name") and (item.name == "Coverage"):
383 if item not in done:
384 item._gatherTables(tables, extTables, done)
386 # We're a new parent of item
390 item = self.items[i]
391 if not hasattr(item, "getData"):
394 if sortCoverageLast and (i==1) and item.name == 'Coverage':
401 item._gatherTables(extTables, None, newDone)
403 elif item not in done:
404 item._gatherTables(tables, extTables, done)
406 # We're a new parent of item
461 def getOverflowErrorRecord(self, item):
464 LookupListIndex = item.repeatIndex
467 SubTableIndex = item.repeatIndex
469 itemName = item.name
470 if hasattr(item, 'repeatIndex'):
471 itemIndex = item.repeatIndex
479 itemName = ".".join([self.name, item.name])
482 itemName = ".".join([p1.name, item.name])
663 item = value[i]
664 conv.xmlWrite(xmlWriter, font, item, conv.name,