Questions tagged [.doc]

A file extension for word processing documents; most commonly for Microsoft Word.

"doc" (an abbreviation of 'document') is a file extension for word processing documents; most commonly for Microsoft Word. Historically, the extension was used for documentation in plain-text format, particularly of programs or computer hardware, on a wide range of operating systems.

This document format has been superseded by the "docx" format as of Microsoft Word 2007 going forward.

155 questions
0
votes
2 answers

I can't open .doc files from my browser on my website

I can't open .doc files from my browser on my website (PHP). Rather my 404 page opens. Could it be my htaccess settings?
0
votes
1 answer

Insert piece of .doc .docx file to another by using the Apache POI HWPF or XWPF

Can somebody help me to integrate some MS Word document to another. I can open, edit and save, but only with one MS Word document. My simple code only creates, edits and saves .docx: import java.io.FileOutputStream; import…
user3090771
  • 9
  • 1
  • 2
0
votes
2 answers

Use Powershell to find SSN's in Word and Excell Documents

I am very noob to Powershell and have small amounts of Linux bash scripting experience. I have been looking for a way to get a list of files that have Social Security Numbers on a server. I found this in my research and it performed exactly as I…
Stephen Cochran
  • 691
  • 5
  • 5
0
votes
0 answers

loading .doc .docx file into flex component from javascript which is called from flex actionscript

I can load a pdf file into a flex component by calling the following javascript from actionscript: document.getElementById("pdfFrame").innerHTML = " "; I pass this function…
user2860516
  • 31
  • 1
  • 4
0
votes
1 answer

Export PHP page to .doc

I'm having a problem with it when I tried it. It just load the php page but doesn't give me a download of .doc Here is my code from the first page to get request to export to MSWord Thank you so much!!
blademaster
  • 101
  • 1
  • 5
  • 11
0
votes
1 answer

How to read(import) text from a .doc file using NPOI for .net

I am trying to do something so simple but I can not find a way for doing it.I have viewed the NPOI site few times but they have all kind of problem solvings except mine.I just want to load a .doc(MS Office Word 97-2003) document and get its text and…
user2128702
  • 2,059
  • 2
  • 29
  • 74
0
votes
2 answers

How to read Images in the .doc file

How to read images in the ms-office .doc file using Apache poi? I have tried with the following code but it is not working. try { POIFSFileSystem fs = new POIFSFileSystem(new FileInputStream("C:\\DATASTORE\\ImageDocument.doc")); Document…
nagesh
  • 307
  • 2
  • 10
  • 22
0
votes
1 answer

Read .doc file content and write into pdf file in java

I'm writing a java code that utilizes Apache-poi to read ms-office .doc file and itext jar API's to create and write into pdf file. I have done reading texts and tables printed in the .doc file. Now i'm looking for a solution that reads images…
nagesh
  • 307
  • 2
  • 10
  • 22
0
votes
1 answer

Lucene 4.2.0 index pdf

I am using example source code from the Lucene 4.2.0 demo API: http://lucene.apache.org/core/4_2_0/demo/overview-summary.html I run IndexFiles.java to create an index from a directory of rtf, pdf, doc, and docx files. I then run SearcFiles.java and…
Brian
  • 7,098
  • 15
  • 56
  • 73
0
votes
1 answer

A way to edit (read / write text) an existing .doc (MS Word) file with C++ in Windows?

everyone. I have to make a application in C++ that is capable of reading plain text from an existing .doc or .docx file (MS Word) in Windows, then create a new .doc or .docx file and write that plain text onto it. Actually, I have to encrypt the…
omar
  • 61
  • 2
  • 4
0
votes
1 answer

Generating the report in .doc format using PHP using data queried from MySQL DB hosted on Linux

I need to export the queried data from MySQL db running on Linux platform to .doc and other formats (.e.g PDF). For this I need a class like FPDF with good documentation. Already tried to explore a couple of classes like PHPWord, MsDocGenerator et…
0
votes
2 answers

download .doc files from .csv containing urls, then batch convert them to plain text

I have a .csv file containing a column with URLs of .doc files, I need to save all of these files and then batch convert these .doc files to .text locally, with the aim of eventually writing some code to add the text contained in these files back to…
gedwin
  • 41
  • 4
0
votes
1 answer

Unix-merging multiple file types in multiple folders into one pdf

I have a parent folder with around 30 subfolders which each contain pdfs,.doc,.docx, and .jpg files. I need to combine all files into one large pdf. I want the order in which the files are appended into the 'master pdf' to reflect my current folder…
Elizabeth
  • 6,391
  • 17
  • 62
  • 90
0
votes
1 answer

VBA to open .doc in "Recover text from any file" mode

I am trying to convert many old .DOC files to either PDF format or RTF format. Thus far I have found one that accomplishes the latter (conversion to RTF), however the formatting from the old Word application is still present in the documents. If you…
0
votes
1 answer

Some HWPF POI document building examples

I'm looking for examples of building non-trivial Word (97-2003) documents with POI. I already reached to create one with "Hello World": package com.mygroup.myapp.poi.word; import java.io.File; import java.io.FileNotFoundException; import…
Marc de Verdelhan
  • 2,501
  • 3
  • 21
  • 40