|
|
Browse by Tags
All Tags » OpenXML » PowerTools (RSS)
-
[Blog Map] This post contains a detailed description of each of the PowerTools for Open XML cmdlets. For an overview and view of PowerTools for Open XML, see Automated Processing of Open XML Documents using PowerShell . For more information on the cmdlets, see: www.codeplex.com/powertools . Set-OpenXmlCustomXmlData The Set-OpenXmlCustomXmlData cmdlet sets or replaces the specified custom XML part in the document. Remove-OpenXmlComment The Remove-OpenXmlComment cmdlet locates and removes comment contents Read More...
|
-
[Blog Map] One of the most common scenarios for Open XML is programmatically adding, deleting, and moving paragraphs in a word processing document. A variation on this is moving or copying paragraphs from one document to another. This programming task is complicated by the need to keep other parts of the document in sync with the data stored in paragraphs. For example, a paragraph can contain a reference to a comment in the comments part, and if there is a problem with this reference, the document Read More...
|
-
Julien Chable has posted the details (in English and French ) of his installer for PowerTools for Open XML . Antonio Zamora has posted details about the award-winning scripts that he wrote using PowerTools for Open XML and the VMware Infrastructure Toolkit. Nice! Róger Bermúdez posted about a real-life scenario - using a script to send bulk mail containing Open Xml Documents to a group of people. Read More...
|
-
About three months ago, I posted the PowerTools for Open XML on CodePlex. I also posted a video on installing and using them. The response has been very positive – more than 1000 downloads, a lot of blog posts, and some news stories. I’ve received a fair amount of email regarding them. I'd like to determine the extent of their use. Have you used the PowerTools in a real-world situation? What problems have you solved using them? If you are using them, and find them valuable, please let me know. You Read More...
|
-
When I was writing the LINQ to XML documentation , Ralf Lämmel was the program manager for LINQ to XSD , an incubation project in the data programmability group at Microsoft. Ralf really helped me a lot in those days, both with questions on LINQ to XML, and questions around functional programming. It was in email exchanges with Ralf that the lights started going on for me around functional programming. So far, LINQ to XSD hasn't become a supported product (I don't know the product team's plans around Read More...
|
-
Johann Granados (of Staff DotNet ) recently blogged about some new cmdlets for working with spreadsheets. Using these cmdlets, you can: Add a new table to a spreadsheet Set values for a cell or cell range Set the style for a cell or cell range Set the width of a column Working with Open XML using PowerShell is one of the most effective ways to work with Open XML. You can get the source code from CodePlex, or you can download the binaries from Staff DotNet’s web site. See Johann’s blog post for all Read More...
|
-
Antonio Zamora has posted an interesting article on using PowerTools for Open XML in a workflow using Windows Workflow Foundation (WF). We're seeing quite a few people who are using PowerTools for Open XML in a variety of scenarios. If you are using WF, the article is worth a read. Read More...
|
-
ZDNet Asia recently interviewed Oliver Bell, Microsoft Asia-Pacific's regional technology officer. The story mentions Oliver's blog post on the value that custom schema support adds to the format. I can attest that I've had several conversations recently where customer's problems were solved by either custom XML parts that are bound to content controls, or embedded custom schema support. In addition, Ian Blackley, sales engineer at TX Text Control, comments on the momentum of Open XML: "We expect Read More...
|
-
Antonio Zamora from Staff DotNet has posted something pretty cool - firing off a PowerShell script from C# to apply a consistent style to multiple Open XML documents. This is an interesting way to take advantage of the PowerTools for Open XML . Read More...
|
-
Julien Chable written a concise post on using PowerShell and Power Tools for Open XML to secure and sign Open XML documents. He also has a short, useful intro to creating a PowerShell profile. One more thing, Julien has joined the Power Tools for Open XML v-team. Makes me happy. Welcome, Julien! Read More...
|
-
Antonio Zamora at SDN has written an interesting post on using the PowerTools for Open XML to apply consistent styles to documents. It gets information from a template document (headers, footers, and theme) and sets this information on the target document. A document can have three types of headers (first, even, and odd), and three types of footers. This example script shows how to set all headers and footers for a document. Read More...
|
-
Doug Finke has an interesting post on using System.IO.Packaging (the basis for Open XML documents) with PowerShell. He has developed a cmdlet that allows interaction with Open XML documents. The code forms the basis for an approach to modify the contents of Open XML documents. He was able to write a script that generates 140 documents per second. Read More...
|
-
Staff Dot Net , a small consultancy and training company, is now providing binary builds of the PowerTools for Open XML . You can download the binary build here . I'm really happy that someone in the community has jumped in and volunteered to help in this way. This makes it much easier to get started. You no longer need to use Visual Studio to build and install the PowerTools. You can download the binary, install it, and start using the PowerTools cmdlets straight away. A couple of developers at Read More...
|
-
I am a newbie to PowerShell scripting. This is probably pretty obvious to anyone who has taken a look at the PowerShell scripts that I've written. Fortunately, there are people around who can improve on my efforts. Developer/Author Doug Finke has developed a much, much cleaner version of the PowerTools BulkMailing.ps1 script that generates multiple wordprocessing documents from a source XML file. The best improvement is how the text of the document is specified in the script. The document is specified Read More...
|
-
Sometimes you want to generate a wordprocessing document that contains a table. I've created an XML file that contains customers and orders, and a PowerShell script that uses the PowerTools for Open XML that generates a set of documents, each containing a table: The script and the source XML file are attached. See Automated Processing of Open XML Documents using PowerShell for more information on the PowerTools for Open XML . Read More...
|
|
|
|