Box\Spout\Writer\ODS\Writer::openWriter PHP Method

openWriter() protected method

Configures the write and sets the current sheet pointer to a new sheet.
protected openWriter ( ) : void
return void
    protected function openWriter()
    {
        $tempFolder = $this->tempFolder ?: sys_get_temp_dir();
        $this->book = new Workbook($tempFolder, $this->shouldCreateNewSheetsAutomatically, $this->defaultRowStyle);
        $this->book->addNewSheetAndMakeItCurrent();
    }