Merge pull request #1498 from Garrcomm/fix-sharepoint
Fix loading of Sharepoint document
This commit is contained in:
commit
78ffbff0c1
|
|
@ -10,6 +10,7 @@ v0.16.0 (xx xxx 2018)
|
||||||
### Fixed
|
### Fixed
|
||||||
- Fix regex in `cloneBlock` function @nicoder #1269
|
- Fix regex in `cloneBlock` function @nicoder #1269
|
||||||
- HTML Title Writer loses text when Title contains a TextRun instead a string. @begnini #1436
|
- HTML Title Writer loses text when Title contains a TextRun instead a string. @begnini #1436
|
||||||
|
- Fix loading of Sharepoint document @Garrcomm #1498
|
||||||
- RTF writer: Round getPageSizeW and getPageSizeH to avoid decimals @Patrick64 #1493
|
- RTF writer: Round getPageSizeW and getPageSizeH to avoid decimals @Patrick64 #1493
|
||||||
- Fix parsing of Office 365 documents @Timanx #1485
|
- Fix parsing of Office 365 documents @Timanx #1485
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -62,6 +62,9 @@ class Word2007 extends AbstractReader implements ReaderInterface
|
||||||
foreach ($steps as $step) {
|
foreach ($steps as $step) {
|
||||||
$stepPart = $step['stepPart'];
|
$stepPart = $step['stepPart'];
|
||||||
$stepItems = $step['stepItems'];
|
$stepItems = $step['stepItems'];
|
||||||
|
if (!isset($relationships[$stepPart])) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
foreach ($relationships[$stepPart] as $relItem) {
|
foreach ($relationships[$stepPart] as $relItem) {
|
||||||
$relType = $relItem['type'];
|
$relType = $relItem['type'];
|
||||||
if (isset($stepItems[$relType])) {
|
if (isset($stepItems[$relType])) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue