msword

ASP.NET Printing (MVC) Word Documents In SharePoint

So I have our MVC web application up and running and we'd like to introduce printing into the solution. We have an interface (using SharePoint Service 3.0) that displays many files (all Word files) for a particular product. What we'd like to have happen is for the user to checkbox all the files they want to print, select a printer, and...

Tools that help with acronyms and jargon in software requirement documents

Are there any tools that would help with reading software requirement documents that contain a mix of domain specific and company specific acronyms and jargon. In particular I was looking for a tool that would allow me to view Acrobat or Microsoft Word documents and make it easier to understand acronyms and other jargon. This could be do...

Word automation issue with PHP

I've been trying to automate opening and populating a Word file on network but came across an issue when trying to open the file from a mapped network drive. I can open the file from my c:\ drive and I changed the Apache settings to run as a user rather than as a local service. The script runs perfectly well in the Zend environment doing...

How can I open a Word document read-only from Perl?

Is there any method within Perl which would allow me to get the object in a read only mode, so as to avoid the dialog that pops up if the file is locked by another user? $document = Win32::OLE->GetObject("$docFile") or die "can't open $docFile"; ...

Using VBA for Word, how do I create a range of table cells?

I'm trying to learn how to handle Range objects in Word VBA with regards to MS Word tables. Using the Range object help, it would seem I can create a range of cells as long as the cells are contiguous, however I cannot seem to get the syntax for specifying the Start and End points of the range using cells. For example: Set rngCells = ...

Using cfcontent in ColdFusion 7, how do I output an MS Word doc in landscape mode?

The title is pretty self explanatory. I'm using cfcontent in ColdFusion 7 to output a page as an application/msword file type and I want to know how to make it default to landscape mode without resorting to downloading a third party library. ...

reading docx (Office Open XML) in PHP

Hi, I want to add an word import function to our CMS, the only problem I cannot seems to find a good library for reading docx files (Word 2007). Do anyone has some recommendations, the library should be able to extract content of the document and basic styling like italic, bold, superscript? Thanks for your help ...

Renaming OpenXML Styles

In my attempt to go through and rename styles before feeding multiple docx's into a merge library I have created a large and complicated routine that modifies the <w:style w:styleId="..."> and <w:name w:val="..."> attributes of the style element. Then modifies any reference to old style id's in the rest of the docx. This seems as if it ...

Open multiple copies of Word template document using VBA for applications

I am developing a database application where users open a Word template document and merge this with database records. I have successfully written code that does this for one record where I open a template file and replace items in the template document with DB data. I have tried opening the template document multiple times (once for eac...

Why doesn't SaveAs use correct PixelsPerInch in macro?

...

Restart list numbering in word for each new list created

Hi, I am exporting content from a jsp page into MS Word using javascript. When the user is in Word there is a table with 10 rows and 2 columns, A & B. The user creates an ordered list in row 1, column A like this: 1 dog 2 cat 3 mouse if the user then creates a second list in row 1 column B is turns out like this: 4 car 5 tr...

How to replace a section in a word template with multiple fields C#

Hi I'm creating a C# application that fills the MergeFields defined on a MS Word document with data from an external Data Source. I'm using the OpenXml SDK and everything works fine when replacing single fields. What I want to do is, to have a section with several MergeFields defined and being able to copy such section several times a...

ASP.NET Session issues

Hello, I have been struggling with a following problem. I have an ASP.NET application that has a certain search engine. It is possible to perform the searching by using prepared links. So I have a MS Word document that contains the links. When I click such a link a new IE8 window is opened, an ASP.NET session is spawned, the searching i...

Fields mailmerged into a Table in MS Word

Hoping someone might have an example of a MailMerge to a Word document that list rows of items in one table, each row having five columns of corresponding data. The problem I am running into is that it wants to create a new complete table for each item in the first column. ...

Links to ASP.NET application in MS Word document

I am observing a weird behavior when clicking links to my ASP.NET application in MS Word 2003 / 2007 document. I have IE8 installed. When I click a link in the document the request that is sent has the user-agent IE7(!?). A new session object is created. Right after that out of nowhere a second request appears this time having user-agen...

iTextSharp - Convert word doc/docx to pdf

Hello there, I understand iTextSharp can be used for converting a document to pdf. But first we have to create a document from scratch using iTextSharp.text.Document and then adding elements to this document. What if I have an existing doc file, is it possible to convert this document to pdf using iTextSharp. Also, I want to use iTex...

Is there any metadata associated with word document?

Hi, I am trying to generate check sum of a word document by opening at binary level. I generate the check sum of the document. Copy the document to a different location. When I generate the checksum at the new location I get a different value though I haven't changed the contents of the document. The check sum varies even if I copy the ...

What's the easiest way to generate DOC files?

Right now I'm generating HTML with a Perlscript, and then manually converting to DOC in OpenOffice. Actually I have to copy, create new "Text document", paste, save, as it treats HTML and DOC as separate file types, but that's quite unessential. That's very inconvenient. Is there any automated way I can convert HTML to decent DOC, or so...

Primitive MailMerge using just delimited field names

Obviously the correct way for our app to generate a Word document based on a template is to encourage the admin users (who will look after the templates) to embed the correct merge fields or bookmarks in the template document. However in the past we have found our typical admin user who ordinarily doesn't use MailMerge or any of the oth...

Adding content to ms word, Include macro

Hi All, I have a JSP file that is going to flush all data from database into a ms-word document by setting the content-type keyword. Now the problem is I need to add header and footer to the same document for which after many searches couldn't find a direct way from JSP without using APIs like POI. So I went ahead and created a macro for...