original_string: private function writeFonts($objWriter, $latinFont, $fontSet)
      {
          // a:latin
          $objWriter->startElement('a:latin');
          $objWriter->writeAttribute('typeface', $latinFont);
          $objWriter->endElement();
  
          // a:ea
          $objWriter->startElement('a:ea');
          $objWriter->writeAttribute('typeface', '');
          $objWriter->endElement();
  
          // a:cs
          $objWriter->startElement('a:cs');
          $objWriter->writeAttribute('typeface', '');
          $objWriter->endElement();
  
          foreach ($fontSet as $fontScript => $typeface) {
              $objWriter->startElement('a:font');
                  $objWriter->writeAttribute('script', $fontScript);
                  $objWriter->writeAttribute('typeface', $typeface);
              $objWriter->endElement();
          }
      }
code: private function writeFonts($objWriter, $latinFont, $fontSet)
      {
          // a:latin
          $objWriter->startElement('a:latin');
          $objWriter->writeAttribute('typeface', $latinFont);
          $objWriter->endElement();
  
          // a:ea
          $objWriter->startElement('a:ea');
          $objWriter->writeAttribute('typeface', '');
          $objWriter->endElement();
  
          // a:cs
          $objWriter->startElement('a:cs');
          $objWriter->writeAttribute('typeface', '');
          $objWriter->endElement();
  
          foreach ($fontSet as $fontScript => $typeface) {
              $objWriter->startElement('a:font');
                  $objWriter->writeAttribute('script', $fontScript);
                  $objWriter->writeAttribute('typeface', $typeface);
              $objWriter->endElement();
          }
      }
code_tokens: private function writeFonts ( $ objWriter , $ latinFont , $ fontSet ) { // a:latin $ objWriter -> startElement ( 'a:latin' ) ; $ objWriter -> writeAttribute ( 'typeface' , $ latinFont ) ; $ objWriter -> endElement ( ) ; // a:ea $ objWriter -> startElement ( 'a:ea' ) ; $ objWriter -> writeAttribute ( 'typeface' , '' ) ; $ objWriter -> endElement ( ) ; // a:cs $ objWriter -> startElement ( 'a:cs' ) ; $ objWriter -> writeAttribute ( 'typeface' , '' ) ; $ objWriter -> endElement ( ) ; foreach ( $ fontSet as $ fontScript => $ typeface ) { $ objWriter -> startElement ( 'a:font' ) ; $ objWriter -> writeAttribute ( 'script' , $ fontScript ) ; $ objWriter -> writeAttribute ( 'typeface' , $ typeface ) ; $ objWriter -> endElement ( ) ; } }
docstring: Write fonts to XML format
  
  @param     PHPExcel_Shared_XMLWriter    $objWriter
  @param     string                        $latinFont
  @param     array of string                $fontSet
  @return     string                         XML Output
  @throws     PHPExcel_Writer_Exception
docstring_tokens: Write fonts to XML format