Hello JakubMitura-4240,
Thanks for the ask and using the Microsoft Q&A platform .
This is a great question and let me be honest here . I have not implemented anything like this , but when i think I believe we need to use the API for Google docs or Word to achieve what you are trying to use . There is no out of the box solution when I found ( inline with what you mentioned ) .
I could like to point you to python-docx here . I did tried a basic python to create a *.docx and it worked . Since Adb does support Python , I think you should explore more on this .
from docx import Document
from docx.shared import Inches
def WriteADoc():
print(f'Hi, {name}') # Press Ctrl+F8 to toggle the breakpoint.
document = Document()
document.add_heading('Document Title', 0)
document.save('demo.docx')
if __name__ == '__main__':
WriteADoc()
Please do let me know how it goes .
Thanks
Himanshu
Please do consider to click on "Accept Answer" and "Up-vote" on the post that helps you, as it can be beneficial to other community members