Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CREDITS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
Ilia Alshanetsky
Jan Ehrhardt
Darren Odden
Xavier Perseguers
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
[2024-??-??] - Version 1.1.0dev
* Added new methods (requires LibXL 3.7.0)
- ExcelSheet::writeFormula()
- ExcelSheet::setTabRgbColor()

[2018-??-??] - Version 1.0.3dev
* Fixed crash when trying to read an empty file
* Fixed bug with writing references (see issue #234)
Expand Down
166 changes: 84 additions & 82 deletions docs/ExcelAutoFilter.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
+---------------------------------------------------------------------------+
| ExcelAutoFilter |
Expand All @@ -11,97 +12,98 @@
| |
+---------------------------------------------------------------------------+
*/

class ExcelAutoFilter
{
/**
* Create a AutoFilter within an Excel sheet
*
* @see ExcelSheet::autofilter()
* @param ExcelSheet $sheet
* @return ExcelAutoFilter
*/
public function __construct(ExcelSheet $sheet)
{
} // __construct
/**
* Create a AutoFilter within an Excel sheet
*
* @param ExcelSheet $sheet
* @return ExcelAutoFilter
* @see ExcelSheet::autofilter()
*/
public function __construct(ExcelSheet $sheet)
{
} // __construct

/**
* Gets the cell range of AutoFilter with header.
*
* @return array with keys "row_first"(int), "row_last"(int), "col_first"(int), "col_last"(int)
*/
public function getRef()
{
} // getRef
/**
* Gets the cell range of AutoFilter with header.
*
* @return array with keys "row_first"(int), "row_last"(int), "col_first"(int), "col_last"(int)
*/
public function getRef()
{
} // getRef

/**
* Sets the cell range of AutoFilter with header.
*
* @param int $row_first 0-based (optional, default = 0)
* @param int $row_last 0-based (optional, default = 0)
* @param int $col_first 0-based (optional, default = 0)
* @param int $col_last 0-based (optional, default = 0)
* @return void
*/
public function setRef($row_first = 0, $row_last = 0, $col_first = 0, $col_last = 0)
{
} // setRef
/**
* Sets the cell range of AutoFilter with header.
*
* @param int $row_first 0-based (optional, default = 0)
* @param int $row_last 0-based (optional, default = 0)
* @param int $col_first 0-based (optional, default = 0)
* @param int $col_last 0-based (optional, default = 0)
* @return void
*/
public function setRef($row_first = 0, $row_last = 0, $col_first = 0, $col_last = 0)
{
} // setRef

/**
* Returns the AutoFilter column by zero-based index. Creates it if it doesn't exist.
*
* @param int $colId 0-based
* @return ExcelFilterColumn
*/
public function column($colId)
{
} // column
/**
* Returns the AutoFilter column by zero-based index. Creates it if it doesn't exist.
*
* @param int $colId 0-based
* @return ExcelFilterColumn
*/
public function column($colId)
{
} // column

/**
* Returns the number of specified AutoFilter columns which have a filter information.
*
* @return int
*/
public function columnSize()
{
} // columnSize
/**
* Returns the number of specified AutoFilter columns which have a filter information.
*
* @return int
*/
public function columnSize()
{
} // columnSize

/**
* Returns the specified AutoFilter column which have a filter information by index.
*
* @param int $index 0-based
* @return ExcelFilterColumn
*/
public function columnByIndex($index)
{
} // columnByIndex
/**
* Returns the specified AutoFilter column which have a filter information by index.
*
* @param int $index 0-based
* @return ExcelFilterColumn
*/
public function columnByIndex($index)
{
} // columnByIndex

/**
* Gets the whole range of data to sort.
*
* @return array with keys "row_first"(int), "col_first"(int), "row_last"(int), "col_last"(int)
*/
public function getSortRange()
{
} // getSortRange
/**
* Gets the whole range of data to sort.
*
* @return array with keys "row_first"(int), "col_first"(int), "row_last"(int), "col_last"(int)
*/
public function getSortRange()
{
} // getSortRange

/**
* Gets the zero-based index of sorted column in AutoFilter and its sort order.
*
* @return array with keys "column_index"(int), "descending"(bool),
*/
public function getSort()
{
} // getSort
/**
* Gets the zero-based index of sorted column in AutoFilter and its sort order.
*
* @return array with keys "column_index"(int), "descending"(bool),
*/
public function getSort()
{
} // getSort

/**
* Sets the sorted column in AutoFilter by zero-based index and its sort order.
*
* @param int $columnIndex 0-based
* @param bool $descending
* @return bool
*/
public function setSort($columnIndex, $descending)
{
} // setSort
/**
* Sets the sorted column in AutoFilter by zero-based index and its sort order.
*
* @param int $columnIndex 0-based
* @param bool $descending
* @return bool
*/
public function setSort($columnIndex, $descending)
{
} // setSort

} // end ExcelAutoFilter
Loading