mwilliamson / python-mammoth

Convert Word documents (.docx files) to HTML
BSD 2-Clause "Simplified" License
810 stars 121 forks source link

Is it possible to get the element's location(left, right, top, bottom) information? #99

Closed we29758143 closed 3 years ago

we29758143 commented 3 years ago

Is it possible that we can transfer docx to html in the same layout? Not to say to the exact position, but at least in the relative position layout.

Or is it possible that we can get the boundary value(left, right, top, bottom) of each tag<>?

mwilliamson commented 3 years ago

I'm afraid not -- this isn't really the use case for Mammoth.