docx Questions

1

Solved

Goal I have several thousand Khmer-language .docx files and would like to convert them to .pdf format using Pandoc. Background I installed Pandoc using MacPorts. Pandoc requires LaTeX for PDF c...
Lighting asked 4/3, 2020 at 22:10

8

I need to use C# programatically to append several preexisting docx files into a single, long docx file - including special markups like bullets and images. Header and footer information will be st...
Braces asked 29/10, 2008 at 17:22

4

I have docx document with some placeholders. Now I should replace them with other content and save new docx document. I started with docx4j and found this method: public static List<Object> ...
Cambodia asked 30/10, 2013 at 7:30

1

What I have as input: docx document raw bytes in byte64 format. What I am trying to achieve: extract text from this document for further processing. I tried to follow this answer: extracting text f...
Bratcher asked 6/2, 2020 at 11:8

7

Solved

I've been playing around with git and hg lately and then suddenly it occurred to me that this kind of thing will be great for documents. I've a document which I edit in DOCX and export as PDF. I tr...
Tadpole asked 21/7, 2010 at 11:6

1

Solved

I'm generating docx files using the Open XML SDK for .NET The bullets in my lists are super tiny but I can't figure out why. So here's what I've done: Generating a doc with a single bulleted ite...
Clapp asked 9/1, 2020 at 16:46

1

Solved

The files are saved in a Drive folder. I need to send the text content of all .docx file as an API payload. I've tried using Blob but to no avail. Is there a way to get this done?
Girosol asked 18/12, 2019 at 10:11

2

Solved

This is the code client-side, it's a minimum, complete and verifiable snippet that will allow fellow developers to test this by themselves. // requires: a string that contains html tags // return...
Kistna asked 5/12, 2019 at 18:28

3

I don't know if is possible to add an image in a template with PHPWord using TemplateProcessor. I have a document (form.docx). This document is a template. I read the fields (${name} for example) ...
Sandrocottus asked 10/3, 2015 at 10:16

1

Solved

I've spent countless hours trying to understand ordered lists in Open XML. Here's one of many references. I found this incredibly helpful example of a simple document creator here. Also if I may ...
Berglund asked 28/11, 2019 at 17:25

7

I need to use DOCX files (actually the XML contained in them) in a Java software I'm currently developing, but some people in my company still use the DOC format. Do you know if there is a way to ...
Vandyke asked 12/7, 2011 at 13:14

4

Solved

I need to create an app which makes auto-generated CVs from fields. I need to convert them in PDF/HTML/DOC, but there are many gems available. Which gem do you think is the most appropriate in ord...
Katowice asked 2/6, 2015 at 8:14

0

I am using pandoc 2.7.2 to generate a docx from markdown. The target docx format relies on funny indentation depths. Thus, I am using a hand-crafted reference.docx, which works just fine for most p...
Endanger asked 20/9, 2019 at 8:34

2

I am using the RStudio, knitr, pandoc, MS Word combo to get my final results in a docx document. Occasionally, I would like the report to continue on a new page. I can't find the way to achieve t...
Bandeen asked 10/4, 2013 at 22:29

10

I have to convert docx file format (which is in openXML format) into JSON format. I need some guidelines to do it. Thanks in advance.
Palomino asked 25/2, 2011 at 4:44

1

Solved

I am trying to add two images in docx file. Images should be one left side one right side. After using this below code the image position is working like left and right as I want but they are not o...
Prehensible asked 5/8, 2019 at 15:43

5

Solved

I am using OpenXML to insert an image into my document. The code provided by Microsoft works, but makes the image much smaller: public static void InsertAPicture(string document, string fileName) ...
Villalba asked 10/11, 2011 at 16:36

5

I am trying to convert docx to pdf using unoconv, but getting Error: Unable to connect or start own listener. Aborting. when I run unoconv -f pdf 1234.docx. So, there must be some listener. I then...
Ecchymosis asked 13/2, 2012 at 11:48

1

Solved

For the purposes of unit testing, I want to check that the XML produced for a Word paragraph is what I expect when I parse an HTML paragraph. How do I extract the XML itself instead of writing to ...
Norrisnorrv asked 29/5, 2019 at 9:18

2

I am trying to read doc and docx files. here is the code: static String distination="E:\\ static String docFileName="Requirements.docx"; public static void main(String[] args) throws FileNotF...
Eellike asked 12/7, 2013 at 14:22

2

Solved

We have written a piece of software that processes XML out of a Word document's internal XML files, and replaces certain codes with replacement values. Sometimes we find that such codes are broken ...
Acidimeter asked 4/3, 2019 at 15:18

3

I try out creating Word documents with python-docx. The created file is in letter dimensions 8.5 x 11 inches. But in Germany the standard format is A4 8.27 x 11.69 inches. from docx import Documen...
Embodiment asked 1/5, 2017 at 18:6

2

I am trying to automatically open a Word Document in Python. I am very new to programming and I heard this site helped people who had trouble with it. I have looked at various questions and ...
Signify asked 14/1, 2019 at 16:29

4

I am creating .docx files from a template using PHPWord. It works fine but now I want to convert the generated file to PDF. First I tried using tcpdf in combination with PHPWord $wordPdf = \PhpOf...
Footbridge asked 12/10, 2015 at 14:53

2

Solved

Using docx, I am trying to define for a run multiple attributes. When I set color, rtl, it works fine. But when I add also font size, it is ignored. If I set only font size, it works fine. This wo...
Glossectomy asked 11/11, 2018 at 8:25

© 2022 - 2024 — McMap. All rights reserved.