word

How to automatically create Word documents which include list fields from a custom SharePoint list?

Hi, Is it possible to automatically create Word documents which include list fields from a custom SharePoint list? here is the scenario: - custom list (over 100 columns) - Word templates (not sure where is best to store them yet) - Entry Form will provide data for the templates (or partial data, ie Client name, Sales Rep) - a form tha...

Word templates populated automatically from list fields from a SharePoint custom list?

Hi, Is it possible to automatically create Word documents which include list fields from a custom SharePoint list? here is the scenario: - custom list (over 100 columns) - Word templates (not sure where is best to store them yet) - Entry Form will provide data for the templates (or partial data, ie Client name, Sales Rep) - a form that...

Using Word COM objects in .NET, WinWord process won't quit after calling Word.Documents.Add

I'm running into the classic scenario where, when creating Word COM objects in .NET (via the Microsoft.Office.Interop.Word assembly), the WinWord process won't exit even though I'm properly closing and releasing the objects. I've narrowed it down to the use of the Word.Documents.Add() method. I can work with Word in other ways without ...

Merge Word Documents (Office Interop & .NET), Keeping Formatting

I'm having some difficulty merging multiple word documents together using Microsoft Office Interop Assemblies (Office 2007) and ASP.NET 3.5. I'm able to merge the documents, but some of my formatting is missing (namely the fonts and images). My current merge code is shown below. private void CombineDocuments() { object wdPageBr...

Table borders don't display properly when converted from HTML page into MS Word 2003

Hello everyone, I've got a bit of a complicated set up. I specialise in XSLT which I write for 3rd party system. All CSS looks fine in the browser. Now that system provides a button that converts my generated HTML into MS Word 2003. However, table borders don't convert as they appear in a Browser. There are lots of tables and they have...

What format is your documentation in?

I am going to be writing documentation for two web services that I developed, and I started wondering what people on here do for documentation. Do you create it in an HTML file so it can be viewed in the browser? Word document? Wiki? What do you guys/gals use? I was originally leaning towards creating an HTML page since it seems a l...

Using Word COM objects in .NET, InlineShapes not copied from template to document

Using .NET and the Word Interop I am programmatically creating a new Word doc from a template (.dot) file. There are a few ways to do this but I've chosen to use the AttachedTemplate property, as such: Dim oWord As New Word.Application() oWord.Visible = False Dim oDocuments As Word.Documents = oWord.Documents Dim oDo...

What is the difference between a word and ushort in C#?

What is the difference between a word and ushort in C#? They are both 16 bits! ...

How to target specific letter/word with jquery?

As a mere example, I want to apply the class "fancy" to all occurrences of the sign "&amp;" in the document. The CSS: .fancy { font-style: italic; } So a text that looks like this: Ben &amp; Jerry's would be manipulated by jquery to this: Ben <span class="fancy">&amp;</span> Jerry's Is there a function to target specific words/...

c#: exporting swf object as image to Word

Hello in my Asp.net web page (C# on backend) I use a Repeater, whose items consist of a title and a Flex chart (embedded .swf file). I am trying to export the contents of the Repeater to a Word document. My problem is to convert the SWF files into images and pass it on to the Word document. The swf object has a public function which ...

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...

Unable to open word file (MSWord 2007) when word automation program is running

In my application i am using word automation to get the text content from the file. It is working fine no issues. But at the instant when word automation is processing, if i open the word file, it is throwing a dialog with message (any file) "This file is in use by another application or user. (C:\User\xyz\AppData...\Normal.dotm)". W...

XSLT: Append spaces in "long" word.

There is a code: <p> Lorem ipsum dolor sit ametconsecteturadipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute iruredolorinreprehenderit in voluptate velit es...

Is the FPU control word setting per-thread or per-process?

I need to change the FPU control word from its default setting in a multithreaded application. Is this setting per-thread or per-process? Does it have different scopes under Mac OS X and Windows? ...

How do I pass a Range to a Sub in Word VBA?

I know this sounds simple, but seemingly it is not. If I write this in Word VBA, it always says "incompatible types" - why? And how do I make it work? Thank you very much for your help! Sub GetRange() Dim r As Range Set r = ActiveDocument.Paragraphs(5).Range ProcessRange (r) End Sub Sub ProcessRange(r As Range) Debug.Pr...

How to deal when MS Word 2004 (OSX) is freezing or displaying dialogs?

Hi, I'm using jRuby and a Java library (using itself an applescript to play with MS Word) to convert Word documents to PDF files. Sometimes I get a dialog about margins issues, or MS Word is freezing because the file is too big... Could anyone recommend a script or library that I could run on OSX to manage these issues (closing the dial...

MS Word Macro - Numeric field insertion with automatic calculation at end of page

Hi, I am trying to duplicate a feature that exists in Multimate (Ashton Tate) word processor. Yes, the one that hasnt been supported for 20 years! If I can duplicate this one feature I can get all the users off MM and onto Word. The documents they create are billing documents. they consist of a descriptive paragraph of any length o...

iPhone referencing my own word list for a Word Game

Boy, I've got everything down-pat save the word referencing. The game crashes because of the size of NSMutableArray. What's the best way to create a word list that can be referenced without encumbering memory? Thanks! ...

Online form that outputs a word document and/or a pdf?

I created an online form in HTML, I need the form to output to either a word document or a pdf. Is there a client-side javascript or app that can help me with this? ...

In Word, Programmatically Open New Document Dialog

I am looking for a way to programatically open the "New Document" dialog in Word 2007. It is the same one you get when you select File->New . You can also open it using the FileNew macro or the "New..." menu command. However, I have been unable to find a way to do this programmatically. I have tried: Application.Run MacroName:="Fil...