msword

Validate a Word 2007 Template file

I'm developing a solution that allows people to upload a DOCX file as a template. This template is used for generating Word documents with database info. What I would like to do is once a template gets uploaded, to check it for errors. (I don't want my parser crashing when a template is used.) I've seen the question about checking a ...

Convert Word Document to XML and back ASP.Net

Hi All, I need to convert Word Document to XML and back once editing has been performed on it. I don't have Microsoft Office Installed at my server, and I want my users to edit their documents via Web Browser. I am using C# and ASP.Net Thanks ...

How to get value of drop down menu in Microsoft Word

I have a Microsft Word document with a drop-down menu in it. I am trying to write a macro that gets the value of the drop down and performs calculations. How do I get the value of the drop-down? ...

Open Word Document in Browser with Inline Editing

Possible Duplicate: Can you do complex editing of Word Documents in a browser? Hi All, Is there any free tool available that allows to open and edit word documents inside browser. I am using ASP.Net 2008 Express IDE. Thanks ...

how to clean up microsoft html doc ?

I have quite big document in html format that generated from Microsoft Word. It is soooo messy and full of bloated things (like unknow tag, unknow namespace etc and other bloated things) is there any way to convert it into plain html sytax ? thanks ! ...

Putting Page Numbers in a Document

How do you add a page number from java without using any third party library in a document and which can be treated as a new page in MS Word? Can Java create/manipulate an MS Document? ...

Embedding vector graphics in Word

Hi, I'm working on a calculation program which creates graphs from input data with ZedGraph. My client would like to embed those graphics into Microsoft Word and the publish the document as PDF. Both PNGs and enhanced metafiles produce badly rastered results in the PDF. I've tested this with Office 2007 and the "built-in" PDF publisher...

How to index .doc and .pdf files in asp.net

How do I index .doc and .pdf files stored in a database (which uses MS SQL Server) in asp.net (C#)? ...

Paste code into Word from VS without line numbers

When I cut and paste code from Visual Studio 2008 into Word 2007, it includes line numbers at the start of every line. I am sure this didn't happen on my old PC, but I can't seem to find the option that would control this. I don't want to paste as unformatted text, because I want the syntax colouring. UPDATE: This was me being really s...

Word vba - Press tab to go to bookmark?

Hi, I'm trying to create a macro which allows me to press the Tab-button to go to a predefined bookmark. I know this can probably be done using Words built in functions, but there are some bugs that I need to work around. So I was thinking of creating some [Type text in here]-fields and encapsulate these in bookmarks. Then, by pressing...

Syntax Highlight with Word 2007

Is there a way, in Microsoft Word 2007, to set up a style that will highlight VB.NET keywords, just like the Visual Studio IDE does? ...

How do I represent several MS Visio diagrams in MS Word?

I have about twenty MS Visio diagrams that I would like to represent in an MS Word document for delivery to users who do not have Visio. This presents two problems: It is really boring to keep the MS Word document up-to-date with changes to the Visio documents The resulting file is really big. Does anyone have any suggestions for so...

Word document hyperlink

I want to keep a hyperlink in the page which takes me to another page in the same document.I am not sure how to do this.Can anyone help me ? ...

How do you remove hyperlinks from a Microsoft Word document?

I'm writing a VB Macro to do some processing of documents for my work. The lines of text are searched and the bracketed text is put in a list(box). The problem comes when I want to remove all hyperlinks in the document and then generate new ones (not necessarily in the location of the original hyperlinks) So the problem is How do I re...

Cant open a doc file from the browser

I have a link using tag and it is linked to a .doc file in the server. When I click on the link, instead of giving the open, save box, it opens the file in the browser in the binary format. Has anyone encountered this problem? I am using a Weblogic server. ...

Java: parsing ms-word document using POI/HWPF

I have a ms-word document (MS-Office 2003; non-xml). Within this document there is a string associated with a bookmark. Furthermore, the word document contains word-macros. My goal is to read the document with java, replace the string associated with the bookmark, and save the document back to word format. My first approach was using Ap...

vba string tokens

I have around 100 rows of such texts that I want to tokenize: "<word> <unknown number of spaces and tabs> <number>" I am having trouble finding tokenize functions with VBA. What would be the easiest method to token such strings in VBA? Thanks in advance. ...

how to read comments in word document from apache poi ?

How to Read word comments (Annotation) from microsoft word document ? please provide some example code if possible ... Thanking you ... ...

How can I extract data in a Word document using Perl?

How to extract the data from a word doc using Perl? ...

Word Automation: Replace an Image using C#

Hi - I'm trying to change text and images in a word document using c# and word automation. I've got it working fine for text where I do something like the snippet below, but I don't even know how to start for replacing the image. Any help is greatly appreciated! Oliver using Microsoft.Office.Interop.Word; ... private static Applicat...