Skip to content

Conversation

@begnini
Copy link
Contributor

@begnini begnini commented Jan 6, 2020

Description

Word2007 Reader didn't read images where pictures was between wp:anchor, accepction only with wp:inline.

The OpenOffice XML docs says:

The XML for placement of the picture (e.g., whether it is inline [wp:inline] or anchored [wp:anchor]) is within the wordprocessing drawingML namespace: xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing".

Improved tests to be capable of read images from docs generated by AbstractTestReader::getDocumentFromString

Checklist:

  • I have run composer run-script check --timeout=0 and no errors were reported
  • The new code is covered by unit tests (check build/coverage for coverage report)
  • I have updated the documentation to describe the changes

@begnini
Copy link
Contributor Author

begnini commented Jan 6, 2020

This solves the same problem pointed by PR #1794. The difference between the PRs is the tests I added.

@coveralls
Copy link

coveralls commented Jan 6, 2020

Coverage Status

Coverage increased (+0.009%) to 94.642% when pulling 6e463bb on begnini:better_image_reader into 733f845 on PHPOffice:develop.

@PowerKiKi PowerKiKi changed the base branch from develop to master November 16, 2022 21:11
@Progi1984 Progi1984 force-pushed the master branch 3 times, most recently from 2d9f999 to e458249 Compare August 30, 2023 11:56
@begnini begnini closed this Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants