split-docx

this module helps with splitting docx files

Repository
Git URL https://github.com/transpect/split-docx.git
SVN URL https://github.com/transpect/split-docx
Base URI http://transpect.io/split-docx/

Source ⬇

tr:split-docx_scan-dir

This step will report the paragraph styles for all docx files in a given directory.

Import

<p:import href="https://raw.githubusercontent.com/transpect/split-docx/main/xpl/split-docx0_scan-dir.xpl"/>

Dependencies

Synopsis

<tr:split-docx_scan-dir xmlns:tr="http://transpect.io">
  <p:output port="result" primary="true"/>
  <p:option name="dir" required="true"/>
  <p:option name="outdir" required="false" select="''"/>
  <p:option name="debug" required="false" select="'no'"/>
  <p:option name="debug-dir-uri" required="false" select="resolve-uri('debug')"/>
</tr:split-docx_scan-dir>

tr:split-docx_styles

Will accept a <files> document as posted by the split button.

Import

<p:import href="https://raw.githubusercontent.com/transpect/split-docx/main/xpl/split-docx1_select-styles.xpl"/>

Dependencies

Synopsis

<tr:split-docx_styles xmlns:tr="http://transpect.io">
  <p:input port="source" primary="true"/>
  <p:output port="result" primary="true"/>
  <p:option name="debug" required="false" select="'no'"/>
  <p:option name="debug-dir-uri" required="false" select="resolve-uri('debug')"/>
</tr:split-docx_styles>

tr:actual-split-docx

Will accept a <files> document as posted by the split button.

Import

<p:import href="https://raw.githubusercontent.com/transpect/split-docx/main/xpl/split-docx2_finally-split.xpl"/>

Dependencies

Synopsis

<tr:actual-split-docx xmlns:tr="http://transpect.io">
  <p:input port="source" primary="true"/>
  <p:output port="result" primary="true"/>
  <p:option name="debug" required="false" select="'no'"/>
  <p:option name="debug-dir-uri" required="false" select="resolve-uri('debug')"/>
</tr:actual-split-docx>

tr:split-docx

This step will split docx file(s)

Import

<p:import href="https://raw.githubusercontent.com/transpect/split-docx/main/xpl/split-main.xpl"/>

Dependencies

Synopsis

<tr:split-docx xmlns:tr="http://transpect.io">
  <p:input port="params" sequence="true" primary="true"/>
  <p:output port="result" sequence="true" primary="true"/>
  <p:option name="dir" required="true"/>
  <p:option name="outdir" required="false" select="''"/>
  <p:option name="part-regex" required="false" select="''"/>
  <p:option name="chapter-regex" required="false" select="''"/>
  <p:option name="debug" required="false" select="'no'"/>
  <p:option name="debug-dir-uri" required="false" select="resolve-uri('debug')"/>
</tr:split-docx>

GitHub sync date: 2024-04-23+02:00