Questions tagged [doc]

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

doc
Filter by
Sorted by
Tagged with
0 votes
1 answer
654 views

Getting strange character translations using unoconv to convert from docx/doc to pdf

I am using unoconv (https://github.com/dagwieers/unoconv) to convert DOCX and DOC file to PDF, but will often get strange results on certain characters when they are rendered in the PDF. One ...
rkp333's user avatar
  • 371
0 votes
1 answer
885 views

Generated entities by doctrine for User Interface seems wrong in symfony2

I went through the documentation an wanted to add my own User provider (just for understanding the hole thing) Class just called Account and no User So i did it like the documentation said: http://...
mipapo's user avatar
  • 175
0 votes
1 answer
100 views

Django server stops during for loop

In my Django app I need to extract some data from files which could be around 500 in number and only of formats .doc and/or .docx. I've written the following filenames=os.listdir(fpath) for file1 in ...
akki5256's user avatar
0 votes
1 answer
1k views

Upload word document or pdf to mysql database using c#

Is it possible to upload .docx, .pdf files to mysql database using c#? I searched a lot but all i found was ways to upload image files, If there is a way that could help please let me know thanks P.S ...
amateur programmer's user avatar
0 votes
1 answer
341 views

Running foreach loop powershell

I'm having a difficult time getting this to work. This script will ask for the location for the GAM.exe, and then the location of a CSV. Then it should run a foreach loop executing GAM with the said ...
John's user avatar
  • 15
0 votes
2 answers
2k views

Batch converting doc and docx files to txt with utf-8 encoding for middle east languages

I have around 7k files written in Persian with Microsoft word in doc/docx format. I want to convert all of them to txt format without loosing any of them for a php web application. I'm aware of many ...
Lost Koder's user avatar
0 votes
2 answers
2k views

How to open Doc or Pdf extension file inside app

I am working on a app where there is need to open (.xls/.xlsx/.doc/.docx/.pdf) extension inside the app . Please tell me is this feasible? . How we can open these all indie app?
Conrad Media's user avatar
0 votes
2 answers
163 views

Convert DOC to PDF, Error: "Does not contain a static 'Main' method suitable for an entry point"

I was trying to use this code to convert doc file to pdf. I get this error "Does not contain a static 'Main' method suitable for an entry point" I'm not sure what is wrong with this code. Thank you ...
user3727778's user avatar
0 votes
1 answer
368 views

Space length limitation

I have a word document file which is a form. I try to complete it. Here is a screenshot of how it is looks like When I type in the grey box there is a limitation in length and when I reach it, it ...
user avatar
0 votes
1 answer
68 views

How to update keywords metadata in DOC

I am trying to update keyword in metadata of a DOC file. I've been able to update the category metadata with the code below but I don't see any methods for changing keywords I'm using poi:3.10-FINAL ...
Josh's user avatar
  • 43
0 votes
2 answers
2k views

From .rtf to .doc(or docx) in PHP [closed]

I'm trying to convert a .rtf file to a .doc or .docx file, in PHP. But I wonder if this is even possible in PHP. Does anybody know if this even possible?
Ruub's user avatar
  • 619
0 votes
1 answer
1k views

PHP to DOC - CSS and images not being applied in doc file

I am creating doc file with the help of PHP. doc.php: <?php header("Content-type: application/vnd.ms-word"); header("Content-Disposition: attachment;Filename=document_name.doc"); echo "<html&...
user2999294's user avatar
0 votes
1 answer
557 views

Any ways to open Office(.doc,.ppt,.xls etc.) and PDF files in Windows Phone 8.1 application?

I am developing a Windows Phone 8.1 Viewer application.I need to open Office files such as .ppt,.xls,.doc etc and pdf files.I got pdf support from ComponentOne,but for Office types I did't get any ...
vITs's user avatar
  • 1,651
0 votes
2 answers
429 views

Run Exe from ActionResult

I'm trying to convert a doc to html and this is the code I use. The problem is that I have no exception but I did not create the file. I've tried various alternatives but do not know how to proceed. ...
RDM's user avatar
  • 13
0 votes
1 answer
609 views

Programatically Converting Doc to Docx bug

I am trying to convert all the .doc documents in a server to a .docx format in order to modify them programatically using Java. I am not very adept at C#, but I was able to find this program and ...
Alan W's user avatar
  • 291
0 votes
2 answers
3k views

pass values from java variables to microsoft word (doc and docx) variables

How can i replace a microsoft word document variable value with a value from a java variable ? I have a .doc or .docx file template in which i have defined some variables. When user click on ...
Stefan's user avatar
  • 322
0 votes
1 answer
116 views

Best method to search in huge word files

I had word files online about 5000 files , I need to search in all files about any keywords for example : "Human Resource " . So I created function to read word files , but my problem I guess ...
Ahmad Samilo's user avatar
0 votes
1 answer
410 views

C#, .docx file, SQL

I've build myself a small Windows Form App in C# to help manage my customers. It deals with a local SQL Database, fetches info in it, updates and adds as well. I'M all done with the bug testing and ...
Karen's user avatar
  • 3
0 votes
3 answers
1k views

convert doc to docx without using New-Object -COM "Word.Application"

I would like to know if there is any option to convert doc files to docx. I try to use New-Object -COM "Word.Application" but there is many edge cases like files with password, opens file, files that ...
Doron's user avatar
  • 45
0 votes
1 answer
2k views

setMinimumFractionDigits(..) detail. NumberFormat class

Directly from this java api setMinimumFractionDigits public void setMinimumFractionDigits(int newValue) Sets the minimum number of digits allowed in the fraction portion of a number. ...
Rollerball's user avatar
  • 12.9k
0 votes
1 answer
2k views

How to read a Word Doc in C# so that it displays as if it was opened in Notepad

I am trying to read a Word Doc in C#, and then display the result in a textbox. But I don't want to read just the text, but instead read the whole file, special characters included. I need it to ...
bigcat42's user avatar
  • 247
0 votes
2 answers
244 views

Image not rendered in .doc file

I have a template that have some images one from file system and other are from project images folder. Images in the template that are coming from the images folder of my grails application is shown ...
MKB's user avatar
  • 7,589
0 votes
1 answer
223 views

How to change duplicate rows to unique values in mysql databse

I have a database table with about 1M records. I need to find all duplicate names in this table and make them unique. Id Name 1 A 2 A 3 B 4 C 5 C Should be changed to... Id Name ...
yogesh's user avatar
  • 1
0 votes
1 answer
3k views

VB macro in excel to save an active doc to PDF with name from a Cell

I'm new to the forum and I'm happy to be part of it. I've been having this specific problem for about three weeks now. What I'm trying to do is to create a macro that automates a function for me. I ...
Laurence Ruela Guimaraes's user avatar
0 votes
1 answer
2k views

Docx/Pdf/etc and WebView

How I can laod doc/docx/pdf and xls files into WebView? I tried to use loadData(myBase64, "mime type for example application/pdf", "base64), I tried to use loadUrl("file///...") - no effect. Or how ...
monyag's user avatar
  • 810
0 votes
2 answers
6k views

Uploading doc & docx file in php not working

I have a code which is uploading two files(image & text) in two different folders. $file_path = "users/".$uname."/dp/"; $file_path2 = "users/".$uname."/resume/"; $q=...
KAsh's user avatar
  • 304
0 votes
3 answers
11k views

Batch converting doc/docx to pdf using Javascript

I'm working on a Java program that programmatically converts .doc- and .docx-files to pdf. I've tested several different ways to convert .doc- and .docx-files to pdf such as using several open source ...
Yannick De Turck's user avatar
0 votes
1 answer
120 views

Schema definition for MS Office and PDF documents

Our project involves parsing documents with structured content where user has to upload the schema of the documents that are coming in. Till now we have dealt only with XML so this was fine. But now ...
rajesh's user avatar
  • 3,357
0 votes
1 answer
342 views

Clean HTML from Word documents

Ok, so my company has a client that has an interface for posting content - standard MySQL database, PHP-based, etc. Anyway, they've continually had an intern or someone, post content to this ...
Steven Matthews's user avatar
0 votes
2 answers
1k views

Doc and image file not opening in android

I am trying to open files using intent action but i can't for pdf and image files For image all application going to crash (including gallery app) For doc/docx i am using office suite but gives ...
Swapnil Deshmukh's user avatar
0 votes
1 answer
69 views

Library which provides plain text access / iteration in multiple common document formats?

I'm interested to find a library for NLP/text processing purposes which presents a common interface for accessing text in the most common text formats: Microsoft Word .doc and possibly .docx RTF HTML ...
hippietrail's user avatar
  • 16.5k
0 votes
1 answer
306 views

Add image to doc file

I am trying to implement a requirement from client. The main thing is the client will provide me an image, I have to resize it and add it to a doc file. Then he wan to add a custom text 'on' the image[...
arjuncc's user avatar
  • 3,267
0 votes
2 answers
799 views

why Array Index Out Of Bound Exception while re arranging doc file paragraph?

Here is a code snippet. Its giving arrayindexoutofboundexception. dont know why ? import java.io.File; import java.io.FileInputStream; import org.apache.poi.hwpf.HWPFDocument; import org.apache.poi....
ARNAB2012's user avatar
  • 296
0 votes
1 answer
1k views

how to convert doc file and pdf file to image file?

What is the best open source java api for converting of doc and pdf file into any image file? Any suggestion will be appreciated.
ARNAB2012's user avatar
  • 296
0 votes
1 answer
775 views

unable to display .doc from server

I'm trying to load documents into my app for display and this works if they're stored locally but not from the server. I'm testing with MAMP. Here's my viewDidLoad method: - (void)viewDidLoad { [...
Robert's user avatar
  • 5,306
0 votes
1 answer
212 views

How netty's html-style user guide doc generated?

I am reading The Netty Project 3.x User Guide and wondering how the doc generated, markdown or something else?
Yaguo Zhou's user avatar
0 votes
1 answer
15k views

Print PDF file and Doc file using C#

In my application I'm trying to create a function to print existing PDFs or Doc. How can I do this in C# and provide a mechanism so the user can select a different printer or other properties. I've ...
Jeff Bootsholz's user avatar
0 votes
1 answer
490 views

How to enable the write permission on web directory?

I am writing an application which is daemon. It operates on a web-directory which is inside the inetpub/wwwroot/daemon_Folder. It will change the files there. The problem is that the folder manages to ...
prabhakaran's user avatar
  • 5,208
0 votes
1 answer
607 views

Android xml parsing missing tags

I am trying to parse a xml file using dom parser. The xml fles contains lots of missing tags. What i want to do is that , if i get any missing tag( like in example below 2nd artist tag do not contain ...
ZealDeveloper's user avatar
0 votes
3 answers
1k views

Generating DOC (and DOCX) templates using Python or Java with absolute positioned boxes

For a web-to-print we need to generate a .doc (Microsoft Word 2003+) compatible templates/documents where we need to position some data inside the document (basically we need to auto-generated letter ...
user avatar
0 votes
1 answer
217 views

How do you generate PDF/HTML/DOC in .NET?

Currently, we are producing reports by means of ABCPdf that transforms HTML to PDFs. Now we need to generate DOCs as well. That is pretty close to reporting. We've tried to replace ABCPdf with ...
Evgenyt's user avatar
  • 10.5k
0 votes
1 answer
383 views

doc file from asp.net / vb with header

I would like to create a doc file (MS Word 2003) from a page asp.net / vb (dotnet 1.1) that contains a header and footer. I have managed to create the doc but how to set a header and a footer? Is ...
mehdouch's user avatar
  • 443
0 votes
1 answer
702 views

footer is reapeating in body in last page

i am generating a word doc. but in the last page footer is displaying in body and footer. i am using the code given bellow <apex:page standardController="opportunity" extensions="...
user989184's user avatar
0 votes
1 answer
1k views

PHP: antiword and uploaded file

I'm creating some code that will upload the contents of a word document to a server, extract its text, and insert it into a database. exec("PATH=$PATH:/home1/myserver/bin && antiword " . ...
Fernando Valente's user avatar
0 votes
1 answer
908 views

microsoft word xml line spacing

this is a sample paragraph for Word 2003 XML. The problem is, how do I format it as double line spacing? Thanks in advance! <w:p> <w:r> <w:t>Paragraph is here.</w:t&...
Shah Erhan's user avatar
0 votes
1 answer
914 views

File previewers for PDF and Docx

I would like to have a preview of a .pdf, .docx or .doc file inside a JDialog. But I'm unable to find previewers that allow nesting of such previews inside a Swing application. Alternatively are there ...
Daniel Fath's user avatar
  • 17.4k
0 votes
2 answers
1k views

Doc editor in JSP

I'm developing a web application which has the need of a powerful .doc editor. The user has to select a document template (normally a .doc file) filled with placeholders, and through some macros fill ...
Andrea's user avatar
  • 336
0 votes
1 answer
606 views

Is there currently a way to get Emacs muse-mode to output rtf,odt or doc format?

Muse is a special mode in emacs that can be used as a wiki. It has multiple output formats like static HTML pages, LaTeX, PDF etc. But sometimes I need to output something that less tech-savvy people ...
ayckoster's user avatar
  • 6,787
0 votes
1 answer
200 views

Mysites like page that lists all doc libraries across all SharePoint sites?

We'd like to create a web page that will list all Document libraries across all sharePoint Sites for the user currently accessing the page. We'd also like to offer a all site search for the user. That ...
Hell.Bent's user avatar
  • 1,667
0 votes
1 answer
2k views

Print document without open the dialog box in C#

I have created a scheduler that print number of document in a day, i want to print these document silently(without opening the printer), Can any one help me how to print document in c# without ...
Prabhakar's user avatar

1
9 10
11
12 13
17