PhilGale92 / docx

PHP Based Docx Parser
MIT License
38 stars 19 forks source link

How to get the image position in docx? #47

Closed PeanutHull closed 7 years ago

PeanutHull commented 7 years ago

in the Docx.class.php. image

PhilGale92 commented 7 years ago

The images are positioned by replacing out the w:drawing nodes. The assets array you found is just where the parser grabs images from the reps.xml file, so it can inject then in later on.

See Node.Class.php line 540.

On 27 Mar 2017 09:32, "peanut" notifications@github.com wrote:

in the Docx.class.php. [image: image] https://cloud.githubusercontent.com/assets/16012516/24347393/bf7c54c8-130a-11e7-8115-1a0ea706bedd.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PhilGale92/docx/issues/47, or mute the thread https://github.com/notifications/unsubscribe-auth/ACuG-_Zu8yKbhc_dlCI9CZiTzhIE40mJks5rp3Q4gaJpZM4Mp8a_ .