Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 7... Línea 7...
7
use OpenSpout\Writer\AutoFilter;
7
use OpenSpout\Writer\AutoFilter;
8
use OpenSpout\Writer\Common\ColumnWidth;
8
use OpenSpout\Writer\Common\ColumnWidth;
9
use OpenSpout\Writer\Common\Manager\SheetManager;
9
use OpenSpout\Writer\Common\Manager\SheetManager;
10
use OpenSpout\Writer\Exception\InvalidSheetNameException;
10
use OpenSpout\Writer\Exception\InvalidSheetNameException;
11
use OpenSpout\Writer\XLSX\Entity\SheetView;
11
use OpenSpout\Writer\XLSX\Entity\SheetView;
-
 
12
use OpenSpout\Writer\XLSX\Options\SheetProtection;
Línea 12... Línea 13...
12
 
13
 
13
/**
14
/**
14
 * External representation of a worksheet.
15
 * External representation of a worksheet.
15
 */
16
 */
Línea 43... Línea 44...
43
    private array $COLUMN_WIDTHS = [];
44
    private array $COLUMN_WIDTHS = [];
Línea 44... Línea 45...
44
 
45
 
45
    /** @var string rows to repeat at top */
46
    /** @var string rows to repeat at top */
Línea -... Línea 47...
-
 
47
    private ?string $printTitleRows = null;
-
 
48
 
46
    private ?string $printTitleRows = null;
49
    private ?SheetProtection $sheetProtection = null;
47
 
50
 
48
    /**
51
    /**
49
     * @param 0|positive-int $sheetIndex           Index of the sheet, based on order in the workbook (zero-based)
52
     * @param 0|positive-int $sheetIndex           Index of the sheet, based on order in the workbook (zero-based)
50
     * @param string         $associatedWorkbookId ID of the sheet's associated workbook
53
     * @param string         $associatedWorkbookId ID of the sheet's associated workbook
Línea 217... Línea 220...
217
 
220
 
218
    public function setPrintTitleRows(string $printTitleRows): void
221
    public function setPrintTitleRows(string $printTitleRows): void
219
    {
222
    {
220
        $this->printTitleRows = $printTitleRows;
223
        $this->printTitleRows = $printTitleRows;
-
 
224
    }
-
 
225
 
-
 
226
    /**
-
 
227
     * @return $this
-
 
228
     */
-
 
229
    public function setSheetProtection(SheetProtection $sheetProtection): self
-
 
230
    {
-
 
231
        $this->sheetProtection = $sheetProtection;
-
 
232
 
-
 
233
        return $this;
-
 
234
    }
-
 
235
 
-
 
236
    public function getSheetProtection(): ?SheetProtection
-
 
237
    {
-
 
238
        return $this->sheetProtection;
221
    }
239
    }