Binaries?

May 12, 2012 at 6:23 AM
Edited May 12, 2012 at 6:24 AM

Is there somewhere to download pre-compiled binaries from? Looked but couldn't find it.

--

Bob

May 12, 2012 at 7:05 AM

Built it OK, but now I'm wondering if SimplifyMarkup (http://blogs.msdn.com/b/ericwhite/archive/2010/02/08/enabling-better-transformations-by-simplifying-open-xml-wordprocessingml-markup.aspx) is available as a cmdlet. I'm particularly interested in scrunching together runs, and Remove-OpenXmlMarkup doesn't seem to do this.

--

Bob

May 13, 2012 at 2:11 AM

I now see that Remove-OpenXmlMarkup does indeed do SimplifyMarkup and in particular should combine adjacent runs. However, it is failing to do that on a very simple file. Here is the portion of document.xml in question. Any thoughts?

<w:p>
  <w:pPr><w:jc w:val="center" /></w:pPr><w:bookmarkStart w:id="0" w:name="_GoBack" /><w:bookmarkEnd w:id="0" />

<w:r>
  <w:rPr>
    <w:rFonts w:hint="eastAsia" />
  </w:rPr>
  <w:t>&#20316;&#25104;&#26085;&#65306;</w:t>
</w:r>
<w:r>
  <w:t>201</w:t>
</w:r>
<w:r>
  <w:rPr>
    <w:rFonts w:hint="eastAsia" />
  </w:rPr>
  <w:t>1</w:t>
</w:r>
<w:r>
  <w:t>/0</w:t>
</w:r>
<w:r>
  <w:rPr>
    <w:rFonts w:hint="eastAsia" />
  </w:rPr>
  <w:t>6</w:t>
</w:r>
<w:r>
  <w:t>/</w:t>
</w:r>
<w:r><w:rPr><w:rFonts w:hint="eastAsia" /></w:rPr>
  <w:t>21</w:t>
</w:r>

</w:p>