<converters wizard="PDFSplitter" task="PDFTask">
  <convert name="Pages" value="PDF:Pages" image="Pages" />
  <convert name="Bookmarks" value="PDF:Bookmarks" image="Bookmarks" />
  <convert name="Blank pages" value="PDF:Blanks" image="Blanks" />
  <convert name="Barcodes" value="PDF:Barcode" image="Barcodes" />
  <convert name="By invoice" value="PDF:Pagepart" image="PagePart" />
  <convert name="File size" value="PDF:FileSize" image="FileSize" />
  <convert name="Delete pages" value="PDFDelete" image="PDFDelete" />
<!--  <convert name="Slice PDF" value="PDFSlice" image="PDFSlice" /> -->
</converters>
<layout>
  <browse name="PDFSplitterBrowse" />
  <info name="PDFView" align="right" sizeable="true" />
  <tools>
    <tool value="Sign" caption="Sign" wizard="PDF\Sign" properties="PDFToolsProperties" />
    <tool value="Encrypt" caption="Encrypt" wizard="PDF\Encrypt" properties="PDFToolsProperties" />
    <tool value="RemoveUsageRights" caption="Remove usage rights" wizard="PDF\RemoveUsageRights" properties="PDFToolsProperties" />
    <tool value="ExtractImages" caption="Extract images" wizard="PDF\ExtractImages" properties="PDFToolsProperties" />
  </tools>
</layout>
<filter>
  <item ext="pdf" name="Adobe PDF file" image="pdf" />
</filter>
<wizard caption="PDF Splitter" width="800" height="600" >
  <page class="PDFSelectFolder" caption="Destination" if="wizardSelectFolder=true" />
  <page class="SelectFile" caption="Destination" if="wizardSelectFile=true" />
  <page class="PDFDeletePages" caption="Delete Pages" if="ConvertType=pdtPDFDelete" />
  <page class="PDFSplitterExtractPages" caption="Extract Pages"  if="WizardSplitterShowExtractPages=True"/>
  <page class="PDFSplitterBarcode" caption="Barcode"  if="WizardSplitterShowBarcode=True"/>
  <page class="PDFSplitterFileSize" caption="File size"  if="WizardSplitterShowFileSize=True"/>
  <page class="PDFBookmarks" caption="Extract Bookmarks" if="WizardShowBookmarks=True" />
  <page class="PDFBlankTolerance" caption="Blank tolerance" if="WizardShowBlankTolerance=True" />
  <page class="PDFUnite" caption="Combine" if="WizardShowUnite=True" />
  <page class="PDFPagePart" caption="Page part" if="WizardShowPagePart=true" />
  <page class="PDFFileTemplate" caption="File name template" if="_IsNeedTemplate=true" />
  <page class="PDFSplitFileName" caption="File names" if="WizardShowSplitTemplate=true" />
  <page class="Watermark" caption="Document\Watermark" />
  <page class="PDFEncryption" caption="Document\Encryption" />
  <page class="PDFSign" caption="Document\Sign" />
  <page class="PDFRotate" caption="Rotate" />
  <page class="PDFGrayscale" caption="Grayscale" />
  <page class="Header" caption="Header\Text" />
  <page class="HeaderImage" caption="Header\Image" />
  <page class="Footer" caption="Footer\Text" />
  <page class="FooterImage" caption="Footer\Image" />
  <page class="Finish" caption="Finish" />
</wizard>
<cmd>
  <key name="em" property="ExtractMethod" desc="Split method">
    <subkey name="pages" value="pemPages" desc="Extract page range" />
    <subkey name="bookmarks" value="pemBookmarks" desc="Split by bookmarks" />
    <subkey name="blanks" value="pemBlanks" desc="Split by blank pages" />
    <subkey name="quick" value="pemQuick" desc="Extract page range - quick method" />
    <subkey name="Barcode" value="pemBarcode" desc="Split by Barcode" />
    <subkey name="part" value="pemPagePart" desc="Split by ocr page part" />
    <subkey name="odd" value="pemOdd" desc="Extract only odd pages" />
    <subkey name="even" value="pemEven" desc="Extract only even pages" />
  </key>
  <key name="bc" property="BlankCount" desc="Split by selected blank pages in a row" />
  <key name="bt" property="CmdOldBlankTolerance" desc="Blank page detection tolerance (1-10) [obsolete, use blt instead]" />
  <key name="blt" property="BlankTolerance" desc="Blank page detection tolerance (1-1000)" />
  <key name="t" property="FileNameTemplate" desc="Template for generating file name" />
  <key name="ts" property="FileNameTemplateCounter" desc="Start numbering from value for template (-1 - base on destination folder files count)" />
  <key name="b" property="SplitBookmarks.Level" desc="Split file by bookmarks in this level" />
  <key name="cp" property="CombinePages" desc="Make new document every [N] pages" />
  <key name="-ci" property="CombineIntervalsCmd" desc="Combine document by intervals" />
  <key name="p" property="ExtractPages" desc="Extract only this pages" />
  <key name="-skipbarcode" property="SplitBarcode.SkipPageWithBarcode" desc="Skip pages with barcode" />
  <key name="rotate" property="Rotate" desc="Rotate pages">
    <subkey name="n" value="prtNone" desc="No rotate" />
    <subkey name="ccw" value="prtCCW" desc="90 CCW" />
    <subkey name="cw" value="prtCW" desc="90 CW" />
    <subkey name="fv" value="prtFlipVertical" desc="Flip vertical" />
  </key>

  <key name="OCRPagePart" property="OCRPagePartStr" desc="Page Part for OCR" />
  <key name="mp" property="PDF.Encrypt.OwnerPassword" desc="PDF master (owner) password" />
  <key name="up" property="PDF.Encrypt.UserPassword" desc="PDF user password" />
  <key name="perm" property="PDF.Encrypt.UserPermissions" desc="PDF user permissions">
    <subkey name="Copy" value="eupCopy" />
    <subkey name="Modify" value="eupModify" />
    <subkey name="Annotation" value="eupAnnotation" />
    <subkey name="FormFill" value="eupFormFill" />
    <subkey name="Accessibility" value="eupAccessibility" />
    <subkey name="DocAssembly" value="eupDocAssembly" />
    <subkey name="HighResPrint" value="eupHighResPrint" />
  </key>
  <key name="errdir" property="ErrorFolder" desc="Error folder (for invalid files)" />;
  <key name="-grayscale" property="CmdPostProcessGrayscale" desc="Convert PDF to grayscale (black and white)" />

<example>C:\PDF\Example.pdf C:\Pages\ &lt;br&gt; &lt;font color=Gray&gt;Split file Example.pdf into folder C:\Pages, using default file name template (Example.PageX.pdf) It allows users to define a constant pad. Example: "page5#", which will cause all pages to be output with a constant pad, page00001, page00002&lt;/font&gt;
</example>
<example>C:\PDF\Example2.pdf C:\Pages\ -p "2-3" &lt;br&gt; &lt;font color=Gray&gt;Extract only page 1 and page 2&lt;/font&gt;
</example>
<example>C:\PDF\Example2.pdf C:\Pages\ -p "1-8" -cp 4 &lt;br&gt; &lt;font color=Gray&gt;Extract only pages 1-8 and make the 2 documents&lt;/font&gt;
</example>
<example>C:\PDF\Example3.pdf C:\Pages\ -em bookmarks -b 3 &lt;br&gt;&lt;font color=Gray&gt;Split file Example3.pdf by bookmark (level 3) and place the final files into folder C:\Pages&lt;/font&gt;
</example>
</cmd>
