Lines Matching refs:documentObject
358 def __init__(self, documentPath, documentObject): argument
360 self.documentObject = documentObject
368 if self.documentObject.axes:
370 for axisObject in self.documentObject.axes:
373 if self.documentObject.rules:
375 for ruleObject in self.documentObject.rules:
378 if self.documentObject.sources:
380 for sourceObject in self.documentObject.sources:
383 if self.documentObject.instances:
385 for instanceObject in self.documentObject.instances:
388 if self.documentObject.lib:
389 self._addLib(self.documentObject.lib)
405 validatedLocation = self.documentObject.newDefaultLocation()
648 def __init__(self, documentPath, documentObject): argument
650 self.documentObject = documentObject
653 self.documentObject.formatVersion = self.root.attrib.get("format", "3.0")
662 def fromstring(cls, string, documentObject): argument
664 self = cls(f, documentObject)
705 self.documentObject.rules = rules
756 self.documentObject.axes.append(axisObject)
758 self.documentObject.defaultLoc = self.axisDefaults
808 self.documentObject.sources.append(sourceObject)
819 if self._strictAxisNames and not self.documentObject.axes:
853 if filename is not None and self.documentObject.path is not None:
854 instancePath = os.path.join(os.path.dirname(self.documentObject.path), filename)
908 self.documentObject.instances.append(instanceObject)
979 self.documentObject.lib = plistlib.fromtree(libElement[0])