word

Open document from SharePoint document library

Hi, I have a SharePoint 2007 portal, that contains several document libraries. Whenever I open a document from a document library, Word 2007 requests me for my credentials, although I'm already logged in the portal. Does anybody know how to set up Word 2007 to accept the existing credentials from SharePoint 2007? Regards, Voicu. ...

Words stats in a Text with Delphi

Hi I'm using Delphi 7. I would like to count the number of repetitions of every word in a large text (500 words). How could I do it? ...

Regular Expression - replace word except within a URL/URI

Writing a globalization module for a web application and I need a regexp to replace all instances of a word with another word (the translation) - except - words found within a URL/URI. EDIT: I forgot to mention that I'm using Ruby, so I can't use 'Lookbehind' ...

SSRS 2008 export to MS Word with dynamic Page Footer

Hi all, I have a requirement to have a page footer show up on the first page of a report, and then no page footer on subsequent pages. When I create a report that toggle the visibility of objects in the footer it works fine in BIDS, and it works fine when I export to PDF, however upon export to MS Word, the footer from the first page a...

Python word splitting

Is there a good library can detect and split words from a combined string? Example: "cdimage" -> ["cd", "image"] "filesaveas" -> ["file", "save", "as"] ...

How to useOffice Insert Symbol dialog and insert the selected symbol at desired place in vb.net app?

I am developing a Windows app, where i have a infragistic grid. Inside that grid their is a column having dropdwn from which i have to invoke Words , Insert Symbol Dialog. I somehow managed to open the dialog but when i choose the symbol from the dialog , it pastes the symbol on the new word doc, instead i want it on the cell from where ...

Updating values of custom properties in word doc using java

I am not able to update value of a custom property in a word document using java. I have a word document which contains a custom property with value 'stack'. Using java I want to change that value to 'overflow'. I used two approaches. 1) Using Apache POI I set the org.apache.poi.hpsf.CustomProperties in org.apache.poi.hpsf.DocumentSu...

How to access Microsoft Word existing instance using late binding

Hi, i am developing some code in c# where i will be interacting with Microsoft Word. I want to be able to have the option of re-using an existing instance or as an alternative creating a new instance. Keeping in mind i want to do all of this using LATE BINDING... it is safe to say i have figured out how to get things working when creati...

How can I programmatically add a macro to a MS Word document using Perl?

I have a Perl script that can define and write a MS Word macro according to the user's input. But how can I make the Perl script open Word and add the macro into its macros data base? ...

Word VBA checkboxes with link to image that needs to be built up

Hi, I am having problems with a table containing checkboxes in Word. I am working with a table containing 10 checkboxes. Next to this table, there is an image. When the user checks one of the checkboxes, something has to be added to the image, i.e. the image is further completed. However, the order of checking the checkboxes is not fix...

Wrap some specified words with span in jQuery?

Hello I'd like to know the most convenient way to wrap some specified words with span-tags. Example: I have a word, which is dog. Here's the original text: I have a dog, do you have a dog? And output should be like this: I have a <span class="highlight">dog</span>, do you have a <span class="highlight">dog</span>? Simple problem ...

How to read text that is present in text box of MS word document?

Hi, I have an word document which I want to convert to text (.txt) file programmatically. I am using C# for this. I am able to read paragraphs and tables from word document and convert them to text. There are some textboxes in the word document and those textboxes contain text that I want to read and put them in text file. My problem is ...

publish word document that contains placeholders on web site

Hello all, Here is my problem Use case: - User will use a tool enables him to create a Form template that includes place holders for TextBoxes and data items. -After that user will upload the template to a website - Then user requests the template by the web site . website will replaces placeholders and shows the user the form. - then...

How to parse just the text from a Word Doc using Python?

When you try opening a MS Word document or for that matter most Windows file formats, you will see gibberish as given below broken intermittently by the actual text. I need to extract the text that goes in and want to ignore the gibberish -- which is something like given below. How do I extract only the text that matters, and ignore rest...

How to insert an excel chart into Word using AddOLEObject

I'm trying to create a linked OLE Object in a Word document using VB.Net. Existing code uses InlineShapes.AddOLEObject(FileName:="abc.xlsx", LinkToFile:=True, Range:=Some Word Range) to insert a worksheet into a Word document. I need more control than this. To select a range of cells I've found that extra information after the filename...

Word 2007 Arabic Macro Replace

I am trying to manipulate Arabic in Word 2007. I need to find a line that begins with a number. In English docs I would use "^p^#" But in the Arabic doc I have, this isn't being found. Here's a snippet of text where a line starts with ٦٤ا : - ١٦٤يا معشر البشر تمسّکوا بالحبل المتين انّه ينفعکم فی الارض من لدی اللّه ربّ العالمين خذوا...

Read Microsoft Word Documents into Plain Text (DOC, DOCX) in Java

I'm looking for something in Java to read in Word documents to process their text.. all I need is there text, nothing fancy. I know about Apache POI, however it doesn't include support for DOCX right now, anything out there? ...

Word Macro AutoOpen not running

Hi, I've got a Word document that contains an AutoOpen macro. It works fine until I upload it to out intranet for people to download. When some users opens it from the intranet, it opens an embedded instance of word within IE, the doucment opens but the AutoOpen does not run. If they download the document, then open it, it work correctl...

word doc parser

Where can I find code for a word document parser preferably in PHP or any other language ...

Bad Word Filter, how to combine with URL Replace

Hi, I have two scripts - javascript and php.. this cleans the url <script type="text/javascript"> $(document).ready(function() { $('.search-form').submit(function() { window.location.href = "/file_"+ $('.search-form input:text').val() + ".html"; return false; }); }); </script> this is the bad word filter <?...