I think maybe this doesn’t have to bother dataview.
Obsidian’s own “export to PDF” take from the .markdown-preview-view and the @media print section of css styling. So technically, if the export take the html from .markdown-preview-view, instead of the original markdown file, and convert that to docx then it should work?