msword

Do you know a way to generate Microsoft Word documents using Sphinx?

Sphinx supports a few output formats: HTML separated files (with html or dirhtml) Latex which is useful for creating .pdf or .ps text Instead I would like to obtain a Microsoft Word file. With other doc generator I managed generating the single html output and then converting it to the Microsoft Word format using the Word applicatio...

HTML text into microsoft word document bookmark

Hi there, I have a small web rich text editor that have some features like bolb, italic, and so on... The text generated is html, and I would like to insert that text inside a word document bookmarks. Putting the text into the bookmarks is not a problem. However, I have problems because of the text format (with the bolds for example)....

MS Word is evil! Is there a good alternative?

As a developer I really don't like writing documentation but when I have to I'd like to make the process as painless as possible. The problem with Word is that it constantly gets in my way. I worry more about the layout than about the actual content ... that's why I'd like to get rid of Word. Ideally I'd like to write my content and th...

Embed MS Word as editor (like in Outlook)

In Outlook you can use Word as your editor for emails (not sure what the situation is in Office 2007, but you can in 2003) Is it possible for me to replicate this in my own app? I've seen an article mentioning using the Web Browser component, opening a .doc file and turning on the right toolbars but I'm not sure if this is the right way...

VSTO 2007: how do I determine the page and paragraph number of a Range?

I'm building an MS Word add-in that has to gather all comment balloons from a document and summarize them in a list. My result will be a list of ReviewItem classes containing the Comment itself, the paragraph number and the page number on which the commented text resides. Part of my code looks like this: private static List<Review...

Dragging text from a Word document to a Java text component?

When you drag a block of text from a Word document into a Java text component, the text is removed from the Word document. This is obviously undesirable in some cases. Is there a way I can prevent Word from removing the text, while still copying it into the Java text component? ...

Read undo history in VBA

I have a fairly simple bit of VBA in Word 2003 that changes the document's font to an 'eco font' (long story), and brings up the Print dialog. When a user hits Cancel or OK, the code does an 'undo' to revert the change. The problem is, sometimes when I press "OK" to print the document, two actions need to be undone ('font change', and ...

how to compare 2 ms word document with org.eclipse.compare api and java.

hi I want to compare 2 ms word document, after searching lot I found 2 ways we can do this. 1) compare with docx4j api. 2) compare with org.eclipse.compare api. with docx4j we can compare only 2 paragraph and it will works only with .docx extention. so I feel like if we can compare docs with eclips compare api than it will be better...

Compare and merge 2 MS Word documents with Java and OpenOffice API?

How do I compare and merge 2 MS Word documents with Java and the OpenOffice API? I just want to conform that is it possible to compare 2 MS Word documents with the OpenOffice API. ...

How do I access some sort of OnLoad event in Word 2007 VBA?

Hello, I am trying to have some code fire when the document is first loaded, but there are two problems. First, I don't know which method to call to get something to fire when the document is first opened. Second, if they have macros disabled, how can I be sure that it gets called when they are enabled? Thanks! ...

Have mail merge prompt for value

I am setting up a Microsoft Word mail merge for a client. The datasource is a view created in a SQL 2005 database. I would like to restrict the records by date for any given run of the mail merge, is there a way to have MS Word prompt for the date at some point; either when opening the data source or starting the merge? Thank you, Br...

Replacing Microsoft Word Newline Character in Python

This feels like it should be an easy one, but I'm having trouble cleaning out the newline character in content pasted from Microsoft Word. Not a full line-break, but the CTRL ENTER character that shows up as a return arrow in Word. I've tried chr(10), chr(13), \u000D, \u000A and a few others, but I can't match it in a string.replace(). S...

Check MSWord is Installed in system.

Exact Duplicate: C#: How to know whether certain Office 2003 or 2007 application is installed? How to check if MSWord 2003 0r 2007 is installed in the system using C# code? ...

Document template engine

I need to choose a good template engine to generate documents in our application. The requirements are: Generate Microsoft Word and PDF at least Good templating capabilities including support for simple replacable parameters, arrays/lists, and hierarchies if possible Allow to include custom graphics Ideally templates should be editable...

Check word template file.

How can I check a word template file. It can be checked using the extension .dot or .dotx. But if the user changed a .txt to .dot. How could it identified?? ...

How can i convert a MS Word 2003 document into HTML in C# ?

I'd like to extract the content of a MS Word 2003 document into HTML in C#. Any ideas? ...

Change checkbox(Activex control) in word 2007

In word 2007, I'm trying to use the default activex control as check box. I would like the color of text changed after some one check the box it. I know how to get it done with VBA and checkbox formfield, but how can this be done with checkbox(active control)? Shortly, is there any way I can retrieve the properties or other object info...

How to disable shadowcopy for VSTO version 3?

According to this http://blogs.msdn.com/vsod/archive/2008/11/01/office-customization-creates-loads-dll-from-temporary-folder.aspx "Before VSTO version 3.0, there is no way to disable Shadow copy feature in VSTO." But how do I disable shadowcopy for VSTO version 3? ...

How can I remove a MS Word add-in button?

I need to programmatically remove an add-in from MS Word. I have deleted the registry entry corresponding to it, and the button is now disabled (nothing happens when you click it) and the add-in no longer appears on the list of COM Add-ins. The button, however, remains in the Add-ins ribbon menu. How can I remove that programmatically? ...

Python MS Word

I'm looking into a requirements management system (like requiste pro - Rational Rose) - and will need to read through a MS Word doc searching for specific tags - on either a windows or Apple OS environment. Are there any known frameworks for this (I couldn't find any) - or suggested approaches? Just to add some clarification - this wou...