<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>PowerTools Wiki &amp; Documentation Rss Feed</title><link>http://www.codeplex.com/PowerTools/Wiki/View.aspx?title=Home</link><description>PowerTools Wiki Rss Description</description><item><title>Updated Wiki: Documentation</title><link>http://powertools.codeplex.com/documentation?version=1</link><description>&lt;div class="wikidoc"&gt;You can find all of the documentation, screen-casts, and articles at the &lt;a href="http://openxmldeveloper.org/wiki/w/wiki/powertools-for-open-xml.aspx" class="externalLink"&gt;PowerTools for Open XML Resource Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>EricWhiteDpe</author><pubDate>Tue, 11 Oct 2011 17:34:40 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20111011053440P</guid></item><item><title>Updated Wiki: Home</title><link>http://powertools.codeplex.com/wikipage?version=35</link><description>&lt;div class="wikidoc"&gt;Combining the technologies of PowerShell and Open XML is a powerful and convenient way to do server-side document processing.  The PowerTools for Open XML are sample source code and guidance for developers showing how to build PowerShell cmdlets that can create and modify Open XML documents.  Also included are a number of examples of PowerShell scripts that use the cmdlets.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Documentation, articles, and screen-casts about PowerTools for Open XML at the &lt;a href="http://openxmldeveloper.org/wiki/w/wiki/powertools-for-open-xml.aspx" class="externalLink"&gt;PowerTools for Open XML Resource Center at OpenXMLDeveloper.org&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Important Notes:&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;PowerTools for Open XML 2.2 Source Code is available.  Click on the Downloads Tab.&lt;/b&gt;  &lt;a href="http://www.youtube.com/watch?v=zU0utt3uga4" class="externalLink"&gt;See screen-cast to see how to build and run.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Whereas previously, DocumentBuilder, HtmlConverter, and RevisionAccepter were available in their own zip files, we now are delivering all PowerTools for Open XML modules in a single zip file.  One reason is that these modules are now refactored to use the utility classes.  Another reason is that we are going to be releasing new versions of PowerTools on a much more frequent basis, and this simplifies the process of building releases.&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;DocumentBuilder is a very important part of PowerTools for Open XML.  All information on DocumentBuilder 2.0 is consolidated in the &lt;a href="http://openxmldeveloper.org/wiki/w/wiki/documentbuilder.aspx" class="externalLink"&gt;Document Builder Resource Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;To install and build the PowerTools for Open XML from source code, please see the readme in the release, or watch this &lt;a href="http://www.youtube.com/watch?v=zU0utt3uga4" class="externalLink"&gt;video that walks through the process of building and installing PowerTools for Open XML 2.2&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;PowerTools for Open XML is built using the Open XML SDK 2.0.  You can download the SDK at &lt;a href="http://www.microsoft.com/download/en/details.aspx?id=5124" class="externalLink"&gt;http://www.microsoft.com/download/en/details.aspx?id=5124&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You also need the PowerTools source code, which is available in the &amp;quot;Releases&amp;quot; tab above.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;See &lt;a href="http://openxmldeveloper.org/wiki/w/wiki/powertools-for-open-xml-2-0-cmdlets.aspx" class="externalLink"&gt;this page&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for a complete list of cmdlets in PowerTools for Open XML 2.0.&lt;br /&gt;&lt;br /&gt;If you have any issues with downloading, building, or using the PowerTools for Open XML, please feel free to contact Eric White:  eric (at) ericwhite.com&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>EricWhiteDpe</author><pubDate>Tue, 11 Oct 2011 15:56:09 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20111011035609P</guid></item><item><title>Updated Wiki: Home</title><link>http://powertools.codeplex.com/wikipage?version=34</link><description>&lt;div class="wikidoc"&gt;Combining the technologies of PowerShell and Open XML is a powerful and convenient way to do server-side document processing.  The PowerTools for Open XML are sample source code and guidance for developers showing how to build PowerShell cmdlets that can create and modify Open XML documents.  Also included are a number of examples of PowerShell scripts that use the cmdlets.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Documentation, articles, and screen-casts about PowerTools for Open XML at the &lt;a href="http://openxmldeveloper.org/wiki/w/wiki/add.aspx?WikiParentPageID=1&amp;amp;WikiPageKey=PowerTools-for-Open-XML" class="externalLink"&gt;PowerTools for Open XML Resource Center at OpenXMLDeveloper.org&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Important Notes:&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;PowerTools for Open XML 2.2 Source Code is available.  Click on the Downloads Tab.&lt;/b&gt;  &lt;a href="http://www.youtube.com/watch?v=zU0utt3uga4" class="externalLink"&gt;See screen-cast to see how to build and run.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Whereas previously, DocumentBuilder, HtmlConverter, and RevisionAccepter were available in their own zip files, we now are delivering all PowerTools for Open XML modules in a single zip file.  One reason is that these modules are now refactored to use the utility classes.  Another reason is that we are going to be releasing new versions of PowerTools on a much more frequent basis, and this simplifies the process of building releases.&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;DocumentBuilder is a very important part of PowerTools for Open XML.  All information on DocumentBuilder 2.0 is consolidated in the &lt;a href="http://openxmldeveloper.org/wiki/w/wiki/documentbuilder.aspx" class="externalLink"&gt;Document Builder Resource Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;To install and build the PowerTools for Open XML from source code, please see the readme in the release, or watch this &lt;a href="http://www.youtube.com/watch?v=zU0utt3uga4" class="externalLink"&gt;video that walks through the process of building and installing PowerTools for Open XML 2.2&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;PowerTools for Open XML is built using the Open XML SDK 2.0.  You can download the SDK at &lt;a href="http://www.microsoft.com/download/en/details.aspx?id=5124" class="externalLink"&gt;http://www.microsoft.com/download/en/details.aspx?id=5124&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You also need the PowerTools source code, which is available in the &amp;quot;Releases&amp;quot; tab above.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;See &lt;a href="http://openxmldeveloper.org/wiki/w/wiki/powertools-for-open-xml-2-0-cmdlets.aspx" class="externalLink"&gt;this page&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for a complete list of cmdlets in PowerTools for Open XML 2.0.&lt;br /&gt;&lt;br /&gt;If you have any issues with downloading, building, or using the PowerTools for Open XML, please feel free to contact Eric White:  eric (at) ericwhite.com&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>EricWhiteDpe</author><pubDate>Tue, 11 Oct 2011 15:55:15 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20111011035515P</guid></item><item><title>Updated Wiki: Home</title><link>http://powertools.codeplex.com/wikipage?version=33</link><description>&lt;div class="wikidoc"&gt;Combining the technologies of PowerShell and Open XML is a powerful and convenient way to do server-side document processing.  The PowerTools for Open XML are sample source code and guidance for developers showing how to build PowerShell cmdlets that can create and modify Open XML documents.  Also included are a number of examples of PowerShell scripts that use the cmdlets.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Important Notes:&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;PowerTools for Open XML 2.2 Source Code is available.  Click on the Downloads Tab.&lt;/b&gt;  &lt;a href="http://www.youtube.com/watch?v=zU0utt3uga4" class="externalLink"&gt;See screen-cast to see how to build and run.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Whereas previously, DocumentBuilder, HtmlConverter, and RevisionAccepter were available in their own zip files, we now are delivering all PowerTools for Open XML modules in a single zip file.  One reason is that these modules are now refactored to use the utility classes.  Another reason is that we are going to be releasing new versions of PowerTools on a much more frequent basis, and this simplifies the process of building releases.&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;We are consolidating all information about PowerTools for Open XML at the &lt;a href="http://openxmldeveloper.org/wiki/w/wiki/add.aspx?WikiParentPageID=1&amp;amp;WikiPageKey=PowerTools-for-Open-XML" class="externalLink"&gt;PowerTools for Open XML Resource Center at OpenXMLDeveloper.org&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;DocumentBuilder is a very important part of PowerTools for Open XML.  All information on DocumentBuilder 2.0 is consolidated in the &lt;a href="http://openxmldeveloper.org/wiki/w/wiki/documentbuilder.aspx" class="externalLink"&gt;Document Builder Resource Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;To install and build the PowerTools for Open XML from source code, please see the readme in the release, or watch this &lt;a href="http://www.youtube.com/watch?v=zU0utt3uga4" class="externalLink"&gt;video that walks through the process of building and installing PowerTools for Open XML 2.2&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;PowerTools for Open XML is built using the Open XML SDK 2.0.  You can download the SDK at &lt;a href="http://www.microsoft.com/download/en/details.aspx?id=5124" class="externalLink"&gt;http://www.microsoft.com/download/en/details.aspx?id=5124&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You also need the PowerTools source code, which is available in the &amp;quot;Releases&amp;quot; tab above.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;See &lt;a href="http://openxmldeveloper.org/wiki/w/wiki/powertools-for-open-xml-2-0-cmdlets.aspx" class="externalLink"&gt;this page&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for a complete list of cmdlets in PowerTools for Open XML 2.0.&lt;br /&gt;&lt;br /&gt;If you have any issues with downloading, building, or using the PowerTools for Open XML, please feel free to contact Eric White:  eric (at) ericwhite.com&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>EricWhiteDpe</author><pubDate>Tue, 11 Oct 2011 15:53:51 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20111011035351P</guid></item><item><title>Updated Wiki: Home</title><link>http://powertools.codeplex.com/wikipage?version=32</link><description>&lt;div class="wikidoc"&gt;Combining the technologies of PowerShell and Open XML is a powerful and convenient way to do server-side document processing.  The PowerTools for Open XML are sample source code and guidance for developers showing how to build PowerShell cmdlets that can create and modify Open XML documents.  Also included are a number of examples of PowerShell scripts that use the cmdlets.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Important Notes:&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;PowerTools for Open XML 2.2 Source Code is available.  Click on the Downloads Tab.&lt;/b&gt;  &lt;a href="http://www.youtube.com/watch?v=zU0utt3uga4" class="externalLink"&gt;See screen-cast to see how to build and run.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Whereas previously, DocumentBuilder, HtmlConverter, and RevisionAccepter were available in their own zip files, we now are delivering all PowerTools for Open XML modules in a single zip file.  One reason is that these modules are now refactored to use the utility classes.  Another reason is that we are going to be releasing new versions of PowerTools on a much more frequent basis, and this simplifies the process of building releases.&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;We are consolidating all information about PowerTools for Open XML at the &lt;a href="http://openxmldeveloper.org/wiki/w/wiki/add.aspx?WikiParentPageID=1&amp;amp;WikiPageKey=PowerTools-for-Open-XML" class="externalLink"&gt;PowerTools for Open XML Resource Center at OpenXMLDeveloper.org&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;DocumentBuilder is a very important part of PowerTools for Open XML.  All information on DocumentBuilder 2.0 is consolidated in the &lt;a href="http://openxmldeveloper.org/wiki/w/wiki/documentbuilder.aspx" class="externalLink"&gt;Document Builder Resource Center&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;To install and build the PowerTools for Open XML from source code, please see the readme in the release, or watch this &lt;a href="http://www.youtube.com/watch?v=zU0utt3uga4" class="externalLink"&gt;video that walks through the process of building and installing PowerTools for Open XML 2.2&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;PowerTools for Open XML is built using the Open XML SDK 2.0.  You can download the SDK at &lt;a href="http://www.microsoft.com/download/en/details.aspx?id=5124" class="externalLink"&gt;http://www.microsoft.com/download/en/details.aspx?id=5124&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You also need the PowerTools source code, which is available in the &amp;quot;Releases&amp;quot; tab above.&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Set-OpenXmlCustomXmlData&lt;/h2&gt;
The Set-OpenXmlCustomXmlData cmdlet sets or replaces the specified custom XML part in the document.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlComment&lt;/h2&gt;
The Remove-OpenXmlComment cmdlet locates and removes comment contents and references from Wordprocessing documents.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOC&lt;/h2&gt;
The Add-OpenXmlDocumentTOC cmdlet creates a Table of Contents based on the headings found it in the document. The TOC will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentIndex&lt;/h2&gt;
The Add-OpenXmlDocumentIndex cmdlet creates an index based on the index references found in the document. The index will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlWatermark&lt;/h2&gt;
The Set-OpenXmlWatermark cmdlet adds watermark text to the background of a document. iI the DiagonalOrientation parameter is specified, then the text will be in a diagonal &lt;br /&gt;orientation rather than horizontal.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlPicture&lt;/h2&gt;
The Add-OpenXmlPicture cmdlet inserts a picture at a specific location inside an OpenXML document. The picture will be stored inside the document as an embedded resource. Picture location is specified by an XPath query expression.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlHeader&lt;/h2&gt;
The Set-OpenXmlHeader cmdlet inserts header parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Lock-OpenXmlDocument&lt;/h2&gt;
The Lock-OpenXmlDocument cmdlet sets a lock inside one or more Wordprocessing documents to prevent them from being edited.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlStyle&lt;/h2&gt;
The Get-OpenXmlStyle cmdlet retrieves the styles definition part from a WordprocessingML or SpreadsheetML document and returns an XDocument object containing the styles content.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlTheme&lt;/h2&gt;
The Get-OpenXmlTheme cmdlet extracts the whole theme part from a Wordprocessing document as a thmx file (with media resources embedded). A Package object (System.IO.Packaging.Package) is returned that corresponds to the theme file.&lt;br /&gt;
&lt;h2&gt;Accept-OpenXmlChange&lt;/h2&gt;
The Accept-OpenXmlTextChange cmdlet processes documents with text revisions (change tracking elements), by accepting all the text changes performed on the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlBackground&lt;/h2&gt;
The Set-OpenXmlBackground cmdlet changes the background image or background color of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlComment&lt;/h2&gt;
The Get-OpenXmlComment extracts all the comments from a document, and return all of them in a XDocument&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDigitalSignature&lt;/h2&gt;
The Add-OpenXmlDigitalSignature cmdlet uses a digital certificate to digitally sign a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDocument&lt;/h2&gt;
The Get-OpenXmlDocument cmdlet returns an OpenXML document object for each document file. The actual object will depend on the type of document in the file. For example, if it is a spreadsheet, the object will be a SpreadsheetDocument, which is derived from OpenXMLDocument.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlCustomXmlData&lt;/h2&gt;
The Get-OpenXmlCustomXmlData cmdlet gets the first customXml part that matches the given name and returns it as an XDocument object.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlToHtml&lt;/h2&gt;
The Export-OpenXmlToHtml cmdlet transforms the content of Wordprocessing documents into an html file by applying an XSLT transformation over the main content and extracting images from the package to a given location.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOA&lt;/h2&gt;
The Add-OpenXmlDocumentTOA cmdlet creates a Table of Authorities based on the citations (references or authorities) found it in the document. The TOA will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlStyle&lt;/h2&gt;
The Set-OpenXmlStyle cmdlet replaces the style library in a WordprocessingML or SpreadsheetML document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlFooter&lt;/h2&gt;
The Get-OpenXmlFooter cmdlet retrieves all the specified footer parts from a document and returns an XDocument array of those footers. An object is returned for the specified footer in each Section of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDigitalSignature&lt;/h2&gt;
The Get-OpenXmlDigitalSignature cmdlet returns a summary of digital signatures present in the Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlTheme&lt;/h2&gt;
The Set-OpenXmlTheme cmdlet sets the current theme in a Wordprocessing document to the specified theme.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlDigitalSignature&lt;/h2&gt;
The Remove-OpenXmlDigitalSignature cmdlet removes digital signatures from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlContent&lt;/h2&gt;
The Add-OpenXmlContent cmdlet injects custom xml markup inside a given part from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlWordprocessing&lt;/h2&gt;
The Export-OpenXmlWordprocessing uses plain text to create a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentFormat&lt;/h2&gt;
The Set-OpenXmlContentFormat cmdlet inserts markup containing format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlFooter&lt;/h2&gt;
The Set-OpenXmlFooter cmdlet inserts footer parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlWatermark&lt;/h2&gt;
The Get-OpenXmlWatermark cmdlet retrieves the text of the document&amp;#39;s watermark.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlBackground&lt;/h2&gt;
The Get-OpenXmlBackground cmdlet extracts the background (color or image) from a document according to the parameters Image or Color.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlSpreadsheet&lt;/h2&gt;
The Export-OpenXmlSpreadsheet gets the public properties from any objects and generates a spreadsheet with columns showing for each property. Optionally, a chart can be created from a subset of those properties.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentStyle&lt;/h2&gt;
The Set-OpenXmlContentStyle cmdlet inserts inserts markup containing the style format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOF&lt;/h2&gt;
The Add-OpenXmlDocumentTOF cmdlet creates a Table of Figures based on the figures found it in the document. The TOF will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlHeader&lt;/h2&gt;
The Get-OpenXmlHeader retrieves all the existing header parts from a document. The execution returns an XDocument array of all the header parts found in the document.&lt;br /&gt;&lt;br /&gt;If you have any issues with downloading, building, or using the PowerTools for Open XML, please feel free to contact Eric White:  eric (at) ericwhite.com&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>EricWhiteDpe</author><pubDate>Tue, 11 Oct 2011 15:20:12 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20111011032012P</guid></item><item><title>Updated Wiki: Home</title><link>http://powertools.codeplex.com/wikipage?version=31</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Important Note:&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;PowerTools for Open XML 2.2 Source Code is available.  Click on the Downloads Tab.&lt;/b&gt;  &lt;a href="http://www.youtube.com/watch?v=zU0utt3uga4" class="externalLink"&gt;See screen-cast to see how to build and run.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Whereas previously, DocumentBuilder, HtmlConverter, and RevisionAccepter were available in their own zip files, we now are delivering all PowerTools for Open XML modules in a single zip file.  One reason is that these modules are now refactored to use the utility classes.  Another reason is that we are going to be releasing new versions of PowerTools on a much more frequent basis, and this simplifies the process of building releases.&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Combining the technologies of PowerShell and Open XML is a powerful and convenient way to do server-side document processing.  The PowerTools for Open XML are sample source code and guidance for developers showing how to build PowerShell cmdlets that can create and modify Open XML documents.  Also included are a number of examples of PowerShell scripts that use the cmdlets.&lt;br /&gt;&lt;br /&gt;For an introduction on the PowerTools for Open XML, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2008/06/11/processing-open-xml-documents-server-side-using-powershell.aspx" class="externalLink"&gt;Automated Processing of Open XML Documents using PowerShell&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;For information and a screen-cast on PowerTools for Open XML v1.1, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/03/19/announcing-the-release-of-powertools-for-open-xml-v1-1.aspx" class="externalLink"&gt;Announcing the Release of PowerTools for Open XML V1.1&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;You can separately download source code for some important components of PowerTools for Open XML.  Click the &lt;a href="http://powertools.codeplex.com/releases/view/26378" class="externalLink"&gt;Downloads tab&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; to download:
&lt;ul&gt;&lt;li&gt;DocumentBuilder - enables composition of new word-processing documents from other word-processing documents.  For a detailed explanation of DocumentBuilder, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/02/05/move-insert-delete-paragraphs-in-word-processing-documents-using-the-open-xml-sdk.aspx" class="externalLink"&gt;Move/Insert/Delete Paragraphs in Word Processing Documents using the Open XML SDK&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;DocumentBuilder 2.0 - an important update to DocumentBuilder that enables enables composition of much more elaborate documents, including documents with drawings or images in headers/footers, external links, and more.  The main source code of PowerTools for Open XML have not yet been updated to include the new DocumentBuilder source code.  Click the &lt;a href="http://powertools.codeplex.com/releases/view/26378" class="externalLink"&gt;Downloads tab&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; and download DocumentBuilder-2-0.zip.&lt;/li&gt;
&lt;li&gt;CommentMerger - merge comments from two documents that are identical except for comments.  For more information about merging comments, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/07/28/merging-comments-from-multiple-open-xml-documents-into-a-single-document.aspx" class="externalLink"&gt;Merging Comments from Multiple Open XML Documents into a Single Document&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;RevisionAccepter - accept tracked changes for a word-processing document.  See &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/12/21/accepting-revisions-in-open-xml-wordprocessingml-documents.aspx" class="externalLink"&gt;Accepting Revisions in Open XML WordprocessingML Documents&amp;#39;&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;HtmlConverter - convert a word-processing document to XHtml.  See &lt;a href="http://blogs.msdn.com/ericwhite/archive/2010/01/28/htmlconverter-transform-open-xml-wordprocessingml-to-xhtml.aspx" class="externalLink"&gt;HtmlConverter: Transform Open XML WordprocessingML to XHtml&amp;#39;&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;To install and build the PowerTools for Open XML from source code, please see the readme in the release, or watch this &lt;a href="http://www.youtube.com/watch?v=zU0utt3uga4" class="externalLink"&gt;video that walks through the process of building and installing PowerTools for Open XML 2.2&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;PowerTools for Open XML is built using the Open XML SDK.  You can download the SDK at &lt;a href="http://go.microsoft.com/fwlink/?LinkId=120908" class="externalLink"&gt;http://go.microsoft.com/fwlink/?LinkId=120908&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You also need the PowerTools source code, which is available in the &amp;quot;Releases&amp;quot; tab above.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;PowerTools for Open XML Home Page: &lt;a href="http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx" class="externalLink"&gt;http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;October 10, 2011: The following list of cmdlets will be updated in the next couple of days&lt;/b&gt;&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlCustomXmlData&lt;/h2&gt;
The Set-OpenXmlCustomXmlData cmdlet sets or replaces the specified custom XML part in the document.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlComment&lt;/h2&gt;
The Remove-OpenXmlComment cmdlet locates and removes comment contents and references from Wordprocessing documents.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOC&lt;/h2&gt;
The Add-OpenXmlDocumentTOC cmdlet creates a Table of Contents based on the headings found it in the document. The TOC will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentIndex&lt;/h2&gt;
The Add-OpenXmlDocumentIndex cmdlet creates an index based on the index references found in the document. The index will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlWatermark&lt;/h2&gt;
The Set-OpenXmlWatermark cmdlet adds watermark text to the background of a document. iI the DiagonalOrientation parameter is specified, then the text will be in a diagonal &lt;br /&gt;orientation rather than horizontal.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlPicture&lt;/h2&gt;
The Add-OpenXmlPicture cmdlet inserts a picture at a specific location inside an OpenXML document. The picture will be stored inside the document as an embedded resource. Picture location is specified by an XPath query expression.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlHeader&lt;/h2&gt;
The Set-OpenXmlHeader cmdlet inserts header parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Lock-OpenXmlDocument&lt;/h2&gt;
The Lock-OpenXmlDocument cmdlet sets a lock inside one or more Wordprocessing documents to prevent them from being edited.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlStyle&lt;/h2&gt;
The Get-OpenXmlStyle cmdlet retrieves the styles definition part from a WordprocessingML or SpreadsheetML document and returns an XDocument object containing the styles content.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlTheme&lt;/h2&gt;
The Get-OpenXmlTheme cmdlet extracts the whole theme part from a Wordprocessing document as a thmx file (with media resources embedded). A Package object (System.IO.Packaging.Package) is returned that corresponds to the theme file.&lt;br /&gt;
&lt;h2&gt;Accept-OpenXmlChange&lt;/h2&gt;
The Accept-OpenXmlTextChange cmdlet processes documents with text revisions (change tracking elements), by accepting all the text changes performed on the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlBackground&lt;/h2&gt;
The Set-OpenXmlBackground cmdlet changes the background image or background color of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlComment&lt;/h2&gt;
The Get-OpenXmlComment extracts all the comments from a document, and return all of them in a XDocument&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDigitalSignature&lt;/h2&gt;
The Add-OpenXmlDigitalSignature cmdlet uses a digital certificate to digitally sign a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDocument&lt;/h2&gt;
The Get-OpenXmlDocument cmdlet returns an OpenXML document object for each document file. The actual object will depend on the type of document in the file. For example, if it is a spreadsheet, the object will be a SpreadsheetDocument, which is derived from OpenXMLDocument.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlCustomXmlData&lt;/h2&gt;
The Get-OpenXmlCustomXmlData cmdlet gets the first customXml part that matches the given name and returns it as an XDocument object.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlToHtml&lt;/h2&gt;
The Export-OpenXmlToHtml cmdlet transforms the content of Wordprocessing documents into an html file by applying an XSLT transformation over the main content and extracting images from the package to a given location.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOA&lt;/h2&gt;
The Add-OpenXmlDocumentTOA cmdlet creates a Table of Authorities based on the citations (references or authorities) found it in the document. The TOA will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlStyle&lt;/h2&gt;
The Set-OpenXmlStyle cmdlet replaces the style library in a WordprocessingML or SpreadsheetML document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlFooter&lt;/h2&gt;
The Get-OpenXmlFooter cmdlet retrieves all the specified footer parts from a document and returns an XDocument array of those footers. An object is returned for the specified footer in each Section of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDigitalSignature&lt;/h2&gt;
The Get-OpenXmlDigitalSignature cmdlet returns a summary of digital signatures present in the Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlTheme&lt;/h2&gt;
The Set-OpenXmlTheme cmdlet sets the current theme in a Wordprocessing document to the specified theme.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlDigitalSignature&lt;/h2&gt;
The Remove-OpenXmlDigitalSignature cmdlet removes digital signatures from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlContent&lt;/h2&gt;
The Add-OpenXmlContent cmdlet injects custom xml markup inside a given part from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlWordprocessing&lt;/h2&gt;
The Export-OpenXmlWordprocessing uses plain text to create a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentFormat&lt;/h2&gt;
The Set-OpenXmlContentFormat cmdlet inserts markup containing format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlFooter&lt;/h2&gt;
The Set-OpenXmlFooter cmdlet inserts footer parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlWatermark&lt;/h2&gt;
The Get-OpenXmlWatermark cmdlet retrieves the text of the document&amp;#39;s watermark.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlBackground&lt;/h2&gt;
The Get-OpenXmlBackground cmdlet extracts the background (color or image) from a document according to the parameters Image or Color.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlSpreadsheet&lt;/h2&gt;
The Export-OpenXmlSpreadsheet gets the public properties from any objects and generates a spreadsheet with columns showing for each property. Optionally, a chart can be created from a subset of those properties.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentStyle&lt;/h2&gt;
The Set-OpenXmlContentStyle cmdlet inserts inserts markup containing the style format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOF&lt;/h2&gt;
The Add-OpenXmlDocumentTOF cmdlet creates a Table of Figures based on the figures found it in the document. The TOF will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlHeader&lt;/h2&gt;
The Get-OpenXmlHeader retrieves all the existing header parts from a document. The execution returns an XDocument array of all the header parts found in the document.&lt;br /&gt;&lt;br /&gt;If you have any issues with downloading, building, or using the PowerTools for Open XML, please feel free to contact Eric White:  eric (at) ericwhite.com&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>EricWhiteDpe</author><pubDate>Tue, 11 Oct 2011 14:09:18 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20111011020918P</guid></item><item><title>Updated Wiki: Home</title><link>http://powertools.codeplex.com/wikipage?version=30</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Important Note:&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;PowerTools for Open XML 2.2 Source Code is available.  Click on the Downloads Tab.&lt;/b&gt;  &lt;a href="http://www.youtube.com/watch?v=zU0utt3uga4" class="externalLink"&gt;See screen-cast to see how to build and run.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Note that the latest versions of HtmlConverter and DocumentBuilder are now part of PowerTools for Open XML 2.2.&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Combining the technologies of PowerShell and Open XML is a powerful and convenient way to do server-side document processing.  The PowerTools for Open XML are sample source code and guidance for developers showing how to build PowerShell cmdlets that can create and modify Open XML documents.  Also included are a number of examples of PowerShell scripts that use the cmdlets.&lt;br /&gt;&lt;br /&gt;For an introduction on the PowerTools for Open XML, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2008/06/11/processing-open-xml-documents-server-side-using-powershell.aspx" class="externalLink"&gt;Automated Processing of Open XML Documents using PowerShell&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;For information and a screen-cast on PowerTools for Open XML v1.1, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/03/19/announcing-the-release-of-powertools-for-open-xml-v1-1.aspx" class="externalLink"&gt;Announcing the Release of PowerTools for Open XML V1.1&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;You can separately download source code for some important components of PowerTools for Open XML.  Click the &lt;a href="http://powertools.codeplex.com/releases/view/26378" class="externalLink"&gt;Downloads tab&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; to download:
&lt;ul&gt;&lt;li&gt;DocumentBuilder - enables composition of new word-processing documents from other word-processing documents.  For a detailed explanation of DocumentBuilder, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/02/05/move-insert-delete-paragraphs-in-word-processing-documents-using-the-open-xml-sdk.aspx" class="externalLink"&gt;Move/Insert/Delete Paragraphs in Word Processing Documents using the Open XML SDK&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;DocumentBuilder 2.0 - an important update to DocumentBuilder that enables enables composition of much more elaborate documents, including documents with drawings or images in headers/footers, external links, and more.  The main source code of PowerTools for Open XML have not yet been updated to include the new DocumentBuilder source code.  Click the &lt;a href="http://powertools.codeplex.com/releases/view/26378" class="externalLink"&gt;Downloads tab&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; and download DocumentBuilder-2-0.zip.&lt;/li&gt;
&lt;li&gt;CommentMerger - merge comments from two documents that are identical except for comments.  For more information about merging comments, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/07/28/merging-comments-from-multiple-open-xml-documents-into-a-single-document.aspx" class="externalLink"&gt;Merging Comments from Multiple Open XML Documents into a Single Document&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;RevisionAccepter - accept tracked changes for a word-processing document.  See &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/12/21/accepting-revisions-in-open-xml-wordprocessingml-documents.aspx" class="externalLink"&gt;Accepting Revisions in Open XML WordprocessingML Documents&amp;#39;&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;HtmlConverter - convert a word-processing document to XHtml.  See &lt;a href="http://blogs.msdn.com/ericwhite/archive/2010/01/28/htmlconverter-transform-open-xml-wordprocessingml-to-xhtml.aspx" class="externalLink"&gt;HtmlConverter: Transform Open XML WordprocessingML to XHtml&amp;#39;&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;To install and build the PowerTools for Open XML from source code, please see the readme in the release, or watch this &lt;a href="http://www.youtube.com/watch?v=zU0utt3uga4" class="externalLink"&gt;video that walks through the process of building and installing PowerTools for Open XML 2.2&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;PowerTools for Open XML is built using the Open XML SDK.  You can download the SDK at &lt;a href="http://go.microsoft.com/fwlink/?LinkId=120908" class="externalLink"&gt;http://go.microsoft.com/fwlink/?LinkId=120908&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You also need the PowerTools source code, which is available in the &amp;quot;Releases&amp;quot; tab above.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;PowerTools for Open XML Home Page: &lt;a href="http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx" class="externalLink"&gt;http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;October 10, 2011: The following list of cmdlets will be updated in the next couple of days&lt;/b&gt;&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlCustomXmlData&lt;/h2&gt;
The Set-OpenXmlCustomXmlData cmdlet sets or replaces the specified custom XML part in the document.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlComment&lt;/h2&gt;
The Remove-OpenXmlComment cmdlet locates and removes comment contents and references from Wordprocessing documents.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOC&lt;/h2&gt;
The Add-OpenXmlDocumentTOC cmdlet creates a Table of Contents based on the headings found it in the document. The TOC will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentIndex&lt;/h2&gt;
The Add-OpenXmlDocumentIndex cmdlet creates an index based on the index references found in the document. The index will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlWatermark&lt;/h2&gt;
The Set-OpenXmlWatermark cmdlet adds watermark text to the background of a document. iI the DiagonalOrientation parameter is specified, then the text will be in a diagonal &lt;br /&gt;orientation rather than horizontal.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlPicture&lt;/h2&gt;
The Add-OpenXmlPicture cmdlet inserts a picture at a specific location inside an OpenXML document. The picture will be stored inside the document as an embedded resource. Picture location is specified by an XPath query expression.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlHeader&lt;/h2&gt;
The Set-OpenXmlHeader cmdlet inserts header parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Lock-OpenXmlDocument&lt;/h2&gt;
The Lock-OpenXmlDocument cmdlet sets a lock inside one or more Wordprocessing documents to prevent them from being edited.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlStyle&lt;/h2&gt;
The Get-OpenXmlStyle cmdlet retrieves the styles definition part from a WordprocessingML or SpreadsheetML document and returns an XDocument object containing the styles content.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlTheme&lt;/h2&gt;
The Get-OpenXmlTheme cmdlet extracts the whole theme part from a Wordprocessing document as a thmx file (with media resources embedded). A Package object (System.IO.Packaging.Package) is returned that corresponds to the theme file.&lt;br /&gt;
&lt;h2&gt;Accept-OpenXmlChange&lt;/h2&gt;
The Accept-OpenXmlTextChange cmdlet processes documents with text revisions (change tracking elements), by accepting all the text changes performed on the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlBackground&lt;/h2&gt;
The Set-OpenXmlBackground cmdlet changes the background image or background color of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlComment&lt;/h2&gt;
The Get-OpenXmlComment extracts all the comments from a document, and return all of them in a XDocument&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDigitalSignature&lt;/h2&gt;
The Add-OpenXmlDigitalSignature cmdlet uses a digital certificate to digitally sign a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDocument&lt;/h2&gt;
The Get-OpenXmlDocument cmdlet returns an OpenXML document object for each document file. The actual object will depend on the type of document in the file. For example, if it is a spreadsheet, the object will be a SpreadsheetDocument, which is derived from OpenXMLDocument.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlCustomXmlData&lt;/h2&gt;
The Get-OpenXmlCustomXmlData cmdlet gets the first customXml part that matches the given name and returns it as an XDocument object.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlToHtml&lt;/h2&gt;
The Export-OpenXmlToHtml cmdlet transforms the content of Wordprocessing documents into an html file by applying an XSLT transformation over the main content and extracting images from the package to a given location.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOA&lt;/h2&gt;
The Add-OpenXmlDocumentTOA cmdlet creates a Table of Authorities based on the citations (references or authorities) found it in the document. The TOA will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlStyle&lt;/h2&gt;
The Set-OpenXmlStyle cmdlet replaces the style library in a WordprocessingML or SpreadsheetML document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlFooter&lt;/h2&gt;
The Get-OpenXmlFooter cmdlet retrieves all the specified footer parts from a document and returns an XDocument array of those footers. An object is returned for the specified footer in each Section of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDigitalSignature&lt;/h2&gt;
The Get-OpenXmlDigitalSignature cmdlet returns a summary of digital signatures present in the Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlTheme&lt;/h2&gt;
The Set-OpenXmlTheme cmdlet sets the current theme in a Wordprocessing document to the specified theme.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlDigitalSignature&lt;/h2&gt;
The Remove-OpenXmlDigitalSignature cmdlet removes digital signatures from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlContent&lt;/h2&gt;
The Add-OpenXmlContent cmdlet injects custom xml markup inside a given part from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlWordprocessing&lt;/h2&gt;
The Export-OpenXmlWordprocessing uses plain text to create a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentFormat&lt;/h2&gt;
The Set-OpenXmlContentFormat cmdlet inserts markup containing format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlFooter&lt;/h2&gt;
The Set-OpenXmlFooter cmdlet inserts footer parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlWatermark&lt;/h2&gt;
The Get-OpenXmlWatermark cmdlet retrieves the text of the document&amp;#39;s watermark.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlBackground&lt;/h2&gt;
The Get-OpenXmlBackground cmdlet extracts the background (color or image) from a document according to the parameters Image or Color.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlSpreadsheet&lt;/h2&gt;
The Export-OpenXmlSpreadsheet gets the public properties from any objects and generates a spreadsheet with columns showing for each property. Optionally, a chart can be created from a subset of those properties.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentStyle&lt;/h2&gt;
The Set-OpenXmlContentStyle cmdlet inserts inserts markup containing the style format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOF&lt;/h2&gt;
The Add-OpenXmlDocumentTOF cmdlet creates a Table of Figures based on the figures found it in the document. The TOF will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlHeader&lt;/h2&gt;
The Get-OpenXmlHeader retrieves all the existing header parts from a document. The execution returns an XDocument array of all the header parts found in the document.&lt;br /&gt;&lt;br /&gt;If you have any issues with downloading, building, or using the PowerTools for Open XML, please feel free to contact Eric White:  eric (at) ericwhite.com&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>EricWhiteDpe</author><pubDate>Mon, 10 Oct 2011 16:35:16 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20111010043516P</guid></item><item><title>Updated Wiki: Home</title><link>http://powertools.codeplex.com/wikipage?version=29</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Important Note:&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;PowerTools for Open XML 2.2 Source Code is available.  Click on the Downloads Tab.&lt;/b&gt;  &lt;a href="http://www.youtube.com/watch?v=6IQl_nggHb8" class="externalLink"&gt;See screen-cast to see how to build and run.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Note that the latest versions of HtmlConverter and DocumentBuilder are now part of PowerTools for Open XML 2.2.&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Combining the technologies of PowerShell and Open XML is a powerful and convenient way to do server-side document processing.  The PowerTools for Open XML are sample source code and guidance for developers showing how to build PowerShell cmdlets that can create and modify Open XML documents.  Also included are a number of examples of PowerShell scripts that use the cmdlets.&lt;br /&gt;&lt;br /&gt;For an introduction on the PowerTools for Open XML, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2008/06/11/processing-open-xml-documents-server-side-using-powershell.aspx" class="externalLink"&gt;Automated Processing of Open XML Documents using PowerShell&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;For information and a screen-cast on PowerTools for Open XML v1.1, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/03/19/announcing-the-release-of-powertools-for-open-xml-v1-1.aspx" class="externalLink"&gt;Announcing the Release of PowerTools for Open XML V1.1&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;You can separately download source code for some important components of PowerTools for Open XML.  Click the &lt;a href="http://powertools.codeplex.com/releases/view/26378" class="externalLink"&gt;Downloads tab&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; to download:
&lt;ul&gt;&lt;li&gt;DocumentBuilder - enables composition of new word-processing documents from other word-processing documents.  For a detailed explanation of DocumentBuilder, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/02/05/move-insert-delete-paragraphs-in-word-processing-documents-using-the-open-xml-sdk.aspx" class="externalLink"&gt;Move/Insert/Delete Paragraphs in Word Processing Documents using the Open XML SDK&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;DocumentBuilder 2.0 - an important update to DocumentBuilder that enables enables composition of much more elaborate documents, including documents with drawings or images in headers/footers, external links, and more.  The main source code of PowerTools for Open XML have not yet been updated to include the new DocumentBuilder source code.  Click the &lt;a href="http://powertools.codeplex.com/releases/view/26378" class="externalLink"&gt;Downloads tab&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; and download DocumentBuilder-2-0.zip.&lt;/li&gt;
&lt;li&gt;CommentMerger - merge comments from two documents that are identical except for comments.  For more information about merging comments, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/07/28/merging-comments-from-multiple-open-xml-documents-into-a-single-document.aspx" class="externalLink"&gt;Merging Comments from Multiple Open XML Documents into a Single Document&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;RevisionAccepter - accept tracked changes for a word-processing document.  See &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/12/21/accepting-revisions-in-open-xml-wordprocessingml-documents.aspx" class="externalLink"&gt;Accepting Revisions in Open XML WordprocessingML Documents&amp;#39;&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;HtmlConverter - convert a word-processing document to XHtml.  See &lt;a href="http://blogs.msdn.com/ericwhite/archive/2010/01/28/htmlconverter-transform-open-xml-wordprocessingml-to-xhtml.aspx" class="externalLink"&gt;HtmlConverter: Transform Open XML WordprocessingML to XHtml&amp;#39;&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;To install and build the PowerTools for Open XML from source code, please see the readme in the release, or watch this &lt;a href="http://www.youtube.com/watch?v=6IQl_nggHb8" class="externalLink"&gt;video that walks through the process of building and installing PowerTools for Open XML 2.2&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;PowerTools for Open XML is built using the Open XML SDK.  You can download the SDK at &lt;a href="http://go.microsoft.com/fwlink/?LinkId=120908" class="externalLink"&gt;http://go.microsoft.com/fwlink/?LinkId=120908&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You also need the PowerTools source code, which is available in the &amp;quot;Releases&amp;quot; tab above.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;PowerTools for Open XML Home Page: &lt;a href="http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx" class="externalLink"&gt;http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;October 10, 2011: The following list of cmdlets will be updated in the next couple of days&lt;/b&gt;&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlCustomXmlData&lt;/h2&gt;
The Set-OpenXmlCustomXmlData cmdlet sets or replaces the specified custom XML part in the document.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlComment&lt;/h2&gt;
The Remove-OpenXmlComment cmdlet locates and removes comment contents and references from Wordprocessing documents.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOC&lt;/h2&gt;
The Add-OpenXmlDocumentTOC cmdlet creates a Table of Contents based on the headings found it in the document. The TOC will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentIndex&lt;/h2&gt;
The Add-OpenXmlDocumentIndex cmdlet creates an index based on the index references found in the document. The index will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlWatermark&lt;/h2&gt;
The Set-OpenXmlWatermark cmdlet adds watermark text to the background of a document. iI the DiagonalOrientation parameter is specified, then the text will be in a diagonal &lt;br /&gt;orientation rather than horizontal.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlPicture&lt;/h2&gt;
The Add-OpenXmlPicture cmdlet inserts a picture at a specific location inside an OpenXML document. The picture will be stored inside the document as an embedded resource. Picture location is specified by an XPath query expression.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlHeader&lt;/h2&gt;
The Set-OpenXmlHeader cmdlet inserts header parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Lock-OpenXmlDocument&lt;/h2&gt;
The Lock-OpenXmlDocument cmdlet sets a lock inside one or more Wordprocessing documents to prevent them from being edited.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlStyle&lt;/h2&gt;
The Get-OpenXmlStyle cmdlet retrieves the styles definition part from a WordprocessingML or SpreadsheetML document and returns an XDocument object containing the styles content.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlTheme&lt;/h2&gt;
The Get-OpenXmlTheme cmdlet extracts the whole theme part from a Wordprocessing document as a thmx file (with media resources embedded). A Package object (System.IO.Packaging.Package) is returned that corresponds to the theme file.&lt;br /&gt;
&lt;h2&gt;Accept-OpenXmlChange&lt;/h2&gt;
The Accept-OpenXmlTextChange cmdlet processes documents with text revisions (change tracking elements), by accepting all the text changes performed on the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlBackground&lt;/h2&gt;
The Set-OpenXmlBackground cmdlet changes the background image or background color of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlComment&lt;/h2&gt;
The Get-OpenXmlComment extracts all the comments from a document, and return all of them in a XDocument&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDigitalSignature&lt;/h2&gt;
The Add-OpenXmlDigitalSignature cmdlet uses a digital certificate to digitally sign a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDocument&lt;/h2&gt;
The Get-OpenXmlDocument cmdlet returns an OpenXML document object for each document file. The actual object will depend on the type of document in the file. For example, if it is a spreadsheet, the object will be a SpreadsheetDocument, which is derived from OpenXMLDocument.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlCustomXmlData&lt;/h2&gt;
The Get-OpenXmlCustomXmlData cmdlet gets the first customXml part that matches the given name and returns it as an XDocument object.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlToHtml&lt;/h2&gt;
The Export-OpenXmlToHtml cmdlet transforms the content of Wordprocessing documents into an html file by applying an XSLT transformation over the main content and extracting images from the package to a given location.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOA&lt;/h2&gt;
The Add-OpenXmlDocumentTOA cmdlet creates a Table of Authorities based on the citations (references or authorities) found it in the document. The TOA will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlStyle&lt;/h2&gt;
The Set-OpenXmlStyle cmdlet replaces the style library in a WordprocessingML or SpreadsheetML document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlFooter&lt;/h2&gt;
The Get-OpenXmlFooter cmdlet retrieves all the specified footer parts from a document and returns an XDocument array of those footers. An object is returned for the specified footer in each Section of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDigitalSignature&lt;/h2&gt;
The Get-OpenXmlDigitalSignature cmdlet returns a summary of digital signatures present in the Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlTheme&lt;/h2&gt;
The Set-OpenXmlTheme cmdlet sets the current theme in a Wordprocessing document to the specified theme.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlDigitalSignature&lt;/h2&gt;
The Remove-OpenXmlDigitalSignature cmdlet removes digital signatures from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlContent&lt;/h2&gt;
The Add-OpenXmlContent cmdlet injects custom xml markup inside a given part from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlWordprocessing&lt;/h2&gt;
The Export-OpenXmlWordprocessing uses plain text to create a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentFormat&lt;/h2&gt;
The Set-OpenXmlContentFormat cmdlet inserts markup containing format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlFooter&lt;/h2&gt;
The Set-OpenXmlFooter cmdlet inserts footer parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlWatermark&lt;/h2&gt;
The Get-OpenXmlWatermark cmdlet retrieves the text of the document&amp;#39;s watermark.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlBackground&lt;/h2&gt;
The Get-OpenXmlBackground cmdlet extracts the background (color or image) from a document according to the parameters Image or Color.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlSpreadsheet&lt;/h2&gt;
The Export-OpenXmlSpreadsheet gets the public properties from any objects and generates a spreadsheet with columns showing for each property. Optionally, a chart can be created from a subset of those properties.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentStyle&lt;/h2&gt;
The Set-OpenXmlContentStyle cmdlet inserts inserts markup containing the style format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOF&lt;/h2&gt;
The Add-OpenXmlDocumentTOF cmdlet creates a Table of Figures based on the figures found it in the document. The TOF will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlHeader&lt;/h2&gt;
The Get-OpenXmlHeader retrieves all the existing header parts from a document. The execution returns an XDocument array of all the header parts found in the document.&lt;br /&gt;&lt;br /&gt;If you have any issues with downloading, building, or using the PowerTools for Open XML, please feel free to contact Eric White:  eric (at) ericwhite.com&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>EricWhiteDpe</author><pubDate>Mon, 10 Oct 2011 15:22:40 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20111010032240P</guid></item><item><title>Updated Wiki: Home</title><link>http://powertools.codeplex.com/wikipage?version=28</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Important Note:&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;PowerTools for Open XML 2.2 Source Code is available.  Click on the Downloads Tab.&lt;/b&gt;  &lt;a href="http://www.youtube.com/watch?v=6IQl_nggHb8" class="externalLink"&gt;See screen-cast to see how to build and run.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;*Note that the latest versions of HtmlConverter and DocumentBuilder are now part of PowerTools for Open XML 2.2.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Combining the technologies of PowerShell and Open XML is a powerful and convenient way to do server-side document processing.  The PowerTools for Open XML are sample source code and guidance for developers showing how to build PowerShell cmdlets that can create and modify Open XML documents.  Also included are a number of examples of PowerShell scripts that use the cmdlets.&lt;br /&gt;&lt;br /&gt;For an introduction on the PowerTools for Open XML, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2008/06/11/processing-open-xml-documents-server-side-using-powershell.aspx" class="externalLink"&gt;Automated Processing of Open XML Documents using PowerShell&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;For information and a screen-cast on PowerTools for Open XML v1.1, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/03/19/announcing-the-release-of-powertools-for-open-xml-v1-1.aspx" class="externalLink"&gt;Announcing the Release of PowerTools for Open XML V1.1&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;You can separately download source code for some important components of PowerTools for Open XML.  Click the &lt;a href="http://powertools.codeplex.com/releases/view/26378" class="externalLink"&gt;Downloads tab&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; to download:
&lt;ul&gt;&lt;li&gt;DocumentBuilder - enables composition of new word-processing documents from other word-processing documents.  For a detailed explanation of DocumentBuilder, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/02/05/move-insert-delete-paragraphs-in-word-processing-documents-using-the-open-xml-sdk.aspx" class="externalLink"&gt;Move/Insert/Delete Paragraphs in Word Processing Documents using the Open XML SDK&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;DocumentBuilder 2.0 - an important update to DocumentBuilder that enables enables composition of much more elaborate documents, including documents with drawings or images in headers/footers, external links, and more.  The main source code of PowerTools for Open XML have not yet been updated to include the new DocumentBuilder source code.  Click the &lt;a href="http://powertools.codeplex.com/releases/view/26378" class="externalLink"&gt;Downloads tab&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; and download DocumentBuilder-2-0.zip.&lt;/li&gt;
&lt;li&gt;CommentMerger - merge comments from two documents that are identical except for comments.  For more information about merging comments, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/07/28/merging-comments-from-multiple-open-xml-documents-into-a-single-document.aspx" class="externalLink"&gt;Merging Comments from Multiple Open XML Documents into a Single Document&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;RevisionAccepter - accept tracked changes for a word-processing document.  See &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/12/21/accepting-revisions-in-open-xml-wordprocessingml-documents.aspx" class="externalLink"&gt;Accepting Revisions in Open XML WordprocessingML Documents&amp;#39;&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;HtmlConverter - convert a word-processing document to XHtml.  See &lt;a href="http://blogs.msdn.com/ericwhite/archive/2010/01/28/htmlconverter-transform-open-xml-wordprocessingml-to-xhtml.aspx" class="externalLink"&gt;HtmlConverter: Transform Open XML WordprocessingML to XHtml&amp;#39;&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;To install and build the PowerTools for Open XML from source code, please see the readme in the release, or watch this &lt;a href="http://www.youtube.com/watch?v=6IQl_nggHb8" class="externalLink"&gt;video that walks through the process of building and installing PowerTools for Open XML 2.2&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;PowerTools for Open XML is built using the Open XML SDK.  You can download the SDK at &lt;a href="http://go.microsoft.com/fwlink/?LinkId=120908" class="externalLink"&gt;http://go.microsoft.com/fwlink/?LinkId=120908&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You also need the PowerTools source code, which is available in the &amp;quot;Releases&amp;quot; tab above.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;PowerTools for Open XML Home Page: &lt;a href="http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx" class="externalLink"&gt;http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;October 10, 2011: The following list of cmdlets will be updated in the next couple of days&lt;/b&gt;&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlCustomXmlData&lt;/h2&gt;
The Set-OpenXmlCustomXmlData cmdlet sets or replaces the specified custom XML part in the document.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlComment&lt;/h2&gt;
The Remove-OpenXmlComment cmdlet locates and removes comment contents and references from Wordprocessing documents.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOC&lt;/h2&gt;
The Add-OpenXmlDocumentTOC cmdlet creates a Table of Contents based on the headings found it in the document. The TOC will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentIndex&lt;/h2&gt;
The Add-OpenXmlDocumentIndex cmdlet creates an index based on the index references found in the document. The index will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlWatermark&lt;/h2&gt;
The Set-OpenXmlWatermark cmdlet adds watermark text to the background of a document. iI the DiagonalOrientation parameter is specified, then the text will be in a diagonal &lt;br /&gt;orientation rather than horizontal.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlPicture&lt;/h2&gt;
The Add-OpenXmlPicture cmdlet inserts a picture at a specific location inside an OpenXML document. The picture will be stored inside the document as an embedded resource. Picture location is specified by an XPath query expression.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlHeader&lt;/h2&gt;
The Set-OpenXmlHeader cmdlet inserts header parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Lock-OpenXmlDocument&lt;/h2&gt;
The Lock-OpenXmlDocument cmdlet sets a lock inside one or more Wordprocessing documents to prevent them from being edited.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlStyle&lt;/h2&gt;
The Get-OpenXmlStyle cmdlet retrieves the styles definition part from a WordprocessingML or SpreadsheetML document and returns an XDocument object containing the styles content.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlTheme&lt;/h2&gt;
The Get-OpenXmlTheme cmdlet extracts the whole theme part from a Wordprocessing document as a thmx file (with media resources embedded). A Package object (System.IO.Packaging.Package) is returned that corresponds to the theme file.&lt;br /&gt;
&lt;h2&gt;Accept-OpenXmlChange&lt;/h2&gt;
The Accept-OpenXmlTextChange cmdlet processes documents with text revisions (change tracking elements), by accepting all the text changes performed on the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlBackground&lt;/h2&gt;
The Set-OpenXmlBackground cmdlet changes the background image or background color of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlComment&lt;/h2&gt;
The Get-OpenXmlComment extracts all the comments from a document, and return all of them in a XDocument&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDigitalSignature&lt;/h2&gt;
The Add-OpenXmlDigitalSignature cmdlet uses a digital certificate to digitally sign a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDocument&lt;/h2&gt;
The Get-OpenXmlDocument cmdlet returns an OpenXML document object for each document file. The actual object will depend on the type of document in the file. For example, if it is a spreadsheet, the object will be a SpreadsheetDocument, which is derived from OpenXMLDocument.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlCustomXmlData&lt;/h2&gt;
The Get-OpenXmlCustomXmlData cmdlet gets the first customXml part that matches the given name and returns it as an XDocument object.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlToHtml&lt;/h2&gt;
The Export-OpenXmlToHtml cmdlet transforms the content of Wordprocessing documents into an html file by applying an XSLT transformation over the main content and extracting images from the package to a given location.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOA&lt;/h2&gt;
The Add-OpenXmlDocumentTOA cmdlet creates a Table of Authorities based on the citations (references or authorities) found it in the document. The TOA will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlStyle&lt;/h2&gt;
The Set-OpenXmlStyle cmdlet replaces the style library in a WordprocessingML or SpreadsheetML document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlFooter&lt;/h2&gt;
The Get-OpenXmlFooter cmdlet retrieves all the specified footer parts from a document and returns an XDocument array of those footers. An object is returned for the specified footer in each Section of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDigitalSignature&lt;/h2&gt;
The Get-OpenXmlDigitalSignature cmdlet returns a summary of digital signatures present in the Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlTheme&lt;/h2&gt;
The Set-OpenXmlTheme cmdlet sets the current theme in a Wordprocessing document to the specified theme.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlDigitalSignature&lt;/h2&gt;
The Remove-OpenXmlDigitalSignature cmdlet removes digital signatures from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlContent&lt;/h2&gt;
The Add-OpenXmlContent cmdlet injects custom xml markup inside a given part from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlWordprocessing&lt;/h2&gt;
The Export-OpenXmlWordprocessing uses plain text to create a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentFormat&lt;/h2&gt;
The Set-OpenXmlContentFormat cmdlet inserts markup containing format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlFooter&lt;/h2&gt;
The Set-OpenXmlFooter cmdlet inserts footer parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlWatermark&lt;/h2&gt;
The Get-OpenXmlWatermark cmdlet retrieves the text of the document&amp;#39;s watermark.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlBackground&lt;/h2&gt;
The Get-OpenXmlBackground cmdlet extracts the background (color or image) from a document according to the parameters Image or Color.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlSpreadsheet&lt;/h2&gt;
The Export-OpenXmlSpreadsheet gets the public properties from any objects and generates a spreadsheet with columns showing for each property. Optionally, a chart can be created from a subset of those properties.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentStyle&lt;/h2&gt;
The Set-OpenXmlContentStyle cmdlet inserts inserts markup containing the style format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOF&lt;/h2&gt;
The Add-OpenXmlDocumentTOF cmdlet creates a Table of Figures based on the figures found it in the document. The TOF will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlHeader&lt;/h2&gt;
The Get-OpenXmlHeader retrieves all the existing header parts from a document. The execution returns an XDocument array of all the header parts found in the document.&lt;br /&gt;&lt;br /&gt;If you have any issues with downloading, building, or using the PowerTools for Open XML, please feel free to contact Eric White:  eric (at) ericwhite.com&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>EricWhiteDpe</author><pubDate>Mon, 10 Oct 2011 15:22:08 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20111010032208P</guid></item><item><title>Updated Wiki: Home</title><link>http://powertools.codeplex.com/wikipage?version=27</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Important Note:&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;PowerTools for Open XML 2.1 Source Code is available.  Click on the Downloads Tab.&lt;/b&gt;  &lt;a href="http://www.youtube.com/watch?v=6IQl_nggHb8" class="externalLink"&gt;See screen-cast to see how to build and run.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;For the Html Converter source code, click on the Downloads tab, and download HtmlConverter.zip&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;For the new DocumentBuilder source code, click on the Downloads tab, and download DocumentBuilder-2-0.zip&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Combining the technologies of PowerShell and Open XML is a powerful and convenient way to do server-side document processing.  The PowerTools for Open XML are sample source code and guidance for developers showing how to build PowerShell cmdlets that can create and modify Open XML documents.  Also included are a number of examples of PowerShell scripts that use the cmdlets.&lt;br /&gt;&lt;br /&gt;For an introduction on the PowerTools for Open XML, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2008/06/11/processing-open-xml-documents-server-side-using-powershell.aspx" class="externalLink"&gt;Automated Processing of Open XML Documents using PowerShell&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;For information and a screen-cast on PowerTools for Open XML v1.1, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/03/19/announcing-the-release-of-powertools-for-open-xml-v1-1.aspx" class="externalLink"&gt;Announcing the Release of PowerTools for Open XML V1.1&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;You can separately download source code for some important components of PowerTools for Open XML.  Click the &lt;a href="http://powertools.codeplex.com/releases/view/26378" class="externalLink"&gt;Downloads tab&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; to download:
&lt;ul&gt;&lt;li&gt;DocumentBuilder - enables composition of new word-processing documents from other word-processing documents.  For a detailed explanation of DocumentBuilder, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/02/05/move-insert-delete-paragraphs-in-word-processing-documents-using-the-open-xml-sdk.aspx" class="externalLink"&gt;Move/Insert/Delete Paragraphs in Word Processing Documents using the Open XML SDK&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;DocumentBuilder 2.0 - an important update to DocumentBuilder that enables enables composition of much more elaborate documents, including documents with drawings or images in headers/footers, external links, and more.  The main source code of PowerTools for Open XML have not yet been updated to include the new DocumentBuilder source code.  Click the &lt;a href="http://powertools.codeplex.com/releases/view/26378" class="externalLink"&gt;Downloads tab&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; and download DocumentBuilder-2-0.zip.&lt;/li&gt;
&lt;li&gt;CommentMerger - merge comments from two documents that are identical except for comments.  For more information about merging comments, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/07/28/merging-comments-from-multiple-open-xml-documents-into-a-single-document.aspx" class="externalLink"&gt;Merging Comments from Multiple Open XML Documents into a Single Document&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;RevisionAccepter - accept tracked changes for a word-processing document.  See &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/12/21/accepting-revisions-in-open-xml-wordprocessingml-documents.aspx" class="externalLink"&gt;Accepting Revisions in Open XML WordprocessingML Documents&amp;#39;&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;HtmlConverter - convert a word-processing document to XHtml.  See &lt;a href="http://blogs.msdn.com/ericwhite/archive/2010/01/28/htmlconverter-transform-open-xml-wordprocessingml-to-xhtml.aspx" class="externalLink"&gt;HtmlConverter: Transform Open XML WordprocessingML to XHtml&amp;#39;&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;br /&gt;To install and build the PowerTools for Open XML from source code:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;You need to have any edition (including Visual C# 2008 Express Edition) of Visual Studio 2008 installed.  You can download Express Edition at &lt;a href="http://www.microsoft.com/express/download/" class="externalLink"&gt;http://www.microsoft.com/express/download/&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You need to have PowerShell 1.0 installed.  You can download PowerShell at &lt;a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx" class="externalLink"&gt;http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;PowerTools for Open XML is built using the Open XML SDK.  You can download the SDK at &lt;a href="http://go.microsoft.com/fwlink/?LinkId=120908" class="externalLink"&gt;http://go.microsoft.com/fwlink/?LinkId=120908&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You also need the PowerTools source code, which is available in the &amp;quot;Releases&amp;quot; tab above.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Following are links to download pre-built binaries of the PowerTools for Open XML v1.1.  The CodePlex &lt;a href="http://www.codeplex.com/Legal/Terms.aspx" class="externalLink"&gt;Terms of Use&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; apply to external sites.&lt;br /&gt;&lt;br /&gt;April 19, 2009 - the following binaries are for version 1.1, not version 1.1.1.  This is currently being updated - stay tuned...&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Julien Chable has posted the binaries &lt;a href="http://blogs.chable.net/julien/2009/03/19/powertools-for-open-xml-v11-now-available/" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;April 19, 2009 - the following binaries are for version 1.1.1.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://staffdotnet.com/default.aspx" class="externalLink"&gt;StaffDotNet&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;, a consulting company, has posted the binaries &lt;a href="http://staffdotnet.com/services/powertools.html" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;PowerTools for Open XML Home Page: &lt;a href="http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx" class="externalLink"&gt;http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlCustomXmlData&lt;/h2&gt;
The Set-OpenXmlCustomXmlData cmdlet sets or replaces the specified custom XML part in the document.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlComment&lt;/h2&gt;
The Remove-OpenXmlComment cmdlet locates and removes comment contents and references from Wordprocessing documents.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOC&lt;/h2&gt;
The Add-OpenXmlDocumentTOC cmdlet creates a Table of Contents based on the headings found it in the document. The TOC will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentIndex&lt;/h2&gt;
The Add-OpenXmlDocumentIndex cmdlet creates an index based on the index references found in the document. The index will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlWatermark&lt;/h2&gt;
The Set-OpenXmlWatermark cmdlet adds watermark text to the background of a document. iI the DiagonalOrientation parameter is specified, then the text will be in a diagonal &lt;br /&gt;orientation rather than horizontal.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlPicture&lt;/h2&gt;
The Add-OpenXmlPicture cmdlet inserts a picture at a specific location inside an OpenXML document. The picture will be stored inside the document as an embedded resource. Picture location is specified by an XPath query expression.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlHeader&lt;/h2&gt;
The Set-OpenXmlHeader cmdlet inserts header parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Lock-OpenXmlDocument&lt;/h2&gt;
The Lock-OpenXmlDocument cmdlet sets a lock inside one or more Wordprocessing documents to prevent them from being edited.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlStyle&lt;/h2&gt;
The Get-OpenXmlStyle cmdlet retrieves the styles definition part from a WordprocessingML or SpreadsheetML document and returns an XDocument object containing the styles content.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlTheme&lt;/h2&gt;
The Get-OpenXmlTheme cmdlet extracts the whole theme part from a Wordprocessing document as a thmx file (with media resources embedded). A Package object (System.IO.Packaging.Package) is returned that corresponds to the theme file.&lt;br /&gt;
&lt;h2&gt;Accept-OpenXmlChange&lt;/h2&gt;
The Accept-OpenXmlTextChange cmdlet processes documents with text revisions (change tracking elements), by accepting all the text changes performed on the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlBackground&lt;/h2&gt;
The Set-OpenXmlBackground cmdlet changes the background image or background color of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlComment&lt;/h2&gt;
The Get-OpenXmlComment extracts all the comments from a document, and return all of them in a XDocument&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDigitalSignature&lt;/h2&gt;
The Add-OpenXmlDigitalSignature cmdlet uses a digital certificate to digitally sign a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDocument&lt;/h2&gt;
The Get-OpenXmlDocument cmdlet returns an OpenXML document object for each document file. The actual object will depend on the type of document in the file. For example, if it is a spreadsheet, the object will be a SpreadsheetDocument, which is derived from OpenXMLDocument.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlCustomXmlData&lt;/h2&gt;
The Get-OpenXmlCustomXmlData cmdlet gets the first customXml part that matches the given name and returns it as an XDocument object.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlToHtml&lt;/h2&gt;
The Export-OpenXmlToHtml cmdlet transforms the content of Wordprocessing documents into an html file by applying an XSLT transformation over the main content and extracting images from the package to a given location.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOA&lt;/h2&gt;
The Add-OpenXmlDocumentTOA cmdlet creates a Table of Authorities based on the citations (references or authorities) found it in the document. The TOA will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlStyle&lt;/h2&gt;
The Set-OpenXmlStyle cmdlet replaces the style library in a WordprocessingML or SpreadsheetML document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlFooter&lt;/h2&gt;
The Get-OpenXmlFooter cmdlet retrieves all the specified footer parts from a document and returns an XDocument array of those footers. An object is returned for the specified footer in each Section of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDigitalSignature&lt;/h2&gt;
The Get-OpenXmlDigitalSignature cmdlet returns a summary of digital signatures present in the Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlTheme&lt;/h2&gt;
The Set-OpenXmlTheme cmdlet sets the current theme in a Wordprocessing document to the specified theme.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlDigitalSignature&lt;/h2&gt;
The Remove-OpenXmlDigitalSignature cmdlet removes digital signatures from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlContent&lt;/h2&gt;
The Add-OpenXmlContent cmdlet injects custom xml markup inside a given part from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlWordprocessing&lt;/h2&gt;
The Export-OpenXmlWordprocessing uses plain text to create a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentFormat&lt;/h2&gt;
The Set-OpenXmlContentFormat cmdlet inserts markup containing format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlFooter&lt;/h2&gt;
The Set-OpenXmlFooter cmdlet inserts footer parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlWatermark&lt;/h2&gt;
The Get-OpenXmlWatermark cmdlet retrieves the text of the document&amp;#39;s watermark.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlBackground&lt;/h2&gt;
The Get-OpenXmlBackground cmdlet extracts the background (color or image) from a document according to the parameters Image or Color.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlSpreadsheet&lt;/h2&gt;
The Export-OpenXmlSpreadsheet gets the public properties from any objects and generates a spreadsheet with columns showing for each property. Optionally, a chart can be created from a subset of those properties.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentStyle&lt;/h2&gt;
The Set-OpenXmlContentStyle cmdlet inserts inserts markup containing the style format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOF&lt;/h2&gt;
The Add-OpenXmlDocumentTOF cmdlet creates a Table of Figures based on the figures found it in the document. The TOF will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlHeader&lt;/h2&gt;
The Get-OpenXmlHeader retrieves all the existing header parts from a document. The execution returns an XDocument array of all the header parts found in the document.&lt;br /&gt;&lt;br /&gt;If you have any issues with downloading, building, or using the PowerTools for Open XML, please feel free to contact Eric White:  eric (at) ericwhite.com&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>EricWhiteDpe</author><pubDate>Thu, 06 Oct 2011 15:30:33 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20111006033033P</guid></item><item><title>Updated Wiki: Home</title><link>http://powertools.codeplex.com/wikipage?version=26</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Important Note:&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;*PowerTools for Open XML 2.1 Source Code is available.  Click on the Downloads Tab.  &lt;a href="http://www.youtube.com/watch?v=6IQl_nggHb8" class="externalLink"&gt;See screen-cast to see how to build and run.&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;For the Html Converter source code, click on the Downloads tab, and download HtmlConverter.zip&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;For the new DocumentBuilder source code, click on the Downloads tab, and download DocumentBuilder-2-0.zip&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Combining the technologies of PowerShell and Open XML is a powerful and convenient way to do server-side document processing.  The PowerTools for Open XML are sample source code and guidance for developers showing how to build PowerShell cmdlets that can create and modify Open XML documents.  Also included are a number of examples of PowerShell scripts that use the cmdlets.&lt;br /&gt;&lt;br /&gt;For an introduction on the PowerTools for Open XML, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2008/06/11/processing-open-xml-documents-server-side-using-powershell.aspx" class="externalLink"&gt;Automated Processing of Open XML Documents using PowerShell&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;For information and a screen-cast on PowerTools for Open XML v1.1, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/03/19/announcing-the-release-of-powertools-for-open-xml-v1-1.aspx" class="externalLink"&gt;Announcing the Release of PowerTools for Open XML V1.1&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;You can separately download source code for some important components of PowerTools for Open XML.  Click the &lt;a href="http://powertools.codeplex.com/releases/view/26378" class="externalLink"&gt;Downloads tab&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; to download:
&lt;ul&gt;&lt;li&gt;DocumentBuilder - enables composition of new word-processing documents from other word-processing documents.  For a detailed explanation of DocumentBuilder, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/02/05/move-insert-delete-paragraphs-in-word-processing-documents-using-the-open-xml-sdk.aspx" class="externalLink"&gt;Move/Insert/Delete Paragraphs in Word Processing Documents using the Open XML SDK&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;DocumentBuilder 2.0 - an important update to DocumentBuilder that enables enables composition of much more elaborate documents, including documents with drawings or images in headers/footers, external links, and more.  The main source code of PowerTools for Open XML have not yet been updated to include the new DocumentBuilder source code.  Click the &lt;a href="http://powertools.codeplex.com/releases/view/26378" class="externalLink"&gt;Downloads tab&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; and download DocumentBuilder-2-0.zip.&lt;/li&gt;
&lt;li&gt;CommentMerger - merge comments from two documents that are identical except for comments.  For more information about merging comments, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/07/28/merging-comments-from-multiple-open-xml-documents-into-a-single-document.aspx" class="externalLink"&gt;Merging Comments from Multiple Open XML Documents into a Single Document&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;RevisionAccepter - accept tracked changes for a word-processing document.  See &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/12/21/accepting-revisions-in-open-xml-wordprocessingml-documents.aspx" class="externalLink"&gt;Accepting Revisions in Open XML WordprocessingML Documents&amp;#39;&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;HtmlConverter - convert a word-processing document to XHtml.  See &lt;a href="http://blogs.msdn.com/ericwhite/archive/2010/01/28/htmlconverter-transform-open-xml-wordprocessingml-to-xhtml.aspx" class="externalLink"&gt;HtmlConverter: Transform Open XML WordprocessingML to XHtml&amp;#39;&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;br /&gt;To install and build the PowerTools for Open XML from source code:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;You need to have any edition (including Visual C# 2008 Express Edition) of Visual Studio 2008 installed.  You can download Express Edition at &lt;a href="http://www.microsoft.com/express/download/" class="externalLink"&gt;http://www.microsoft.com/express/download/&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You need to have PowerShell 1.0 installed.  You can download PowerShell at &lt;a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx" class="externalLink"&gt;http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;PowerTools for Open XML is built using the Open XML SDK.  You can download the SDK at &lt;a href="http://go.microsoft.com/fwlink/?LinkId=120908" class="externalLink"&gt;http://go.microsoft.com/fwlink/?LinkId=120908&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You also need the PowerTools source code, which is available in the &amp;quot;Releases&amp;quot; tab above.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Following are links to download pre-built binaries of the PowerTools for Open XML v1.1.  The CodePlex &lt;a href="http://www.codeplex.com/Legal/Terms.aspx" class="externalLink"&gt;Terms of Use&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; apply to external sites.&lt;br /&gt;&lt;br /&gt;April 19, 2009 - the following binaries are for version 1.1, not version 1.1.1.  This is currently being updated - stay tuned...&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Julien Chable has posted the binaries &lt;a href="http://blogs.chable.net/julien/2009/03/19/powertools-for-open-xml-v11-now-available/" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;April 19, 2009 - the following binaries are for version 1.1.1.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://staffdotnet.com/default.aspx" class="externalLink"&gt;StaffDotNet&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;, a consulting company, has posted the binaries &lt;a href="http://staffdotnet.com/services/powertools.html" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;PowerTools for Open XML Home Page: &lt;a href="http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx" class="externalLink"&gt;http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlCustomXmlData&lt;/h2&gt;
The Set-OpenXmlCustomXmlData cmdlet sets or replaces the specified custom XML part in the document.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlComment&lt;/h2&gt;
The Remove-OpenXmlComment cmdlet locates and removes comment contents and references from Wordprocessing documents.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOC&lt;/h2&gt;
The Add-OpenXmlDocumentTOC cmdlet creates a Table of Contents based on the headings found it in the document. The TOC will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentIndex&lt;/h2&gt;
The Add-OpenXmlDocumentIndex cmdlet creates an index based on the index references found in the document. The index will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlWatermark&lt;/h2&gt;
The Set-OpenXmlWatermark cmdlet adds watermark text to the background of a document. iI the DiagonalOrientation parameter is specified, then the text will be in a diagonal &lt;br /&gt;orientation rather than horizontal.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlPicture&lt;/h2&gt;
The Add-OpenXmlPicture cmdlet inserts a picture at a specific location inside an OpenXML document. The picture will be stored inside the document as an embedded resource. Picture location is specified by an XPath query expression.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlHeader&lt;/h2&gt;
The Set-OpenXmlHeader cmdlet inserts header parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Lock-OpenXmlDocument&lt;/h2&gt;
The Lock-OpenXmlDocument cmdlet sets a lock inside one or more Wordprocessing documents to prevent them from being edited.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlStyle&lt;/h2&gt;
The Get-OpenXmlStyle cmdlet retrieves the styles definition part from a WordprocessingML or SpreadsheetML document and returns an XDocument object containing the styles content.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlTheme&lt;/h2&gt;
The Get-OpenXmlTheme cmdlet extracts the whole theme part from a Wordprocessing document as a thmx file (with media resources embedded). A Package object (System.IO.Packaging.Package) is returned that corresponds to the theme file.&lt;br /&gt;
&lt;h2&gt;Accept-OpenXmlChange&lt;/h2&gt;
The Accept-OpenXmlTextChange cmdlet processes documents with text revisions (change tracking elements), by accepting all the text changes performed on the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlBackground&lt;/h2&gt;
The Set-OpenXmlBackground cmdlet changes the background image or background color of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlComment&lt;/h2&gt;
The Get-OpenXmlComment extracts all the comments from a document, and return all of them in a XDocument&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDigitalSignature&lt;/h2&gt;
The Add-OpenXmlDigitalSignature cmdlet uses a digital certificate to digitally sign a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDocument&lt;/h2&gt;
The Get-OpenXmlDocument cmdlet returns an OpenXML document object for each document file. The actual object will depend on the type of document in the file. For example, if it is a spreadsheet, the object will be a SpreadsheetDocument, which is derived from OpenXMLDocument.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlCustomXmlData&lt;/h2&gt;
The Get-OpenXmlCustomXmlData cmdlet gets the first customXml part that matches the given name and returns it as an XDocument object.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlToHtml&lt;/h2&gt;
The Export-OpenXmlToHtml cmdlet transforms the content of Wordprocessing documents into an html file by applying an XSLT transformation over the main content and extracting images from the package to a given location.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOA&lt;/h2&gt;
The Add-OpenXmlDocumentTOA cmdlet creates a Table of Authorities based on the citations (references or authorities) found it in the document. The TOA will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlStyle&lt;/h2&gt;
The Set-OpenXmlStyle cmdlet replaces the style library in a WordprocessingML or SpreadsheetML document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlFooter&lt;/h2&gt;
The Get-OpenXmlFooter cmdlet retrieves all the specified footer parts from a document and returns an XDocument array of those footers. An object is returned for the specified footer in each Section of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDigitalSignature&lt;/h2&gt;
The Get-OpenXmlDigitalSignature cmdlet returns a summary of digital signatures present in the Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlTheme&lt;/h2&gt;
The Set-OpenXmlTheme cmdlet sets the current theme in a Wordprocessing document to the specified theme.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlDigitalSignature&lt;/h2&gt;
The Remove-OpenXmlDigitalSignature cmdlet removes digital signatures from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlContent&lt;/h2&gt;
The Add-OpenXmlContent cmdlet injects custom xml markup inside a given part from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlWordprocessing&lt;/h2&gt;
The Export-OpenXmlWordprocessing uses plain text to create a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentFormat&lt;/h2&gt;
The Set-OpenXmlContentFormat cmdlet inserts markup containing format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlFooter&lt;/h2&gt;
The Set-OpenXmlFooter cmdlet inserts footer parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlWatermark&lt;/h2&gt;
The Get-OpenXmlWatermark cmdlet retrieves the text of the document&amp;#39;s watermark.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlBackground&lt;/h2&gt;
The Get-OpenXmlBackground cmdlet extracts the background (color or image) from a document according to the parameters Image or Color.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlSpreadsheet&lt;/h2&gt;
The Export-OpenXmlSpreadsheet gets the public properties from any objects and generates a spreadsheet with columns showing for each property. Optionally, a chart can be created from a subset of those properties.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentStyle&lt;/h2&gt;
The Set-OpenXmlContentStyle cmdlet inserts inserts markup containing the style format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOF&lt;/h2&gt;
The Add-OpenXmlDocumentTOF cmdlet creates a Table of Figures based on the figures found it in the document. The TOF will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlHeader&lt;/h2&gt;
The Get-OpenXmlHeader retrieves all the existing header parts from a document. The execution returns an XDocument array of all the header parts found in the document.&lt;br /&gt;&lt;br /&gt;If you have any issues with downloading, building, or using the PowerTools for Open XML, please feel free to contact Eric White:  eric (at) ericwhite.com&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>EricWhiteDpe</author><pubDate>Wed, 05 Oct 2011 22:18:42 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20111005101842P</guid></item><item><title>Updated Wiki: Home</title><link>http://powertools.codeplex.com/wikipage?version=25</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Important Note:&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;For the Html Converter source code, click on the Downloads tab, and download HtmlConverter.zip&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;For the new DocumentBuilder source code, click on the Downloads tab, and download DocumentBuilder-2-0.zip&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Combining the technologies of PowerShell and Open XML is a powerful and convenient way to do server-side document processing.  The PowerTools for Open XML are sample source code and guidance for developers showing how to build PowerShell cmdlets that can create and modify Open XML documents.  Also included are a number of examples of PowerShell scripts that use the cmdlets.&lt;br /&gt;&lt;br /&gt;For an introduction on the PowerTools for Open XML, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2008/06/11/processing-open-xml-documents-server-side-using-powershell.aspx" class="externalLink"&gt;Automated Processing of Open XML Documents using PowerShell&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;For information and a screen-cast on PowerTools for Open XML v1.1, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/03/19/announcing-the-release-of-powertools-for-open-xml-v1-1.aspx" class="externalLink"&gt;Announcing the Release of PowerTools for Open XML V1.1&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;You can separately download source code for some important components of PowerTools for Open XML.  Click the &lt;a href="http://powertools.codeplex.com/releases/view/26378" class="externalLink"&gt;Downloads tab&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; to download:
&lt;ul&gt;&lt;li&gt;DocumentBuilder - enables composition of new word-processing documents from other word-processing documents.  For a detailed explanation of DocumentBuilder, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/02/05/move-insert-delete-paragraphs-in-word-processing-documents-using-the-open-xml-sdk.aspx" class="externalLink"&gt;Move/Insert/Delete Paragraphs in Word Processing Documents using the Open XML SDK&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;DocumentBuilder 2.0 - an important update to DocumentBuilder that enables enables composition of much more elaborate documents, including documents with drawings or images in headers/footers, external links, and more.  The main source code of PowerTools for Open XML have not yet been updated to include the new DocumentBuilder source code.  Click the &lt;a href="http://powertools.codeplex.com/releases/view/26378" class="externalLink"&gt;Downloads tab&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; and download DocumentBuilder-2-0.zip.&lt;/li&gt;
&lt;li&gt;CommentMerger - merge comments from two documents that are identical except for comments.  For more information about merging comments, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/07/28/merging-comments-from-multiple-open-xml-documents-into-a-single-document.aspx" class="externalLink"&gt;Merging Comments from Multiple Open XML Documents into a Single Document&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;RevisionAccepter - accept tracked changes for a word-processing document.  See &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/12/21/accepting-revisions-in-open-xml-wordprocessingml-documents.aspx" class="externalLink"&gt;Accepting Revisions in Open XML WordprocessingML Documents&amp;#39;&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;HtmlConverter - convert a word-processing document to XHtml.  See &lt;a href="http://blogs.msdn.com/ericwhite/archive/2010/01/28/htmlconverter-transform-open-xml-wordprocessingml-to-xhtml.aspx" class="externalLink"&gt;HtmlConverter: Transform Open XML WordprocessingML to XHtml&amp;#39;&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;br /&gt;To install and build the PowerTools for Open XML from source code:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;You need to have any edition (including Visual C# 2008 Express Edition) of Visual Studio 2008 installed.  You can download Express Edition at &lt;a href="http://www.microsoft.com/express/download/" class="externalLink"&gt;http://www.microsoft.com/express/download/&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You need to have PowerShell 1.0 installed.  You can download PowerShell at &lt;a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx" class="externalLink"&gt;http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;PowerTools for Open XML is built using the Open XML SDK.  You can download the SDK at &lt;a href="http://go.microsoft.com/fwlink/?LinkId=120908" class="externalLink"&gt;http://go.microsoft.com/fwlink/?LinkId=120908&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You also need the PowerTools source code, which is available in the &amp;quot;Releases&amp;quot; tab above.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Following are links to download pre-built binaries of the PowerTools for Open XML v1.1.  The CodePlex &lt;a href="http://www.codeplex.com/Legal/Terms.aspx" class="externalLink"&gt;Terms of Use&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; apply to external sites.&lt;br /&gt;&lt;br /&gt;April 19, 2009 - the following binaries are for version 1.1, not version 1.1.1.  This is currently being updated - stay tuned...&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Julien Chable has posted the binaries &lt;a href="http://blogs.chable.net/julien/2009/03/19/powertools-for-open-xml-v11-now-available/" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;April 19, 2009 - the following binaries are for version 1.1.1.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://staffdotnet.com/default.aspx" class="externalLink"&gt;StaffDotNet&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;, a consulting company, has posted the binaries &lt;a href="http://staffdotnet.com/services/powertools.html" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;PowerTools for Open XML Home Page: &lt;a href="http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx" class="externalLink"&gt;http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlCustomXmlData&lt;/h2&gt;
The Set-OpenXmlCustomXmlData cmdlet sets or replaces the specified custom XML part in the document.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlComment&lt;/h2&gt;
The Remove-OpenXmlComment cmdlet locates and removes comment contents and references from Wordprocessing documents.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOC&lt;/h2&gt;
The Add-OpenXmlDocumentTOC cmdlet creates a Table of Contents based on the headings found it in the document. The TOC will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentIndex&lt;/h2&gt;
The Add-OpenXmlDocumentIndex cmdlet creates an index based on the index references found in the document. The index will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlWatermark&lt;/h2&gt;
The Set-OpenXmlWatermark cmdlet adds watermark text to the background of a document. iI the DiagonalOrientation parameter is specified, then the text will be in a diagonal &lt;br /&gt;orientation rather than horizontal.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlPicture&lt;/h2&gt;
The Add-OpenXmlPicture cmdlet inserts a picture at a specific location inside an OpenXML document. The picture will be stored inside the document as an embedded resource. Picture location is specified by an XPath query expression.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlHeader&lt;/h2&gt;
The Set-OpenXmlHeader cmdlet inserts header parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Lock-OpenXmlDocument&lt;/h2&gt;
The Lock-OpenXmlDocument cmdlet sets a lock inside one or more Wordprocessing documents to prevent them from being edited.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlStyle&lt;/h2&gt;
The Get-OpenXmlStyle cmdlet retrieves the styles definition part from a WordprocessingML or SpreadsheetML document and returns an XDocument object containing the styles content.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlTheme&lt;/h2&gt;
The Get-OpenXmlTheme cmdlet extracts the whole theme part from a Wordprocessing document as a thmx file (with media resources embedded). A Package object (System.IO.Packaging.Package) is returned that corresponds to the theme file.&lt;br /&gt;
&lt;h2&gt;Accept-OpenXmlChange&lt;/h2&gt;
The Accept-OpenXmlTextChange cmdlet processes documents with text revisions (change tracking elements), by accepting all the text changes performed on the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlBackground&lt;/h2&gt;
The Set-OpenXmlBackground cmdlet changes the background image or background color of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlComment&lt;/h2&gt;
The Get-OpenXmlComment extracts all the comments from a document, and return all of them in a XDocument&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDigitalSignature&lt;/h2&gt;
The Add-OpenXmlDigitalSignature cmdlet uses a digital certificate to digitally sign a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDocument&lt;/h2&gt;
The Get-OpenXmlDocument cmdlet returns an OpenXML document object for each document file. The actual object will depend on the type of document in the file. For example, if it is a spreadsheet, the object will be a SpreadsheetDocument, which is derived from OpenXMLDocument.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlCustomXmlData&lt;/h2&gt;
The Get-OpenXmlCustomXmlData cmdlet gets the first customXml part that matches the given name and returns it as an XDocument object.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlToHtml&lt;/h2&gt;
The Export-OpenXmlToHtml cmdlet transforms the content of Wordprocessing documents into an html file by applying an XSLT transformation over the main content and extracting images from the package to a given location.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOA&lt;/h2&gt;
The Add-OpenXmlDocumentTOA cmdlet creates a Table of Authorities based on the citations (references or authorities) found it in the document. The TOA will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlStyle&lt;/h2&gt;
The Set-OpenXmlStyle cmdlet replaces the style library in a WordprocessingML or SpreadsheetML document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlFooter&lt;/h2&gt;
The Get-OpenXmlFooter cmdlet retrieves all the specified footer parts from a document and returns an XDocument array of those footers. An object is returned for the specified footer in each Section of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDigitalSignature&lt;/h2&gt;
The Get-OpenXmlDigitalSignature cmdlet returns a summary of digital signatures present in the Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlTheme&lt;/h2&gt;
The Set-OpenXmlTheme cmdlet sets the current theme in a Wordprocessing document to the specified theme.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlDigitalSignature&lt;/h2&gt;
The Remove-OpenXmlDigitalSignature cmdlet removes digital signatures from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlContent&lt;/h2&gt;
The Add-OpenXmlContent cmdlet injects custom xml markup inside a given part from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlWordprocessing&lt;/h2&gt;
The Export-OpenXmlWordprocessing uses plain text to create a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentFormat&lt;/h2&gt;
The Set-OpenXmlContentFormat cmdlet inserts markup containing format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlFooter&lt;/h2&gt;
The Set-OpenXmlFooter cmdlet inserts footer parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlWatermark&lt;/h2&gt;
The Get-OpenXmlWatermark cmdlet retrieves the text of the document&amp;#39;s watermark.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlBackground&lt;/h2&gt;
The Get-OpenXmlBackground cmdlet extracts the background (color or image) from a document according to the parameters Image or Color.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlSpreadsheet&lt;/h2&gt;
The Export-OpenXmlSpreadsheet gets the public properties from any objects and generates a spreadsheet with columns showing for each property. Optionally, a chart can be created from a subset of those properties.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentStyle&lt;/h2&gt;
The Set-OpenXmlContentStyle cmdlet inserts inserts markup containing the style format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOF&lt;/h2&gt;
The Add-OpenXmlDocumentTOF cmdlet creates a Table of Figures based on the figures found it in the document. The TOF will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlHeader&lt;/h2&gt;
The Get-OpenXmlHeader retrieves all the existing header parts from a document. The execution returns an XDocument array of all the header parts found in the document.&lt;br /&gt;&lt;br /&gt;If you have any issues with downloading, building, or using the PowerTools for Open XML, please feel free to contact Eric White:  eric (at) ericwhite.com&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>EricWhiteDpe</author><pubDate>Mon, 27 Jun 2011 18:35:31 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20110627063531P</guid></item><item><title>Updated Wiki: Home</title><link>http://powertools.codeplex.com/wikipage?version=24</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Important Note: For the Html Converter source code, click on the Downloads tab, and download HtmlConverter.zip&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Combining the technologies of PowerShell and Open XML is a powerful and convenient way to do server-side document processing.  The PowerTools for Open XML are sample source code and guidance for developers showing how to build PowerShell cmdlets that can create and modify Open XML documents.  Also included are a number of examples of PowerShell scripts that use the cmdlets.&lt;br /&gt;&lt;br /&gt;For an introduction on the PowerTools for Open XML, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2008/06/11/processing-open-xml-documents-server-side-using-powershell.aspx" class="externalLink"&gt;Automated Processing of Open XML Documents using PowerShell&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;For information and a screen-cast on PowerTools for Open XML v1.1, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/03/19/announcing-the-release-of-powertools-for-open-xml-v1-1.aspx" class="externalLink"&gt;Announcing the Release of PowerTools for Open XML V1.1&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;You can separately download source code for some important components of PowerTools for Open XML.  Click the &lt;a href="http://powertools.codeplex.com/releases/view/26378" class="externalLink"&gt;Downloads tab&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; to download:
&lt;ul&gt;&lt;li&gt;DocumentBuilder - enables composition of new word-processing documents from other word-processing documents.  For a detailed explanation of DocumentBuilder, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/02/05/move-insert-delete-paragraphs-in-word-processing-documents-using-the-open-xml-sdk.aspx" class="externalLink"&gt;Move/Insert/Delete Paragraphs in Word Processing Documents using the Open XML SDK&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;DocumentBuilder 2.0 - an important update to DocumentBuilder that enables enables composition of much more elaborate documents, including documents with drawings or images in headers/footers, external links, and more.  The main source code of PowerTools for Open XML have not yet been updated to include the new DocumentBuilder source code.  Click the &lt;a href="http://powertools.codeplex.com/releases/view/26378" class="externalLink"&gt;Downloads tab&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; and download DocumentBuilder-2-0.zip.&lt;/li&gt;
&lt;li&gt;CommentMerger - merge comments from two documents that are identical except for comments.  For more information about merging comments, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/07/28/merging-comments-from-multiple-open-xml-documents-into-a-single-document.aspx" class="externalLink"&gt;Merging Comments from Multiple Open XML Documents into a Single Document&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;RevisionAccepter - accept tracked changes for a word-processing document.  See &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/12/21/accepting-revisions-in-open-xml-wordprocessingml-documents.aspx" class="externalLink"&gt;Accepting Revisions in Open XML WordprocessingML Documents&amp;#39;&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;HtmlConverter - convert a word-processing document to XHtml.  See &lt;a href="http://blogs.msdn.com/ericwhite/archive/2010/01/28/htmlconverter-transform-open-xml-wordprocessingml-to-xhtml.aspx" class="externalLink"&gt;HtmlConverter: Transform Open XML WordprocessingML to XHtml&amp;#39;&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;br /&gt;To install and build the PowerTools for Open XML from source code:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;You need to have any edition (including Visual C# 2008 Express Edition) of Visual Studio 2008 installed.  You can download Express Edition at &lt;a href="http://www.microsoft.com/express/download/" class="externalLink"&gt;http://www.microsoft.com/express/download/&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You need to have PowerShell 1.0 installed.  You can download PowerShell at &lt;a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx" class="externalLink"&gt;http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;PowerTools for Open XML is built using the Open XML SDK.  You can download the SDK at &lt;a href="http://go.microsoft.com/fwlink/?LinkId=120908" class="externalLink"&gt;http://go.microsoft.com/fwlink/?LinkId=120908&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You also need the PowerTools source code, which is available in the &amp;quot;Releases&amp;quot; tab above.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Following are links to download pre-built binaries of the PowerTools for Open XML v1.1.  The CodePlex &lt;a href="http://www.codeplex.com/Legal/Terms.aspx" class="externalLink"&gt;Terms of Use&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; apply to external sites.&lt;br /&gt;&lt;br /&gt;April 19, 2009 - the following binaries are for version 1.1, not version 1.1.1.  This is currently being updated - stay tuned...&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Julien Chable has posted the binaries &lt;a href="http://blogs.chable.net/julien/2009/03/19/powertools-for-open-xml-v11-now-available/" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;April 19, 2009 - the following binaries are for version 1.1.1.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://staffdotnet.com/default.aspx" class="externalLink"&gt;StaffDotNet&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;, a consulting company, has posted the binaries &lt;a href="http://staffdotnet.com/services/powertools.html" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;PowerTools for Open XML Home Page: &lt;a href="http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx" class="externalLink"&gt;http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlCustomXmlData&lt;/h2&gt;
The Set-OpenXmlCustomXmlData cmdlet sets or replaces the specified custom XML part in the document.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlComment&lt;/h2&gt;
The Remove-OpenXmlComment cmdlet locates and removes comment contents and references from Wordprocessing documents.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOC&lt;/h2&gt;
The Add-OpenXmlDocumentTOC cmdlet creates a Table of Contents based on the headings found it in the document. The TOC will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentIndex&lt;/h2&gt;
The Add-OpenXmlDocumentIndex cmdlet creates an index based on the index references found in the document. The index will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlWatermark&lt;/h2&gt;
The Set-OpenXmlWatermark cmdlet adds watermark text to the background of a document. iI the DiagonalOrientation parameter is specified, then the text will be in a diagonal &lt;br /&gt;orientation rather than horizontal.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlPicture&lt;/h2&gt;
The Add-OpenXmlPicture cmdlet inserts a picture at a specific location inside an OpenXML document. The picture will be stored inside the document as an embedded resource. Picture location is specified by an XPath query expression.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlHeader&lt;/h2&gt;
The Set-OpenXmlHeader cmdlet inserts header parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Lock-OpenXmlDocument&lt;/h2&gt;
The Lock-OpenXmlDocument cmdlet sets a lock inside one or more Wordprocessing documents to prevent them from being edited.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlStyle&lt;/h2&gt;
The Get-OpenXmlStyle cmdlet retrieves the styles definition part from a WordprocessingML or SpreadsheetML document and returns an XDocument object containing the styles content.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlTheme&lt;/h2&gt;
The Get-OpenXmlTheme cmdlet extracts the whole theme part from a Wordprocessing document as a thmx file (with media resources embedded). A Package object (System.IO.Packaging.Package) is returned that corresponds to the theme file.&lt;br /&gt;
&lt;h2&gt;Accept-OpenXmlChange&lt;/h2&gt;
The Accept-OpenXmlTextChange cmdlet processes documents with text revisions (change tracking elements), by accepting all the text changes performed on the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlBackground&lt;/h2&gt;
The Set-OpenXmlBackground cmdlet changes the background image or background color of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlComment&lt;/h2&gt;
The Get-OpenXmlComment extracts all the comments from a document, and return all of them in a XDocument&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDigitalSignature&lt;/h2&gt;
The Add-OpenXmlDigitalSignature cmdlet uses a digital certificate to digitally sign a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDocument&lt;/h2&gt;
The Get-OpenXmlDocument cmdlet returns an OpenXML document object for each document file. The actual object will depend on the type of document in the file. For example, if it is a spreadsheet, the object will be a SpreadsheetDocument, which is derived from OpenXMLDocument.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlCustomXmlData&lt;/h2&gt;
The Get-OpenXmlCustomXmlData cmdlet gets the first customXml part that matches the given name and returns it as an XDocument object.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlToHtml&lt;/h2&gt;
The Export-OpenXmlToHtml cmdlet transforms the content of Wordprocessing documents into an html file by applying an XSLT transformation over the main content and extracting images from the package to a given location.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOA&lt;/h2&gt;
The Add-OpenXmlDocumentTOA cmdlet creates a Table of Authorities based on the citations (references or authorities) found it in the document. The TOA will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlStyle&lt;/h2&gt;
The Set-OpenXmlStyle cmdlet replaces the style library in a WordprocessingML or SpreadsheetML document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlFooter&lt;/h2&gt;
The Get-OpenXmlFooter cmdlet retrieves all the specified footer parts from a document and returns an XDocument array of those footers. An object is returned for the specified footer in each Section of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDigitalSignature&lt;/h2&gt;
The Get-OpenXmlDigitalSignature cmdlet returns a summary of digital signatures present in the Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlTheme&lt;/h2&gt;
The Set-OpenXmlTheme cmdlet sets the current theme in a Wordprocessing document to the specified theme.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlDigitalSignature&lt;/h2&gt;
The Remove-OpenXmlDigitalSignature cmdlet removes digital signatures from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlContent&lt;/h2&gt;
The Add-OpenXmlContent cmdlet injects custom xml markup inside a given part from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlWordprocessing&lt;/h2&gt;
The Export-OpenXmlWordprocessing uses plain text to create a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentFormat&lt;/h2&gt;
The Set-OpenXmlContentFormat cmdlet inserts markup containing format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlFooter&lt;/h2&gt;
The Set-OpenXmlFooter cmdlet inserts footer parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlWatermark&lt;/h2&gt;
The Get-OpenXmlWatermark cmdlet retrieves the text of the document&amp;#39;s watermark.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlBackground&lt;/h2&gt;
The Get-OpenXmlBackground cmdlet extracts the background (color or image) from a document according to the parameters Image or Color.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlSpreadsheet&lt;/h2&gt;
The Export-OpenXmlSpreadsheet gets the public properties from any objects and generates a spreadsheet with columns showing for each property. Optionally, a chart can be created from a subset of those properties.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentStyle&lt;/h2&gt;
The Set-OpenXmlContentStyle cmdlet inserts inserts markup containing the style format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOF&lt;/h2&gt;
The Add-OpenXmlDocumentTOF cmdlet creates a Table of Figures based on the figures found it in the document. The TOF will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlHeader&lt;/h2&gt;
The Get-OpenXmlHeader retrieves all the existing header parts from a document. The execution returns an XDocument array of all the header parts found in the document.&lt;br /&gt;&lt;br /&gt;If you have any issues with downloading, building, or using the PowerTools for Open XML, please feel free to contact Eric White:  eric (at) ericwhite.com&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>EricWhiteDpe</author><pubDate>Wed, 22 Jun 2011 00:09:39 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20110622120939A</guid></item><item><title>Updated Wiki: Home</title><link>http://powertools.codeplex.com/wikipage?version=23</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Important Note: For the Html Converter source code, click on the Downloads tab, and download HtmlConverter.zip&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Combining the technologies of PowerShell and Open XML is a powerful and convenient way to do server-side document processing.  The PowerTools for Open XML are sample source code and guidance for developers showing how to build PowerShell cmdlets that can create and modify Open XML documents.  Also included are a number of examples of PowerShell scripts that use the cmdlets.&lt;br /&gt;&lt;br /&gt;For an introduction on the PowerTools for Open XML, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2008/06/11/processing-open-xml-documents-server-side-using-powershell.aspx" class="externalLink"&gt;Automated Processing of Open XML Documents using PowerShell&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;For information and a screen-cast on PowerTools for Open XML v1.1, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/03/19/announcing-the-release-of-powertools-for-open-xml-v1-1.aspx" class="externalLink"&gt;Announcing the Release of PowerTools for Open XML V1.1&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;You can separately download source code for some important components of PowerTools for Open XML.  Click the &lt;a href="http://Downloads tab" class="externalLink"&gt;http://powertools.codeplex.com/releases/view/26378&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; to download:
&lt;ul&gt;&lt;li&gt;DocumentBuilder - enables composition of new word-processing documents from other word-processing documents.  For a detailed explanation of DocumentBuilder, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/02/05/move-insert-delete-paragraphs-in-word-processing-documents-using-the-open-xml-sdk.aspx" class="externalLink"&gt;Move/Insert/Delete Paragraphs in Word Processing Documents using the Open XML SDK&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;DocumentBuilder 2.0 - an important update to DocumentBuilder that enables enables composition of much more elaborate documents, including documents with drawings or images in headers/footers, external links, and more.  The main source code of PowerTools for Open XML have not yet been updated to include the new DocumentBuilder source code.  Click the &lt;a href="http://Downloads tab" class="externalLink"&gt;http://powertools.codeplex.com/releases/view/26378&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; and download DocumentBuilder-2-0.zip.&lt;/li&gt;
&lt;li&gt;CommentMerger - merge comments from two documents that are identical except for comments.  For more information about merging comments, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/07/28/merging-comments-from-multiple-open-xml-documents-into-a-single-document.aspx" class="externalLink"&gt;Merging Comments from Multiple Open XML Documents into a Single Document&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;RevisionAccepter - accept tracked changes for a word-processing document.  See &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/12/21/accepting-revisions-in-open-xml-wordprocessingml-documents.aspx" class="externalLink"&gt;Accepting Revisions in Open XML WordprocessingML Documents&amp;#39;&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;HtmlConverter - convert a word-processing document to XHtml.  See &lt;a href="http://blogs.msdn.com/ericwhite/archive/2010/01/28/htmlconverter-transform-open-xml-wordprocessingml-to-xhtml.aspx" class="externalLink"&gt;HtmlConverter: Transform Open XML WordprocessingML to XHtml&amp;#39;&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;br /&gt;To install and build the PowerTools for Open XML from source code:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;You need to have any edition (including Visual C# 2008 Express Edition) of Visual Studio 2008 installed.  You can download Express Edition at &lt;a href="http://www.microsoft.com/express/download/" class="externalLink"&gt;http://www.microsoft.com/express/download/&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You need to have PowerShell 1.0 installed.  You can download PowerShell at &lt;a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx" class="externalLink"&gt;http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;PowerTools for Open XML is built using the Open XML SDK.  You can download the SDK at &lt;a href="http://go.microsoft.com/fwlink/?LinkId=120908" class="externalLink"&gt;http://go.microsoft.com/fwlink/?LinkId=120908&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You also need the PowerTools source code, which is available in the &amp;quot;Releases&amp;quot; tab above.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Following are links to download pre-built binaries of the PowerTools for Open XML v1.1.  The CodePlex &lt;a href="http://www.codeplex.com/Legal/Terms.aspx" class="externalLink"&gt;Terms of Use&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; apply to external sites.&lt;br /&gt;&lt;br /&gt;April 19, 2009 - the following binaries are for version 1.1, not version 1.1.1.  This is currently being updated - stay tuned...&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Julien Chable has posted the binaries &lt;a href="http://blogs.chable.net/julien/2009/03/19/powertools-for-open-xml-v11-now-available/" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;April 19, 2009 - the following binaries are for version 1.1.1.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://staffdotnet.com/default.aspx" class="externalLink"&gt;StaffDotNet&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;, a consulting company, has posted the binaries &lt;a href="http://staffdotnet.com/services/powertools.html" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;PowerTools for Open XML Home Page: &lt;a href="http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx" class="externalLink"&gt;http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlCustomXmlData&lt;/h2&gt;
The Set-OpenXmlCustomXmlData cmdlet sets or replaces the specified custom XML part in the document.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlComment&lt;/h2&gt;
The Remove-OpenXmlComment cmdlet locates and removes comment contents and references from Wordprocessing documents.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOC&lt;/h2&gt;
The Add-OpenXmlDocumentTOC cmdlet creates a Table of Contents based on the headings found it in the document. The TOC will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentIndex&lt;/h2&gt;
The Add-OpenXmlDocumentIndex cmdlet creates an index based on the index references found in the document. The index will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlWatermark&lt;/h2&gt;
The Set-OpenXmlWatermark cmdlet adds watermark text to the background of a document. iI the DiagonalOrientation parameter is specified, then the text will be in a diagonal &lt;br /&gt;orientation rather than horizontal.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlPicture&lt;/h2&gt;
The Add-OpenXmlPicture cmdlet inserts a picture at a specific location inside an OpenXML document. The picture will be stored inside the document as an embedded resource. Picture location is specified by an XPath query expression.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlHeader&lt;/h2&gt;
The Set-OpenXmlHeader cmdlet inserts header parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Lock-OpenXmlDocument&lt;/h2&gt;
The Lock-OpenXmlDocument cmdlet sets a lock inside one or more Wordprocessing documents to prevent them from being edited.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlStyle&lt;/h2&gt;
The Get-OpenXmlStyle cmdlet retrieves the styles definition part from a WordprocessingML or SpreadsheetML document and returns an XDocument object containing the styles content.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlTheme&lt;/h2&gt;
The Get-OpenXmlTheme cmdlet extracts the whole theme part from a Wordprocessing document as a thmx file (with media resources embedded). A Package object (System.IO.Packaging.Package) is returned that corresponds to the theme file.&lt;br /&gt;
&lt;h2&gt;Accept-OpenXmlChange&lt;/h2&gt;
The Accept-OpenXmlTextChange cmdlet processes documents with text revisions (change tracking elements), by accepting all the text changes performed on the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlBackground&lt;/h2&gt;
The Set-OpenXmlBackground cmdlet changes the background image or background color of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlComment&lt;/h2&gt;
The Get-OpenXmlComment extracts all the comments from a document, and return all of them in a XDocument&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDigitalSignature&lt;/h2&gt;
The Add-OpenXmlDigitalSignature cmdlet uses a digital certificate to digitally sign a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDocument&lt;/h2&gt;
The Get-OpenXmlDocument cmdlet returns an OpenXML document object for each document file. The actual object will depend on the type of document in the file. For example, if it is a spreadsheet, the object will be a SpreadsheetDocument, which is derived from OpenXMLDocument.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlCustomXmlData&lt;/h2&gt;
The Get-OpenXmlCustomXmlData cmdlet gets the first customXml part that matches the given name and returns it as an XDocument object.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlToHtml&lt;/h2&gt;
The Export-OpenXmlToHtml cmdlet transforms the content of Wordprocessing documents into an html file by applying an XSLT transformation over the main content and extracting images from the package to a given location.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOA&lt;/h2&gt;
The Add-OpenXmlDocumentTOA cmdlet creates a Table of Authorities based on the citations (references or authorities) found it in the document. The TOA will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlStyle&lt;/h2&gt;
The Set-OpenXmlStyle cmdlet replaces the style library in a WordprocessingML or SpreadsheetML document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlFooter&lt;/h2&gt;
The Get-OpenXmlFooter cmdlet retrieves all the specified footer parts from a document and returns an XDocument array of those footers. An object is returned for the specified footer in each Section of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDigitalSignature&lt;/h2&gt;
The Get-OpenXmlDigitalSignature cmdlet returns a summary of digital signatures present in the Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlTheme&lt;/h2&gt;
The Set-OpenXmlTheme cmdlet sets the current theme in a Wordprocessing document to the specified theme.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlDigitalSignature&lt;/h2&gt;
The Remove-OpenXmlDigitalSignature cmdlet removes digital signatures from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlContent&lt;/h2&gt;
The Add-OpenXmlContent cmdlet injects custom xml markup inside a given part from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlWordprocessing&lt;/h2&gt;
The Export-OpenXmlWordprocessing uses plain text to create a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentFormat&lt;/h2&gt;
The Set-OpenXmlContentFormat cmdlet inserts markup containing format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlFooter&lt;/h2&gt;
The Set-OpenXmlFooter cmdlet inserts footer parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlWatermark&lt;/h2&gt;
The Get-OpenXmlWatermark cmdlet retrieves the text of the document&amp;#39;s watermark.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlBackground&lt;/h2&gt;
The Get-OpenXmlBackground cmdlet extracts the background (color or image) from a document according to the parameters Image or Color.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlSpreadsheet&lt;/h2&gt;
The Export-OpenXmlSpreadsheet gets the public properties from any objects and generates a spreadsheet with columns showing for each property. Optionally, a chart can be created from a subset of those properties.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentStyle&lt;/h2&gt;
The Set-OpenXmlContentStyle cmdlet inserts inserts markup containing the style format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOF&lt;/h2&gt;
The Add-OpenXmlDocumentTOF cmdlet creates a Table of Figures based on the figures found it in the document. The TOF will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlHeader&lt;/h2&gt;
The Get-OpenXmlHeader retrieves all the existing header parts from a document. The execution returns an XDocument array of all the header parts found in the document.&lt;br /&gt;&lt;br /&gt;If you have any issues with downloading, building, or using the PowerTools for Open XML, please feel free to contact Eric White:  eric (at) ericwhite.com&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>EricWhiteDpe</author><pubDate>Wed, 22 Jun 2011 00:08:20 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20110622120820A</guid></item><item><title>Updated Wiki: Home</title><link>http://powertools.codeplex.com/wikipage?version=22</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Important Note: For the Html Converter source code, click on the Downloads tab, and download HtmlConverter.zip&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Combining the technologies of PowerShell and Open XML is a powerful and convenient way to do server-side document processing.  The PowerTools for Open XML are sample source code and guidance for developers showing how to build PowerShell cmdlets that can create and modify Open XML documents.  Also included are a number of examples of PowerShell scripts that use the cmdlets.&lt;br /&gt;&lt;br /&gt;For an introduction on the PowerTools for Open XML, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2008/06/11/processing-open-xml-documents-server-side-using-powershell.aspx" class="externalLink"&gt;Automated Processing of Open XML Documents using PowerShell&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;For information and a screen-cast on PowerTools for Open XML v1.1, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/03/19/announcing-the-release-of-powertools-for-open-xml-v1-1.aspx" class="externalLink"&gt;Announcing the Release of PowerTools for Open XML V1.1&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;You can separately download source code for some important components of PowerTools for Open XML.  Click the Downloads tab to download:
&lt;ul&gt;&lt;li&gt;DocumentBuilder - enables composition of new word-processing documents from other word-processing documents.  For a detailed explanation of DocumentBuilder, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/02/05/move-insert-delete-paragraphs-in-word-processing-documents-using-the-open-xml-sdk.aspx" class="externalLink"&gt;Move/Insert/Delete Paragraphs in Word Processing Documents using the Open XML SDK&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;DocumentBuilder 2.0 - an important update to DocumentBuilder that enables enables composition of much more elaborate documents, including documents with drawings or images in headers/footers, external links, and more.  The main source code of PowerTools for Open XML have not yet been updated to include the new DocumentBuilder source code.&lt;/li&gt;
&lt;li&gt;CommentMerger - merge comments from two documents that are identical except for comments.  For more information about merging comments, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/07/28/merging-comments-from-multiple-open-xml-documents-into-a-single-document.aspx" class="externalLink"&gt;Merging Comments from Multiple Open XML Documents into a Single Document&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;RevisionAccepter - accept tracked changes for a word-processing document.  See &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/12/21/accepting-revisions-in-open-xml-wordprocessingml-documents.aspx" class="externalLink"&gt;Accepting Revisions in Open XML WordprocessingML Documents&amp;#39;&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;HtmlConverter - convert a word-processing document to XHtml.  See &lt;a href="http://blogs.msdn.com/ericwhite/archive/2010/01/28/htmlconverter-transform-open-xml-wordprocessingml-to-xhtml.aspx" class="externalLink"&gt;HtmlConverter: Transform Open XML WordprocessingML to XHtml&amp;#39;&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;br /&gt;To install and build the PowerTools for Open XML from source code:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;You need to have any edition (including Visual C# 2008 Express Edition) of Visual Studio 2008 installed.  You can download Express Edition at &lt;a href="http://www.microsoft.com/express/download/" class="externalLink"&gt;http://www.microsoft.com/express/download/&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You need to have PowerShell 1.0 installed.  You can download PowerShell at &lt;a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx" class="externalLink"&gt;http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;PowerTools for Open XML is built using the Open XML SDK.  You can download the SDK at &lt;a href="http://go.microsoft.com/fwlink/?LinkId=120908" class="externalLink"&gt;http://go.microsoft.com/fwlink/?LinkId=120908&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You also need the PowerTools source code, which is available in the &amp;quot;Releases&amp;quot; tab above.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Following are links to download pre-built binaries of the PowerTools for Open XML v1.1.  The CodePlex &lt;a href="http://www.codeplex.com/Legal/Terms.aspx" class="externalLink"&gt;Terms of Use&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; apply to external sites.&lt;br /&gt;&lt;br /&gt;April 19, 2009 - the following binaries are for version 1.1, not version 1.1.1.  This is currently being updated - stay tuned...&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Julien Chable has posted the binaries &lt;a href="http://blogs.chable.net/julien/2009/03/19/powertools-for-open-xml-v11-now-available/" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;April 19, 2009 - the following binaries are for version 1.1.1.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://staffdotnet.com/default.aspx" class="externalLink"&gt;StaffDotNet&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;, a consulting company, has posted the binaries &lt;a href="http://staffdotnet.com/services/powertools.html" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;PowerTools for Open XML Home Page: &lt;a href="http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx" class="externalLink"&gt;http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlCustomXmlData&lt;/h2&gt;
The Set-OpenXmlCustomXmlData cmdlet sets or replaces the specified custom XML part in the document.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlComment&lt;/h2&gt;
The Remove-OpenXmlComment cmdlet locates and removes comment contents and references from Wordprocessing documents.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOC&lt;/h2&gt;
The Add-OpenXmlDocumentTOC cmdlet creates a Table of Contents based on the headings found it in the document. The TOC will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentIndex&lt;/h2&gt;
The Add-OpenXmlDocumentIndex cmdlet creates an index based on the index references found in the document. The index will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlWatermark&lt;/h2&gt;
The Set-OpenXmlWatermark cmdlet adds watermark text to the background of a document. iI the DiagonalOrientation parameter is specified, then the text will be in a diagonal &lt;br /&gt;orientation rather than horizontal.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlPicture&lt;/h2&gt;
The Add-OpenXmlPicture cmdlet inserts a picture at a specific location inside an OpenXML document. The picture will be stored inside the document as an embedded resource. Picture location is specified by an XPath query expression.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlHeader&lt;/h2&gt;
The Set-OpenXmlHeader cmdlet inserts header parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Lock-OpenXmlDocument&lt;/h2&gt;
The Lock-OpenXmlDocument cmdlet sets a lock inside one or more Wordprocessing documents to prevent them from being edited.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlStyle&lt;/h2&gt;
The Get-OpenXmlStyle cmdlet retrieves the styles definition part from a WordprocessingML or SpreadsheetML document and returns an XDocument object containing the styles content.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlTheme&lt;/h2&gt;
The Get-OpenXmlTheme cmdlet extracts the whole theme part from a Wordprocessing document as a thmx file (with media resources embedded). A Package object (System.IO.Packaging.Package) is returned that corresponds to the theme file.&lt;br /&gt;
&lt;h2&gt;Accept-OpenXmlChange&lt;/h2&gt;
The Accept-OpenXmlTextChange cmdlet processes documents with text revisions (change tracking elements), by accepting all the text changes performed on the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlBackground&lt;/h2&gt;
The Set-OpenXmlBackground cmdlet changes the background image or background color of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlComment&lt;/h2&gt;
The Get-OpenXmlComment extracts all the comments from a document, and return all of them in a XDocument&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDigitalSignature&lt;/h2&gt;
The Add-OpenXmlDigitalSignature cmdlet uses a digital certificate to digitally sign a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDocument&lt;/h2&gt;
The Get-OpenXmlDocument cmdlet returns an OpenXML document object for each document file. The actual object will depend on the type of document in the file. For example, if it is a spreadsheet, the object will be a SpreadsheetDocument, which is derived from OpenXMLDocument.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlCustomXmlData&lt;/h2&gt;
The Get-OpenXmlCustomXmlData cmdlet gets the first customXml part that matches the given name and returns it as an XDocument object.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlToHtml&lt;/h2&gt;
The Export-OpenXmlToHtml cmdlet transforms the content of Wordprocessing documents into an html file by applying an XSLT transformation over the main content and extracting images from the package to a given location.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOA&lt;/h2&gt;
The Add-OpenXmlDocumentTOA cmdlet creates a Table of Authorities based on the citations (references or authorities) found it in the document. The TOA will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlStyle&lt;/h2&gt;
The Set-OpenXmlStyle cmdlet replaces the style library in a WordprocessingML or SpreadsheetML document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlFooter&lt;/h2&gt;
The Get-OpenXmlFooter cmdlet retrieves all the specified footer parts from a document and returns an XDocument array of those footers. An object is returned for the specified footer in each Section of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDigitalSignature&lt;/h2&gt;
The Get-OpenXmlDigitalSignature cmdlet returns a summary of digital signatures present in the Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlTheme&lt;/h2&gt;
The Set-OpenXmlTheme cmdlet sets the current theme in a Wordprocessing document to the specified theme.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlDigitalSignature&lt;/h2&gt;
The Remove-OpenXmlDigitalSignature cmdlet removes digital signatures from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlContent&lt;/h2&gt;
The Add-OpenXmlContent cmdlet injects custom xml markup inside a given part from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlWordprocessing&lt;/h2&gt;
The Export-OpenXmlWordprocessing uses plain text to create a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentFormat&lt;/h2&gt;
The Set-OpenXmlContentFormat cmdlet inserts markup containing format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlFooter&lt;/h2&gt;
The Set-OpenXmlFooter cmdlet inserts footer parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlWatermark&lt;/h2&gt;
The Get-OpenXmlWatermark cmdlet retrieves the text of the document&amp;#39;s watermark.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlBackground&lt;/h2&gt;
The Get-OpenXmlBackground cmdlet extracts the background (color or image) from a document according to the parameters Image or Color.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlSpreadsheet&lt;/h2&gt;
The Export-OpenXmlSpreadsheet gets the public properties from any objects and generates a spreadsheet with columns showing for each property. Optionally, a chart can be created from a subset of those properties.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentStyle&lt;/h2&gt;
The Set-OpenXmlContentStyle cmdlet inserts inserts markup containing the style format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOF&lt;/h2&gt;
The Add-OpenXmlDocumentTOF cmdlet creates a Table of Figures based on the figures found it in the document. The TOF will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlHeader&lt;/h2&gt;
The Get-OpenXmlHeader retrieves all the existing header parts from a document. The execution returns an XDocument array of all the header parts found in the document.&lt;br /&gt;&lt;br /&gt;If you have any issues with downloading, building, or using the PowerTools for Open XML, please feel free to contact Eric White:  eric (at) ericwhite.com&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>EricWhiteDpe</author><pubDate>Wed, 22 Jun 2011 00:05:06 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20110622120506A</guid></item><item><title>Updated Wiki: Home</title><link>http://powertools.codeplex.com/wikipage?version=21</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Important Note: For the Html Converter source code, click on the Downloads tab, and download HtmlConverter.zip&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Combining the technologies of PowerShell and Open XML is a powerful and convenient way to do server-side document processing.  The PowerTools for Open XML are sample source code and guidance for developers showing how to build PowerShell cmdlets that can create and modify Open XML documents.  Also included are a number of examples of PowerShell scripts that use the cmdlets.&lt;br /&gt;&lt;br /&gt;For an introduction and screen-cast on the PowerTools for Open XML, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2008/06/11/processing-open-xml-documents-server-side-using-powershell.aspx" class="externalLink"&gt;Automated Processing of Open XML Documents using PowerShell&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;For information and a screen-cast on PowerTools for Open XML v1.1, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/03/19/announcing-the-release-of-powertools-for-open-xml-v1-1.aspx" class="externalLink"&gt;Announcing the Release of PowerTools for Open XML V1.1&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;You can separately download source code for some important components of PowerTools for Open XML.  Click the Downloads tab to download:
&lt;ul&gt;&lt;li&gt;DocumentBuilder - enables composition of new word-processing documents from other word-processing documents.  For a detailed explanation of DocumentBuilder, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/02/05/move-insert-delete-paragraphs-in-word-processing-documents-using-the-open-xml-sdk.aspx" class="externalLink"&gt;Move/Insert/Delete Paragraphs in Word Processing Documents using the Open XML SDK&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;CommentMerger - merge comments from two documents that are identical except for comments.  For more information about merging comments, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/07/28/merging-comments-from-multiple-open-xml-documents-into-a-single-document.aspx" class="externalLink"&gt;Merging Comments from Multiple Open XML Documents into a Single Document&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;RevisionAccepter - accept tracked changes for a word-processing document.  See &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/12/21/accepting-revisions-in-open-xml-wordprocessingml-documents.aspx" class="externalLink"&gt;Accepting Revisions in Open XML WordprocessingML Documents&amp;#39;&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;HtmlConverter - convert a word-processing document to XHtml.  See &lt;a href="http://blogs.msdn.com/ericwhite/archive/2010/01/28/htmlconverter-transform-open-xml-wordprocessingml-to-xhtml.aspx" class="externalLink"&gt;HtmlConverter: Transform Open XML WordprocessingML to XHtml&amp;#39;&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;br /&gt;To install and build the PowerTools for Open XML from source code:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;You need to have any edition (including Visual C# 2008 Express Edition) of Visual Studio 2008 installed.  You can download Express Edition at &lt;a href="http://www.microsoft.com/express/download/" class="externalLink"&gt;http://www.microsoft.com/express/download/&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You need to have PowerShell 1.0 installed.  You can download PowerShell at &lt;a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx" class="externalLink"&gt;http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;PowerTools for Open XML is built using the Open XML SDK.  You can download the SDK at &lt;a href="http://go.microsoft.com/fwlink/?LinkId=120908" class="externalLink"&gt;http://go.microsoft.com/fwlink/?LinkId=120908&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You also need the PowerTools source code, which is available in the &amp;quot;Releases&amp;quot; tab above.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Following are links to download pre-built binaries of the PowerTools for Open XML v1.1.  The CodePlex &lt;a href="http://www.codeplex.com/Legal/Terms.aspx" class="externalLink"&gt;Terms of Use&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; apply to external sites.&lt;br /&gt;&lt;br /&gt;April 19, 2009 - the following binaries are for version 1.1, not version 1.1.1.  This is currently being updated - stay tuned...&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Julien Chable has posted the binaries &lt;a href="http://blogs.chable.net/julien/2009/03/19/powertools-for-open-xml-v11-now-available/" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;April 19, 2009 - the following binaries are for version 1.1.1.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://staffdotnet.com/default.aspx" class="externalLink"&gt;StaffDotNet&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;, a consulting company, has posted the binaries &lt;a href="http://staffdotnet.com/services/powertools.html" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;PowerTools for Open XML Home Page: &lt;a href="http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx" class="externalLink"&gt;http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlCustomXmlData&lt;/h2&gt;
The Set-OpenXmlCustomXmlData cmdlet sets or replaces the specified custom XML part in the document.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlComment&lt;/h2&gt;
The Remove-OpenXmlComment cmdlet locates and removes comment contents and references from Wordprocessing documents.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOC&lt;/h2&gt;
The Add-OpenXmlDocumentTOC cmdlet creates a Table of Contents based on the headings found it in the document. The TOC will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentIndex&lt;/h2&gt;
The Add-OpenXmlDocumentIndex cmdlet creates an index based on the index references found in the document. The index will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlWatermark&lt;/h2&gt;
The Set-OpenXmlWatermark cmdlet adds watermark text to the background of a document. iI the DiagonalOrientation parameter is specified, then the text will be in a diagonal &lt;br /&gt;orientation rather than horizontal.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlPicture&lt;/h2&gt;
The Add-OpenXmlPicture cmdlet inserts a picture at a specific location inside an OpenXML document. The picture will be stored inside the document as an embedded resource. Picture location is specified by an XPath query expression.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlHeader&lt;/h2&gt;
The Set-OpenXmlHeader cmdlet inserts header parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Lock-OpenXmlDocument&lt;/h2&gt;
The Lock-OpenXmlDocument cmdlet sets a lock inside one or more Wordprocessing documents to prevent them from being edited.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlStyle&lt;/h2&gt;
The Get-OpenXmlStyle cmdlet retrieves the styles definition part from a WordprocessingML or SpreadsheetML document and returns an XDocument object containing the styles content.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlTheme&lt;/h2&gt;
The Get-OpenXmlTheme cmdlet extracts the whole theme part from a Wordprocessing document as a thmx file (with media resources embedded). A Package object (System.IO.Packaging.Package) is returned that corresponds to the theme file.&lt;br /&gt;
&lt;h2&gt;Accept-OpenXmlChange&lt;/h2&gt;
The Accept-OpenXmlTextChange cmdlet processes documents with text revisions (change tracking elements), by accepting all the text changes performed on the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlBackground&lt;/h2&gt;
The Set-OpenXmlBackground cmdlet changes the background image or background color of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlComment&lt;/h2&gt;
The Get-OpenXmlComment extracts all the comments from a document, and return all of them in a XDocument&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDigitalSignature&lt;/h2&gt;
The Add-OpenXmlDigitalSignature cmdlet uses a digital certificate to digitally sign a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDocument&lt;/h2&gt;
The Get-OpenXmlDocument cmdlet returns an OpenXML document object for each document file. The actual object will depend on the type of document in the file. For example, if it is a spreadsheet, the object will be a SpreadsheetDocument, which is derived from OpenXMLDocument.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlCustomXmlData&lt;/h2&gt;
The Get-OpenXmlCustomXmlData cmdlet gets the first customXml part that matches the given name and returns it as an XDocument object.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlToHtml&lt;/h2&gt;
The Export-OpenXmlToHtml cmdlet transforms the content of Wordprocessing documents into an html file by applying an XSLT transformation over the main content and extracting images from the package to a given location.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOA&lt;/h2&gt;
The Add-OpenXmlDocumentTOA cmdlet creates a Table of Authorities based on the citations (references or authorities) found it in the document. The TOA will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlStyle&lt;/h2&gt;
The Set-OpenXmlStyle cmdlet replaces the style library in a WordprocessingML or SpreadsheetML document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlFooter&lt;/h2&gt;
The Get-OpenXmlFooter cmdlet retrieves all the specified footer parts from a document and returns an XDocument array of those footers. An object is returned for the specified footer in each Section of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDigitalSignature&lt;/h2&gt;
The Get-OpenXmlDigitalSignature cmdlet returns a summary of digital signatures present in the Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlTheme&lt;/h2&gt;
The Set-OpenXmlTheme cmdlet sets the current theme in a Wordprocessing document to the specified theme.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlDigitalSignature&lt;/h2&gt;
The Remove-OpenXmlDigitalSignature cmdlet removes digital signatures from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlContent&lt;/h2&gt;
The Add-OpenXmlContent cmdlet injects custom xml markup inside a given part from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlWordprocessing&lt;/h2&gt;
The Export-OpenXmlWordprocessing uses plain text to create a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentFormat&lt;/h2&gt;
The Set-OpenXmlContentFormat cmdlet inserts markup containing format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlFooter&lt;/h2&gt;
The Set-OpenXmlFooter cmdlet inserts footer parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlWatermark&lt;/h2&gt;
The Get-OpenXmlWatermark cmdlet retrieves the text of the document&amp;#39;s watermark.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlBackground&lt;/h2&gt;
The Get-OpenXmlBackground cmdlet extracts the background (color or image) from a document according to the parameters Image or Color.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlSpreadsheet&lt;/h2&gt;
The Export-OpenXmlSpreadsheet gets the public properties from any objects and generates a spreadsheet with columns showing for each property. Optionally, a chart can be created from a subset of those properties.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentStyle&lt;/h2&gt;
The Set-OpenXmlContentStyle cmdlet inserts inserts markup containing the style format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOF&lt;/h2&gt;
The Add-OpenXmlDocumentTOF cmdlet creates a Table of Figures based on the figures found it in the document. The TOF will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlHeader&lt;/h2&gt;
The Get-OpenXmlHeader retrieves all the existing header parts from a document. The execution returns an XDocument array of all the header parts found in the document.&lt;br /&gt;&lt;br /&gt;If you have any issues with downloading, building, or using the PowerTools for Open XML, please feel free to contact Eric White:  white.eric (at) microsoft.com&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>EricWhiteDpe</author><pubDate>Wed, 24 Mar 2010 18:03:29 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20100324060329P</guid></item><item><title>Updated Wiki: Home</title><link>http://powertools.codeplex.com/wikipage?version=20</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Important Note: For the Html Converter source code, click on the Downloads tab, and download HtmlConverter.zip&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Combining the technologies of PowerShell and Open XML is a powerful and convenient way to do server-side document processing.  The PowerTools for Open XML are sample source code and guidance for developers showing how to build PowerShell cmdlets that can create and modify Open XML documents.  Also included are a number of examples of PowerShell scripts that use the cmdlets.&lt;br /&gt;&lt;br /&gt;For an introduction and screen-cast on the PowerTools for Open XML, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2008/06/11/processing-open-xml-documents-server-side-using-powershell.aspx" class="externalLink"&gt;Automated Processing of Open XML Documents using PowerShell&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;For information and a screen-cast on PowerTools for Open XML v1.1, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/03/19/announcing-the-release-of-powertools-for-open-xml-v1-1.aspx" class="externalLink"&gt;Announcing the Release of PowerTools for Open XML V1.1&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;You can separately download source code for some important components of PowerTools for Open XML.  Click the Downloads tab to download:
&lt;ul&gt;&lt;li&gt;DocumentBuilder - enables composition of new word-processing documents from other word-processing documents.  For a detailed explanation of DocumentBuilder, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/02/05/move-insert-delete-paragraphs-in-word-processing-documents-using-the-open-xml-sdk.aspx" class="externalLink"&gt;Move/Insert/Delete Paragraphs in Word Processing Documents using the Open XML SDK&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;CommentMerger - merge comments from two documents that are identical except for comments.  For more information about merging comments, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/07/28/merging-comments-from-multiple-open-xml-documents-into-a-single-document.aspx" class="externalLink"&gt;Merging Comments from Multiple Open XML Documents into a Single Document&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;RevisionAccepter - accept tracked changes for a word-processing document.  For a brief introduction to accepting revisions, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/09/28/source-code-available-complete-implementation-of-accept-all-changes-tracked-revisions-in-open-xml-documents.aspx" class="externalLink"&gt;Source Code Available: Complete Implementation of &amp;#39;Accept All Changes (Tracked Revisions) in Open XML Documents&amp;#39;&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;To install and build the PowerTools for Open XML from source code:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;You need to have any edition (including Visual C# 2008 Express Edition) of Visual Studio 2008 installed.  You can download Express Edition at &lt;a href="http://www.microsoft.com/express/download/" class="externalLink"&gt;http://www.microsoft.com/express/download/&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You need to have PowerShell 1.0 installed.  You can download PowerShell at &lt;a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx" class="externalLink"&gt;http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;PowerTools for Open XML is built using the Open XML SDK.  You can download the SDK at &lt;a href="http://go.microsoft.com/fwlink/?LinkId=120908" class="externalLink"&gt;http://go.microsoft.com/fwlink/?LinkId=120908&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You also need the PowerTools source code, which is available in the &amp;quot;Releases&amp;quot; tab above.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Following are links to download pre-built binaries of the PowerTools for Open XML v1.1.  The CodePlex &lt;a href="http://www.codeplex.com/Legal/Terms.aspx" class="externalLink"&gt;Terms of Use&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; apply to external sites.&lt;br /&gt;&lt;br /&gt;April 19, 2009 - the following binaries are for version 1.1, not version 1.1.1.  This is currently being updated - stay tuned...&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Julien Chable has posted the binaries &lt;a href="http://blogs.chable.net/julien/2009/03/19/powertools-for-open-xml-v11-now-available/" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;April 19, 2009 - the following binaries are for version 1.1.1.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://staffdotnet.com/default.aspx" class="externalLink"&gt;StaffDotNet&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;, a consulting company, has posted the binaries &lt;a href="http://staffdotnet.com/services/powertools.html" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;PowerTools for Open XML Home Page: &lt;a href="http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx" class="externalLink"&gt;http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlCustomXmlData&lt;/h2&gt;
The Set-OpenXmlCustomXmlData cmdlet sets or replaces the specified custom XML part in the document.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlComment&lt;/h2&gt;
The Remove-OpenXmlComment cmdlet locates and removes comment contents and references from Wordprocessing documents.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOC&lt;/h2&gt;
The Add-OpenXmlDocumentTOC cmdlet creates a Table of Contents based on the headings found it in the document. The TOC will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentIndex&lt;/h2&gt;
The Add-OpenXmlDocumentIndex cmdlet creates an index based on the index references found in the document. The index will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlWatermark&lt;/h2&gt;
The Set-OpenXmlWatermark cmdlet adds watermark text to the background of a document. iI the DiagonalOrientation parameter is specified, then the text will be in a diagonal &lt;br /&gt;orientation rather than horizontal.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlPicture&lt;/h2&gt;
The Add-OpenXmlPicture cmdlet inserts a picture at a specific location inside an OpenXML document. The picture will be stored inside the document as an embedded resource. Picture location is specified by an XPath query expression.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlHeader&lt;/h2&gt;
The Set-OpenXmlHeader cmdlet inserts header parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Lock-OpenXmlDocument&lt;/h2&gt;
The Lock-OpenXmlDocument cmdlet sets a lock inside one or more Wordprocessing documents to prevent them from being edited.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlStyle&lt;/h2&gt;
The Get-OpenXmlStyle cmdlet retrieves the styles definition part from a WordprocessingML or SpreadsheetML document and returns an XDocument object containing the styles content.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlTheme&lt;/h2&gt;
The Get-OpenXmlTheme cmdlet extracts the whole theme part from a Wordprocessing document as a thmx file (with media resources embedded). A Package object (System.IO.Packaging.Package) is returned that corresponds to the theme file.&lt;br /&gt;
&lt;h2&gt;Accept-OpenXmlChange&lt;/h2&gt;
The Accept-OpenXmlTextChange cmdlet processes documents with text revisions (change tracking elements), by accepting all the text changes performed on the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlBackground&lt;/h2&gt;
The Set-OpenXmlBackground cmdlet changes the background image or background color of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlComment&lt;/h2&gt;
The Get-OpenXmlComment extracts all the comments from a document, and return all of them in a XDocument&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDigitalSignature&lt;/h2&gt;
The Add-OpenXmlDigitalSignature cmdlet uses a digital certificate to digitally sign a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDocument&lt;/h2&gt;
The Get-OpenXmlDocument cmdlet returns an OpenXML document object for each document file. The actual object will depend on the type of document in the file. For example, if it is a spreadsheet, the object will be a SpreadsheetDocument, which is derived from OpenXMLDocument.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlCustomXmlData&lt;/h2&gt;
The Get-OpenXmlCustomXmlData cmdlet gets the first customXml part that matches the given name and returns it as an XDocument object.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlToHtml&lt;/h2&gt;
The Export-OpenXmlToHtml cmdlet transforms the content of Wordprocessing documents into an html file by applying an XSLT transformation over the main content and extracting images from the package to a given location.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOA&lt;/h2&gt;
The Add-OpenXmlDocumentTOA cmdlet creates a Table of Authorities based on the citations (references or authorities) found it in the document. The TOA will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlStyle&lt;/h2&gt;
The Set-OpenXmlStyle cmdlet replaces the style library in a WordprocessingML or SpreadsheetML document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlFooter&lt;/h2&gt;
The Get-OpenXmlFooter cmdlet retrieves all the specified footer parts from a document and returns an XDocument array of those footers. An object is returned for the specified footer in each Section of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDigitalSignature&lt;/h2&gt;
The Get-OpenXmlDigitalSignature cmdlet returns a summary of digital signatures present in the Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlTheme&lt;/h2&gt;
The Set-OpenXmlTheme cmdlet sets the current theme in a Wordprocessing document to the specified theme.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlDigitalSignature&lt;/h2&gt;
The Remove-OpenXmlDigitalSignature cmdlet removes digital signatures from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlContent&lt;/h2&gt;
The Add-OpenXmlContent cmdlet injects custom xml markup inside a given part from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlWordprocessing&lt;/h2&gt;
The Export-OpenXmlWordprocessing uses plain text to create a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentFormat&lt;/h2&gt;
The Set-OpenXmlContentFormat cmdlet inserts markup containing format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlFooter&lt;/h2&gt;
The Set-OpenXmlFooter cmdlet inserts footer parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlWatermark&lt;/h2&gt;
The Get-OpenXmlWatermark cmdlet retrieves the text of the document&amp;#39;s watermark.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlBackground&lt;/h2&gt;
The Get-OpenXmlBackground cmdlet extracts the background (color or image) from a document according to the parameters Image or Color.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlSpreadsheet&lt;/h2&gt;
The Export-OpenXmlSpreadsheet gets the public properties from any objects and generates a spreadsheet with columns showing for each property. Optionally, a chart can be created from a subset of those properties.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentStyle&lt;/h2&gt;
The Set-OpenXmlContentStyle cmdlet inserts inserts markup containing the style format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOF&lt;/h2&gt;
The Add-OpenXmlDocumentTOF cmdlet creates a Table of Figures based on the figures found it in the document. The TOF will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlHeader&lt;/h2&gt;
The Get-OpenXmlHeader retrieves all the existing header parts from a document. The execution returns an XDocument array of all the header parts found in the document.&lt;br /&gt;&lt;br /&gt;If you have any issues with downloading, building, or using the PowerTools for Open XML, please feel free to contact Eric White:  white.eric (at) microsoft.com&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>EricWhiteDpe</author><pubDate>Wed, 24 Mar 2010 17:59:59 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20100324055959P</guid></item><item><title>Updated Wiki: Home</title><link>http://powertools.codeplex.com/wikipage?version=19</link><description>&lt;div class="wikidoc"&gt;Combining the technologies of PowerShell and Open XML is a powerful and convenient way to do server-side document processing.  The PowerTools for Open XML are sample source code and guidance for developers showing how to build PowerShell cmdlets that can create and modify Open XML documents.  Also included are a number of examples of PowerShell scripts that use the cmdlets.&lt;br /&gt;&lt;br /&gt;For an introduction and screen-cast on the PowerTools for Open XML, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2008/06/11/processing-open-xml-documents-server-side-using-powershell.aspx" class="externalLink"&gt;Automated Processing of Open XML Documents using PowerShell&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;For information and a screen-cast on PowerTools for Open XML v1.1, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/03/19/announcing-the-release-of-powertools-for-open-xml-v1-1.aspx" class="externalLink"&gt;Announcing the Release of PowerTools for Open XML V1.1&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;You can separately download source code for some important components of PowerTools for Open XML.  Click the Downloads tab to download:
&lt;ul&gt;&lt;li&gt;DocumentBuilder - enables composition of new word-processing documents from other word-processing documents.  For a detailed explanation of DocumentBuilder, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/02/05/move-insert-delete-paragraphs-in-word-processing-documents-using-the-open-xml-sdk.aspx" class="externalLink"&gt;Move/Insert/Delete Paragraphs in Word Processing Documents using the Open XML SDK&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;CommentMerger - merge comments from two documents that are identical except for comments.  For more information about merging comments, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/07/28/merging-comments-from-multiple-open-xml-documents-into-a-single-document.aspx" class="externalLink"&gt;Merging Comments from Multiple Open XML Documents into a Single Document&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;RevisionAccepter - accept tracked changes for a word-processing document.  For a brief introduction to accepting revisions, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/09/28/source-code-available-complete-implementation-of-accept-all-changes-tracked-revisions-in-open-xml-documents.aspx" class="externalLink"&gt;Source Code Available: Complete Implementation of 'Accept All Changes (Tracked Revisions) in Open XML Documents'&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;To install and build the PowerTools for Open XML from source code:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;You need to have any edition (including Visual C# 2008 Express Edition) of Visual Studio 2008 installed.  You can download Express Edition at &lt;a href="http://www.microsoft.com/express/download/" class="externalLink"&gt;http://www.microsoft.com/express/download/&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You need to have PowerShell 1.0 installed.  You can download PowerShell at &lt;a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx" class="externalLink"&gt;http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;PowerTools for Open XML is built using the Open XML SDK.  You can download the SDK at &lt;a href="http://go.microsoft.com/fwlink/?LinkId=120908" class="externalLink"&gt;http://go.microsoft.com/fwlink/?LinkId=120908&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You also need the PowerTools source code, which is available in the &amp;quot;Releases&amp;quot; tab above.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Following are links to download pre-built binaries of the PowerTools for Open XML v1.1.  The CodePlex &lt;a href="http://www.codeplex.com/Legal/Terms.aspx" class="externalLink"&gt;Terms of Use&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; apply to external sites.&lt;br /&gt;&lt;br /&gt;April 19, 2009 - the following binaries are for version 1.1, not version 1.1.1.  This is currently being updated - stay tuned...&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Julien Chable has posted the binaries &lt;a href="http://blogs.chable.net/julien/2009/03/19/powertools-for-open-xml-v11-now-available/" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;April 19, 2009 - the following binaries are for version 1.1.1.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://staffdotnet.com/default.aspx" class="externalLink"&gt;StaffDotNet&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;, a consulting company, has posted the binaries &lt;a href="http://staffdotnet.com/services/powertools.html" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;PowerTools for Open XML Home Page: &lt;a href="http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx" class="externalLink"&gt;http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlCustomXmlData&lt;/h2&gt;
The Set-OpenXmlCustomXmlData cmdlet sets or replaces the specified custom XML part in the document.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlComment&lt;/h2&gt;
The Remove-OpenXmlComment cmdlet locates and removes comment contents and references from Wordprocessing documents.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOC&lt;/h2&gt;
The Add-OpenXmlDocumentTOC cmdlet creates a Table of Contents based on the headings found it in the document. The TOC will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentIndex&lt;/h2&gt;
The Add-OpenXmlDocumentIndex cmdlet creates an index based on the index references found in the document. The index will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlWatermark&lt;/h2&gt;
The Set-OpenXmlWatermark cmdlet adds watermark text to the background of a document. iI the DiagonalOrientation parameter is specified, then the text will be in a diagonal &lt;br /&gt;orientation rather than horizontal.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlPicture&lt;/h2&gt;
The Add-OpenXmlPicture cmdlet inserts a picture at a specific location inside an OpenXML document. The picture will be stored inside the document as an embedded resource. Picture location is specified by an XPath query expression.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlHeader&lt;/h2&gt;
The Set-OpenXmlHeader cmdlet inserts header parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Lock-OpenXmlDocument&lt;/h2&gt;
The Lock-OpenXmlDocument cmdlet sets a lock inside one or more Wordprocessing documents to prevent them from being edited.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlStyle&lt;/h2&gt;
The Get-OpenXmlStyle cmdlet retrieves the styles definition part from a WordprocessingML or SpreadsheetML document and returns an XDocument object containing the styles content.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlTheme&lt;/h2&gt;
The Get-OpenXmlTheme cmdlet extracts the whole theme part from a Wordprocessing document as a thmx file (with media resources embedded). A Package object (System.IO.Packaging.Package) is returned that corresponds to the theme file.&lt;br /&gt;
&lt;h2&gt;Accept-OpenXmlChange&lt;/h2&gt;
The Accept-OpenXmlTextChange cmdlet processes documents with text revisions (change tracking elements), by accepting all the text changes performed on the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlBackground&lt;/h2&gt;
The Set-OpenXmlBackground cmdlet changes the background image or background color of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlComment&lt;/h2&gt;
The Get-OpenXmlComment extracts all the comments from a document, and return all of them in a XDocument&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDigitalSignature&lt;/h2&gt;
The Add-OpenXmlDigitalSignature cmdlet uses a digital certificate to digitally sign a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDocument&lt;/h2&gt;
The Get-OpenXmlDocument cmdlet returns an OpenXML document object for each document file. The actual object will depend on the type of document in the file. For example, if it is a spreadsheet, the object will be a SpreadsheetDocument, which is derived from OpenXMLDocument.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlCustomXmlData&lt;/h2&gt;
The Get-OpenXmlCustomXmlData cmdlet gets the first customXml part that matches the given name and returns it as an XDocument object.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlToHtml&lt;/h2&gt;
The Export-OpenXmlToHtml cmdlet transforms the content of Wordprocessing documents into an html file by applying an XSLT transformation over the main content and extracting images from the package to a given location.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOA&lt;/h2&gt;
The Add-OpenXmlDocumentTOA cmdlet creates a Table of Authorities based on the citations (references or authorities) found it in the document. The TOA will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlStyle&lt;/h2&gt;
The Set-OpenXmlStyle cmdlet replaces the style library in a WordprocessingML or SpreadsheetML document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlFooter&lt;/h2&gt;
The Get-OpenXmlFooter cmdlet retrieves all the specified footer parts from a document and returns an XDocument array of those footers. An object is returned for the specified footer in each Section of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDigitalSignature&lt;/h2&gt;
The Get-OpenXmlDigitalSignature cmdlet returns a summary of digital signatures present in the Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlTheme&lt;/h2&gt;
The Set-OpenXmlTheme cmdlet sets the current theme in a Wordprocessing document to the specified theme.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlDigitalSignature&lt;/h2&gt;
The Remove-OpenXmlDigitalSignature cmdlet removes digital signatures from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlContent&lt;/h2&gt;
The Add-OpenXmlContent cmdlet injects custom xml markup inside a given part from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlWordprocessing&lt;/h2&gt;
The Export-OpenXmlWordprocessing uses plain text to create a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentFormat&lt;/h2&gt;
The Set-OpenXmlContentFormat cmdlet inserts markup containing format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlFooter&lt;/h2&gt;
The Set-OpenXmlFooter cmdlet inserts footer parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlWatermark&lt;/h2&gt;
The Get-OpenXmlWatermark cmdlet retrieves the text of the document's watermark.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlBackground&lt;/h2&gt;
The Get-OpenXmlBackground cmdlet extracts the background (color or image) from a document according to the parameters Image or Color.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlSpreadsheet&lt;/h2&gt;
The Export-OpenXmlSpreadsheet gets the public properties from any objects and generates a spreadsheet with columns showing for each property. Optionally, a chart can be created from a subset of those properties.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentStyle&lt;/h2&gt;
The Set-OpenXmlContentStyle cmdlet inserts inserts markup containing the style format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOF&lt;/h2&gt;
The Add-OpenXmlDocumentTOF cmdlet creates a Table of Figures based on the figures found it in the document. The TOF will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlHeader&lt;/h2&gt;
The Get-OpenXmlHeader retrieves all the existing header parts from a document. The execution returns an XDocument array of all the header parts found in the document.&lt;br /&gt;&lt;br /&gt;If you have any issues with downloading, building, or using the PowerTools for Open XML, please feel free to contact Eric White:  white.eric (at) microsoft.com&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>EricWhiteDpe</author><pubDate>Sat, 07 Nov 2009 07:04:55 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20091107070455A</guid></item><item><title>Updated Wiki: Home</title><link>http://powertools.codeplex.com/wikipage?version=18</link><description>&lt;div class="wikidoc"&gt;Combining the technologies of PowerShell and Open XML is a powerful and convenient way to do server-side document processing.  The PowerTools for Open XML are sample source code and guidance for developers showing how to build PowerShell cmdlets that can create and modify Open XML documents.  Also included are a number of examples of PowerShell scripts that use the cmdlets.&lt;br /&gt;&lt;br /&gt;For an introduction and screen-cast on the PowerTools for Open XML, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2008/06/11/processing-open-xml-documents-server-side-using-powershell.aspx" class="externalLink"&gt;Automated Processing of Open XML Documents using PowerShell&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;For information and a screen-cast on PowerTools for Open XML v1.1, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/03/19/announcing-the-release-of-powertools-for-open-xml-v1-1.aspx" class="externalLink"&gt;Announcing the Release of PowerTools for Open XML V1.1&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;You can separately download source code for some important components of PowerTools for Open XML.  Click the Downloads tab to download:
&lt;ul&gt;&lt;li&gt;DocumentBuilder - enables composition of new word-processing documents from other word-processing documents.  For a detailed explanation of DocumentBuilder, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/02/05/move-insert-delete-paragraphs-in-word-processing-documents-using-the-open-xml-sdk.aspx" class="externalLink"&gt;Move/Insert/Delete Paragraphs in Word Processing Documents using the Open XML SDK&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;CommentMerger - merge comments from two documents that are identical except for comments.  For more information about merging comments, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/07/28/merging-comments-from-multiple-open-xml-documents-into-a-single-document.aspx" class="externalLink"&gt;Merging Comments from Multiple Open XML Documents into a Single Document&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;RevisionAccepter - accept tracked changes for a word-processing document.  For a breif introduction to accepting revisions, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/09/28/source-code-available-complete-implementation-of-accept-all-changes-tracked-revisions-in-open-xml-documents.aspx" class="externalLink"&gt;Source Code Available: Complete Implementation of 'Accept All Changes (Tracked Revisions) in Open XML Documents'&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;To install and build the PowerTools for Open XML from source code:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;You need to have any edition (including Visual C# 2008 Express Edition) of Visual Studio 2008 installed.  You can download Express Edition at &lt;a href="http://www.microsoft.com/express/download/" class="externalLink"&gt;http://www.microsoft.com/express/download/&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You need to have PowerShell 1.0 installed.  You can download PowerShell at &lt;a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx" class="externalLink"&gt;http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;PowerTools for Open XML is built using the Open XML SDK.  You can download the SDK at &lt;a href="http://go.microsoft.com/fwlink/?LinkId=120908" class="externalLink"&gt;http://go.microsoft.com/fwlink/?LinkId=120908&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You also need the PowerTools source code, which is available in the &amp;quot;Releases&amp;quot; tab above.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Following are links to download pre-built binaries of the PowerTools for Open XML v1.1.  The CodePlex &lt;a href="http://www.codeplex.com/Legal/Terms.aspx" class="externalLink"&gt;Terms of Use&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; apply to external sites.&lt;br /&gt;&lt;br /&gt;April 19, 2009 - the following binaries are for version 1.1, not version 1.1.1.  This is currently being updated - stay tuned...&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Julien Chable has posted the binaries &lt;a href="http://blogs.chable.net/julien/2009/03/19/powertools-for-open-xml-v11-now-available/" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;April 19, 2009 - the following binaries are for version 1.1.1.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://staffdotnet.com/default.aspx" class="externalLink"&gt;StaffDotNet&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;, a consulting company, has posted the binaries &lt;a href="http://staffdotnet.com/services/powertools.html" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;PowerTools for Open XML Home Page: &lt;a href="http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx" class="externalLink"&gt;http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlCustomXmlData&lt;/h2&gt;
The Set-OpenXmlCustomXmlData cmdlet sets or replaces the specified custom XML part in the document.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlComment&lt;/h2&gt;
The Remove-OpenXmlComment cmdlet locates and removes comment contents and references from Wordprocessing documents.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOC&lt;/h2&gt;
The Add-OpenXmlDocumentTOC cmdlet creates a Table of Contents based on the headings found it in the document. The TOC will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentIndex&lt;/h2&gt;
The Add-OpenXmlDocumentIndex cmdlet creates an index based on the index references found in the document. The index will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlWatermark&lt;/h2&gt;
The Set-OpenXmlWatermark cmdlet adds watermark text to the background of a document. iI the DiagonalOrientation parameter is specified, then the text will be in a diagonal &lt;br /&gt;orientation rather than horizontal.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlPicture&lt;/h2&gt;
The Add-OpenXmlPicture cmdlet inserts a picture at a specific location inside an OpenXML document. The picture will be stored inside the document as an embedded resource. Picture location is specified by an XPath query expression.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlHeader&lt;/h2&gt;
The Set-OpenXmlHeader cmdlet inserts header parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Lock-OpenXmlDocument&lt;/h2&gt;
The Lock-OpenXmlDocument cmdlet sets a lock inside one or more Wordprocessing documents to prevent them from being edited.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlStyle&lt;/h2&gt;
The Get-OpenXmlStyle cmdlet retrieves the styles definition part from a WordprocessingML or SpreadsheetML document and returns an XDocument object containing the styles content.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlTheme&lt;/h2&gt;
The Get-OpenXmlTheme cmdlet extracts the whole theme part from a Wordprocessing document as a thmx file (with media resources embedded). A Package object (System.IO.Packaging.Package) is returned that corresponds to the theme file.&lt;br /&gt;
&lt;h2&gt;Accept-OpenXmlChange&lt;/h2&gt;
The Accept-OpenXmlTextChange cmdlet processes documents with text revisions (change tracking elements), by accepting all the text changes performed on the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlBackground&lt;/h2&gt;
The Set-OpenXmlBackground cmdlet changes the background image or background color of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlComment&lt;/h2&gt;
The Get-OpenXmlComment extracts all the comments from a document, and return all of them in a XDocument&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDigitalSignature&lt;/h2&gt;
The Add-OpenXmlDigitalSignature cmdlet uses a digital certificate to digitally sign a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDocument&lt;/h2&gt;
The Get-OpenXmlDocument cmdlet returns an OpenXML document object for each document file. The actual object will depend on the type of document in the file. For example, if it is a spreadsheet, the object will be a SpreadsheetDocument, which is derived from OpenXMLDocument.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlCustomXmlData&lt;/h2&gt;
The Get-OpenXmlCustomXmlData cmdlet gets the first customXml part that matches the given name and returns it as an XDocument object.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlToHtml&lt;/h2&gt;
The Export-OpenXmlToHtml cmdlet transforms the content of Wordprocessing documents into an html file by applying an XSLT transformation over the main content and extracting images from the package to a given location.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOA&lt;/h2&gt;
The Add-OpenXmlDocumentTOA cmdlet creates a Table of Authorities based on the citations (references or authorities) found it in the document. The TOA will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlStyle&lt;/h2&gt;
The Set-OpenXmlStyle cmdlet replaces the style library in a WordprocessingML or SpreadsheetML document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlFooter&lt;/h2&gt;
The Get-OpenXmlFooter cmdlet retrieves all the specified footer parts from a document and returns an XDocument array of those footers. An object is returned for the specified footer in each Section of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDigitalSignature&lt;/h2&gt;
The Get-OpenXmlDigitalSignature cmdlet returns a summary of digital signatures present in the Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlTheme&lt;/h2&gt;
The Set-OpenXmlTheme cmdlet sets the current theme in a Wordprocessing document to the specified theme.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlDigitalSignature&lt;/h2&gt;
The Remove-OpenXmlDigitalSignature cmdlet removes digital signatures from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlContent&lt;/h2&gt;
The Add-OpenXmlContent cmdlet injects custom xml markup inside a given part from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlWordprocessing&lt;/h2&gt;
The Export-OpenXmlWordprocessing uses plain text to create a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentFormat&lt;/h2&gt;
The Set-OpenXmlContentFormat cmdlet inserts markup containing format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlFooter&lt;/h2&gt;
The Set-OpenXmlFooter cmdlet inserts footer parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlWatermark&lt;/h2&gt;
The Get-OpenXmlWatermark cmdlet retrieves the text of the document's watermark.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlBackground&lt;/h2&gt;
The Get-OpenXmlBackground cmdlet extracts the background (color or image) from a document according to the parameters Image or Color.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlSpreadsheet&lt;/h2&gt;
The Export-OpenXmlSpreadsheet gets the public properties from any objects and generates a spreadsheet with columns showing for each property. Optionally, a chart can be created from a subset of those properties.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentStyle&lt;/h2&gt;
The Set-OpenXmlContentStyle cmdlet inserts inserts markup containing the style format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOF&lt;/h2&gt;
The Add-OpenXmlDocumentTOF cmdlet creates a Table of Figures based on the figures found it in the document. The TOF will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlHeader&lt;/h2&gt;
The Get-OpenXmlHeader retrieves all the existing header parts from a document. The execution returns an XDocument array of all the header parts found in the document.&lt;br /&gt;&lt;br /&gt;If you have any issues with downloading, building, or using the PowerTools for Open XML, please feel free to contact Eric White:  white.eric (at) microsoft.com&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>EricWhiteDpe</author><pubDate>Sat, 07 Nov 2009 07:04:23 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20091107070423A</guid></item><item><title>Updated Wiki: Home</title><link>http://powertools.codeplex.com/wikipage?version=17</link><description>&lt;div class="wikidoc"&gt;Combining the technologies of PowerShell and Open XML is a powerful and convenient way to do server-side document processing.  The PowerTools for Open XML are sample source code and guidance for developers showing how to build PowerShell cmdlets that can create and modify Open XML documents.  Also included are a number of examples of PowerShell scripts that use the cmdlets.&lt;br /&gt;&lt;br /&gt;For an introduction and screen-cast on the PowerTools for Open XML, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2008/06/11/processing-open-xml-documents-server-side-using-powershell.aspx" class="externalLink"&gt;Automated Processing of Open XML Documents using PowerShell&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;For information and a screen-cast on PowerTools for Open XML v1.1, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/03/19/announcing-the-release-of-powertools-for-open-xml-v1-1.aspx" class="externalLink"&gt;Announcing the Release of PowerTools for Open XML V1.1&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;You can download source code for some important PowerTools for Open XML components.  Click the Downloads tab to download:
&lt;ul&gt;&lt;li&gt;DocumentBuilder - enables composition of new word-processing documents from other word-processing documents.  For a detailed explanation of DocumentBuilder, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/02/05/move-insert-delete-paragraphs-in-word-processing-documents-using-the-open-xml-sdk.aspx" class="externalLink"&gt;Move/Insert/Delete Paragraphs in Word Processing Documents using the Open XML SDK&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;CommentMerger - merge comments from two documents that are identical except for comments.  For more information about merging comments, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/07/28/merging-comments-from-multiple-open-xml-documents-into-a-single-document.aspx" class="externalLink"&gt;Merging Comments from Multiple Open XML Documents into a Single Document&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;RevisionAccepter - accept tracked changes for a word-processing document.  For a breif introduction to accepting revisions, see &lt;a href="http://blogs.msdn.com/ericwhite/archive/2009/09/28/source-code-available-complete-implementation-of-accept-all-changes-tracked-revisions-in-open-xml-documents.aspx" class="externalLink"&gt;Source Code Available: Complete Implementation of 'Accept All Changes (Tracked Revisions) in Open XML Documents'&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;To install and build the PowerTools for Open XML from source code:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;You need to have any edition (including Visual C# 2008 Express Edition) of Visual Studio 2008 installed.  You can download Express Edition at &lt;a href="http://www.microsoft.com/express/download/" class="externalLink"&gt;http://www.microsoft.com/express/download/&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You need to have PowerShell 1.0 installed.  You can download PowerShell at &lt;a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx" class="externalLink"&gt;http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;PowerTools for Open XML is built using the Open XML SDK.  You can download the SDK at &lt;a href="http://go.microsoft.com/fwlink/?LinkId=120908" class="externalLink"&gt;http://go.microsoft.com/fwlink/?LinkId=120908&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You also need the PowerTools source code, which is available in the &amp;quot;Releases&amp;quot; tab above.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Following are links to download pre-built binaries of the PowerTools for Open XML v1.1.  The CodePlex &lt;a href="http://www.codeplex.com/Legal/Terms.aspx" class="externalLink"&gt;Terms of Use&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; apply to external sites.&lt;br /&gt;&lt;br /&gt;April 19, 2009 - the following binaries are for version 1.1, not version 1.1.1.  This is currently being updated - stay tuned...&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Julien Chable has posted the binaries &lt;a href="http://blogs.chable.net/julien/2009/03/19/powertools-for-open-xml-v11-now-available/" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;April 19, 2009 - the following binaries are for version 1.1.1.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://staffdotnet.com/default.aspx" class="externalLink"&gt;StaffDotNet&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;, a consulting company, has posted the binaries &lt;a href="http://staffdotnet.com/services/powertools.html" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;PowerTools for Open XML Home Page: &lt;a href="http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx" class="externalLink"&gt;http://blogs.msdn.com/ericwhite/pages/PowerTools.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlCustomXmlData&lt;/h2&gt;
The Set-OpenXmlCustomXmlData cmdlet sets or replaces the specified custom XML part in the document.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlComment&lt;/h2&gt;
The Remove-OpenXmlComment cmdlet locates and removes comment contents and references from Wordprocessing documents.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOC&lt;/h2&gt;
The Add-OpenXmlDocumentTOC cmdlet creates a Table of Contents based on the headings found it in the document. The TOC will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentIndex&lt;/h2&gt;
The Add-OpenXmlDocumentIndex cmdlet creates an index based on the index references found in the document. The index will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlWatermark&lt;/h2&gt;
The Set-OpenXmlWatermark cmdlet adds watermark text to the background of a document. iI the DiagonalOrientation parameter is specified, then the text will be in a diagonal &lt;br /&gt;orientation rather than horizontal.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlPicture&lt;/h2&gt;
The Add-OpenXmlPicture cmdlet inserts a picture at a specific location inside an OpenXML document. The picture will be stored inside the document as an embedded resource. Picture location is specified by an XPath query expression.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlHeader&lt;/h2&gt;
The Set-OpenXmlHeader cmdlet inserts header parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Lock-OpenXmlDocument&lt;/h2&gt;
The Lock-OpenXmlDocument cmdlet sets a lock inside one or more Wordprocessing documents to prevent them from being edited.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlStyle&lt;/h2&gt;
The Get-OpenXmlStyle cmdlet retrieves the styles definition part from a WordprocessingML or SpreadsheetML document and returns an XDocument object containing the styles content.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlTheme&lt;/h2&gt;
The Get-OpenXmlTheme cmdlet extracts the whole theme part from a Wordprocessing document as a thmx file (with media resources embedded). A Package object (System.IO.Packaging.Package) is returned that corresponds to the theme file.&lt;br /&gt;
&lt;h2&gt;Accept-OpenXmlChange&lt;/h2&gt;
The Accept-OpenXmlTextChange cmdlet processes documents with text revisions (change tracking elements), by accepting all the text changes performed on the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlBackground&lt;/h2&gt;
The Set-OpenXmlBackground cmdlet changes the background image or background color of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlComment&lt;/h2&gt;
The Get-OpenXmlComment extracts all the comments from a document, and return all of them in a XDocument&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDigitalSignature&lt;/h2&gt;
The Add-OpenXmlDigitalSignature cmdlet uses a digital certificate to digitally sign a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDocument&lt;/h2&gt;
The Get-OpenXmlDocument cmdlet returns an OpenXML document object for each document file. The actual object will depend on the type of document in the file. For example, if it is a spreadsheet, the object will be a SpreadsheetDocument, which is derived from OpenXMLDocument.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlCustomXmlData&lt;/h2&gt;
The Get-OpenXmlCustomXmlData cmdlet gets the first customXml part that matches the given name and returns it as an XDocument object.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlToHtml&lt;/h2&gt;
The Export-OpenXmlToHtml cmdlet transforms the content of Wordprocessing documents into an html file by applying an XSLT transformation over the main content and extracting images from the package to a given location.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOA&lt;/h2&gt;
The Add-OpenXmlDocumentTOA cmdlet creates a Table of Authorities based on the citations (references or authorities) found it in the document. The TOA will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlStyle&lt;/h2&gt;
The Set-OpenXmlStyle cmdlet replaces the style library in a WordprocessingML or SpreadsheetML document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlFooter&lt;/h2&gt;
The Get-OpenXmlFooter cmdlet retrieves all the specified footer parts from a document and returns an XDocument array of those footers. An object is returned for the specified footer in each Section of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlDigitalSignature&lt;/h2&gt;
The Get-OpenXmlDigitalSignature cmdlet returns a summary of digital signatures present in the Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlTheme&lt;/h2&gt;
The Set-OpenXmlTheme cmdlet sets the current theme in a Wordprocessing document to the specified theme.&lt;br /&gt;
&lt;h2&gt;Remove-OpenXmlDigitalSignature&lt;/h2&gt;
The Remove-OpenXmlDigitalSignature cmdlet removes digital signatures from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlContent&lt;/h2&gt;
The Add-OpenXmlContent cmdlet injects custom xml markup inside a given part from a Wordprocessing document&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlWordprocessing&lt;/h2&gt;
The Export-OpenXmlWordprocessing uses plain text to create a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentFormat&lt;/h2&gt;
The Set-OpenXmlContentFormat cmdlet inserts markup containing format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlFooter&lt;/h2&gt;
The Set-OpenXmlFooter cmdlet inserts footer parts into all sections of a Wordprocessing document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlWatermark&lt;/h2&gt;
The Get-OpenXmlWatermark cmdlet retrieves the text of the document's watermark.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlBackground&lt;/h2&gt;
The Get-OpenXmlBackground cmdlet extracts the background (color or image) from a document according to the parameters Image or Color.&lt;br /&gt;
&lt;h2&gt;Export-OpenXmlSpreadsheet&lt;/h2&gt;
The Export-OpenXmlSpreadsheet gets the public properties from any objects and generates a spreadsheet with columns showing for each property. Optionally, a chart can be created from a subset of those properties.&lt;br /&gt;
&lt;h2&gt;Set-OpenXmlContentStyle&lt;/h2&gt;
The Set-OpenXmlContentStyle cmdlet inserts inserts markup containing the style format to be applied on a given run or paragraph. Format location is specified as an xpath query.&lt;br /&gt;
&lt;h2&gt;Add-OpenXmlDocumentTOF&lt;/h2&gt;
The Add-OpenXmlDocumentTOF cmdlet creates a Table of Figures based on the figures found it in the document. The TOF will be created at the end of the document.&lt;br /&gt;
&lt;h2&gt;Get-OpenXmlHeader&lt;/h2&gt;
The Get-OpenXmlHeader retrieves all the existing header parts from a document. The execution returns an XDocument array of all the header parts found in the document.&lt;br /&gt;&lt;br /&gt;If you have any issues with downloading, building, or using the PowerTools for Open XML, please feel free to contact Eric White:  white.eric (at) microsoft.com&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>EricWhiteDpe</author><pubDate>Sat, 07 Nov 2009 06:41:46 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20091107064146A</guid></item></channel></rss>