|
ILIAS
eassessment Revision 61809
|
Inheritance diagram for PHPExcel_Worksheet:
Collaboration diagram for PHPExcel_Worksheet:Public Member Functions | |
| __construct (PHPExcel $pParent=null, $pTitle= 'Worksheet') | |
| Create a new worksheet. | |
| disconnectCells () | |
| getCellCacheController () | |
| Return the cache controller for the cell collection. | |
| getCellCollection ($pSorted=true) | |
| Get collection of cells. | |
| sortCellCollection () | |
| Sort collection of cells. | |
| getRowDimensions () | |
| Get collection of row dimensions. | |
| getDefaultRowDimension () | |
| Get default row dimension. | |
| getColumnDimensions () | |
| Get collection of column dimensions. | |
| getDefaultColumnDimension () | |
| Get default column dimension. | |
| getDrawingCollection () | |
| Get collection of drawings. | |
| refreshColumnDimensions () | |
| Refresh column dimensions. | |
| refreshRowDimensions () | |
| Refresh row dimensions. | |
| calculateWorksheetDimension () | |
| Calculate worksheet dimension. | |
| calculateColumnWidths ($calculateMergeCells=false) | |
| Calculate widths for auto-size columns. | |
| getParent () | |
| Get parent. | |
| rebindParent (PHPExcel $parent) | |
| Re-bind parent. | |
| getTitle () | |
| Get title. | |
| setTitle ($pValue= 'Worksheet') | |
| Set title. | |
| getSheetState () | |
| Get sheet state. | |
| setSheetState ($value=PHPExcel_Worksheet::SHEETSTATE_VISIBLE) | |
| Set sheet state. | |
| getPageSetup () | |
| Get page setup. | |
| setPageSetup (PHPExcel_Worksheet_PageSetup $pValue) | |
| Set page setup. | |
| getPageMargins () | |
| Get page margins. | |
| setPageMargins (PHPExcel_Worksheet_PageMargins $pValue) | |
| Set page margins. | |
| getHeaderFooter () | |
| Get page header/footer. | |
| setHeaderFooter (PHPExcel_Worksheet_HeaderFooter $pValue) | |
| Set page header/footer. | |
| getSheetView () | |
| Get sheet view. | |
| setSheetView (PHPExcel_Worksheet_SheetView $pValue) | |
| Set sheet view. | |
| getProtection () | |
| Get Protection. | |
| setProtection (PHPExcel_Worksheet_Protection $pValue) | |
| Set Protection. | |
| getHighestColumn () | |
| Get highest worksheet column. | |
| getHighestRow () | |
| Get highest worksheet row. | |
| setCellValue ($pCoordinate= 'A1', $pValue=null, $returnCell=false) | |
| Set a cell value. | |
| setCellValueByColumnAndRow ($pColumn=0, $pRow=1, $pValue=null, $returnCell=false) | |
| Set a cell value by using numeric cell coordinates. | |
| setCellValueExplicit ($pCoordinate= 'A1', $pValue=null, $pDataType=PHPExcel_Cell_DataType::TYPE_STRING) | |
| Set a cell value. | |
| setCellValueExplicitByColumnAndRow ($pColumn=0, $pRow=1, $pValue=null, $pDataType=PHPExcel_Cell_DataType::TYPE_STRING) | |
| Set a cell value by using numeric cell coordinates. | |
| getCell ($pCoordinate= 'A1') | |
| Get cell at a specific coordinate. | |
| getCellByColumnAndRow ($pColumn=0, $pRow=1) | |
| Get cell at a specific coordinate by using numeric cell coordinates. | |
| cellExists ($pCoordinate= 'A1') | |
| Cell at a specific coordinate exists? | |
| cellExistsByColumnAndRow ($pColumn=0, $pRow=1) | |
| Cell at a specific coordinate by using numeric cell coordinates exists? | |
| getRowDimension ($pRow=1) | |
| Get row dimension at a specific row. | |
| getColumnDimension ($pColumn= 'A') | |
| Get column dimension at a specific column. | |
| getColumnDimensionByColumn ($pColumn=0) | |
| Get column dimension at a specific column by using numeric cell coordinates. | |
| getStyles () | |
| Get styles. | |
| getDefaultStyle () | |
| Get default style of workbork. | |
| setDefaultStyle (PHPExcel_Style $pValue) | |
| Set default style - should only be used by PHPExcel_IReader implementations! | |
| getStyle ($pCellCoordinate= 'A1') | |
| Get style for cell. | |
| getConditionalStyles ($pCoordinate= 'A1') | |
| Get conditional styles for a cell. | |
| conditionalStylesExists ($pCoordinate= 'A1') | |
| Do conditional styles exist for this cell? | |
| removeConditionalStyles ($pCoordinate= 'A1') | |
| Removes conditional styles for a cell. | |
| getConditionalStylesCollection () | |
| Get collection of conditional styles. | |
| setConditionalStyles ($pCoordinate= 'A1', $pValue) | |
| Set conditional styles. | |
| getStyleByColumnAndRow ($pColumn=0, $pRow=1) | |
| Get style for cell by using numeric cell coordinates. | |
| setSharedStyle (PHPExcel_Style $pSharedCellStyle=null, $pRange= '') | |
| Set shared cell style to a range of cells. | |
| duplicateStyle (PHPExcel_Style $pCellStyle=null, $pRange= '') | |
| Duplicate cell style to a range of cells. | |
| duplicateStyleArray ($pStyles=null, $pRange= '', $pAdvanced=true) | |
| Duplicate cell style array to a range of cells. | |
| setBreak ($pCell= 'A1', $pBreak=PHPExcel_Worksheet::BREAK_NONE) | |
| Set break on a cell. | |
| setBreakByColumnAndRow ($pColumn=0, $pRow=1, $pBreak=PHPExcel_Worksheet::BREAK_NONE) | |
| Set break on a cell by using numeric cell coordinates. | |
| getBreaks () | |
| Get breaks. | |
| mergeCells ($pRange= 'A1:A1') | |
| Set merge on a cell range. | |
| mergeCellsByColumnAndRow ($pColumn1=0, $pRow1=1, $pColumn2=0, $pRow2=1) | |
| Set merge on a cell range by using numeric cell coordinates. | |
| unmergeCells ($pRange= 'A1:A1') | |
| Remove merge on a cell range. | |
| unmergeCellsByColumnAndRow ($pColumn1=0, $pRow1=1, $pColumn2=0, $pRow2=1) | |
| Remove merge on a cell range by using numeric cell coordinates. | |
| getMergeCells () | |
| Get merge cells array. | |
| setMergeCells ($pValue=array()) | |
| Set merge cells array for the entire sheet. | |
| protectCells ($pRange= 'A1', $pPassword= '', $pAlreadyHashed=false) | |
| Set protection on a cell range. | |
| protectCellsByColumnAndRow ($pColumn1=0, $pRow1=1, $pColumn2=0, $pRow2=1, $pPassword= '', $pAlreadyHashed=false) | |
| Set protection on a cell range by using numeric cell coordinates. | |
| unprotectCells ($pRange= 'A1') | |
| Remove protection on a cell range. | |
| unprotectCellsByColumnAndRow ($pColumn1=0, $pRow1=1, $pColumn2=0, $pRow2=1, $pPassword= '', $pAlreadyHashed=false) | |
| Remove protection on a cell range by using numeric cell coordinates. | |
| getProtectedCells () | |
| Get protected cells. | |
| getAutoFilter () | |
| Get Autofilter Range. | |
| setAutoFilter ($pRange= '') | |
| Set Autofilter Range. | |
| setAutoFilterByColumnAndRow ($pColumn1=0, $pRow1=1, $pColumn2=0, $pRow2=1) | |
| Set Autofilter Range by using numeric cell coordinates. | |
| removeAutoFilter () | |
| Remove autofilter. | |
| getFreezePane () | |
| Get Freeze Pane. | |
| freezePane ($pCell= '') | |
| Freeze Pane. | |
| freezePaneByColumnAndRow ($pColumn=0, $pRow=1) | |
| Freeze Pane by using numeric cell coordinates. | |
| unfreezePane () | |
| Unfreeze Pane. | |
| insertNewRowBefore ($pBefore=1, $pNumRows=1) | |
| Insert a new row, updating all possible related data. | |
| insertNewColumnBefore ($pBefore= 'A', $pNumCols=1) | |
| Insert a new column, updating all possible related data. | |
| insertNewColumnBeforeByIndex ($pBefore=0, $pNumCols=1) | |
| Insert a new column, updating all possible related data. | |
| removeRow ($pRow=1, $pNumRows=1) | |
| Delete a row, updating all possible related data. | |
| removeColumn ($pColumn= 'A', $pNumCols=1) | |
| Remove a column, updating all possible related data. | |
| removeColumnByIndex ($pColumn=0, $pNumCols=1) | |
| Remove a column, updating all possible related data. | |
| getShowGridlines () | |
| Show gridlines? | |
| setShowGridlines ($pValue=false) | |
| Set show gridlines. | |
| getPrintGridlines () | |
| Print gridlines? | |
| setPrintGridlines ($pValue=false) | |
| Set print gridlines. | |
| getShowRowColHeaders () | |
| Show row and column headers? | |
| setShowRowColHeaders ($pValue=false) | |
| Set show row and column headers. | |
| getShowSummaryBelow () | |
| Show summary below? (Row/Column outlining) | |
| setShowSummaryBelow ($pValue=true) | |
| Set show summary below. | |
| getShowSummaryRight () | |
| Show summary right? (Row/Column outlining) | |
| setShowSummaryRight ($pValue=true) | |
| Set show summary right. | |
| getComments () | |
| Get comments. | |
| setComments ($pValue=array()) | |
| Set comments array for the entire sheet. | |
| getComment ($pCellCoordinate= 'A1') | |
| Get comment for cell. | |
| getCommentByColumnAndRow ($pColumn=0, $pRow=1) | |
| Get comment for cell by using numeric cell coordinates. | |
| getSelectedCell () | |
| Get selected cell. | |
| getActiveCell () | |
| Get active cell. | |
| getSelectedCells () | |
| Get selected cells. | |
| setSelectedCell ($pCoordinate= 'A1') | |
| Selected cell. | |
| setSelectedCells ($pCoordinate= 'A1') | |
| Select a range of cells. | |
| setSelectedCellByColumnAndRow ($pColumn=0, $pRow=1) | |
| Selected cell by using numeric cell coordinates. | |
| getRightToLeft () | |
| Get right-to-left. | |
| setRightToLeft ($value=false) | |
| Set right-to-left. | |
| fromArray ($source=null, $nullValue=null, $startCell= 'A1', $strictNullComparison=false) | |
| Fill worksheet from values in array. | |
| rangeToArray ($pRange= 'A1', $nullValue=null, $calculateFormulas=true, $formatData=true, $returnCellRef=false) | |
| Create array from a range of cells. | |
| namedRangeToArray ($pNamedRange= '', $nullValue=null, $calculateFormulas=true, $formatData=true, $returnCellRef=false) | |
| Create array from a range of cells. | |
| toArray ($nullValue=null, $calculateFormulas=true, $formatData=true, $returnCellRef=false) | |
| Create array from worksheet. | |
| getRowIterator () | |
| Get row iterator. | |
| garbageCollect () | |
| Run PHPExcel garabage collector. | |
| getHashCode () | |
| Get hash code. | |
| getHyperlink ($pCellCoordinate= 'A1') | |
| Get hyperlink. | |
| setHyperlink ($pCellCoordinate= 'A1', PHPExcel_Cell_Hyperlink $pHyperlink=null) | |
| Set hyperlnk. | |
| hyperlinkExists ($pCoordinate= 'A1') | |
| Hyperlink at a specific coordinate exists? | |
| getHyperlinkCollection () | |
| Get collection of hyperlinks. | |
| getDataValidation ($pCellCoordinate= 'A1') | |
| Get data validation. | |
| setDataValidation ($pCellCoordinate= 'A1', PHPExcel_Cell_DataValidation $pDataValidation=null) | |
| Set data validation. | |
| dataValidationExists ($pCoordinate= 'A1') | |
| Data validation at a specific coordinate exists? | |
| getDataValidationCollection () | |
| Get collection of data validations. | |
| shrinkRangeToFit ($range) | |
| Accepts a range, returning it as a range that falls within the current highest row and column of the worksheet. | |
| getTabColor () | |
| Get tab color. | |
| resetTabColor () | |
| Reset tab color. | |
| isTabColorSet () | |
| Tab color set? | |
| copy () | |
| Copy worksheet (!= clone!) | |
| __clone () | |
| Implement PHP __clone to create a deep clone, not just a shallow copy. | |
Static Public Member Functions | |
| static | getInvalidCharacters () |
| Get array of invalid characters for sheet title. | |
| static | extractSheetTitle ($pRange, $returnRange=false) |
| Extract worksheet title from range. | |
Data Fields | |
| const | BREAK_NONE = 0 |
| const | BREAK_ROW = 1 |
| const | BREAK_COLUMN = 2 |
| const | SHEETSTATE_VISIBLE = 'visible' |
| const | SHEETSTATE_HIDDEN = 'hidden' |
| const | SHEETSTATE_VERYHIDDEN = 'veryHidden' |
Static Private Member Functions | |
| static | _checkSheetTitle ($pValue) |
| Check sheet title for valid Excel syntax. | |
Private Attributes | |
| $_parent | |
| $_cellCollection = null | |
| $_rowDimensions = array() | |
| $_defaultRowDimension = null | |
| $_columnDimensions = array() | |
| $_defaultColumnDimension = null | |
| $_drawingCollection = null | |
| $_title | |
| $_sheetState | |
| $_pageSetup | |
| $_pageMargins | |
| $_headerFooter | |
| $_sheetView | |
| $_protection | |
| $_styles = array() | |
| $_conditionalStylesCollection = array() | |
| $_cellCollectionIsSorted = false | |
| $_breaks = array() | |
| $_mergeCells = array() | |
| $_protectedCells = array() | |
| $_autoFilter = '' | |
| $_freezePane = '' | |
| $_showGridlines = true | |
| $_printGridlines = false | |
| $_showRowColHeaders = true | |
| $_showSummaryBelow = true | |
| $_showSummaryRight = true | |
| $_comments = array() | |
| $_activeCell = 'A1' | |
| $_selectedCells = 'A1' | |
| $_cachedHighestColumn = 'A' | |
| $_cachedHighestRow = 1 | |
| $_rightToLeft = false | |
| $_hyperlinkCollection = array() | |
| $_dataValidationCollection = array() | |
| $_tabColor | |
| $_dirty = true | |
| $_hash = null | |
Static Private Attributes | |
| static | $_invalidCharacters = array('*', ':', '/', '\\', '?', '[', ']') |
Definition at line 36 of file Worksheet.php.
| PHPExcel_Worksheet::__construct | ( | PHPExcel | $pParent = null, |
$pTitle = 'Worksheet' |
|||
| ) |
Create a new worksheet.
| PHPExcel | $pParent | |
| string | $pTitle |
Definition at line 327 of file Worksheet.php.
References PHPExcel_CachedObjectStorageFactory\getInstance(), setSheetState(), setTitle(), and SHEETSTATE_VISIBLE.
Here is the call graph for this function:| PHPExcel_Worksheet::__clone | ( | ) |
Implement PHP __clone to create a deep clone, not just a shallow copy.
Definition at line 2563 of file Worksheet.php.
References $_cellCollection, and $_drawingCollection.
|
staticprivate |
Check sheet title for valid Excel syntax.
| string | $pValue | The string to check |
| Exception |
Definition at line 397 of file Worksheet.php.
References PHPExcel_Shared_String\CountCharacters().
Referenced by setTitle().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Worksheet::calculateColumnWidths | ( | $calculateMergeCells = false | ) |
Calculate widths for auto-size columns.
| boolean | $calculateMergeCells | Calculate merge cell width |
Definition at line 548 of file Worksheet.php.
References PHPExcel_Shared_Font\calculateColumnWidth(), PHPExcel_Cell\extractAllCellReferencesInRange(), getCell(), getCellCollection(), getColumnDimension(), getColumnDimensions(), getDefaultColumnDimension(), getDefaultStyle(), getMergeCells(), getParent(), and PHPExcel_Style_NumberFormat\toFormattedString().
Here is the call graph for this function:| PHPExcel_Worksheet::calculateWorksheetDimension | ( | ) |
Calculate worksheet dimension.
Definition at line 536 of file Worksheet.php.
References getHighestColumn(), and getHighestRow().
Here is the call graph for this function:| PHPExcel_Worksheet::cellExists | ( | $pCoordinate = 'A1' | ) |
Cell at a specific coordinate exists?
| string | $pCoordinate | Coordinate of the cell |
| Exception |
Definition at line 1022 of file Worksheet.php.
References PHPExcel_Calculation\CALCULATION_REGEXP_CELLREF, PHPExcel_Calculation\CALCULATION_REGEXP_NAMEDRANGE, PHPExcel_Cell\coordinateFromString(), extractSheetTitle(), getHashCode(), getParent(), getTitle(), and PHPExcel_NamedRange\resolveRange().
Referenced by cellExistsByColumnAndRow(), and mergeCells().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Worksheet::cellExistsByColumnAndRow | ( | $pColumn = 0, |
|
$pRow = 1 |
|||
| ) |
Cell at a specific coordinate by using numeric cell coordinates exists?
| string | $pColumn | Numeric column coordinate of the cell |
| string | $pRow | Numeric row coordinate of the cell |
Definition at line 1069 of file Worksheet.php.
References cellExists(), and PHPExcel_Cell\stringFromColumnIndex().
Here is the call graph for this function:| PHPExcel_Worksheet::conditionalStylesExists | ( | $pCoordinate = 'A1' | ) |
Do conditional styles exist for this cell?
| string | $pCoordinate |
Definition at line 1206 of file Worksheet.php.
| PHPExcel_Worksheet::copy | ( | ) |
Copy worksheet (!= clone!)
Definition at line 2554 of file Worksheet.php.
| PHPExcel_Worksheet::dataValidationExists | ( | $pCoordinate = 'A1' | ) |
Data validation at a specific coordinate exists?
| string | $pCellCoordinate |
Definition at line 2470 of file Worksheet.php.
| PHPExcel_Worksheet::disconnectCells | ( | ) |
Definition at line 362 of file Worksheet.php.
| PHPExcel_Worksheet::duplicateStyle | ( | PHPExcel_Style | $pCellStyle = null, |
$pRange = '' |
|||
| ) |
Duplicate cell style to a range of cells.
Please note that this will overwrite existing cell styles for cells in range!
| PHPExcel_Style | $pCellStyle | Cell style to duplicate |
| string | $pRange | Range of cells (i.e. "A1:B10"), or just one cell (i.e. "A1") |
| Exception |
Definition at line 1288 of file Worksheet.php.
References $_parent, $row, PHPExcel_Cell\columnIndexFromString(), PHPExcel_Cell\coordinateFromString(), getCell(), and PHPExcel_Cell\stringFromColumnIndex().
Referenced by setSharedStyle().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Worksheet::duplicateStyleArray | ( | $pStyles = null, |
|
$pRange = '', |
|||
$pAdvanced = true |
|||
| ) |
Duplicate cell style array to a range of cells.
Please note that this will overwrite existing cell styles for cells in range, if they are in the styles array. For example, if you decide to set a range of cells to font bold, only include font bold in the styles array.
| array | $pStyles | Array containing style information |
| string | $pRange | Range of cells (i.e. "A1:B10"), or just one cell (i.e. "A1") |
| boolean | $pAdvanced | Advanced mode for setting borders. |
| Exception |
Definition at line 1356 of file Worksheet.php.
References getStyle().
Here is the call graph for this function:
|
static |
Extract worksheet title from range.
Example: extractSheetTitle("testSheet!A1") ==> 'A1' Example: extractSheetTitle("'testSheet 1'!A1", true) ==> array('testSheet 1', 'A1');
| string | $pRange | Range to extract title from |
| bool | $returnRange | Return range? (see example) |
Definition at line 2360 of file Worksheet.php.
Referenced by cellExists(), PHPExcel_Calculation\extractCellRange(), PHPExcel_Calculation\extractNamedRange(), getCell(), and PHPExcel_Reader_Excel2007\load().
Here is the caller graph for this function:| PHPExcel_Worksheet::freezePane | ( | $pCell = '' | ) |
Freeze Pane.
| string | $pCell | Cell (i.e. A1) |
| Exception |
Definition at line 1693 of file Worksheet.php.
Referenced by freezePaneByColumnAndRow(), and unfreezePane().
Here is the caller graph for this function:| PHPExcel_Worksheet::freezePaneByColumnAndRow | ( | $pColumn = 0, |
|
$pRow = 1 |
|||
| ) |
Freeze Pane by using numeric cell coordinates.
| int | $pColumn | Numeric column coordinate of the cell |
| int | $pRow | Numeric row coordinate of the cell |
| Exception |
Definition at line 1714 of file Worksheet.php.
References freezePane(), and PHPExcel_Cell\stringFromColumnIndex().
Here is the call graph for this function:| PHPExcel_Worksheet::fromArray | ( | $source = null, |
|
$nullValue = null, |
|||
$startCell = 'A1', |
|||
$strictNullComparison = false |
|||
| ) |
Fill worksheet from values in array.
| array | $source | Source array |
| mixed | $nullValue | Value in source array that stands for blank cell |
| string | $startCell | Insert array starting from this cell address as the top left coordinate |
| boolean | $strictNullComparison | Apply strict comparison when testing for null values in the array |
| Exception |
Definition at line 2119 of file Worksheet.php.
References PHPExcel_Cell\coordinateFromString(), and getCell().
Here is the call graph for this function:| PHPExcel_Worksheet::garbageCollect | ( | ) |
Run PHPExcel garabage collector.
Definition at line 2284 of file Worksheet.php.
References $row, PHPExcel_Cell\columnIndexFromString(), and PHPExcel_Cell\stringFromColumnIndex().
Referenced by toArray().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Worksheet::getActiveCell | ( | ) |
Get active cell.
Definition at line 2016 of file Worksheet.php.
References $_activeCell.
| PHPExcel_Worksheet::getAutoFilter | ( | ) |
Get Autofilter Range.
Definition at line 1620 of file Worksheet.php.
References $_autoFilter.
| PHPExcel_Worksheet::getBreaks | ( | ) |
Get breaks.
Definition at line 1403 of file Worksheet.php.
References $_breaks.
Referenced by PHPExcel_Writer_HTML\_generateRow().
Here is the caller graph for this function:| PHPExcel_Worksheet::getCell | ( | $pCoordinate = 'A1' | ) |
Get cell at a specific coordinate.
| string | $pCoordinate | Coordinate of the cell |
| Exception |
Definition at line 925 of file Worksheet.php.
References PHPExcel_Calculation\CALCULATION_REGEXP_CELLREF, PHPExcel_Calculation\CALCULATION_REGEXP_NAMEDRANGE, PHPExcel_Cell\columnIndexFromString(), PHPExcel_Cell\coordinateFromString(), extractSheetTitle(), getColumnDimensions(), getParent(), getRowDimensions(), PHPExcel_NamedRange\resolveRange(), and PHPExcel_Cell_DataType\TYPE_NULL.
Referenced by PHPExcel\addExternalSheet(), calculateColumnWidths(), duplicateStyle(), fromArray(), mergeCells(), setCellValue(), setCellValueByColumnAndRow(), setCellValueExplicit(), and setCellValueExplicitByColumnAndRow().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Worksheet::getCellByColumnAndRow | ( | $pColumn = 0, |
|
$pRow = 1 |
|||
| ) |
Get cell at a specific coordinate by using numeric cell coordinates.
| string | $pColumn | Numeric column coordinate of the cell |
| string | $pRow | Numeric row coordinate of the cell |
Definition at line 995 of file Worksheet.php.
References PHPExcel_Cell\columnIndexFromString(), PHPExcel_Cell\stringFromColumnIndex(), and PHPExcel_Cell_DataType\TYPE_NULL.
Here is the call graph for this function:| PHPExcel_Worksheet::getCellCacheController | ( | ) |
Return the cache controller for the cell collection.
Definition at line 375 of file Worksheet.php.
References $_cellCollection.
| PHPExcel_Worksheet::getCellCollection | ( | $pSorted = true | ) |
Get collection of cells.
| boolean | $pSorted | Also sort the cell collection? |
Definition at line 418 of file Worksheet.php.
References sortCellCollection().
Referenced by PHPExcel\addExternalSheet(), and calculateColumnWidths().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Worksheet::getColumnDimension | ( | $pColumn = 'A' | ) |
Get column dimension at a specific column.
| string | $pColumn | String index of the column |
Definition at line 1100 of file Worksheet.php.
References PHPExcel_Cell\columnIndexFromString().
Referenced by calculateColumnWidths(), and getColumnDimensionByColumn().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Worksheet::getColumnDimensionByColumn | ( | $pColumn = 0 | ) |
Get column dimension at a specific column by using numeric cell coordinates.
| string | $pColumn | Numeric column coordinate of the cell |
| string | $pRow | Numeric row coordinate of the cell |
Definition at line 1122 of file Worksheet.php.
References getColumnDimension(), and PHPExcel_Cell\stringFromColumnIndex().
Here is the call graph for this function:| PHPExcel_Worksheet::getColumnDimensions | ( | ) |
Get collection of column dimensions.
Definition at line 468 of file Worksheet.php.
References $_columnDimensions.
Referenced by calculateColumnWidths(), getCell(), and refreshColumnDimensions().
Here is the caller graph for this function:| PHPExcel_Worksheet::getComment | ( | $pCellCoordinate = 'A1' | ) |
Get comment for cell.
| string | $pCellCoordinate | Cell coordinate to get comment for |
| Exception |
Definition at line 1964 of file Worksheet.php.
Referenced by getCommentByColumnAndRow().
Here is the caller graph for this function:| PHPExcel_Worksheet::getCommentByColumnAndRow | ( | $pColumn = 0, |
|
$pRow = 1 |
|||
| ) |
Get comment for cell by using numeric cell coordinates.
| int | $pColumn | Numeric column coordinate of the cell |
| int | $pRow | Numeric row coordinate of the cell |
Definition at line 1995 of file Worksheet.php.
References getComment(), and PHPExcel_Cell\stringFromColumnIndex().
Here is the call graph for this function:| PHPExcel_Worksheet::getComments | ( | ) |
Get comments.
Definition at line 1939 of file Worksheet.php.
References $_comments.
| PHPExcel_Worksheet::getConditionalStyles | ( | $pCoordinate = 'A1' | ) |
Get conditional styles for a cell.
| string | $pCoordinate |
Definition at line 1192 of file Worksheet.php.
| PHPExcel_Worksheet::getConditionalStylesCollection | ( | ) |
Get collection of conditional styles.
Definition at line 1231 of file Worksheet.php.
References $_conditionalStylesCollection.
| PHPExcel_Worksheet::getDataValidation | ( | $pCellCoordinate = 'A1' | ) |
Get data validation.
| string | $pCellCoordinate | Cell coordinate to get data validation for |
Definition at line 2435 of file Worksheet.php.
| PHPExcel_Worksheet::getDataValidationCollection | ( | ) |
Get collection of data validations.
Definition at line 2480 of file Worksheet.php.
References $_dataValidationCollection.
| PHPExcel_Worksheet::getDefaultColumnDimension | ( | ) |
Get default column dimension.
Definition at line 478 of file Worksheet.php.
References $_defaultColumnDimension.
Referenced by calculateColumnWidths().
Here is the caller graph for this function:| PHPExcel_Worksheet::getDefaultRowDimension | ( | ) |
Get default row dimension.
Definition at line 458 of file Worksheet.php.
References $_defaultRowDimension.
| PHPExcel_Worksheet::getDefaultStyle | ( | ) |
Get default style of workbork.
| Exception |
Definition at line 1144 of file Worksheet.php.
Referenced by calculateColumnWidths().
Here is the caller graph for this function:| PHPExcel_Worksheet::getDrawingCollection | ( | ) |
Get collection of drawings.
Definition at line 488 of file Worksheet.php.
References $_drawingCollection.
Referenced by PHPExcel_Writer_HTML\_writeImageTagInCell().
Here is the caller graph for this function:| PHPExcel_Worksheet::getFreezePane | ( | ) |
Get Freeze Pane.
Definition at line 1681 of file Worksheet.php.
References $_freezePane.
| PHPExcel_Worksheet::getHashCode | ( | ) |
Get hash code.
Implements PHPExcel_IComparable.
Definition at line 2338 of file Worksheet.php.
References $_hash.
Referenced by cellExists(), and PHPExcel\getIndex().
Here is the caller graph for this function:| PHPExcel_Worksheet::getHeaderFooter | ( | ) |
| PHPExcel_Worksheet::getHighestColumn | ( | ) |
Get highest worksheet column.
Definition at line 835 of file Worksheet.php.
References $_cachedHighestColumn.
Referenced by calculateWorksheetDimension(), shrinkRangeToFit(), and toArray().
Here is the caller graph for this function:| PHPExcel_Worksheet::getHighestRow | ( | ) |
Get highest worksheet row.
Definition at line 845 of file Worksheet.php.
References $_cachedHighestRow.
Referenced by calculateWorksheetDimension(), shrinkRangeToFit(), and toArray().
Here is the caller graph for this function:| PHPExcel_Worksheet::getHyperlink | ( | $pCellCoordinate = 'A1' | ) |
Get hyperlink.
| string | $pCellCoordinate | Cell coordinate to get hyperlink for |
Definition at line 2380 of file Worksheet.php.
Referenced by PHPExcel_Writer_HTML\_generateRow().
Here is the caller graph for this function:| PHPExcel_Worksheet::getHyperlinkCollection | ( | ) |
Get collection of hyperlinks.
Definition at line 2425 of file Worksheet.php.
References $_hyperlinkCollection.
|
static |
Get array of invalid characters for sheet title.
Definition at line 385 of file Worksheet.php.
References $_invalidCharacters.
| PHPExcel_Worksheet::getMergeCells | ( | ) |
Get merge cells array.
Definition at line 1509 of file Worksheet.php.
References $_mergeCells.
Referenced by calculateColumnWidths().
Here is the caller graph for this function:| PHPExcel_Worksheet::getPageMargins | ( | ) |
| PHPExcel_Worksheet::getPageSetup | ( | ) |
Get page setup.
Definition at line 723 of file Worksheet.php.
References $_pageSetup.
| PHPExcel_Worksheet::getParent | ( | ) |
Get parent.
Definition at line 609 of file Worksheet.php.
References $_parent.
Referenced by PHPExcel_Writer_HTML\_generateRow(), PHPExcel\addExternalSheet(), calculateColumnWidths(), cellExists(), getCell(), PHPExcel_NamedRange\resolveRange(), and setTitle().
Here is the caller graph for this function:| PHPExcel_Worksheet::getPrintGridlines | ( | ) |
Print gridlines?
Definition at line 1859 of file Worksheet.php.
References $_printGridlines.
| PHPExcel_Worksheet::getProtectedCells | ( | ) |
Get protected cells.
Definition at line 1610 of file Worksheet.php.
References $_protectedCells.
| PHPExcel_Worksheet::getProtection | ( | ) |
| PHPExcel_Worksheet::getRightToLeft | ( | ) |
Get right-to-left.
Definition at line 2094 of file Worksheet.php.
References $_rightToLeft.
| PHPExcel_Worksheet::getRowDimension | ( | $pRow = 1 | ) |
Get row dimension at a specific row.
| int | $pRow | Numeric index of the row |
Definition at line 1080 of file Worksheet.php.
| PHPExcel_Worksheet::getRowDimensions | ( | ) |
Get collection of row dimensions.
Definition at line 448 of file Worksheet.php.
References $_rowDimensions.
Referenced by getCell(), and refreshRowDimensions().
Here is the caller graph for this function:| PHPExcel_Worksheet::getRowIterator | ( | ) |
Get row iterator.
Definition at line 2275 of file Worksheet.php.
| PHPExcel_Worksheet::getSelectedCell | ( | ) |
Get selected cell.
Definition at line 2006 of file Worksheet.php.
References getSelectedCells().
Here is the call graph for this function:| PHPExcel_Worksheet::getSelectedCells | ( | ) |
Get selected cells.
Definition at line 2026 of file Worksheet.php.
References $_selectedCells.
Referenced by getSelectedCell().
Here is the caller graph for this function:| PHPExcel_Worksheet::getSheetState | ( | ) |
Get sheet state.
Definition at line 703 of file Worksheet.php.
References $_sheetState.
| PHPExcel_Worksheet::getSheetView | ( | ) |
| PHPExcel_Worksheet::getShowGridlines | ( | ) |
Show gridlines?
Definition at line 1839 of file Worksheet.php.
References $_showGridlines.
| PHPExcel_Worksheet::getShowRowColHeaders | ( | ) |
Show row and column headers?
Definition at line 1879 of file Worksheet.php.
References $_showRowColHeaders.
| PHPExcel_Worksheet::getShowSummaryBelow | ( | ) |
Show summary below? (Row/Column outlining)
Definition at line 1899 of file Worksheet.php.
References $_showSummaryBelow.
| PHPExcel_Worksheet::getShowSummaryRight | ( | ) |
Show summary right? (Row/Column outlining)
Definition at line 1919 of file Worksheet.php.
References $_showSummaryRight.
| PHPExcel_Worksheet::getStyle | ( | $pCellCoordinate = 'A1' | ) |
Get style for cell.
| string | $pCellCoordinate | Cell coordinate to get style for |
| Exception |
Definition at line 1175 of file Worksheet.php.
References setSelectedCells().
Referenced by duplicateStyleArray(), and getStyleByColumnAndRow().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Worksheet::getStyleByColumnAndRow | ( | $pColumn = 0, |
|
$pRow = 1 |
|||
| ) |
Get style for cell by using numeric cell coordinates.
| int | $pColumn | Numeric column coordinate of the cell |
| int | $pRow | Numeric row coordinate of the cell |
Definition at line 1256 of file Worksheet.php.
References getStyle(), and PHPExcel_Cell\stringFromColumnIndex().
Here is the call graph for this function:| PHPExcel_Worksheet::getStyles | ( | ) |
Get styles.
Definition at line 1132 of file Worksheet.php.
References $_styles.
| PHPExcel_Worksheet::getTabColor | ( | ) |
Get tab color.
Definition at line 2518 of file Worksheet.php.
References $_tabColor.
| PHPExcel_Worksheet::getTitle | ( | ) |
Get title.
Definition at line 638 of file Worksheet.php.
References $_title.
Referenced by PHPExcel\addExternalSheet(), cellExists(), and setTitle().
Here is the caller graph for this function:| PHPExcel_Worksheet::hyperlinkExists | ( | $pCoordinate = 'A1' | ) |
Hyperlink at a specific coordinate exists?
| string | $pCellCoordinate |
Definition at line 2415 of file Worksheet.php.
Referenced by PHPExcel_Writer_HTML\_generateRow().
Here is the caller graph for this function:| PHPExcel_Worksheet::insertNewColumnBefore | ( | $pBefore = 'A', |
|
$pNumCols = 1 |
|||
| ) |
Insert a new column, updating all possible related data.
| int | $pBefore | Insert before this one |
| int | $pNumCols | Number of columns to insert |
| Exception |
Definition at line 1755 of file Worksheet.php.
References PHPExcel_ReferenceHelper\getInstance().
Referenced by insertNewColumnBeforeByIndex().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Worksheet::insertNewColumnBeforeByIndex | ( | $pBefore = 0, |
|
$pNumCols = 1 |
|||
| ) |
Insert a new column, updating all possible related data.
| int | $pBefore | Insert before this one (numeric column coordinate of the cell) |
| int | $pNumCols | Number of columns to insert |
| Exception |
Definition at line 1773 of file Worksheet.php.
References insertNewColumnBefore(), and PHPExcel_Cell\stringFromColumnIndex().
Here is the call graph for this function:| PHPExcel_Worksheet::insertNewRowBefore | ( | $pBefore = 1, |
|
$pNumRows = 1 |
|||
| ) |
Insert a new row, updating all possible related data.
| int | $pBefore | Insert before this one |
| int | $pNumRows | Number of rows to insert |
| Exception |
Definition at line 1737 of file Worksheet.php.
References PHPExcel_ReferenceHelper\getInstance().
Here is the call graph for this function:| PHPExcel_Worksheet::isTabColorSet | ( | ) |
Tab color set?
Definition at line 2544 of file Worksheet.php.
| PHPExcel_Worksheet::mergeCells | ( | $pRange = 'A1:A1' | ) |
Set merge on a cell range.
| string | $pRange | Cell range (e.g. A1:E1) |
| Exception |
Definition at line 1415 of file Worksheet.php.
References cellExists(), PHPExcel_Cell\extractAllCellReferencesInRange(), getCell(), and PHPExcel_Cell_DataType\TYPE_NULL.
Referenced by mergeCellsByColumnAndRow().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Worksheet::mergeCellsByColumnAndRow | ( | $pColumn1 = 0, |
|
$pRow1 = 1, |
|||
$pColumn2 = 0, |
|||
$pRow2 = 1 |
|||
| ) |
Set merge on a cell range by using numeric cell coordinates.
| int | $pColumn1 | Numeric column coordinate of the first cell |
| int | $pRow1 | Numeric row coordinate of the first cell |
| int | $pColumn2 | Numeric column coordinate of the last cell |
| int | $pRow2 | Numeric row coordinate of the last cell |
| Exception |
Definition at line 1457 of file Worksheet.php.
References mergeCells(), and PHPExcel_Cell\stringFromColumnIndex().
Here is the call graph for this function:| PHPExcel_Worksheet::namedRangeToArray | ( | $pNamedRange = '', |
|
$nullValue = null, |
|||
$calculateFormulas = true, |
|||
$formatData = true, |
|||
$returnCellRef = false |
|||
| ) |
Create array from a range of cells.
| string | $pNamedRange | Name of the Named Range |
| mixed | $nullValue | Value returned in the array entry if a cell doesn't exist |
| boolean | $calculateFormulas | Should formulas be calculated? |
| boolean | $formatData | Should formatting be applied to cell values? |
| boolean | $returnCellRef | False - Return a simple array of rows and columns indexed by number counting from zero True - Return rows and columns indexed by their actual row and column IDs |
| Exception |
Definition at line 2233 of file Worksheet.php.
References PHPExcel_NamedRange\resolveRange().
Here is the call graph for this function:| PHPExcel_Worksheet::protectCells | ( | $pRange = 'A1', |
|
$pPassword = '', |
|||
$pAlreadyHashed = false |
|||
| ) |
Set protection on a cell range.
| string | $pRange | Cell (e.g. A1) or cell range (e.g. A1:E1) |
| string | $pPassword | Password to unlock the protection |
| boolean | $pAlreadyHashed | If the password has already been hashed, set this to true |
| Exception |
Definition at line 1536 of file Worksheet.php.
References PHPExcel_Shared_PasswordHasher\hashPassword().
Referenced by protectCellsByColumnAndRow().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Worksheet::protectCellsByColumnAndRow | ( | $pColumn1 = 0, |
|
$pRow1 = 1, |
|||
$pColumn2 = 0, |
|||
$pRow2 = 1, |
|||
$pPassword = '', |
|||
$pAlreadyHashed = false |
|||
| ) |
Set protection on a cell range by using numeric cell coordinates.
| int | $pColumn1 | Numeric column coordinate of the first cell |
| int | $pRow1 | Numeric row coordinate of the first cell |
| int | $pColumn2 | Numeric column coordinate of the last cell |
| int | $pRow2 | Numeric row coordinate of the last cell |
| string | $pPassword | Password to unlock the protection |
| boolean | $pAlreadyHashed | If the password has already been hashed, set this to true |
| Exception |
Definition at line 1561 of file Worksheet.php.
References protectCells(), and PHPExcel_Cell\stringFromColumnIndex().
Here is the call graph for this function:| PHPExcel_Worksheet::rangeToArray | ( | $pRange = 'A1', |
|
$nullValue = null, |
|||
$calculateFormulas = true, |
|||
$formatData = true, |
|||
$returnCellRef = false |
|||
| ) |
Create array from a range of cells.
| string | $pRange | Range of cells (i.e. "A1:B10"), or just one cell (i.e. "A1") |
| mixed | $nullValue | Value returned in the array entry if a cell doesn't exist |
| boolean | $calculateFormulas | Should formulas be calculated? |
| boolean | $formatData | Should formatting be applied to cell values? |
| boolean | $returnCellRef | False - Return a simple array of rows and columns indexed by number counting from zero True - Return rows and columns indexed by their actual row and column IDs |
Definition at line 2165 of file Worksheet.php.
References $row, PHPExcel_Cell\rangeBoundaries(), PHPExcel_Cell\stringFromColumnIndex(), and PHPExcel_Style_NumberFormat\toFormattedString().
Referenced by toArray().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Worksheet::rebindParent | ( | PHPExcel | $parent | ) |
Re-bind parent.
| PHPExcel | $parent |
Definition at line 619 of file Worksheet.php.
References PHPExcel\addNamedRange().
Referenced by PHPExcel\addExternalSheet().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Worksheet::refreshColumnDimensions | ( | ) |
Refresh column dimensions.
Definition at line 498 of file Worksheet.php.
References getColumnDimensions().
Here is the call graph for this function:| PHPExcel_Worksheet::refreshRowDimensions | ( | ) |
Refresh row dimensions.
Definition at line 517 of file Worksheet.php.
References getRowDimensions().
Here is the call graph for this function:| PHPExcel_Worksheet::removeAutoFilter | ( | ) |
Remove autofilter.
Definition at line 1670 of file Worksheet.php.
| PHPExcel_Worksheet::removeColumn | ( | $pColumn = 'A', |
|
$pNumCols = 1 |
|||
| ) |
Remove a column, updating all possible related data.
| int | $pColumn | Remove starting with this one |
| int | $pNumCols | Number of columns to remove |
| Exception |
Definition at line 1807 of file Worksheet.php.
References PHPExcel_Cell\columnIndexFromString(), PHPExcel_ReferenceHelper\getInstance(), and PHPExcel_Cell\stringFromColumnIndex().
Referenced by removeColumnByIndex().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Worksheet::removeColumnByIndex | ( | $pColumn = 0, |
|
$pNumCols = 1 |
|||
| ) |
Remove a column, updating all possible related data.
| int | $pColumn | Remove starting with this one (numeric column coordinate of the cell) |
| int | $pNumCols | Number of columns to remove |
| Exception |
Definition at line 1826 of file Worksheet.php.
References removeColumn(), and PHPExcel_Cell\stringFromColumnIndex().
Here is the call graph for this function:| PHPExcel_Worksheet::removeConditionalStyles | ( | $pCoordinate = 'A1' | ) |
Removes conditional styles for a cell.
| string | $pCoordinate |
Definition at line 1220 of file Worksheet.php.
| PHPExcel_Worksheet::removeRow | ( | $pRow = 1, |
|
$pNumRows = 1 |
|||
| ) |
Delete a row, updating all possible related data.
| int | $pRow | Remove starting with this one |
| int | $pNumRows | Number of rows to remove |
| Exception |
Definition at line 1789 of file Worksheet.php.
References PHPExcel_ReferenceHelper\getInstance().
Here is the call graph for this function:| PHPExcel_Worksheet::resetTabColor | ( | ) |
Reset tab color.
Definition at line 2531 of file Worksheet.php.
| PHPExcel_Worksheet::setAutoFilter | ( | $pRange = '' | ) |
Set Autofilter Range.
| string | $pRange | Cell range (i.e. A1:E10) |
| Exception |
Definition at line 1632 of file Worksheet.php.
Referenced by setAutoFilterByColumnAndRow().
Here is the caller graph for this function:| PHPExcel_Worksheet::setAutoFilterByColumnAndRow | ( | $pColumn1 = 0, |
|
$pRow1 = 1, |
|||
$pColumn2 = 0, |
|||
$pRow2 = 1 |
|||
| ) |
Set Autofilter Range by using numeric cell coordinates.
| int | $pColumn1 | Numeric column coordinate of the first cell |
| int | $pRow1 | Numeric row coordinate of the first cell |
| int | $pColumn2 | Numeric column coordinate of the second cell |
| int | $pRow2 | Numeric row coordinate of the second cell |
| Exception |
Definition at line 1656 of file Worksheet.php.
References setAutoFilter(), and PHPExcel_Cell\stringFromColumnIndex().
Here is the call graph for this function:| PHPExcel_Worksheet::setBreak | ( | $pCell = 'A1', |
|
$pBreak = PHPExcel_Worksheet::BREAK_NONE |
|||
| ) |
Set break on a cell.
| string | $pCell | Cell coordinate (e.g. A1) |
| int | $pBreak | Break type (type of PHPExcel_Worksheet::BREAK_*) |
| Exception |
Definition at line 1370 of file Worksheet.php.
Referenced by setBreakByColumnAndRow().
Here is the caller graph for this function:| PHPExcel_Worksheet::setBreakByColumnAndRow | ( | $pColumn = 0, |
|
$pRow = 1, |
|||
$pBreak = PHPExcel_Worksheet::BREAK_NONE |
|||
| ) |
Set break on a cell by using numeric cell coordinates.
| integer | $pColumn | Numeric column coordinate of the cell |
| integer | $pRow | Numeric row coordinate of the cell |
| integer | $pBreak | Break type (type of PHPExcel_Worksheet::BREAK_*) |
| Exception |
Definition at line 1393 of file Worksheet.php.
References setBreak(), and PHPExcel_Cell\stringFromColumnIndex().
Here is the call graph for this function:| PHPExcel_Worksheet::setCellValue | ( | $pCoordinate = 'A1', |
|
$pValue = null, |
|||
$returnCell = false |
|||
| ) |
Set a cell value.
| string | $pCoordinate | Coordinate of the cell |
| mixed | $pValue | Value of the cell |
| bool | $returnCell | Return the worksheet (false, default) or the cell (true) |
Definition at line 858 of file Worksheet.php.
References getCell().
Here is the call graph for this function:| PHPExcel_Worksheet::setCellValueByColumnAndRow | ( | $pColumn = 0, |
|
$pRow = 1, |
|||
$pValue = null, |
|||
$returnCell = false |
|||
| ) |
Set a cell value by using numeric cell coordinates.
| string | $pColumn | Numeric column coordinate of the cell |
| string | $pRow | Numeric row coordinate of the cell |
| mixed | $pValue | Value of the cell |
| bool | $returnCell | Return the worksheet (false, default) or the cell (true) |
Definition at line 878 of file Worksheet.php.
References getCell(), and PHPExcel_Cell\stringFromColumnIndex().
Here is the call graph for this function:| PHPExcel_Worksheet::setCellValueExplicit | ( | $pCoordinate = 'A1', |
|
$pValue = null, |
|||
$pDataType = PHPExcel_Cell_DataType::TYPE_STRING |
|||
| ) |
Set a cell value.
| string | $pCoordinate | Coordinate of the cell |
| mixed | $pValue | Value of the cell |
| string | $pDataType | Explicit data type |
Definition at line 897 of file Worksheet.php.
References getCell().
Here is the call graph for this function:| PHPExcel_Worksheet::setCellValueExplicitByColumnAndRow | ( | $pColumn = 0, |
|
$pRow = 1, |
|||
$pValue = null, |
|||
$pDataType = PHPExcel_Cell_DataType::TYPE_STRING |
|||
| ) |
Set a cell value by using numeric cell coordinates.
| string | $pColumn | Numeric column coordinate of the cell |
| string | $pRow | Numeric row coordinate of the cell |
| mixed | $pValue | Value of the cell |
| string | $pDataType | Explicit data type |
Definition at line 913 of file Worksheet.php.
References getCell(), and PHPExcel_Cell\stringFromColumnIndex().
Here is the call graph for this function:| PHPExcel_Worksheet::setComments | ( | $pValue = array() | ) |
Set comments array for the entire sheet.
| array | of PHPExcel_Comment |
Definition at line 1950 of file Worksheet.php.
| PHPExcel_Worksheet::setConditionalStyles | ( | $pCoordinate = 'A1', |
|
| $pValue | |||
| ) |
Set conditional styles.
| $pCoordinate | string E.g. 'A1' |
| $pValue | PHPExcel_Style_Conditional[] |
Definition at line 1243 of file Worksheet.php.
| PHPExcel_Worksheet::setDataValidation | ( | $pCellCoordinate = 'A1', |
|
| PHPExcel_Cell_DataValidation | $pDataValidation = null |
||
| ) |
Set data validation.
| string | $pCellCoordinate | Cell coordinate to insert data validation |
| PHPExcel_Cell_DataValidation | $pDataValidation |
Definition at line 2454 of file Worksheet.php.
| PHPExcel_Worksheet::setDefaultStyle | ( | PHPExcel_Style | $pValue | ) |
Set default style - should only be used by PHPExcel_IReader implementations!
| PHPExcel_Style | $value |
| Exception |
Definition at line 1157 of file Worksheet.php.
References PHPExcel_Style\getFont().
Here is the call graph for this function:| PHPExcel_Worksheet::setHeaderFooter | ( | PHPExcel_Worksheet_HeaderFooter | $pValue | ) |
Set page header/footer.
| PHPExcel_Worksheet_HeaderFooter | $pValue |
Definition at line 778 of file Worksheet.php.
| PHPExcel_Worksheet::setHyperlink | ( | $pCellCoordinate = 'A1', |
|
| PHPExcel_Cell_Hyperlink | $pHyperlink = null |
||
| ) |
Set hyperlnk.
| string | $pCellCoordinate | Cell coordinate to insert hyperlink |
| PHPExcel_Cell_Hyperlink | $pHyperlink |
Definition at line 2399 of file Worksheet.php.
| PHPExcel_Worksheet::setMergeCells | ( | $pValue = array() | ) |
Set merge cells array for the entire sheet.
Use instead mergeCells() to merge a single cell range.
| array |
Definition at line 1520 of file Worksheet.php.
| PHPExcel_Worksheet::setPageMargins | ( | PHPExcel_Worksheet_PageMargins | $pValue | ) |
Set page margins.
| PHPExcel_Worksheet_PageMargins | $pValue |
Definition at line 756 of file Worksheet.php.
| PHPExcel_Worksheet::setPageSetup | ( | PHPExcel_Worksheet_PageSetup | $pValue | ) |
Set page setup.
| PHPExcel_Worksheet_PageSetup | $pValue |
Definition at line 734 of file Worksheet.php.
| PHPExcel_Worksheet::setPrintGridlines | ( | $pValue = false | ) |
Set print gridlines.
| boolean | $pValue | Print gridlines (true/false) |
Definition at line 1869 of file Worksheet.php.
| PHPExcel_Worksheet::setProtection | ( | PHPExcel_Worksheet_Protection | $pValue | ) |
Set Protection.
| PHPExcel_Worksheet_Protection | $pValue |
Definition at line 822 of file Worksheet.php.
| PHPExcel_Worksheet::setRightToLeft | ( | $value = false | ) |
Set right-to-left.
| boolean | $value | Right-to-left true/false |
Definition at line 2104 of file Worksheet.php.
| PHPExcel_Worksheet::setSelectedCell | ( | $pCoordinate = 'A1' | ) |
Selected cell.
| string | $pCell | Cell (i.e. A1) |
Definition at line 2037 of file Worksheet.php.
References setSelectedCells().
Here is the call graph for this function:| PHPExcel_Worksheet::setSelectedCellByColumnAndRow | ( | $pColumn = 0, |
|
$pRow = 1 |
|||
| ) |
Selected cell by using numeric cell coordinates.
| int | $pColumn | Numeric column coordinate of the cell |
| int | $pRow | Numeric row coordinate of the cell |
| Exception |
Definition at line 2084 of file Worksheet.php.
References setSelectedCells(), and PHPExcel_Cell\stringFromColumnIndex().
Here is the call graph for this function:| PHPExcel_Worksheet::setSelectedCells | ( | $pCoordinate = 'A1' | ) |
Select a range of cells.
| string | $pCoordinate | Cell range, examples: 'A1', 'B2:G5', 'A:C', '3:6' |
| Exception |
Definition at line 2049 of file Worksheet.php.
References PHPExcel_Cell\splitRange().
Referenced by getStyle(), setSelectedCell(), and setSelectedCellByColumnAndRow().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Worksheet::setSharedStyle | ( | PHPExcel_Style | $pSharedCellStyle = null, |
$pRange = '' |
|||
| ) |
Set shared cell style to a range of cells.
Please note that this will overwrite existing cell styles for cells in range!
| PHPExcel_Style | $pSharedCellStyle | Cell style to share |
| string | $pRange | Range of cells (i.e. "A1:B10"), or just one cell (i.e. "A1") |
| Exception |
Definition at line 1272 of file Worksheet.php.
References duplicateStyle().
Here is the call graph for this function:| PHPExcel_Worksheet::setSheetState | ( | $value = PHPExcel_Worksheet::SHEETSTATE_VISIBLE | ) |
Set sheet state.
| string | $value | Sheet state (visible, hidden, veryHidden) |
Definition at line 713 of file Worksheet.php.
Referenced by __construct().
Here is the caller graph for this function:| PHPExcel_Worksheet::setSheetView | ( | PHPExcel_Worksheet_SheetView | $pValue | ) |
Set sheet view.
| PHPExcel_Worksheet_SheetView | $pValue |
Definition at line 800 of file Worksheet.php.
| PHPExcel_Worksheet::setShowGridlines | ( | $pValue = false | ) |
Set show gridlines.
| boolean | $pValue | Show gridlines (true/false) |
Definition at line 1849 of file Worksheet.php.
| PHPExcel_Worksheet::setShowRowColHeaders | ( | $pValue = false | ) |
Set show row and column headers.
| boolean | $pValue | Show row and column headers (true/false) |
Definition at line 1889 of file Worksheet.php.
| PHPExcel_Worksheet::setShowSummaryBelow | ( | $pValue = true | ) |
Set show summary below.
| boolean | $pValue | Show summary below (true/false) |
Definition at line 1909 of file Worksheet.php.
| PHPExcel_Worksheet::setShowSummaryRight | ( | $pValue = true | ) |
Set show summary right.
| boolean | $pValue | Show summary right (true/false) |
Definition at line 1929 of file Worksheet.php.
| PHPExcel_Worksheet::setTitle | ( | $pValue = 'Worksheet' | ) |
Set title.
| string | $pValue | String containing the dimension of this worksheet |
Definition at line 649 of file Worksheet.php.
References _checkSheetTitle(), PHPExcel_Shared_String\CountCharacters(), PHPExcel_ReferenceHelper\getInstance(), getParent(), getTitle(), and PHPExcel_Shared_String\Substring().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_Worksheet::shrinkRangeToFit | ( | $range | ) |
Accepts a range, returning it as a range that falls within the current highest row and column of the worksheet.
| string | $range |
Definition at line 2491 of file Worksheet.php.
References PHPExcel_Cell\columnIndexFromString(), getHighestColumn(), getHighestRow(), PHPExcel_Cell\getRangeBoundaries(), and PHPExcel_Cell\stringFromColumnIndex().
Here is the call graph for this function:| PHPExcel_Worksheet::sortCellCollection | ( | ) |
Sort collection of cells.
Definition at line 435 of file Worksheet.php.
Referenced by getCellCollection().
Here is the caller graph for this function:| PHPExcel_Worksheet::toArray | ( | $nullValue = null, |
|
$calculateFormulas = true, |
|||
$formatData = true, |
|||
$returnCellRef = false |
|||
| ) |
Create array from worksheet.
| mixed | $nullValue | Value returned in the array entry if a cell doesn't exist |
| boolean | $calculateFormulas | Should formulas be calculated? |
| boolean | $formatData | Should formatting be applied to cell values? |
| boolean | $returnCellRef | False - Return a simple array of rows and columns indexed by number counting from zero True - Return rows and columns indexed by their actual row and column IDs |
Definition at line 2257 of file Worksheet.php.
References garbageCollect(), getHighestColumn(), getHighestRow(), and rangeToArray().
Here is the call graph for this function:| PHPExcel_Worksheet::unfreezePane | ( | ) |
Unfreeze Pane.
Definition at line 1724 of file Worksheet.php.
References freezePane().
Here is the call graph for this function:| PHPExcel_Worksheet::unmergeCells | ( | $pRange = 'A1:A1' | ) |
Remove merge on a cell range.
| string | $pRange | Cell range (e.g. A1:E1) |
| Exception |
Definition at line 1470 of file Worksheet.php.
Referenced by unmergeCellsByColumnAndRow().
Here is the caller graph for this function:| PHPExcel_Worksheet::unmergeCellsByColumnAndRow | ( | $pColumn1 = 0, |
|
$pRow1 = 1, |
|||
$pColumn2 = 0, |
|||
$pRow2 = 1 |
|||
| ) |
Remove merge on a cell range by using numeric cell coordinates.
| int | $pColumn1 | Numeric column coordinate of the first cell |
| int | $pRow1 | Numeric row coordinate of the first cell |
| int | $pColumn2 | Numeric column coordinate of the last cell |
| int | $pRow2 | Numeric row coordinate of the last cell |
| Exception |
Definition at line 1498 of file Worksheet.php.
References PHPExcel_Cell\stringFromColumnIndex(), and unmergeCells().
Here is the call graph for this function:| PHPExcel_Worksheet::unprotectCells | ( | $pRange = 'A1' | ) |
Remove protection on a cell range.
| string | $pRange | Cell (e.g. A1) or cell range (e.g. A1:E1) |
| Exception |
Definition at line 1574 of file Worksheet.php.
Referenced by unprotectCellsByColumnAndRow().
Here is the caller graph for this function:| PHPExcel_Worksheet::unprotectCellsByColumnAndRow | ( | $pColumn1 = 0, |
|
$pRow1 = 1, |
|||
$pColumn2 = 0, |
|||
$pRow2 = 1, |
|||
$pPassword = '', |
|||
$pAlreadyHashed = false |
|||
| ) |
Remove protection on a cell range by using numeric cell coordinates.
| int | $pColumn1 | Numeric column coordinate of the first cell |
| int | $pRow1 | Numeric row coordinate of the first cell |
| int | $pColumn2 | Numeric column coordinate of the last cell |
| int | $pRow2 | Numeric row coordinate of the last cell |
| string | $pPassword | Password to unlock the protection |
| boolean | $pAlreadyHashed | If the password has already been hashed, set this to true |
| Exception |
Definition at line 1599 of file Worksheet.php.
References PHPExcel_Cell\stringFromColumnIndex(), and unprotectCells().
Here is the call graph for this function:
|
private |
Definition at line 256 of file Worksheet.php.
Referenced by getActiveCell().
|
private |
Definition at line 200 of file Worksheet.php.
Referenced by getAutoFilter().
|
private |
Definition at line 179 of file Worksheet.php.
Referenced by getBreaks().
|
private |
Definition at line 270 of file Worksheet.php.
Referenced by getHighestColumn().
|
private |
Definition at line 277 of file Worksheet.php.
Referenced by getHighestRow().
|
private |
Definition at line 67 of file Worksheet.php.
Referenced by __clone(), and getCellCacheController().
|
private |
Definition at line 172 of file Worksheet.php.
|
private |
Definition at line 88 of file Worksheet.php.
Referenced by getColumnDimensions().
|
private |
Definition at line 249 of file Worksheet.php.
Referenced by getComments().
|
private |
Definition at line 165 of file Worksheet.php.
Referenced by getConditionalStylesCollection().
|
private |
Definition at line 298 of file Worksheet.php.
Referenced by getDataValidationCollection().
|
private |
Definition at line 95 of file Worksheet.php.
Referenced by getDefaultColumnDimension().
|
private |
Definition at line 81 of file Worksheet.php.
Referenced by getDefaultRowDimension().
|
private |
Definition at line 312 of file Worksheet.php.
|
private |
Definition at line 102 of file Worksheet.php.
Referenced by __clone(), and getDrawingCollection().
|
private |
Definition at line 207 of file Worksheet.php.
Referenced by getFreezePane().
|
private |
Definition at line 319 of file Worksheet.php.
Referenced by getHashCode().
|
private |
Definition at line 137 of file Worksheet.php.
Referenced by getHeaderFooter().
|
private |
Definition at line 291 of file Worksheet.php.
Referenced by getHyperlinkCollection().
|
staticprivate |
Definition at line 53 of file Worksheet.php.
Referenced by getInvalidCharacters().
|
private |
Definition at line 186 of file Worksheet.php.
Referenced by getMergeCells().
|
private |
Definition at line 130 of file Worksheet.php.
Referenced by getPageMargins().
|
private |
Definition at line 123 of file Worksheet.php.
Referenced by getPageSetup().
|
private |
Definition at line 60 of file Worksheet.php.
Referenced by duplicateStyle(), and getParent().
|
private |
Definition at line 221 of file Worksheet.php.
Referenced by getPrintGridlines().
|
private |
Definition at line 193 of file Worksheet.php.
Referenced by getProtectedCells().
|
private |
Definition at line 151 of file Worksheet.php.
Referenced by getProtection().
|
private |
Definition at line 284 of file Worksheet.php.
Referenced by getRightToLeft().
|
private |
Definition at line 74 of file Worksheet.php.
Referenced by getRowDimensions().
|
private |
Definition at line 263 of file Worksheet.php.
Referenced by getSelectedCells().
|
private |
Definition at line 116 of file Worksheet.php.
Referenced by getSheetState().
|
private |
Definition at line 144 of file Worksheet.php.
Referenced by getSheetView().
|
private |
Definition at line 214 of file Worksheet.php.
Referenced by getShowGridlines().
|
private |
Definition at line 228 of file Worksheet.php.
Referenced by getShowRowColHeaders().
|
private |
Definition at line 235 of file Worksheet.php.
Referenced by getShowSummaryBelow().
|
private |
Definition at line 242 of file Worksheet.php.
Referenced by getShowSummaryRight().
|
private |
Definition at line 158 of file Worksheet.php.
Referenced by getStyles().
|
private |
Definition at line 305 of file Worksheet.php.
Referenced by getTabColor().
|
private |
Definition at line 109 of file Worksheet.php.
Referenced by getTitle().
| const PHPExcel_Worksheet::BREAK_COLUMN = 2 |
Definition at line 41 of file Worksheet.php.
Referenced by PHPExcel_Reader_Excel5\_readVerticalPageBreaks(), PHPExcel_Writer_Excel2007_Worksheet\_writeBreaks(), PHPExcel_Writer_Excel5_Worksheet\_writeBreaks(), and PHPExcel_Reader_Excel2007\load().
| const PHPExcel_Worksheet::BREAK_NONE = 0 |
Definition at line 39 of file Worksheet.php.
Referenced by PHPExcel_Writer_Excel5_Worksheet\_writeBreaks(), and PHPExcel_ReferenceHelper\insertNewBefore().
| const PHPExcel_Worksheet::BREAK_ROW = 1 |
Definition at line 40 of file Worksheet.php.
Referenced by PHPExcel_Reader_Excel5\_readHorizontalPageBreaks(), PHPExcel_Writer_Excel2007_Worksheet\_writeBreaks(), PHPExcel_Writer_Excel5_Worksheet\_writeBreaks(), and PHPExcel_Reader_Excel2007\load().
| const PHPExcel_Worksheet::SHEETSTATE_HIDDEN = 'hidden' |
Definition at line 45 of file Worksheet.php.
Referenced by PHPExcel_Reader_Excel5\_readSheet().
| const PHPExcel_Worksheet::SHEETSTATE_VERYHIDDEN = 'veryHidden' |
Definition at line 46 of file Worksheet.php.
Referenced by PHPExcel_Reader_Excel5\_readSheet().
| const PHPExcel_Worksheet::SHEETSTATE_VISIBLE = 'visible' |
Definition at line 44 of file Worksheet.php.
Referenced by __construct(), and PHPExcel_Reader_Excel5\_readSheet().