Andrew Connell [MVP SharePoint]
1741 Posts |  46 Articles |  5310 Comments
.NET  |  MCMS  |  SharePoint  |  Office System
Andrew Connell's RSS Feed    
AC's Blog Quick Links
SharePoint Quick Links
Article Categories
Archives
May, 2012 (3)
April, 2012 (4)
March, 2012 (4)
February, 2012 (4)
January, 2012 (12)
December, 2011 (6)
November, 2011 (3)
October, 2011 (17)
September, 2011 (8)
August, 2011 (6)
July, 2011 (7)
June, 2011 (13)
May, 2011 (9)
April, 2011 (15)
March, 2011 (1)
February, 2011 (6)
January, 2011 (5)
December, 2010 (11)
November, 2010 (6)
October, 2010 (12)
September, 2010 (5)
August, 2010 (4)
July, 2010 (5)
June, 2010 (6)
May, 2010 (11)
April, 2010 (11)
March, 2010 (9)
February, 2010 (9)
January, 2010 (3)
December, 2009 (10)
November, 2009 (15)
October, 2009 (15)
September, 2009 (7)
August, 2009 (4)
July, 2009 (10)
June, 2009 (8)
May, 2009 (2)
April, 2009 (9)
March, 2009 (6)
February, 2009 (16)
January, 2009 (6)
December, 2008 (12)
November, 2008 (12)
October, 2008 (27)
September, 2008 (13)
August, 2008 (14)
July, 2008 (14)
June, 2008 (12)
May, 2008 (23)
April, 2008 (12)
March, 2008 (15)
February, 2008 (13)
January, 2008 (12)
December, 2007 (10)
November, 2007 (8)
October, 2007 (15)
September, 2007 (20)
August, 2007 (21)
July, 2007 (16)
June, 2007 (8)
May, 2007 (25)
April, 2007 (16)
March, 2007 (18)
February, 2007 (18)
January, 2007 (12)
December, 2006 (16)
November, 2006 (13)
October, 2006 (18)
September, 2006 (22)
August, 2006 (27)
July, 2006 (23)
June, 2006 (23)
May, 2006 (23)
April, 2006 (9)
March, 2006 (17)
February, 2006 (15)
January, 2006 (23)
December, 2005 (31)
November, 2005 (32)
October, 2005 (38)
September, 2005 (53)
August, 2005 (30)
July, 2005 (63)
June, 2005 (30)
May, 2005 (59)
April, 2005 (29)
March, 2005 (74)
February, 2005 (27)
January, 2005 (22)
December, 2004 (32)
November, 2004 (42)
October, 2004 (39)
September, 2004 (20)
August, 2004 (14)
July, 2004 (27)
June, 2004 (40)
May, 2004 (5)
April, 2004 (6)
March, 2004 (16)
February, 2004 (26)
January, 2004 (23)
December, 2003 (7)
November, 2003 (14)
October, 2003 (20)
September, 2003 (4)
Post Categories



Managed Windows Shared Hosting

[via Spence]

The doc converter capability is this under utilized thing developers can leverage to transform a file of one type to another type. Out of the box you can convert a DOCX or InfoPath 2007 form to a Publishing page among a few other transformations including a powerful XML->HTML (via XSLT).

There is now a cool article on how to create PDF documents from DOC's already in a document library using the ASPOSE libraries. Granted, it's not a free thing, but still a good article showing the power.

» Add DOC to PDF and Other Conversions to Microsoft Office SharePoint Server 2007 with Aspose Components

BTW, there's a whole chapter on this subject in my upcoming book (Pro SharePoint 2007 WCM Development), specifically around creating a custom doc converter that takes the XML->HTML one to the next level complete with administrator and user settings interfaces.

posted on Monday, May 12, 2008 7:42 AM

Feedback

# re: Word to PDF MOSS Publishing Document Converter 9/22/2008 9:54 PM Peruri
Gravatar Can I convert a publishing page to a word document. (docx)

I want to basically read the contents of the page /fields and create a word document?

# re: Word to PDF MOSS Publishing Document Converter 10/14/2008 12:18 PM Dan Hillman
Gravatar Hello AC,

Have you tried the Aspose solution? I can't seem to get it to function. lines from the sharepoint log are given below. I haven't been able to find any info on the two errors. Any idea where to look for more info?



