Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-15943

Add a CommandLineConverter converter

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.1
    • Component/s: Convert
    • Tags:
    • Sprint:
      TGV 7.1-1, TGV 7.1-2, TGV 7.1-3
    • Story Points:
      3

      Description

      Converter allowing to execute a command line.

      The goal is to be able to contribute a command line and a converter using it, without creating a Java class for the converter.

      Sample contribution:

      <converter name="myConverter"
        class="org.nuxeo.convert.CommandLineConverter">
        <parameters>
          <parameter name="CommandLineName">myCommandLine</parameter>
          <parameter name="">...</parameter>
        </parameters>
      </converter>
      

      See https://github.com/nuxeo/nuxeo-labs/blob/master/nuxeo-labs-images/src/main/java/org/nuxeo/labs/images/GenericImageMagickConverter.java and https://github.com/nuxeo/nuxeo-labs/blob/master/nuxeo-labs-images/src/main/resources/OSGI-INF/extensions/conversions.xml

      See if we can align (or even deprecate) PDF2HtmlConverter, PDF2ImageConverter and WordPerfect2TextConverter on this new converter.

      Make sure it is possible to send parameters from the converter to the command line (same names?).

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: