Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 88... Línea 88...
88
    private bool $shouldWrapText = false;
88
    private bool $shouldWrapText = false;
Línea 89... Línea 89...
89
 
89
 
90
    /** @var bool Whether the wrap text property was set */
90
    /** @var bool Whether the wrap text property was set */
Línea -... Línea 91...
-
 
91
    private bool $hasSetWrapText = false;
-
 
92
 
-
 
93
    /** @var int Text rotation */
-
 
94
    private int $textRotation = 0;
-
 
95
 
-
 
96
    /** @var bool Whether the text rotation property was set */
91
    private bool $hasSetWrapText = false;
97
    private bool $hasSetTextRotation = false;
92
 
98
 
Línea 93... Línea 99...
93
    /** @var bool Whether the cell should shrink to fit to content */
99
    /** @var bool Whether the cell should shrink to fit to content */
94
    private bool $shouldShrinkToFit = false;
100
    private bool $shouldShrinkToFit = false;
Línea 381... Línea 387...
381
    public function hasSetWrapText(): bool
387
    public function hasSetWrapText(): bool
382
    {
388
    {
383
        return $this->hasSetWrapText;
389
        return $this->hasSetWrapText;
384
    }
390
    }
Línea -... Línea 391...
-
 
391
 
-
 
392
    public function textRotation(): int
-
 
393
    {
-
 
394
        return $this->textRotation;
-
 
395
    }
-
 
396
 
-
 
397
    /**
-
 
398
     * @param int $rotation Rotate text
-
 
399
     */
-
 
400
    public function setTextRotation(int $rotation): self
-
 
401
    {
-
 
402
        $this->textRotation = $rotation;
-
 
403
        $this->hasSetTextRotation = true;
-
 
404
        $this->isEmpty = false;
-
 
405
 
-
 
406
        return $this;
-
 
407
    }
-
 
408
 
-
 
409
    public function hasSetTextRotation(): bool
-
 
410
    {
-
 
411
        return $this->hasSetTextRotation;
-
 
412
    }
385
 
413
 
386
    /**
414
    /**
387
     * @return bool Whether specific font properties should be applied
415
     * @return bool Whether specific font properties should be applied
388
     */
416
     */
389
    public function shouldApplyFont(): bool
417
    public function shouldApplyFont(): bool