Is there a way to convert multiple text files to docx with notepad++ ?
-
hello, Is there any plugin or python script that can run in notepad++ as to convert several text files to docx?
-
Unless someone here knows otherwise, in a word, no. Check this description and realize that NPP is a Text Editor, not a word processor.
Open with Word, Word Online, Google Docs, or some other word processor.
And:
What Is a DOCX File? A file with the DOCX file extension is a Microsoft Word Open XML Format Document file. DOCX files are used for everything from resumes and cover letters to reports, flyers, documentation, invitations, newsletters, and more. These files usually contain text but can also include objects, styles, rich formatting, and images.
https://www.lifewire.com/docx-file-2620750
Just so there is no question, this is a screenshot of NPP opening a .docx file. It’s binary:
-
@Lycan-Thrope AFAIK a docx is a zip of a number of xml files. The xml’s can be handled by Npp, but first they must be unzipped from the docx.
-
@Paul-Wormer said in Is there a way to convert multiple text files to docx with notepad++ ?:
The xml’s can be handled by Npp, but first they must be unzipped from the docx.
I think the OP is asking about going the other way.
-
@Alan-Kilborn The other way is: zip xml’s. (I must add: I’ve never tried it, I read about it). See https://pypi.org/project/docx-mailmerge/
-
@Paul-Wormer said in Is there a way to convert multiple text files to docx with notepad++ ?:
The other way is: zip xml’s.
Well, the other way might be to figure out what xmls to create, before zipping…
The presumption here is that user just has free-form .txt files, right?