mirror of
https://github.com/shuchkin/simplexlsxgen.git
synced 2023-08-10 21:12:59 +03:00
1.0.13
This commit is contained in:
parent
6ece83f9ce
commit
8bfbe078db
@ -1,5 +1,10 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 1.0.13 (2021-05-29)
|
||||||
|
|
||||||
|
* Fixed hyperlinks in several sheets
|
||||||
|
* Added [Opencollective donation link](https://opencollective.com/simplexlsx)
|
||||||
|
|
||||||
## 1.0.12 (2021-05-19)
|
## 1.0.12 (2021-05-19)
|
||||||
|
|
||||||
* Fixed hyperlink regex
|
* Fixed hyperlink regex
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
# SimpleXLSXGen class 1.0.11 (Official)
|
# SimpleXLSXGen
|
||||||
[<img src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fshieldsio-patreon.herokuapp.com%2Fshuchkin" />](https://www.patreon.com/shuchkin) [<img src="https://img.shields.io/github/license/shuchkin/simplexlsxgen" />](https://github.com/shuchkin/simplexlsxgen/blob/master/license.md) [<img src="https://img.shields.io/github/stars/shuchkin/simplexlsxgen" />](https://github.com/shuchkin/simplexlsxgen/stargazers) [<img src="https://img.shields.io/github/forks/shuchkin/simplexlsxgen" />](https://github.com/shuchkin/simplexlsxgen/network) [<img src="https://img.shields.io/github/issues/shuchkin/simplexlsxgen" />](https://github.com/shuchkin/simplexlsxgen/issues)
|
[<img src="https://img.shields.io/github/license/shuchkin/simplexlsxgen" />](https://github.com/shuchkin/simplexlsxgen/blob/master/license.md) [<img src="https://img.shields.io/github/stars/shuchkin/simplexlsxgen" />](https://github.com/shuchkin/simplexlsxgen/stargazers) [<img src="https://img.shields.io/github/forks/shuchkin/simplexlsxgen" />](https://github.com/shuchkin/simplexlsxgen/network) [<img src="https://img.shields.io/github/issues/shuchkin/simplexlsxgen" />](https://github.com/shuchkin/simplexlsxgen/issues)
|
||||||
|
|
||||||
Export data to Excel XLSX file. PHP XLSX generator. No external tools and libraries.<br/>
|
Export data to Excel XLSX file. PHP XLSX generator. No external tools and libraries.<br/>
|
||||||
(!) XLSX reader [here](https://github.com/shuchkin/simplexlsx).
|
(!) XLSX reader [here](https://github.com/shuchkin/simplexlsx).
|
||||||
|
|
||||||
**Sergey Shuchkin** <sergey.shuchkin@gmail.com> 2020-2021<br/>
|
**Sergey Shuchkin** <sergey.shuchkin@gmail.com> 2020-2021<br/>
|
||||||
|
|
||||||
*Hey, bro, please ★ the package for my motivation :)*
|
*Hey, bro, please ★ the package for my motivation :) and [donate](https://opencollective.com/simplexlsx) for more motivation!*
|
||||||
|
|
||||||
## Basic Usage
|
## Basic Usage
|
||||||
```php
|
```php
|
||||||
|
@ -245,9 +245,9 @@ class SimpleXLSXGen {
|
|||||||
}
|
}
|
||||||
$xml = null;
|
$xml = null;
|
||||||
} elseif ( $cfilename === 'xl/worksheets/_rels/sheet1.xml.rels' ) {
|
} elseif ( $cfilename === 'xl/worksheets/_rels/sheet1.xml.rels' ) {
|
||||||
$RH = [];
|
|
||||||
foreach ( $this->sheets as $k => $v ) {
|
foreach ( $this->sheets as $k => $v ) {
|
||||||
if ( count($v['hyperlinks'])) {
|
if ( count($v['hyperlinks'])) {
|
||||||
|
$RH = [];
|
||||||
$filename = 'xl/worksheets/_rels/sheet' . ( $k + 1 ) . '.xml.rels';
|
$filename = 'xl/worksheets/_rels/sheet' . ( $k + 1 ) . '.xml.rels';
|
||||||
foreach ( $v['hyperlinks'] as $h ) {
|
foreach ( $v['hyperlinks'] as $h ) {
|
||||||
$RH[] = '<Relationship Id="' . $h['ID'] . '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="' . $h['H'] . '" TargetMode="External"/>';
|
$RH[] = '<Relationship Id="' . $h['ID'] . '" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="' . $h['H'] . '" TargetMode="External"/>';
|
||||||
|
Loading…
Reference in New Issue
Block a user