Category "docx"

POI XWPF insert content from another docx in a bookmark

APACHE POI XWPF problem: in a main .docx document I have a cell with a bookmark: <w:bookmarkStart w:id="8" w:name="PAR_1"/> <w:r> <w:

I want to convert base64 string of a Word doc to a base64 string of PDF in JavaScript/Angular 9

I am using the docx library to generate a Word document (.docx) on the client side (Angular 9). I also want to be able to save the file as a pdf. I can get a ba

Mass Find & Replace including subfolders

I don't really know VBA but have had some success with manipulating code in the past. I'm getting stuck with this one, where I tried to mix 2 different ideas in

Apache poi get table from text box

I'm using apache poi for iteration table in docx file. All works fine but if table in text box, my code don't see table - table.size() = 0 XWPFDocument doc =

Python docx2pdf AttributeError: Open.SaveAs

I am trying to convert a docx file to pdf using the docx2pdf library, using the following code: from docx2pdf import convert convert("generated.docx") As writ

how to add (.PNG) image in (.docx) created file

from pathlib import Path from docxtpl import DocxTemplate import datetime import PySimpleGUI as sg document_path = Path(__file__).parent / "Simple_file_locatio

Unzipping a .docx file using zipfile library

I am trying write an application gets information from a table in a word docx file in order to do some analysis on it by putting turning it into a pandas DataFr

Downloading a docx file via react.js

Hi i have been trying to download a word file via react.js but when i press submit and it downloades it cant open the word file. The console.logs looks complete

I want to convert .docx to .dotx

I have populated some mail merge fields in a .docx file and now I want my script to convert the saved .docx file to a .dotx file. I am using Python 3.6. from _

How to process a string as a file to contruct a ZipFile object?

I am currently pulling data from a database with blobs. I retrieve the blob from the database, but I need to parse the text. the ZipFile class takes in files no

python-docx get tables from paragraph

I have .docx file with many paragraphs and tables like: par1 table1 table2 table3 par2 table1 table2 2.1 par21 table1 table2 I need to iterate all objects