LoadBalancer.LauncherTaskCompleted successful
GetLauncher called for task Test Word Doc for conversion.docdoctrans
GetLauncher returning http://WIN2K3MOSSDEV:8082/HtmlTrLauncher
Executing method on launcher
Failed to set access on the transform app folder: Some or all identity references could not be translated.
Starting C:\Program Files\Microsoft Office Servers\12.0\TransformApps\AWASPOSEDocToPdf.exe for single-call with args: -in "C:\Program Files\Microsoft Office Servers\12.0\Bin\HtmlTrLauncher\input.doc" -out "C:\Program Files\Microsoft Office Servers\12.0\Bin\HtmlTrLauncher\output.pdf" -config "C:\Program Files\Microsoft Office Servers\12.0\Bin\HtmlTrLauncher\config.info" -log "C:\Program Files\Microsoft Office Servers\12.0\Bin\HtmlTrLauncher\error.log"
Starting transform app as user
LauncherTaskCompleted called with uri http://WIN2K3MOSSDEV:8082/HtmlTrLauncher and task name Test Word Doc for conversion.docdoctrans
removed task name Test Word Doc for conversion.docdoctrans
New load for http://WIN2K3MOSSDEV:8082/HtmlTrLauncher is 0
Trying to get launcher from load balancer
Requesting launcher from load balancer
Error running the transform app. API: LogonUser, Error Code: 1326
Running cleanup: succeeded: 0, task: Test Word Doc for conversion.docdoctrans
Calling LoadBalancer.LauncherTaskCompleted
LauncherTaskCompleted called with uri http://WIN2K3MOSSDEV:8082/HtmlTrLauncher and task name Test Word Doc for conversion.docdoctrans
removed task name Test Word Doc for conversion.docdoctrans
New load for http://WIN2K3MOSSDEV:8082/HtmlTrLauncher is 0
LoadBalancer.LauncherTaskCompleted successful
The document converter was not able to convert the file.
The file http://dev.moss.lab/DCHDevSite/DCHDocuments/Test Word Doc for conversion.doc could not be converted because of an error in the document converter.
RegisterLauncher called with uri http://WIN2K3MOSSDEV:8082/HtmlTrLauncher


# re: Word to PDF MOSS Publishing Document Converter 10/14/2008 1:11 PM AC [MVP MOSS]
Gravatar Dan-
Please don't post big error logs like this... that's what the MSDN forums are for.

First, take a look at the first link in my WCM linkfest under Doc Converters (http://www.andrewconnell.com/blog/articles/MossWcmResources.aspx#DocumentConverters) that references a article doing exactly what you're trying to do.

Another thing... any chance you're trying to run this on a AD DC? Doc converters will NOT work on a DC because the run under the context of a local user account which don't exist on DC's.

# re: Word to PDF MOSS Publishing Document Converter 1/20/2009 8:43 AM abdelmonem
Gravatar i want to save the file in another library when the file has been converted how can i do that?

# re: Word to PDF MOSS Publishing Document Converter 3/16/2009 8:07 AM adi
Gravatar Hi,

I wanted to create Doc To Docx converter.exe in office servers/12.0

can you please tell me how i can create those .exe files so that i can create my own feature

# re: Word to PDF MOSS Publishing Document Converter 5/27/2009 2:58 AM Shilpa
Gravatar Hi,

I have a doc library in which i can select the order of the docs to be displayed . I want to select word docs from this library and convert them to a single PDF doc in which the contents are word doc will be in the order given during selection.

Can you please suggest me how to implement the same using apose.

# Links provided are now both dead 7/29/2009 12:52 PM TBS
Gravatar Both links provided to the ASPOSE site and to the development code are now dead.



# re: Word to PDF MOSS Publishing Document Converter 8/31/2009 7:50 AM Anon
Gravatar Maybe try http://wordtosharepoint.codeplex.com ?

# re: Word to PDF MOSS Publishing Document Converter 12/9/2009 4:44 AM Sharepoint Development
Gravatar This we talk about doc conversion. Now what about website conversion.

Here is a very cool tool for - HTML2MOSSConverter – Site building application framework using MOSS 2007.

This tool can be used for converting HTML sites to latest Sharepoint websites.

To learn more, Check out - www.cygnet-infotech.com/.../...moss-converter.html

Hope to hear from you all...

# re: Word to PDF MOSS Publishing Document Converter 1/10/2011 8:01 AM Dean
Gravatar Andrew, in your book, you mention that the metadata from the word file gets copied to the html file. I have the same site column my Document Content Type and in the page layout but the metadata field in the web page is not showing the data that was added in Word. Any idea why not or how I can troubleshoot?
Thanks
Dean
ps., thanks for all of the time you spend sharing your expertise. i have a learned alot reading your postings and listening to your podcast interviews.


Post Feedback

Title:
Name:
Email:
(email will not be displayed)
Url:
Comments: 
Please add 2 and 8 and type the answer here:    
All Comments Are Filtered & Moderated
Unfortunately comment spammers are just too effecient and are constantly dirtying up blogs with irrelevant and unwanted comments trying to improve their standing on search engines. All comments on this blog are moderated. I do not censor comments, but I don't approve comments with vulger language or those soliciting products. Most of the time comments are approved within a few hours of being submitted with the only exception when I'm traveling.

Why are you asking for my email address?
The only reason I'm asking for your email address, which isn't required to submit a comment, is to provide a gravatar if you've created an account for yourself and associated your email address with a small image. If you have a gravatar created for the email address you submit, it will appear next to your comment. Otherwise nothing will appear.

What is a gravatar?
A gravatar is a "globally recognized avatar." You can get more information about gravatars, as well as create your own for free, at www.gravatar.com. You can also view my gravatar here.


Copyright © 2003 - 2012 Andrew Connell
Creative Commons License 
This work is licensed under a Creative Commons License

 
SharePoint Training
Looking for SharePoint 2010 training for developers, administrators, power users, information workers, end users & web designers? Look no further! My company, Critical Path Training offers the best SharePoint training around! We offer public & private classes both as in-person instructor-loed hands-on classes and online classes. Check out our schedule and course catalog for all the ways we can get you going on your SharePoint path!