Questions tagged as 'microsoft-word'

1
answer

Open word file through .jar

I have a .jar calculator that works perfectly! My doubts are: In the menu I have the "Source Code" button and I would like, when clicking, to open a Word document with the source code of the program. I managed to accomplish this task but only on...
asked by 15.05.2014 / 19:40
1
answer

Read Word file without losing formatting

How to read a Word file without losing its formatting? Situation: The client wants to upload a Word file and save it all into the database as text (for future searches and similar). Note: Using PHP only.     
asked by 11.04.2014 / 03:34
0
answers

MICROSOFT.OFFICE.INTEROP.WORD - Object reference not set to an instance of an object

I'minneedofhelpwiththisproblemusingMicrosoft.Office.Interop.Word.Detail:runningtheapplicationinvisualstudioitworksnormally,withnoerror,however,ifIplayinIIS,itappearsthiserror.Beforeit,IhadproblemwithCOMpermission,Ichangedthepermissionsandnowthis...
asked by 27.04.2015 / 17:23
1
answer

Update MemoryStream when replacing BookMark

I'm doing a RESTFUL service in C # that has a byte array of a WORD document, and in that document I need to replace the existing bookmarks with text that are also passed in the method. Problem : When replacing bookmarks with the appr...
asked by 23.10.2014 / 19:44
1
answer

PrintOut from Microsoft.Office.Interop.word.dll only performs document printing with 1 page

Good morning everyone. I am using lib Microsof.Office.Interop.Word.dll to print a word document. When the document has only one page, printing works normally. The problem is when you have more than one page, it does not work. No error or...
asked by 31.01.2017 / 12:39
2
answers

Force text download in MSWord-supported format with PHP?

I would like to know how to force the download of a file, with some extension supported by Microsoft Word p> I've searched a few times, tested the MIME types I found, like the ones in this Microsoft's list , but I did not succeed. This...
asked by 11.09.2015 / 07:13
0
answers

Insert image inside an existing table in a word document

I have hundreds of documents and need to add a logo inside an existing table. I'm using spire.doc, does anyone have a light to give me? Console.WriteLine("Digite o nome: "); String nome = Console.ReadLine(); //Console.W...
asked by 30.01.2015 / 19:40