Is it possible to extract lines from a .docx document?

Is it possible to extract lines from a .docx document?

I don’t mean the lines as created by the user when pressing ‘n’, I mean the lines in the .docx as they appear when opening the file (i.e., the soft text wrapping).

My preference would be doing this in Python (I am aware of the .docx Python library but I don’t think it does the trick). However, any programming language is welcome as long as it provides me with what I want.

Thanks a lot!