-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added xml reader hyperlink support #223
Conversation
Tests and changelog are missing, so it can't be merge yet. |
added unit test and change log
@PowerKiKi Hello, this branch seems out of time with GreatHumorist:develop918_1, but there is just one line conflict, the code I have tested in local and it works, please help me resolve the conflict, thx. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -549,7 +549,9 @@ | |||
<Data ss:Type="String">AE</Data> | |||
</Cell> | |||
<Cell ss:StyleID="ce5"/> | |||
<Cell ss:StyleID="ce5"/> | |||
<Cell ss:StyleID="ce5" ss:HRef="http://www.phpexcel.net/"> | |||
<Data ss:Type="String">PHPExcel</Data> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not use "PHPExel" anymore, but instead "http://www.example.com" and "My website" or something similar.
protected function loadXEETestFile() | ||
{ | ||
if (!$this->spreadsheetXEETest) { | ||
$filename = __DIR__ . '/../../../samples/templates/Excel2003XMLTest.xml'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because we chdir(__DIR__);
in tests/bootstrap.php
, you can simplify this line with:
$filename = '../samples/templates/Excel2003XMLTest.xml';
|
||
// Load into this instance | ||
$reader = new Xml(); | ||
$this->spreadsheetXEETest = $reader->loadIntoExisting($filename, new Spreadsheet()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not just $reader->load($filename)
?
@PowerKiKi updated |
This is:
Checklist:
What does it change?
Add XML Reader hyperlink support so that we can use link for the cell.