word

How to embed document stored in SharePoint into Word 2007

I am familiar with embedding documents into a Word 2007 document as long as they are stored in the file system. What I am trying to accomplish is embedding a Word doc that is stored in a SharePoint repository but I can't see any way to do this. What I have are several sub-documents that will be assembled into a larger document (think c...

Need help extracting optionbutton values from a word document

I have a word document that contains text fields, form fields, and option buttons that I need to process automatically with C#. I can use the formfields collection to extract the text and form fields, but when it comes to the option buttons (radio buttons) I am struggling on where to look to access them. I've tried the contentcontrols ...

Are there any freely available dictionaries?

I want to create dictionary for my iPhone application. For that I need a list of words with detailed meanings of the words in a database. Can anyone suggest me a good word list that is freely available? ...

Word 2007: Dynamic Summary List of Checkboxes

So here is my issue. I am currently writing a User Guide using Word 2007 where each section has some validation checkboxes to help the consumer implement the solution and track his progress. I have been able to create Word Checkboxes that can be clicked on using Developper>Legacy Tools>Checkboxes and then Protecting the Document to onl...

Solr/Lucene behaves weird with some word searches.

I have Solr installed with default configuration (out of box). I have a word "alternatives" in the index. Search for any of the following gives empty results: 1. name:alterna 2. name:alterna 3. name:alterna* 4. name:*altern Obviously, I am expecting to find that entry given any part of the word "alternatives" Anybody with such an exper...

PHP Help converting diacritic characters to HTML quotes

This one's driving me nuts . . . I have a bunch of MS Word files that a client wants displayed on his web site. I've converted them to HTML using "Save as Web Page" -- and yes I know that this produces lousy HTML but other methods I've tried lose the links to the imbedded images. For the most part, I can use PHP to clean up the displa...

How to break words into syllables in LaTeX correctly

Hi, I am writing my MSc with LaTeX and I have the problem that sometimes my words are divided in a wrong way. My language is spanish and I'm using babel package. How could I solve it? For example: propuestos appears prop-uestos (uestos in next line). It should be pro-puestos. Thanks!! ...

PHP method of replacing images within a word document

I have a word document with numerous images making up a custom border. Is there a way using PHP that I can programmatically replace all images within that word document with another image? Cheers. ...

Server Word automation permissions (some answers and some questions)

Hello, I am attempting to use word automation to count the number of pages in a word document. So far i have faced these errors: Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005. Word stuck when opening a document. My resolution at the moment...

how do we open a word file using vb script

could anyone plz tell me how to open word files using vbs windows scripting. I tried out these two set of vbs, but windows script Host error ("The system cannot find the file specified", errorcode: 80070002) is getting displayed eventhough the file exists at the specified location. the first vbs i tried out: Dim sAppPath Dim sPrgFolde...

Autosum and other calculations in word table - Mac

Is it possible to use bookmarks in calculations on Mac? I have the following working on word 2007 on PC: "=SUM(ABOVE)" <- and this cell have bookmark called "thesum" then in the cell under I have "=thesum * 0,25" <- this cell have a bookmark called "mva" then in the cell under again, I have "=mva+thesum" This works on PC but when I ...

Table padding using the MS Word COM object in PHP

Hi guys, I've got some code here that will create a basic table in a Word document using PHP, it creates the table and populates it just fine, but I really need to kinda shunt the table across so that the address (first box of the table) fits into a windowed envelope! $word->ActiveDocument->Tables->Add ( $word->Selection->Range, 1,...

Avoiding cross process calls when doing Word automation via VB.net

The short version I've got a Word Addin in VB.net and VSTO that exposes a COM compatible object via Word.COMAddins.Object, so that the addin functionality can be called External to Word, without accesses to Word itself being cross-process. The technique worked in VB6, but with VB.net, it still works, but it's much slower than the same c...

how to programmatically (c#) find and replace in doc and docx file in share point library

My job is to do a find and replace in .doc and .docx files which are saved in sharepoint document library. i have to alter all the documents in the document library by doing find and replace. please help me in this... Open XML formats are only for word 2007 (.docx). I need single solution that would do find and replace in both .doc and ...

How to determine table positioning in a Word document using Word API

Hey All, I'm currently working with Word and its C# COM API to create a word plugin. For part of this plugin I would like to be able to take a table and determine its Horizontal alignment on the document. Currently, I have retrieved a list of the tables on the document, I'm able to access its contents and children, but for the life of ...

Table of contents problem in Word 2007

I have a TOC which goes over several pages, and I want a new pages to start with a "toc 1"-entry and never with a "toc 2"-entry. I've tried to put "Keep with next" on the "Toc 1"-style and "Keep lines together" on the "Toc 2"-style, but it wont work. Anyone out there who got a solution to this? ...

Problems with Excel export to Word using VBA

Hi, I'm having problems exporting data from Excel to Word. In the Excel sheet, there is a command button which first sorts the data according to date (this works). Then, the content of these columns (which are declared as variables after the sorting is done) should be exported to a Word document. Opening a word file works, and the firs...

PHP replace variables in Word document

Hello everyone I have a word document that contains certain variables (for example the string $$title$$). Now I want to open this word document in PHP and replace the string $$title$$ with a string I read out of the database. Final step would be to save this word document and give it to the user for download. Replacing the string and s...

Get macros written in Word 2003 to function in Outlook 2007

I've been asked to find out how to get a collection of Word macros that used to run in Outlook 2003 running with Outlook 2007. If there is no way to do this, I will need some different options on what to do with them as apparently Word is not an option to use as an editor anymore in Outlook 2007. Other than rewriting them all, what can ...

VSTS Profiler used to profile a VSTO Word Addin?

I've got a VSTO 3.0 Word addin that I'd like to profile using VSTS Profiler. When I try to run an instrumenting run with the profiler, though, I get a warning that it can't be instrumented because the Addin DLL is signed, which, from what I know about VSTO, they have to be signed. Is there any way to "turn off" the signature verificati...