docx files have a complex internal structure. It is nearly impossible to do this.
But you can get it as text, modify and then save a pdf.
https://stackoverflow.com/questions/38751495/create-a-word-document-swift
Once you're done, don't forget to close your thread by marking the correct answer.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: