msword

How to improve performance of opening Microsoft Word when automated from C#?

I have Microsoft Word template that I automated filling it's fields from my application, and when the user requests to print I open this template. But creating the Word application every time a user requests to print after filling fields is very expensive and can lead to some delay while opening the template. So I choose to cache the re...

Merge Microsoft Word documents with TortoiseSVN

TortoiseSVN has a nice VBA script that allows to merge Microsoft Word documents using Word builtin change tracking functionality. This way, when I merge changes from a branch into the trunk I can resolve the conflicts in Word documents. However, the feature is not as useful as it could because it doesn't track revision changes; it just ...

how to insert image into word document using java

how to insert image into word document using java ...

How can you edit a word document with Java

How can you edit a word document with Java? ...

How can I move the cursor to the end of the insertion? After using ActiveDocument.Range.InsertAfter()

I am inserting into a word doc using the WordApp.ActiveDocument.Range.InsertAfter(). However after I do this the cursor is in the front position of the insertion. I have tried Insert After and Insert Before? I have tried to copy to the clipboard and just paste but using this adds a #13 to the paste and I dont want that. I just want the...

VSTO MS Word 2003 add-in causes error "Word experienced a serious error the last time the add-in 'XYZ' was opened"

An add-in we make is causing the above problem on a Windows 2003 server, without any obvious cause. Both Word and the add-in appear to work correctly yet the message comes up and Word wants to disable the add-in. I have run with VSTO_SUPPRESSDISPLAYALERTS=0 and no messages come up. On my machine (XP) the problem does not occur. Any sug...

Remove MailMerge data source via OpenXML

I have some code that uses Open XML to open up a .docx file, find all MailMerge fields, and replace them with data (ignoring the datasource that may have been provided). I initially tested this against a document created in Office 2007 and it seemed to work great. We then created one in 2003 based off an Excel spreadsheet data source ...

how could i know that the user clicked File->Save in word document using .NET?

How could I know that the user clicked File Save in word document using .NET? If user make any action in word document then i can know what this event in my program that made using c#. ...

How to build form completion/document merge application with Winforms or WPF?

I need to build an application that accepts user input data (such as name, address, amount, etc.) and then merges it with a pre-loaded document template (order form) and then prints this merged document. I can use Windows Forms or WPF for this project. Any suggestions on how best to approach this? I'm experienced with Winforms develop...

How do I efficiently extract the text from an MS Word document on Android?

How do I extract the text of an MS Word document on an Android device? I could use this: http://poi.apache.org/overview.html. However, the jar is 12MB which is unreasonable for Android apps which are usually less than 1MB. ...

Multiline code in Word 2007

I am using word 2007 and am inserting code into the document. I have a style with a fixed-width font and light grey background and all, and I use Notepad++ for syntax highlighting. My problem is with a "line" of code that is too long to display, so is there a way to auto-insert an arrow symbol at the beginning of a such lines to indicat...

How do you stream an Excel 2007 or Word 2007 file using asp.net and c#

I'm working on a web app and need to stream various files. I can do pdfs, images, and older Office documents. However, when I try to do with 2007 documents, it breaks. Here is my code: Response.Buffer = true; Response.Clear(); Response.ClearContent(); Response.ClearHeaders(); switch (FileExtension.ToLower()) {...

Convert XPS to Word in Java

I want to convert XPS to Word documents in Java. Can you help with the site or code to do this? ...

any lib / api for filling in the field in microsft doc ?

Hi, I got a document that need to be filled in (it was in microsoft word doc), I have no idea how to filled in / integrated with my current web apps. is there any good java api / lib that could be used ? preferrably the free one. here is the example of doc that need to be filled in. http://drop.io/callmeblessed/asset/debt-agremeent-c...

jQuery prevent paste to iframe designmode from MS Word

I've seen some questions on catching the paste event. This looks helpful. But I want to prevent paste on a designmode iframe from happening when the pasted content is not plaintext, but comes from MS Word or other WYSIWYG editor. What is Your experience on that? I suppose I should catch the event (bind to iframe or to its body?) and lo...

How to parse out MS Word formatting?

I have a rich html textbox on my asp.net mvc application. The rich html textbox is some jquery plugin that I use and has basic stuff like bold,underline and etc. Now I am anticipating that people will maybe write something in word and then copy and paste it into my textbox. However I limit the number of characters a person can have. Th...

Launch Documents To Go app from third party Blackberry App

I was wondering if it's possible to open doc, xls, pdf, etc files using the "Documents To Go" app from a third party blackberry app. ...

How to get file name by its unique id?

I have unique id of a MSword file.I want to know the name of this word file and location,where this file is stored by this unique id. Thanks in advance ...

OpenXML SDK How to position an image in MS Word ?

I did insert an image using the OpenXML SDK API .. however i can not figure out how to position the image to appear on any part of the page (probably using anything similar to (x,y) co-ordinates)? ...

When developing a Microsoft Office Add-In (for Word), is it possible to store hidden metadata information that is tied to a specific Table or Cell within a Word document?

I am trying to store metadata (basically a unique id) along with each cell of a table in a Word document. Currently, for the add-in I'm developing, I am querying the database, and building a table inside the Word document using the data that is retrieved. I want to be able to save any of the user's edits to the document, and persist it...