code: private function writeAllNumberFormats()
      {
          foreach ($this->numberFormats as $numberFormatIndex => $numberFormat) {
              $this->writeNumberFormat($numberFormat->getFormatCode(), $numberFormatIndex);
          }
      }
docs: Store user defined numerical formats i.e. FORMAT records.