Format::setScript -- Sets the script type of the text
Описание
Sets the script type of the text
Заметка
Эта функция не должна вызываться статически.
Пример
Пример 38-1. Using setScript() require_once 'Spreadsheet/Excel/Writer.php';
$workbook = new Spreadsheet_Excel_Writer();
// creating the formats
$format_superscript =& $workbook->addFormat();
$format_superscript->setScript(1);
$format_subscript =& $workbook->addFormat();
$format_subscript->setScript(2);
$worksheet =& $workbook->addWorksheet();
$worksheet->write(0, 0, "This is superscript", $format_superscript);
$worksheet->write(1, 0, "This is subscript", $format_subscript); |
|
HIVE: All information for read only. Please respect copyright! |
|