docx Questions

1

My requirement is to convert a word file(docx) to a pdf file in the client side before sending the file to the server. I have already found solutions to implement this using c# and nodejs, but it ...
Boutte asked 17/10, 2017 at 5:57

3

Solved

I have project about transforming Word DOCX XML (OOXML) files to HTML format. I use XML Spy and XSLT, XPath, XML for this transformation. Imagine a single Word file that I write a program in XSLT...
Etem asked 21/3, 2017 at 13:37

9

Solved

I have this following code for bringing page attachments to the user: private void GetFile(string package, string filename) { var stream = new MemoryStream(); try { using (ZipFile zip = ZipFi...
Comatulid asked 19/3, 2010 at 13:21

1

Solved

I have a lot of docx files to be converted to pdf. Converting them one by one takes long time. So I write a python scripts to convert them in parallel: from subprocess import Popen import time impo...
Trickster asked 20/3, 2021 at 8:24

2

Solved

Now I want to implement a functionality to add QR code image at the first page of an existing docx file in nodejs. I've tried these three methods but not able to solve. I tried with docx package, ...
Donettedoney asked 17/3, 2021 at 8:43

6

When using knitr and rmarkdown together to create a word document you can use an existing document to style the output. For example in my yaml header: output: word_document: reference_docx: st...
Curr asked 7/6, 2016 at 6:20

2

Solved

I tried reading a .doc file like - with open('file.doc', errors='ignore') as f: text = f.read() It did read that file but with huge junk, I can't remove that junk as I don't know from where it...
Kaela asked 7/8, 2018 at 12:49

2

Solved

I have spent a good amount of time trying to determine what is going wrong exactly, with the code I am using to convert pdf to docx (and doc to docx) using LibreOffice. I have used both the windows...
Ideality asked 9/4, 2018 at 18:18

2

I have method on Node js Return Word document , i want pass parameter called file type to convert this word document to PDF. the output from buf var it file like below PK ! ߤ�l [Content_Types]....
Existentialism asked 3/12, 2018 at 1:6

1

Issue: Converting docx to pdf using DOCX4J. Issues is content of docx not getting converted page by page to pdf documents. Few lines are get of page 2 is appearing in page 1 of pdf. pom.xml: <...
Philosophism asked 14/5, 2020 at 18:53

1

Solved

I have stored many files in the doc format which I can only open with libreoffice on my mac. The command: ./soffice --headless --convert-to docx --outdir /home/user ~/Downloads/*.doc does exactly...
Shcherbakov asked 20/12, 2020 at 14:44

3

Solved

I'm using this method for generating docx file: public static void CreateDocument(string documentFileName, string text) { using (WordprocessingDocument wordDoc = WordprocessingDocument.Create(do...
Escutcheon asked 11/5, 2016 at 6:20

0

I am using apache POI to change the styling of data in docx file. I am able to change the text styles on normal paragraphs but when it comes to the content that is present in table, it does not cha...
Mozarab asked 11/12, 2020 at 6:17

2

Solved

I have a word/docx file which has equations as under images I want read data of file word/docx and save to my database and when need I can get data from database and show on my html page I used a...
Limy asked 25/6, 2017 at 17:15

5

Solved

I was wondering if there is a way to avoid newline characters inside a for in a docx template with jinja. The code is as follows: {% for customer in customers %} {% for account in customer.account...
Thomsen asked 16/8, 2017 at 16:48

8

Solved

I'm trying to use the python-docx module to replace a word in a file and save the new file with the caveat that the new file must have exactly the same formatting as the old file, but with the word...
Tanyatanzania asked 25/7, 2013 at 6:3

3

Solved

I read the first byte to differentiate file types but both PDF and DOCX has a "0x50" magic number. How do I handle this circumstance?
Manichaeism asked 24/8, 2015 at 9:18

1

I'm working through Automate the Boring Stuff with Python, Chapter 13, and can't figure out how to get the python-docx module working. When I try to import it ImportError: cannot import name 'etree...
Sinhalese asked 16/11, 2019 at 15:56

1

Solved

I am using the library Apache-POI for my app. Specifically, POIshadow-all (ver. 3.17) for reading a Word document. I am successfully extracting every paragraph as follows: what I actually need is ...
Wingfield asked 13/9, 2020 at 21:39

3

I need to set the outer border of a Apache POI XWPFTable table. I know the below command set insade border, but do not find way for setting outer border. table.setInsideHBorder( XWPFBorderType.SIN...
Sahaptin asked 4/12, 2015 at 16:28

2

Solved

I am searching for a JavaScript library, which can read .doc - and .docx - files. The focus is only on the text content. I am not interested in pictures, formulas or other special structures in MS-...
Bout asked 22/6, 2017 at 12:1

9

I would like to know how can I read the contents of a doc or docx. I'm using a Linux VPS and PHP, but if there is a simpler solution using other language, please let me know, as long as it works un...
Skiffle asked 4/4, 2011 at 15:39

2

Solved

Please clarify the my doubt WordML/DOCX Default Unit Measurement is pixel or point or EMU or inches.. ?
Counsellor asked 16/1, 2013 at 14:3

3

The code snippet below basically creates a table with the required number of rows and columns in a new word document i.e 2 columns and 14 rows. It then adds the content to the rows and columns acco...
Leilani asked 10/6, 2016 at 21:10

1

Solved

I often need to export many (> 1000) .docx documents to PDF with LibreOffice. Here is a sample document: test.docx. The following code works but it's quite slow on Windows (3.3 seconds on average f...
Tubate asked 26/4, 2020 at 20:30

© 2022 - 2024 — McMap. All rights reserved.