public function testGetCellId()
 {
     $cellBuilder = new CellBuilder();
     $this->assertEquals('A1', $cellBuilder->getCellId(0, 1));
     $this->assertEquals('Y9', $cellBuilder->getCellId(24, 9));
     $this->assertEquals('ALL9', $cellBuilder->getCellId(999, 9));
 }
Exemple #2
0
 /**
  * Return <dimension> xml string.
  *
  * @return string
  */
 public function getDimensionXml()
 {
     return sprintf(SheetXml::DIMENSION_XML, $this->cellBuilder->getCellId($this->maxColumnCount - 1, $this->rowIndex - 1));
 }