Questions tagged [doc]

Questions about the old Microsoft Word file format and how to use it.

The "doc" format is a proprietary file format used by Microsoft as their main file format for text documents from the 1980s till 2007. With the release of Word 2007 "docx" is the main file format.

All Questions about the older (pre .docx) Wordfiles should use this tag. Questions about .docx files can use this tag, but should use "docx" primarily. Questions about .odf .txt .rdf should not use this tag.

Wikipedia about "doc" http://en.wikipedia.org/wiki/DOC_%28computing%29

Decrypted file format: http://sc.openoffice.org/compdocfileformat.pdf

851 questions
21
votes
2 answers

PHP Convert Word file to HTML without losing styling and images

Is there an API for converting word files to HTML without losing the format? Can the google documents API be used for this? I tried saaspose but the returning result is always a server error. Solutions that did not work for me: Converting MS Word…
Herr
  • 2,725
  • 3
  • 30
  • 36
21
votes
4 answers

Parse Microsoft Office files in Node.JS

I'm working on a web application where users can upload Microsoft Office Document files. Right now, our server is running Node.JS with Express.js and we're hosted on Heroku. Because of this, I don't think that I can install programs such as abiword…
arknave
  • 603
  • 1
  • 6
  • 16
20
votes
2 answers

How can i convert html to word docx in python?

import pypandoc output = pypandoc.convert_file('file.html', 'docx', outputfile="file1.docx") assert output == "" It is generating new docx file but ignoring styles. Can any one tell me how to generate new docx file with styles? Thanks in advance…
Jayasri Tanneru
  • 301
  • 1
  • 2
  • 7
20
votes
3 answers

Advice for learning Linux x86-64 assembly & documentation

Does anyone have documentation pertaining to learning the fundamentals of Linux x86-64 assembly? I'm not sure whether or not to learn it as is, or to learn x86 first, and learn it later, but being as I have an x86-64 computer and not an x86, I was…
grabber
  • 209
  • 1
  • 2
  • 4
20
votes
6 answers

Android how to open a .doc extension file?

Is there any possible way to open a .doc extension file?
Narendra
  • 1,868
  • 6
  • 25
  • 39
19
votes
6 answers

iTextSharp - Convert word doc/docx to pdf

I understand iTextSharp can be used for converting a document to pdf. But first we have to create a document from scratch using iTextSharp.text.Document and then adding elements to this document. What if I have an existing doc file, is it possible…
inutan
  • 10,558
  • 27
  • 84
  • 126
18
votes
4 answers

Generating word documents with PHP

Do you know any way to generate doc and docx files with PHP and without COM component? I've tried PHPWord, which creates docx files, but these cannot be opened in OpenOffice because they cause it to crash. I've also tried PHPDocx, but it didn't…
EL_W
  • 181
  • 1
  • 1
  • 3
17
votes
4 answers

how to share odt/doc documents over git

The idea is that I want to share and track documents over git I thought about using Text Documents (markdown docs that look like docx,odt in functionality) that can be edited with any text editor (not binary). Where to find something like this? any…
MhdSyrwan
  • 1,613
  • 3
  • 19
  • 26
17
votes
8 answers

How to avoid java.lang.NoSuchMethodError: org.apache.poi.util.IOUtils.copy(Ljava/io/InputStream;Ljava/io/OutputStream;) in Apache POI

I have a code for adding watermark to existing .doc file. The following is the code I have tried so far public static void main(String[] args) { try { XWPFDocument xDoc = new XWPFDocument(new FileInputStream("test.doc")); …
Avinash Mishra
  • 1,346
  • 3
  • 21
  • 41
16
votes
3 answers

How can we open files like ppt, doc, pps, rtf, etc. in Android?

Are there classses in Android that can open different kind of files like pps, ppt, docs, rtf, etc.? Please provide links.
user493244
  • 909
  • 7
  • 19
16
votes
9 answers

Extract text from doc and docx

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 under a linux webserver.
Alexandre Mota
  • 169
  • 1
  • 1
  • 4
15
votes
4 answers

What's the difference between Pod resources.limits and resources.requests in Kubernetes?

I've been reading the kubernetes documentation https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#resource-requests-and-limits-of-pod-and-container But it's still not clear for me what's the difference between…
Hernan Garcia
  • 1,416
  • 1
  • 13
  • 24
15
votes
6 answers

How does the .doc format work?

I recently learned about the basic structure of the .docx file (it's a specially structured zip archive). However, docx is not formated like a doc. How does a doc file work? What is the file format, structure, etc?
stalepretzel
  • 15,543
  • 22
  • 76
  • 91
13
votes
11 answers

Convert Word doc or docx files into text files?

I need a way to convert .doc or .docx extensions to .txt without installing anything. I also don't want to have to manually open Word to do this obviously. As long as it's running on auto. I was thinking that either Perl or VBA could do the trick,…
CheeseConQueso
  • 5,831
  • 29
  • 93
  • 126
12
votes
7 answers

Reading or Converting word .doc files iOS

How are other apps on iOS able to read and write word docs? I see some other questions related to this and accepted answers are along the lines of "it can't be done." I don't want to just display a word doc, I want to read it along with its…
casey
  • 1,118
  • 1
  • 13
  • 25
1
2
3
56 57