Definition at line 36 of file Theme.php.
◆ _writeColourScheme()
PHPExcel_Writer_Excel2007_Theme::_writeColourScheme |
( |
|
$objWriter | ) |
|
|
private |
Write colour scheme to XML format.
- Parameters
-
- Returns
- string XML Output
- Exceptions
-
Definition at line 858 of file Theme.php.
References $objWriter.
Referenced by writeTheme().
860 foreach(self::$_colourScheme as $colourName => $colourValue) {
864 $objWriter->writeAttribute(
'val', $colourValue);
◆ _writeFonts()
PHPExcel_Writer_Excel2007_Theme::_writeFonts |
( |
|
$objWriter, |
|
|
|
$latinFont, |
|
|
|
$fontSet |
|
) |
| |
|
private |
Write fonts to XML format.
- Parameters
-
- Returns
- string XML Output
- Exceptions
-
Definition at line 825 of file Theme.php.
References $objWriter.
Referenced by writeTheme().
829 $objWriter->writeAttribute(
'typeface', $latinFont);
842 foreach($fontSet as $fontScript => $typeface) {
844 $objWriter->writeAttribute(
'script', $fontScript);
845 $objWriter->writeAttribute(
'typeface', $typeface);
◆ writeTheme()
PHPExcel_Writer_Excel2007_Theme::writeTheme |
( |
PHPExcel |
$pPHPExcel = null | ) |
|
Write theme to XML format.
- Parameters
-
- Returns
- string XML Output
- Exceptions
-
Definition at line 139 of file Theme.php.
References $objWriter, _writeColourScheme(), _writeFonts(), PHPExcel_Writer_Excel2007_WriterPart\getParentWriter(), PHPExcel_Shared_XMLWriter\STORAGE_DISK, and PHPExcel_Shared_XMLWriter\STORAGE_MEMORY.
150 $objWriter->startDocument(
'1.0',
'UTF-8',
'yes');
154 $objWriter->writeAttribute(
'xmlns:a',
'http://schemas.openxmlformats.org/drawingml/2006/main');
155 $objWriter->writeAttribute(
'name',
'Office Theme');
169 $objWriter->writeAttribute(
'val',
'windowText');
170 $objWriter->writeAttribute(
'lastClr',
'000000');
181 $objWriter->writeAttribute(
'lastClr',
'FFFFFF');
226 $objWriter->writeAttribute(
'rotWithShape',
'1');
301 $objWriter->writeAttribute(
'ang',
'16200000');
309 $objWriter->writeAttribute(
'rotWithShape',
'1');
384 $objWriter->writeAttribute(
'ang',
'16200000');
493 $objWriter->writeAttribute(
'blurRad',
'40000');
496 $objWriter->writeAttribute(
'rotWithShape',
'0');
523 $objWriter->writeAttribute(
'blurRad',
'40000');
526 $objWriter->writeAttribute(
'rotWithShape',
'0');
553 $objWriter->writeAttribute(
'blurRad',
'40000');
556 $objWriter->writeAttribute(
'rotWithShape',
'0');
578 $objWriter->writeAttribute(
'prst',
'orthographicFront');
635 $objWriter->writeAttribute(
'rotWithShape',
'1');
731 $objWriter->writeAttribute(
'rotWithShape',
'1');
805 $objWriter->writeElement(
'a:objectDefaults', null);
808 $objWriter->writeElement(
'a:extraClrSchemeLst', null);
getParentWriter()
Get parent IWriter object.
_writeColourScheme($objWriter)
Write colour scheme to XML format.
_writeFonts($objWriter, $latinFont, $fontSet)
Write fonts to XML format.
const STORAGE_MEMORY
Temporary storage method.
◆ $_colourScheme
PHPExcel_Writer_Excel2007_Theme::$_colourScheme |
|
staticprivate |
Initial value: 'dk2' => '1F497D',
'lt2' => 'EEECE1',
'accent1' => '4F81BD',
'accent2' => 'C0504D',
'accent3' => '9BBB59',
'accent4' => '8064A2',
'accent5' => '4BACC6',
'accent6' => 'F79646',
'hlink' => '0000FF',
'folHlink' => '800080',
)
Map of core colours.
array of string
Definition at line 119 of file Theme.php.
◆ $_majorFonts
PHPExcel_Writer_Excel2007_Theme::$_majorFonts |
|
staticprivate |
Map of Major fonts to write.
array of string
Definition at line 43 of file Theme.php.
◆ $_minorFonts
PHPExcel_Writer_Excel2007_Theme::$_minorFonts |
|
staticprivate |
Map of Minor fonts to write.
array of string
Definition at line 81 of file Theme.php.
The documentation for this class was generated from the following file:
- libs/composer/vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel2007/Theme.php