code: private void readTasks(Project gpProject)
     {
        Tasks tasks = gpProject.getTasks();
        readTaskCustomPropertyDefinitions(tasks);
        for (net.sf.mpxj.ganttproject.schema.Task task : tasks.getTask())
        {
           readTask(m_projectFile, task);
        }
     }
docs: Read the top level tasks from GanttProject.
  
  @param gpProject GanttProject project