def ResolveObject(self, document):
if self.file:<EOL><INDENT>path = os.path.abspath(document)<EOL>return chmlib.chm_resolve_object(self.file, path)<EOL><DEDENT>else:<EOL><INDENT>return (<NUM_LIT:1>, None)<EOL><DEDENT>
Tries to locate a document in the archive.
        This function tries to locate the document inside the archive. It
        returns a tuple where the first element is zero if the function
        was successful, and the second is the UnitInfo for that document.
        The UnitInfo is used to retrieve the document contents