docx

Is there XSLT available for transforming WordprocessingML into RTF

I currently generate docx files programmaticaly in C#. I would like to transform my doc file into RTF. This be done with an XSLT transform. Is there a transform that is publicly available? I am also interested in trasnforming docx into PDF and HTML. ...

How to repeat similar fields in a word template?

Hello, I am delving into the realm of programmatically editing a word document based on a template. If for example, the template had a section in it for My address, and they wanted my past addresses going back 5 years, and I have moved 3 times, I will have to put in 3 addresses. Obviously the fields here are exactly the same, but I want...

Version-controlling zipped files (docx, odt)

There are formats that are actually zip files in disguise, e.g. docx or odt. If I store them directly in version control, they are handled as binary files. My ideal solution would be have a hook that creates a foo.docx/ directory for each foo.docx files before commit, unzipping all files into it optionally, have a hook that reindents...

Conversion between docx / doc / rtf and lightweight markup

I am looking for a tool or set of tools to convert between file formats D and M where D is a format handled by MSWord, in order of preference, docx, doc, rtf M is a lightweight markup, such as markdown, textile, txt2tags, it can be an esoteric one there is a way to generate html from M conversion is two-way, it's done both from D to M,...

view a docx file in C# .NET

I need to create C# .NET solution to view a .docx file directly from the database without writing on the hard disk. What would be the most feasible approach ? One option would be to convert the docx file to .mht format and save in the database as blob type. But I could not find a way to directly view it from the database. Another way ...

How to edit docx with nokogiri and rubyzip

I'm using a combination of rubyzip and nokogiri to edit a .docx file. I'm using rubyzip to unzip the .docx file and then using nokogiri to parse and change the body of the word/document.xml file but ever time I close rubyzip at the end it corrupts the file and I can't open it or repair it. I unzip the .docx file on desktop and check th...

Merging docx files together including headers, footers and pictures

I've to merge multiple DOCX files (created with DocX Package) into one big file. I've managed to merge multiple files already but I fail to merge Headers and Footers (they differ between files, pages). I've tried both DocX package and MS Office COM Interop and it simply doesn't want to merge the headers / footers. They are skipped. Does...

Using propset svn:keywords on .docx files

Hello, I just found out this nice SVN option that would be very useful on our project, but yet again I'm having problems integrating it with word files, .docx to be exact. I am using Tortoise client. If I create .txt file with $Rev$ content in it and put SVN property on it with Rev it works like a charm, in other words when I commit th...