docx Questions

7

Solved

I know there are similar questions out there, but I couldn't find something that would answer my prayers. What I need is a way to access certain data from MS-Word files and save it in an XML file. ...
Characharabanc asked 31/3, 2014 at 7:57

8

I want to open a .docx file with function Document(). But it always returns: docx.opc.exceptions.PackageNotFoundError: Package not found at '/home/chaomaer/PycharmProjects/demo/lab1/book1.docx' H...
Anglosaxon asked 24/4, 2017 at 2:20

3

Solved

I've looked up several SO and other web pages but I haven't found anything that works. The script I wrote, opens a docx, changes some words and then saves it in a certain folder as a docx. However,...
Dwarf asked 19/6, 2020 at 12:3

4

Solved

I am trying to create a program in python that can find a specific word in a .docx file and return page number that it occurred on. So far, in looking through the python-docx documentation I have b...
Cloakanddagger asked 24/3, 2016 at 4:11

4

I have a React app and I want to export some html content to word document and download it. for example: <div> Hello World!!!</div> <input type="button" onClick={exportToWord()}/&gt...
Ruralize asked 12/12, 2019 at 11:33

8

Solved

How to convert a pdf file to docx. Is there a way of doing this using python? I've saw some pages that allow user to upload PDF and returns a DOC file, like PdfToWord Thanks in advance
Ultracentrifuge asked 14/10, 2014 at 10:16

3

Solved

I am using python docx library to manipulate a word document. However I can't find how to align a line to the center in the documents page of that library. I can't find by google either. from doc...
Gravedigger asked 4/6, 2014 at 6:59

6

I'm trying to find a way to convert a PDF file to a .docx file with Python. I have seen other posts related with this, but none of them seem to work correctly in my case. I'm using specifically imp...
Lennon asked 22/4, 2018 at 12:21

3

Solved

Using C#, is there a good way to find and replace a text string in a docx file without having word installed on that machine?
Ailis asked 30/7, 2010 at 22:26

3

Solved

Problem statement: Extract sections from .docx file including autonumbering. I tried python-docx to extract text from .docx file but it excludes the autonumbering. from docx import Document do...
Exam asked 30/8, 2018 at 9:59

3

Is there a way where I can read a word file (.docx) via Node JS which has placeholders like {text1} / {image1} and replace those with the real ones. I have tried couple of npm modules where in I wa...
Stefaniestefano asked 28/9, 2020 at 7:6

5

Solved

I'm trying to automate the creation of .docx files (WordML) with the help of python-docx (https://github.com/mikemaccana/python-docx). My current script creates the ToC manually with following loop...
Antares asked 3/9, 2013 at 15:17

4

How can I convert a document (docx) to PDF format using PHP Laravel? Before converting this, I'm using PHPWord for set variables, and after that, I want to save it or convert it to PDF.
Meeting asked 28/12, 2016 at 8:41

5

I am trying to read one file in java, following is the code : public void readFile(String fileName){ try { BufferedReader reader= new BufferedReader(new FileReader(fileName)); String line=nul...
Lavella asked 22/5, 2013 at 3:20

3

Solved

How can I parse word documents ".doc", ".docx" to get all the text using golang?
Marseillaise asked 22/10, 2016 at 19:52

0

I am trying to do a placeholders replacement in .DOCX with Apache POI using the MergeField method. I am aware of the problem with splitting the text into different XWPFRun, so I chose the mentioned...
Tomtoma asked 24/5, 2023 at 9:51

5

Solved

I'm dealing with a problem trying to develop a web-app, part of which converts uploaded docx files to pdf files (after some processing). With python-docx and other methods, I do not require a windo...
Hoxsie asked 22/6, 2018 at 6:39

3

As the title above. Now I am making an electron app that has function is show content of a docx file which includes words and images. Do anyone know a nodejs library to do that?
Benzyl asked 26/4, 2019 at 10:3

5

Solved

Anyone know of anything they can recommend in order to extract just the plain text from an article with in .docx format (preferable with R) ? Speed isn't crucial, and we could even use a website t...
Foppery asked 20/5, 2018 at 21:48

10

I am using python 2.7 with docx and I would like to change the background and text color of cells in my table based on condition. I could not find any usefull resources about single cell formattin...
Distinctly asked 5/11, 2014 at 8:46

3

I have been looking for some time now, and I decided to try some crowd sourcing. I have searched (Googled) the answer and looked through Stack Overflow for some time now, and I cannot find a prope...
Oulu asked 19/12, 2013 at 13:22

4

Solved

I'm a teacher. I want a list of all the students who commented on the essay I assigned, and what they said. The Drive API stuff was too challenging for me, but I figured I could download them as a ...
Lanai asked 20/11, 2017 at 11:26

5

Solved

Using the OpenXML SDK, 2.0 CTP, I am trying to programmatically create a Word document. In my document I have to insert a bulleted list, an some of the elements of the list must be underlined. How ...
Donatist asked 21/12, 2009 at 15:57

3

Solved

Hi i am facing a docx type validation problem. I tried $validator = Validator::make($request->all(), [ 'resume' => 'mimes:doc,pdf,docx' ]); It will upload pdf file with no error but whe...
Discriminator asked 30/11, 2015 at 7:59

5

Solved

I want to open / read docx file using client side technologies (HTML/JS). I have found a Javascript library named docx.js but personally cannot seem to locate any documentation for it. (http://blog...
Chesterton asked 10/2, 2015 at 19:27

© 2022 - 2024 — McMap. All rights reserved.