(self)
return {}
Based on the document content, find out as many properties as needed.
    returns properties which should be set on the document
Based on the document content, find out as many properties as needed.
    returns properties which should be set on the document
Based on the document content find out as many properties as needed . returns properties which should be set on the document
def getPropertyDictFromContent(self):
    """
    Based on the document content, find out as many properties as needed.
    returns properties which should be set on the document
    """
    # accesss data through convert
    _, content = self.convert(None)
    if not content:
       # if document is empty, we will not find anything in its content
      return {}
    method = self._getTypeBasedMethod('getPropertyDictFromContent',
        fallback_script_id='Document_getPropertyDictFromContent')
    if method is not None:
      return method()
    return {}
def getPropertyDictFromContent ( self ) : # accesss data through convert _ , content = self . convert ( None ) if not content : # if document is empty, we will not find anything in its content return { } method = self . _getTypeBasedMethod ( 'getPropertyDictFromContent' , fallback_script_id = 'Document_getPropertyDictFromContent' ) if method is not None : return method ( ) return { }