Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 17... Línea 17...
17
 
17
 
18
final class Writer extends AbstractWriterMultiSheets
18
final class Writer extends AbstractWriterMultiSheets
19
{
19
{
20
    /** @var string Content-Type value for the header */
20
    /** @var string Content-Type value for the header */
-
 
21
    protected static string $headerContentType = 'application/vnd.oasis.opendocument.spreadsheet';
-
 
22
 
-
 
23
    /** @var string document creator */
21
    protected static string $headerContentType = 'application/vnd.oasis.opendocument.spreadsheet';
24
    protected string $creator = 'OpenSpout';
Línea 22... Línea 25...
22
    private readonly Options $options;
25
    private readonly Options $options;
23
 
26
 
24
    public function __construct(?Options $options = null)
27
    public function __construct(?Options $options = null)
Línea 29... Línea 32...
29
    public function getOptions(): Options
32
    public function getOptions(): Options
30
    {
33
    {
31
        return $this->options;
34
        return $this->options;
32
    }
35
    }
Línea -... Línea 36...
-
 
36
 
-
 
37
    public function setCreator(string $creator): void
-
 
38
    {
-
 
39
        $this->creator = $creator;
-
 
40
    }
33
 
41
 
34
    protected function createWorkbookManager(): WorkbookManager
42
    protected function createWorkbookManager(): WorkbookManager
35
    {
43
    {
Línea 36... Línea 44...
36
        $workbook = new Workbook();
44
        $workbook = new Workbook();