Title
in package
Table of Contents
Constants
- TITLE_CELL_REFERENCE = '/^(.*)!' . '[$]([A-Z]{1,3})' . '[$](\d{1,7})$/i'
Methods
- __clone() : mixed
- Implement PHP __clone to create a deep clone, not just a shallow copy.
- __construct() : mixed
- Create a new Title.
- getCalculatedTitle() : string|null
- getCaption() : array<string|int, RichText|string>|RichText|string
- Get caption.
- getCaptionText() : string
- getCellReference() : string
- getFont() : Font|null
- getLayout() : Layout|null
- getOverlay() : bool
- Get allow overlay of other elements?
- setCaption() : $this
- Set caption.
- setCellReference() : self
- setFont() : self
- setOverlay() : self
- Set allow overlay of other elements?
Constants
TITLE_CELL_REFERENCE
public
mixed
TITLE_CELL_REFERENCE
= '/^(.*)!' . '[$]([A-Z]{1,3})' . '[$](\d{1,7})$/i'
Methods
__clone()
Implement PHP __clone to create a deep clone, not just a shallow copy.
public
__clone() : mixed
__construct()
Create a new Title.
public
__construct([array<string|int, RichText|string>|RichText|string $caption = '' ][, Layout|null $layout = null ][, bool $overlay = false ]) : mixed
Parameters
getCalculatedTitle()
public
getCalculatedTitle(Spreadsheet|null $spreadsheet) : string|null
Parameters
- $spreadsheet : Spreadsheet|null
Return values
string|nullgetCaption()
Get caption.
public
getCaption() : array<string|int, RichText|string>|RichText|string
Return values
array<string|int, RichText|string>|RichText|stringgetCaptionText()
public
getCaptionText([Spreadsheet|null $spreadsheet = null ]) : string
Parameters
- $spreadsheet : Spreadsheet|null = null
Return values
stringgetCellReference()
public
getCellReference() : string
Return values
stringgetFont()
public
getFont() : Font|null
Return values
Font|nullgetLayout()
public
getLayout() : Layout|null
Return values
Layout|nullgetOverlay()
Get allow overlay of other elements?
public
getOverlay() : bool
Return values
boolsetCaption()
Set caption.
public
setCaption(array<string|int, RichText|string>|RichText|string $caption) : $this
Parameters
Return values
$thissetCellReference()
public
setCellReference(string $cellReference) : self
Parameters
- $cellReference : string
Return values
selfsetFont()
public
setFont(Font|null $font) : self
Parameters
- $font : Font|null
Return values
selfsetOverlay()
Set allow overlay of other elements?
public
setOverlay(bool $overlay) : self
Parameters
- $overlay : bool