47 public function writeWorksheet($pSheet = null, $pStringTable = null, $includeCharts = FALSE)
49 if (!is_null($pSheet)) {
59 $objWriter->startDocument(
'1.0',
'UTF-8',
'yes');
63 $objWriter->writeAttribute(
'xml:space',
'preserve');
64 $objWriter->writeAttribute(
'xmlns',
'http://schemas.openxmlformats.org/spreadsheetml/2006/main');
65 $objWriter->writeAttribute(
'xmlns:r',
'http://schemas.openxmlformats.org/officeDocument/2006/relationships');
151 if($pSheet->getParent()->hasMacros()){
152 if($pSheet->hasCodeName()==
false){
153 $pSheet->setCodeName($pSheet->getTitle());
155 $objWriter->writeAttribute(
'codeName', $pSheet->getCodeName());
157 $autoFilterRange = $pSheet->getAutoFilter()->getRange();
158 if (!empty($autoFilterRange)) {
160 $pSheet->getAutoFilter()->showHideRows();
164 if ($pSheet->isTabColorSet()) {
166 $objWriter->writeAttribute(
'rgb', $pSheet->getTabColor()->getARGB());
172 $objWriter->writeAttribute(
'summaryBelow', ($pSheet->getShowSummaryBelow() ?
'1' :
'0'));
173 $objWriter->writeAttribute(
'summaryRight', ($pSheet->getShowSummaryRight() ?
'1' :
'0'));
177 if ($pSheet->getPageSetup()->getFitToPage()) {
197 $objWriter->writeAttribute(
'ref', $pSheet->calculateWorksheetDimension());
214 $sheetSelected =
false;
216 $sheetSelected =
true;
221 $objWriter->writeAttribute(
'tabSelected', $sheetSelected ?
'1' :
'0');
222 $objWriter->writeAttribute(
'workbookViewId',
'0');
225 if ($pSheet->getSheetView()->getZoomScale() != 100) {
226 $objWriter->writeAttribute(
'zoomScale', $pSheet->getSheetView()->getZoomScale());
228 if ($pSheet->getSheetView()->getZoomScaleNormal() != 100) {
229 $objWriter->writeAttribute(
'zoomScaleNormal', $pSheet->getSheetView()->getZoomScaleNormal());
234 $objWriter->writeAttribute(
'view', $pSheet->getSheetView()->getView());
238 if ($pSheet->getShowGridlines()) {
239 $objWriter->writeAttribute(
'showGridLines',
'true');
241 $objWriter->writeAttribute(
'showGridLines',
'false');
245 if ($pSheet->getShowRowColHeaders()) {
246 $objWriter->writeAttribute(
'showRowColHeaders',
'1');
248 $objWriter->writeAttribute(
'showRowColHeaders',
'0');
252 if ($pSheet->getRightToLeft()) {
253 $objWriter->writeAttribute(
'rightToLeft',
'true');
256 $activeCell = $pSheet->getActiveCell();
260 $topLeftCell = $pSheet->getFreezePane();
261 if (($topLeftCell !=
'') && ($topLeftCell !=
'A1')) {
262 $activeCell = $topLeftCell;
264 $xSplit = $ySplit = 0;
273 $objWriter->writeAttribute(
'xSplit', $xSplit - 1);
275 $objWriter->writeAttribute(
'ySplit', $ySplit - 1);
276 $pane = ($xSplit > 1) ?
'bottomRight' :
'bottomLeft';
278 $objWriter->writeAttribute(
'topLeftCell', $topLeftCell);
279 $objWriter->writeAttribute(
'activePane', $pane);
280 $objWriter->writeAttribute(
'state',
'frozen');
283 if (($xSplit > 1) && ($ySplit > 1)) {
298 $objWriter->writeAttribute(
'activeCell', $activeCell);
299 $objWriter->writeAttribute(
'sqref', $activeCell);
321 if ($pSheet->getDefaultRowDimension()->getRowHeight() >= 0) {
322 $objWriter->writeAttribute(
'customHeight',
'true');
325 $objWriter->writeAttribute(
'defaultRowHeight',
'14.4');
329 if ((
string)$pSheet->getDefaultRowDimension()->getZeroHeight() ==
'1' ||
330 strtolower((
string)$pSheet->getDefaultRowDimension()->getZeroHeight()) ==
'true' ) {
331 $objWriter->writeAttribute(
'zeroHeight',
'1');
335 if ($pSheet->getDefaultColumnDimension()->getWidth() >= 0) {
340 $outlineLevelRow = 0;
341 foreach ($pSheet->getRowDimensions() as $dimension) {
342 if ($dimension->getOutlineLevel() > $outlineLevelRow) {
343 $outlineLevelRow = $dimension->getOutlineLevel();
346 $objWriter->writeAttribute(
'outlineLevelRow', (
int)$outlineLevelRow);
349 $outlineLevelCol = 0;
350 foreach ($pSheet->getColumnDimensions() as $dimension) {
351 if ($dimension->getOutlineLevel() > $outlineLevelCol) {
352 $outlineLevelCol = $dimension->getOutlineLevel();
355 $objWriter->writeAttribute(
'outlineLevelCol', (
int)$outlineLevelCol);
370 if (count($pSheet->getColumnDimensions()) > 0) {
373 $pSheet->calculateColumnWidths();
376 foreach ($pSheet->getColumnDimensions() as $colDimension) {
382 if ($colDimension->getWidth() < 0) {
391 if ($colDimension->getVisible() ==
false) {
396 if ($colDimension->getAutoSize()) {
397 $objWriter->writeAttribute(
'bestFit',
'true');
401 if ($colDimension->getWidth() != $pSheet->getDefaultColumnDimension()->getWidth()) {
402 $objWriter->writeAttribute(
'customWidth',
'true');
406 if ($colDimension->getCollapsed() ==
true) {
407 $objWriter->writeAttribute(
'collapsed',
'true');
411 if ($colDimension->getOutlineLevel() > 0) {
412 $objWriter->writeAttribute(
'outlineLevel', $colDimension->getOutlineLevel());
416 $objWriter->writeAttribute(
'style', $colDimension->getXfIndex());
437 if ($pSheet->getProtection()->getPassword() !=
'') {
438 $objWriter->writeAttribute(
'password', $pSheet->getProtection()->getPassword());
441 $objWriter->writeAttribute(
'sheet', ($pSheet->getProtection()->getSheet() ?
'true' :
'false'));
442 $objWriter->writeAttribute(
'objects', ($pSheet->getProtection()->getObjects() ?
'true' :
'false'));
443 $objWriter->writeAttribute(
'scenarios', ($pSheet->getProtection()->getScenarios() ?
'true' :
'false'));
444 $objWriter->writeAttribute(
'formatCells', ($pSheet->getProtection()->getFormatCells() ?
'true' :
'false'));
445 $objWriter->writeAttribute(
'formatColumns', ($pSheet->getProtection()->getFormatColumns() ?
'true' :
'false'));
446 $objWriter->writeAttribute(
'formatRows', ($pSheet->getProtection()->getFormatRows() ?
'true' :
'false'));
447 $objWriter->writeAttribute(
'insertColumns', ($pSheet->getProtection()->getInsertColumns() ?
'true' :
'false'));
448 $objWriter->writeAttribute(
'insertRows', ($pSheet->getProtection()->getInsertRows() ?
'true' :
'false'));
449 $objWriter->writeAttribute(
'insertHyperlinks', ($pSheet->getProtection()->getInsertHyperlinks() ?
'true' :
'false'));
450 $objWriter->writeAttribute(
'deleteColumns', ($pSheet->getProtection()->getDeleteColumns() ?
'true' :
'false'));
451 $objWriter->writeAttribute(
'deleteRows', ($pSheet->getProtection()->getDeleteRows() ?
'true' :
'false'));
452 $objWriter->writeAttribute(
'selectLockedCells', ($pSheet->getProtection()->getSelectLockedCells() ?
'true' :
'false'));
453 $objWriter->writeAttribute(
'sort', ($pSheet->getProtection()->getSort() ?
'true' :
'false'));
454 $objWriter->writeAttribute(
'autoFilter', ($pSheet->getProtection()->getAutoFilter() ?
'true' :
'false'));
455 $objWriter->writeAttribute(
'pivotTables', ($pSheet->getProtection()->getPivotTables() ?
'true' :
'false'));
456 $objWriter->writeAttribute(
'selectUnlockedCells', ($pSheet->getProtection()->getSelectUnlockedCells() ?
'true' :
'false'));
473 foreach ($pSheet->getConditionalStylesCollection() as $cellCoordinate =>
$conditionalStyles) {
481 $objWriter->startElement(
'conditionalFormatting');
482 $objWriter->writeAttribute(
'sqref', $cellCoordinate);
486 $objWriter->writeAttribute(
'type', $conditional->getConditionType());
487 $objWriter->writeAttribute(
'dxfId', $this->
getParentWriter()->getStylesConditionalHashTable()->getIndexForHashCode( $conditional->getHashCode() ));
494 $objWriter->writeAttribute(
'operator', $conditional->getOperatorType());
498 && !is_null($conditional->getText())) {
499 $objWriter->writeAttribute(
'text', $conditional->getText());
504 && !is_null($conditional->getText())) {
505 $objWriter->writeElement(
'formula',
'NOT(ISERROR(SEARCH("' . $conditional->getText() .
'",' . $cellCoordinate .
')))');
508 && !is_null($conditional->getText())) {
509 $objWriter->writeElement(
'formula',
'LEFT(' . $cellCoordinate .
',' . strlen($conditional->getText()) .
')="' . $conditional->getText() .
'"');
512 && !is_null($conditional->getText())) {
513 $objWriter->writeElement(
'formula',
'RIGHT(' . $cellCoordinate .
',' . strlen($conditional->getText()) .
')="' . $conditional->getText() .
'"');
516 && !is_null($conditional->getText())) {
517 $objWriter->writeElement(
'formula',
'ISERROR(SEARCH("' . $conditional->getText() .
'",' . $cellCoordinate .
'))');
521 foreach ($conditional->getConditions() as $formula) {
523 $objWriter->writeElement(
'formula', $formula);
545 $dataValidationCollection = $pSheet->getDataValidationCollection();
548 if (!empty($dataValidationCollection)) {
550 $objWriter->writeAttribute(
'count', count($dataValidationCollection));
552 foreach ($dataValidationCollection as $coordinate => $dv) {
555 if ($dv->getType() !=
'') {
556 $objWriter->writeAttribute(
'type', $dv->getType());
559 if ($dv->getErrorStyle() !=
'') {
560 $objWriter->writeAttribute(
'errorStyle', $dv->getErrorStyle());
563 if ($dv->getOperator() !=
'') {
564 $objWriter->writeAttribute(
'operator', $dv->getOperator());
567 $objWriter->writeAttribute(
'allowBlank', ($dv->getAllowBlank() ?
'1' :
'0'));
568 $objWriter->writeAttribute(
'showDropDown', (!$dv->getShowDropDown() ?
'1' :
'0'));
569 $objWriter->writeAttribute(
'showInputMessage', ($dv->getShowInputMessage() ?
'1' :
'0'));
570 $objWriter->writeAttribute(
'showErrorMessage', ($dv->getShowErrorMessage() ?
'1' :
'0'));
572 if ($dv->getErrorTitle() !==
'') {
573 $objWriter->writeAttribute(
'errorTitle', $dv->getErrorTitle());
575 if ($dv->getError() !==
'') {
576 $objWriter->writeAttribute(
'error', $dv->getError());
578 if ($dv->getPromptTitle() !==
'') {
579 $objWriter->writeAttribute(
'promptTitle', $dv->getPromptTitle());
581 if ($dv->getPrompt() !==
'') {
582 $objWriter->writeAttribute(
'prompt', $dv->getPrompt());
585 $objWriter->writeAttribute(
'sqref', $coordinate);
587 if ($dv->getFormula1() !==
'') {
588 $objWriter->writeElement(
'formula1', $dv->getFormula1());
590 if ($dv->getFormula2() !==
'') {
591 $objWriter->writeElement(
'formula2', $dv->getFormula2());
611 $hyperlinkCollection = $pSheet->getHyperlinkCollection();
617 if (!empty($hyperlinkCollection)) {
620 foreach ($hyperlinkCollection as $coordinate => $hyperlink) {
623 $objWriter->writeAttribute(
'ref', $coordinate);
624 if (!$hyperlink->isInternal()) {
625 $objWriter->writeAttribute(
'r:id',
'rId_hyperlink_' . $relationId);
628 $objWriter->writeAttribute(
'location', str_replace(
'sheet://',
'', $hyperlink->getUrl()));
631 if ($hyperlink->getTooltip() !=
'') {
632 $objWriter->writeAttribute(
'tooltip', $hyperlink->getTooltip());
651 if (count($pSheet->getProtectedCells()) > 0) {
656 foreach ($pSheet->getProtectedCells() as $protectedCell => $passwordHash) {
659 $objWriter->writeAttribute(
'name',
'p' . md5($protectedCell));
660 $objWriter->writeAttribute(
'sqref', $protectedCell);
661 if (!empty($passwordHash)) {
662 $objWriter->writeAttribute(
'password', $passwordHash);
680 if (count($pSheet->getMergeCells()) > 0) {
685 foreach ($pSheet->getMergeCells() as $mergeCell) {
688 $objWriter->writeAttribute(
'ref', $mergeCell);
708 $objWriter->writeAttribute(
'gridLines', ($pSheet->getPrintGridlines() ?
'true':
'false'));
709 $objWriter->writeAttribute(
'gridLinesSet',
'true');
711 if ($pSheet->getPageSetup()->getHorizontalCentered()) {
712 $objWriter->writeAttribute(
'horizontalCentered',
'true');
715 if ($pSheet->getPageSetup()->getVerticalCentered()) {
716 $objWriter->writeAttribute(
'verticalCentered',
'true');
751 $autoFilterRange = $pSheet->getAutoFilter()->getRange();
752 if (!empty($autoFilterRange)) {
760 if (strpos($range[0],
'!') !==
false) {
761 list($ws,$range[0]) = explode(
'!',$range[0]);
763 $range = implode(
':', $range);
765 $objWriter->writeAttribute(
'ref', str_replace(
'$',
'',$range));
767 $columns = $pSheet->getAutoFilter()->getColumns();
771 if (count($rules > 0)) {
773 $objWriter->writeAttribute(
'colId', $pSheet->getAutoFilter()->getColumnOffset($columnID));
780 foreach ($rules as
$rule) {
783 ($rule->getValue() ===
'')) {
788 $objWriter->writeAttribute(
'type', $rule->getGrouping());
789 $val =
$column->getAttribute(
'val');
793 $maxVal =
$column->getAttribute(
'maxVal');
794 if ($maxVal !== NULL) {
795 $objWriter->writeAttribute(
'maxVal', $maxVal);
799 $objWriter->writeAttribute(
'val', $rule->getValue());
804 $objWriter->startElement($rule->getRuleType());
807 $objWriter->writeAttribute(
'operator', $rule->getOperator());
811 foreach($rule->getValue() as
$key => $value) {
812 if ($value >
'')
$objWriter->writeAttribute($key, $value);
814 $objWriter->writeAttribute(
'dateTimeGrouping', $rule->getGrouping());
816 $objWriter->writeAttribute(
'val', $rule->getValue());
845 $objWriter->writeAttribute(
'paperSize', $pSheet->getPageSetup()->getPaperSize());
846 $objWriter->writeAttribute(
'orientation', $pSheet->getPageSetup()->getOrientation());
848 if (!is_null($pSheet->getPageSetup()->getScale())) {
849 $objWriter->writeAttribute(
'scale', $pSheet->getPageSetup()->getScale());
851 if (!is_null($pSheet->getPageSetup()->getFitToHeight())) {
852 $objWriter->writeAttribute(
'fitToHeight', $pSheet->getPageSetup()->getFitToHeight());
854 $objWriter->writeAttribute(
'fitToHeight',
'0');
856 if (!is_null($pSheet->getPageSetup()->getFitToWidth())) {
857 $objWriter->writeAttribute(
'fitToWidth', $pSheet->getPageSetup()->getFitToWidth());
859 $objWriter->writeAttribute(
'fitToWidth',
'0');
861 if (!is_null($pSheet->getPageSetup()->getFirstPageNumber())) {
862 $objWriter->writeAttribute(
'firstPageNumber', $pSheet->getPageSetup()->getFirstPageNumber());
863 $objWriter->writeAttribute(
'useFirstPageNumber',
'1');
880 $objWriter->writeAttribute(
'differentOddEven', ($pSheet->getHeaderFooter()->getDifferentOddEven() ?
'true' :
'false'));
881 $objWriter->writeAttribute(
'differentFirst', ($pSheet->getHeaderFooter()->getDifferentFirst() ?
'true' :
'false'));
882 $objWriter->writeAttribute(
'scaleWithDoc', ($pSheet->getHeaderFooter()->getScaleWithDocument() ?
'true' :
'false'));
883 $objWriter->writeAttribute(
'alignWithMargins', ($pSheet->getHeaderFooter()->getAlignWithMargins() ?
'true' :
'false'));
885 $objWriter->writeElement(
'oddHeader', $pSheet->getHeaderFooter()->getOddHeader());
886 $objWriter->writeElement(
'oddFooter', $pSheet->getHeaderFooter()->getOddFooter());
887 $objWriter->writeElement(
'evenHeader', $pSheet->getHeaderFooter()->getEvenHeader());
888 $objWriter->writeElement(
'evenFooter', $pSheet->getHeaderFooter()->getEvenFooter());
889 $objWriter->writeElement(
'firstHeader', $pSheet->getHeaderFooter()->getFirstHeader());
890 $objWriter->writeElement(
'firstFooter', $pSheet->getHeaderFooter()->getFirstFooter());
904 $aRowBreaks =
array();
905 $aColumnBreaks =
array();
906 foreach ($pSheet->getBreaks() as $cell => $breakType) {
908 $aRowBreaks[] = $cell;
910 $aColumnBreaks[] = $cell;
915 if (!empty($aRowBreaks)) {
917 $objWriter->writeAttribute(
'count', count($aRowBreaks));
918 $objWriter->writeAttribute(
'manualBreakCount', count($aRowBreaks));
920 foreach ($aRowBreaks as $cell) {
933 if (!empty($aColumnBreaks)) {
935 $objWriter->writeAttribute(
'count', count($aColumnBreaks));
936 $objWriter->writeAttribute(
'manualBreakCount', count($aColumnBreaks));
938 foreach ($aColumnBreaks as $cell) {
961 if (is_array($pStringTable)) {
963 $aFlippedStringTable = $this->
getParentWriter()->getWriterPart(
'stringtable')->flipStringTable($pStringTable);
972 $highestRow = $pSheet->getHighestRow();
975 $cellsByRow =
array();
976 foreach ($pSheet->getCellCollection() as $cellID) {
978 $cellsByRow[$cellAddress[1]][] = $cellID;
982 while($currentRow++ < $highestRow) {
984 $rowDimension = $pSheet->getRowDimension($currentRow);
987 $writeCurrentRow = isset($cellsByRow[$currentRow]) ||
988 $rowDimension->getRowHeight() >= 0 ||
989 $rowDimension->getVisible() ==
false ||
990 $rowDimension->getCollapsed() ==
true ||
991 $rowDimension->getOutlineLevel() > 0 ||
992 $rowDimension->getXfIndex() !== null;
994 if ($writeCurrentRow) {
998 $objWriter->writeAttribute(
'spans',
'1:' . $colCount);
1001 if ($rowDimension->getRowHeight() >= 0) {
1002 $objWriter->writeAttribute(
'customHeight',
'1');
1007 if ($rowDimension->getVisible() ==
false) {
1008 $objWriter->writeAttribute(
'hidden',
'true');
1012 if ($rowDimension->getCollapsed() ==
true) {
1013 $objWriter->writeAttribute(
'collapsed',
'true');
1017 if ($rowDimension->getOutlineLevel() > 0) {
1018 $objWriter->writeAttribute(
'outlineLevel', $rowDimension->getOutlineLevel());
1022 if ($rowDimension->getXfIndex() !== null) {
1023 $objWriter->writeAttribute(
's', $rowDimension->getXfIndex());
1024 $objWriter->writeAttribute(
'customFormat',
'1');
1028 if (isset($cellsByRow[$currentRow])) {
1029 foreach($cellsByRow[$currentRow] as $cellAddress) {
1058 if (is_array($pStringTable) && is_array($pFlippedStringTable)) {
1060 $pCell = $pSheet->getCell($pCellAddress);
1062 $objWriter->writeAttribute(
'r', $pCellAddress);
1065 if ($pCell->getXfIndex() !=
'') {
1066 $objWriter->writeAttribute(
's', $pCell->getXfIndex());
1070 $cellValue = $pCell->getValue();
1071 if (is_object($cellValue) || $cellValue !==
'') {
1073 $mappedType = $pCell->getDataType();
1076 switch (strtolower($mappedType)) {
1080 $objWriter->writeAttribute(
't', $mappedType);
1083 $calculatedValue = ($this->
getParentWriter()->getPreCalculateFormulas()) ?
1084 $pCell->getCalculatedValue() :
1086 if (is_string($calculatedValue)) {
1091 $objWriter->writeAttribute(
't', $mappedType);
1095 switch (strtolower($mappedType)) {
1099 }
else if ($cellValue instanceof PHPExcel_RichText) {
1107 if (! $cellValue instanceof PHPExcel_RichText) {
1108 if (isset($pFlippedStringTable[$cellValue])) {
1109 $objWriter->writeElement(
'v', $pFlippedStringTable[$cellValue]);
1111 }
else if ($cellValue instanceof PHPExcel_RichText) {
1112 $objWriter->writeElement(
'v', $pFlippedStringTable[$cellValue->getHashCode()]);
1121 $objWriter->writeAttribute(
'ref', $pCellAddress);
1127 $objWriter->writeElement(
'f', substr($cellValue, 1));
1129 if ($this->
getParentWriter()->getOffice2003Compatibility() ===
false) {
1132 if (!is_array($calculatedValue) && substr($calculatedValue, 0, 1) !=
'#') {
1144 $objWriter->writeElement(
'v', str_replace(
',',
'.', $cellValue));
1147 $objWriter->writeElement(
'v', ($cellValue ?
'1' :
'0'));
1150 if (substr($cellValue, 0, 1) ==
'=') {
1151 $objWriter->writeElement(
'f', substr($cellValue, 1));
1152 $objWriter->writeElement(
'v', substr($cellValue, 1));
1177 $chartCount = ($includeCharts) ? $pSheet->getChartCollection()->count() : 0;
1179 if (($pSheet->getDrawingCollection()->count() > 0) ||
1180 ($chartCount > 0)) {
1197 if (count($pSheet->getComments()) > 0) {
1199 $objWriter->writeAttribute(
'r:id',
'rId_comments_vml1');
1214 if (count($pSheet->getHeaderFooter()->getImages()) > 0) {
1216 $objWriter->writeAttribute(
'r:id',
'rId_headerfooter_vml1');
const AUTOFILTER_COLUMN_RULE_TOPTEN_PERCENT
_writeAutoFilter(PHPExcel_Shared_XMLWriter $objWriter=null, PHPExcel_Worksheet $pSheet=null)
Write AutoFilter.
_writeCols(PHPExcel_Shared_XMLWriter $objWriter=null, PHPExcel_Worksheet $pSheet=null)
Write Cols.
static splitRange($pRange='A1:A1')
Split range into coordinate strings.
const CONDITION_CONTAINSTEXT
_writeSheetData(PHPExcel_Shared_XMLWriter $objWriter=null, PHPExcel_Worksheet $pSheet=null, $pStringTable=null)
Write SheetData.
static coordinateFromString($pCoordinateString='A1')
Coordinate from string.
_writeHyperlinks(PHPExcel_Shared_XMLWriter $objWriter=null, PHPExcel_Worksheet $pSheet=null)
Write Hyperlinks.
_writeDimension(PHPExcel_Shared_XMLWriter $objWriter=null, PHPExcel_Worksheet $pSheet=null)
Write Dimension.
_writeSheetProtection(PHPExcel_Shared_XMLWriter $objWriter=null, PHPExcel_Worksheet $pSheet=null)
Write SheetProtection.
_writeSheetFormatPr(PHPExcel_Shared_XMLWriter $objWriter=null, PHPExcel_Worksheet $pSheet=null)
Write SheetFormatPr.
_writePrintOptions(PHPExcel_Shared_XMLWriter $objWriter=null, PHPExcel_Worksheet $pSheet=null)
Write PrintOptions.
const AUTOFILTER_FILTERTYPE_FILTER
static FormatNumber($value)
Formats a numeric value as a string for output in various output writers forcing point as decimal sep...
if(!array_key_exists('StateId', $_REQUEST)) $id
_writeConditionalFormatting(PHPExcel_Shared_XMLWriter $objWriter=null, PHPExcel_Worksheet $pSheet=null)
Write ConditionalFormatting.
_writeDataValidations(PHPExcel_Shared_XMLWriter $objWriter=null, PHPExcel_Worksheet $pSheet=null)
Write DataValidations.
_writeHeaderFooter(PHPExcel_Shared_XMLWriter $objWriter=null, PHPExcel_Worksheet $pSheet=null)
Write Header / Footer.
const AUTOFILTER_RULETYPE_DATEGROUP
_writeSheetPr(PHPExcel_Shared_XMLWriter $objWriter=null, PHPExcel_Worksheet $pSheet=null)
Write SheetPr.
_writeMergeCells(PHPExcel_Shared_XMLWriter $objWriter=null, PHPExcel_Worksheet $pSheet=null)
Write MergeCells.
getParentWriter()
Get parent IWriter object.
_writeLegacyDrawingHF(PHPExcel_Shared_XMLWriter $objWriter=null, PHPExcel_Worksheet $pSheet=null)
Write LegacyDrawingHF.
_writeProtectedRanges(PHPExcel_Shared_XMLWriter $objWriter=null, PHPExcel_Worksheet $pSheet=null)
Write ProtectedRanges.
const OPERATOR_CONTAINSTEXT
_writePageSetup(PHPExcel_Shared_XMLWriter $objWriter=null, PHPExcel_Worksheet $pSheet=null)
Write PageSetup.
_writeDrawings(PHPExcel_Shared_XMLWriter $objWriter=null, PHPExcel_Worksheet $pSheet=null, $includeCharts=FALSE)
Write Drawings.
_writeSheetViews(PHPExcel_Shared_XMLWriter $objWriter=NULL, PHPExcel_Worksheet $pSheet=NULL)
Write SheetViews.
const AUTOFILTER_RULETYPE_TOPTENFILTER
const AUTOFILTER_COLUMN_RULE_TOPTEN_TOP
const AUTOFILTER_COLUMN_RULE_EQUAL
_writeCell(PHPExcel_Shared_XMLWriter $objWriter=null, PHPExcel_Worksheet $pSheet=null, $pCellAddress=null, $pStringTable=null, $pFlippedStringTable=null)
Write Cell.
const AUTOFILTER_COLUMN_JOIN_AND
Create styles array
The data for the language used.
const CONDITION_EXPRESSION
static columnIndexFromString($pString='A')
Column index from string.
const OPERATOR_BEGINSWITH
const AUTOFILTER_RULETYPE_DYNAMICFILTER
const STORAGE_MEMORY
Temporary storage method.
_writePageMargins(PHPExcel_Shared_XMLWriter $objWriter=null, PHPExcel_Worksheet $pSheet=null)
Write PageMargins.
static ControlCharacterPHP2OOXML($value='')
Convert from PHP control character to OpenXML escaped control character.
_writeBreaks(PHPExcel_Shared_XMLWriter $objWriter=null, PHPExcel_Worksheet $pSheet=null)
Write Breaks.
_writeLegacyDrawing(PHPExcel_Shared_XMLWriter $objWriter=null, PHPExcel_Worksheet $pSheet=null)
Write LegacyDrawing.
const OPERATOR_NOTCONTAINS
writeWorksheet($pSheet=null, $pStringTable=null, $includeCharts=FALSE)
Write worksheet to XML format.