parameters: (doc)
return_statement: return None
docstring: Get the AppDocMgr for a given document
docstring_summary: Get the AppDocMgr for a given document
docstring_tokens: Get the AppDocMgr for a given document
function: def GetAppDocMgrForDoc(doc):
      """ Get the AppDocMgr for a given document """
      projectDoc = GetProjectForDoc(doc)
      if projectDoc:
          return projectDoc.GetModel()
      return None
function_tokens: def GetAppDocMgrForDoc ( doc ) : projectDoc = GetProjectForDoc ( doc ) if projectDoc : return projectDoc . GetModel ( ) return None