code: def add_headerReference(self, type_, rId):
          
          headerReference = self._add_headerReference()
          headerReference.type_ = type_
          headerReference.rId = rId
          return headerReference
docs: Return newly added CT_HdrFtrRef element of *type_* with *rId*.
  
          The element tag is `w:headerReference`.