JSON API - addFooter
addFooter
PREMIUM
TRIAL / ADVANCED
Adds a footer into the Excel spreadsheet.
Note
You are reading the JSON API documentation. For the PHP API method please go to addFooter.
JSON data
| Key | Description |
|---|---|
| text | The content to be inserted. Available special elements: &[Page], &[Pages], &[Date], &[Time], &[Tab], &[File], &[Path]. |
| bold | If true the content will be shown in bold characters. |
| color | Hexadecimal color value: "FF0000", "000000"... |
| font | Font family: "Arial", "Calibri"... |
| fontSize | Font size in points. |
| italic | If true displays the content in italics. |
| strikethrough | If true displays text in strikethrough. |
| subscript | If true displays text in subscript. |
| superscript | If true displays text in superscript. |
| underline | Underlines text: "single", "double". |
| image |
|
| target | first, default, even. |
| replace | If true replaces the existing footer if it exists. Default as true. |
Code samples
Example #1
Example #2
Release notes
- phpxlsx 6.0:
- new action.