Using Word Automation Services with the Open XML SDK using VB

This is the complete sample that shows how to use Word Automation Services with the Open XML SDK from the article Developing with SharePoint 2010 Word Automation Services. This blog is inactive.New blog: EricWhite.com/blogBlog TOCNote for those of you using the SP2010 beta, the capability to update fields (and update the table of contents) was…

0

Using Word Automation Services with the Open XML SDK using C#

This is the complete sample that shows how to use Word Automation Services with the Open XML SDK from the article Developing with SharePoint 2010 Word Automation Services. This blog is inactive.New blog: EricWhite.com/blogBlog TOCNote for those of you using the SP2010 beta, the capability to update fields (and update the table of contents) was…

0

Word Automation Services: Deleting Source Files after Conversion using VB

This is the complete sample for deleting source files after conversion from the article Developing with SharePoint 2010 Word Automation Services. This blog is inactive.New blog: EricWhite.com/blogBlog TOCImports System.Collections.ObjectModelImports System.ThreadingImports Microsoft.SharePointImports Microsoft.Office.Word.Server.ConversionsModule Module1    Sub Main()        Dim siteUrl As String = “http://localhost”        ‘ If you manually installed Word Automation Services, then replace the name        ‘ in…

0

Word Automation Services: Deleting Source Files after Conversion using C#

This is the complete sample for deleting source files after conversion from the article Developing with SharePoint 2010 Word Automation Services. This blog is inactive.New blog: EricWhite.com/blogBlog TOC using System;using System.Collections.Generic;using System.Collections.ObjectModel;using System.Linq;using System.Text;using Microsoft.SharePoint;using Microsoft.Office.Word.Server.Conversions;using System.Threading;class Program{    static void Main(string[] args)    {        string siteUrl = “http://localhost”;        // If you manually installed Word Automation Services,…

0

Word Automation Services: Determining Which Documents Failed to Convert using VB

This is the complete sample for determining which documents failed to convert from the article Developing with SharePoint 2010 Word Automation Services. This blog is inactive.New blog: EricWhite.com/blogBlog TOC Imports System.Collections.ObjectModelImports System.ThreadingImports Microsoft.SharePointImports Microsoft.Office.Word.Server.ConversionsModule Module1    Sub Main()        Dim siteUrl As String = “http://localhost”        ‘ If you manually installed Word Automation Services, then replace the name       …

0

Word Automation Services: Determining Which Documents Failed to Convert using C#

This is the complete sample for determining which documents failed to convert from the article Developing with SharePoint 2010 Word Automation Services. This blog is inactive.New blog: EricWhite.com/blogBlog TOC using System;using System.Collections.Generic;using System.Collections.ObjectModel;using System.Linq;using System.Text;using Microsoft.SharePoint;using Microsoft.Office.Word.Server.Conversions;using System.Threading;class Program{    static void Main(string[] args)    {        string siteUrl = “http://localhost”;        // If you manually installed Word Automation…

0

Word Automation Services: Monitoring Status of Conversion Jobs using VB

This is the complete sample for monitoring the status of conversion jobs from the article Developing with SharePoint 2010 Word Automation Services. This blog is inactive.New blog: EricWhite.com/blogBlog TOC Imports System.ThreadingImports Microsoft.SharePointImports Microsoft.Office.Word.Server.ConversionsModule Module1    Sub Main()        Dim siteUrl As String = “http://localhost”        ‘ If you manually installed Word Automation Services, then replace the name        ‘…

0

Word Automation Services: Monitoring Status of Conversion Jobs using C#

This is the complete sample for monitoring the status of conversion jobs from the article Developing with SharePoint 2010 Word Automation Services. This blog is inactive.New blog: EricWhite.com/blogBlog TOC using System;using System.Collections.Generic;using System.Linq;using System.Text;using Microsoft.SharePoint;using Microsoft.Office.Word.Server.Conversions;using System.Threading;class Program{    static void Main(string[] args)    {        string siteUrl = “http://localhost”;        // If you manually installed Word Automation Services,…

0

LogicalChildrenContent Axis Methods – Open XML SDK V2 Strongly Typed Object Model

This is a clipboard friendly version of the Open XML SDK V2 strongly-typed object model example that includes the LogicalChildrenContent axis methods.  This is from the post, Mastering Text in Open XML Word-Processing Documents. This blog is inactive.New blog: EricWhite.com/blogBlog TOC using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Text;using DocumentFormat.OpenXml;using DocumentFormat.OpenXml.Packaging;using DocumentFormat.OpenXml.Wordprocessing;using OpenXmlPowerTools;public static class LocalExtensions{    public static…

0

LogicalChildrenContent Axis Methods – LINQ to XML

This is a clipboard friendly version of the LINQ to XML example that includes the LogicalChildrenContent axis methods.  This is from the post, Mastering Text in Open XML Word-Processing Documents. This blog is inactive.New blog: EricWhite.com/blogBlog TOC using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Text;using System.Xml;using System.Xml.Linq;using DocumentFormat.OpenXml.Packaging;using OpenXmlPowerTools;public static class W{    public static XNamespace w =        “http://schemas.openxmlformats.org/wordprocessingml/2006/main”;    public static…

0