ottomatt - Open-XML-PowerTools 1.0.0

The Open XML PowerTools provides guidance and example code for programming with Open XML Documents (DOCX, XLSX, and PPTX). It is based on, and extends the functionality of the Open XML SDK.

It supports scenarios such as:

Splitting DOCX/PPTX files into multiple files.
Combining multiple DOCX/PPTX files into a single file.
Populating content in template DOCX files with data from XML.
High-fidelity conversion of DOCX to HTML/CSS.
High-fidelity conversion of HTML/CSS to DOCX.
Searching and replacing content in DOCX/PPTX using regular expressions.
Managing tracked-revisions, including detecting tracked revisions, and accepting tracked revisions.
Updating Charts in DOCX/PPTX files, including updating cached data, as well as the embedded XLSX.
Comparing two DOCX files, producing a DOCX with revision tracking markup, and enabling retrieving a list of revisions.
Retrieving metrics from DOCX files, including the hierarchy of styles used, the languages used, and the fonts used.
Writing XLSX files using far simpler code than directly writing the markup, including a streaming approach that enables writing XLSX files with millions of rows.
Extracting data (along with formatting) from spreadsheets.

Copyright (c) Microsoft Corporation 2012-2016 Portions Copyright (c) Eric White 2016 Licensed under the Microsoft Public License. See License.txt in the project root for license information.

PM> Install-Package Open-XML-PowerTools -Version 1.0.0 -Source https://www.myget.org/F/ottomatt/api/v3/index.json

Copy to clipboard

> nuget.exe install Open-XML-PowerTools -Version 1.0.0 -Source https://www.myget.org/F/ottomatt/api/v3/index.json

Copy to clipboard

> dotnet add package Open-XML-PowerTools --version 1.0.0 --source https://www.myget.org/F/ottomatt/api/v3/index.json

Copy to clipboard
<PackageReference Include="Open-XML-PowerTools" Version="1.0.0" />
Copy to clipboard
source https://www.myget.org/F/ottomatt/api/v3/index.json

nuget Open-XML-PowerTools  ~> 1.0.0
Copy to clipboard

> choco install Open-XML-PowerTools --version 1.0.0 --source https://www.myget.org/F/ottomatt/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "ottomatt" -SourceLocation "https://www.myget.org/F/ottomatt/api/v2"
Install-Module -Name "Open-XML-PowerTools" -RequiredVersion "1.0.0" -Repository "ottomatt" 
Copy to clipboard

[ARCHIVED] Open-XML-PowerTools

This repository is no longer maintained by Microsoft. It has been archived and can still be forked and cloned for use and continued developement.

If you're looking for a fork of this project that is actively maintained, try the following:

https://github.com/EricWhiteDev/Open-Xml-PowerTools

The Open XML PowerTools provides guidance and example code for programming with Open XML Documents (DOCX, XLSX, and PPTX). It is based on, and extends the functionality in the Open XML SDK (https://github.com/OfficeDev/Open-XML-SDK).

It supports scenarios such as:

  • Splitting DOCX/PPTX files into multiple files.
  • Combining multiple DOCX/PPTX files into a single file.
  • Populating content in template DOCX files with data from XML.
  • High-fidelity conversion of DOCX to HTML.
  • Managing tracked-revisions, including detecting tracked revisions, and accepting tracked revisions.
  • Updating Charts in DOCX/PPTX files, including updating cached data, as well as the embedded XLSX.
  • Retrieving metrics from DOCX files, including the hierarchy of styles used, the languages used, and the fonts used.
  • Searching and replacing content in DOCX/PPTX using regular expressions.
  • Writing XLSX files using far simpler code than directly writing the markup, including a streaming approach that enables writing XLSX files with millions of rows.

Copyright (c) Microsoft Corporation 2012-2015 Licensed under the Microsoft Public License. See License.txt in the project root for license information.

News

We are happy to announce the release of the Open XML PowerTools Version 4.0. There are lots of new features in 4.0, including:

  • Renaming the project and the PowerShell module to Open-Xml-PowerTools, to be consistent with the Open-Xml-Sdk.
  • DocumentAssembler module, which enables populating a template DOCX with data from an XML file.
  • SpreadsheetWriter module, which enables writing far simpler code to generate an XLSX file, and enables a streaming approach.
  • Many xUnit tests!!!, which will enable a far nimbler process for accepting contributes to PowerTools via Git pull requests.
  • New PowerShell Cmdlet: Complete-DocxTemplateFromXml, which populates a template document from XML
  • New PowerShell Cmdlet: Out-Xlsx, which produces an

Build Instructions

To use the PowerShell Cmdlets, you need not install Visual Studio. The following video shows how to install and use PowerTools so that you can use the Cmdlets:

Owners

Laurent Dardenne

Authors

Eric White

Project URL

https://github.com/OfficeDev/Open-Xml-PowerTools

License

Unknown

Tags

XML Office Powertools OpenXML

Info

84 total downloads
15 downloads for version 1.0.0
Download (5.39 MB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
1.0.1 5.4 MB Sun, 23 Oct 2016 14:35:57 GMT 69
1.0.0 5.39 MB Sat, 22 Oct 2016 17:17:55 GMT 15