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

Use JXLS 2 for template rendering

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11.1, 2021.0
    • Component/s: Template Rendering
    • Impact type:
      Configuration Change
    • Upgrade notes:
      Hide

      JXLS 2 template syntax is now used. It's possible to use JXLS 1 (which was used by previous Nuxeo versions) instead of JXLS 2 using:

        <require>org.nuxeo.template.service.jxlsContrib</require>
        <extension target="org.nuxeo.runtime.ConfigurationService" point="configuration">
          <property name="org.nuxeo.template.rendering.jxls1">true</property>
        </extension>
      

      NOTE that JXLS 2 templates use a different syntax than JXLS 1. See http://jxls.sourceforge.net/getting_started.html#Creating_Excel_template for more

      Show
      JXLS 2 template syntax is now used. It's possible to use JXLS 1 (which was used by previous Nuxeo versions) instead of JXLS 2 using: <require> org.nuxeo.template.service.jxlsContrib </require> <extension target= "org.nuxeo.runtime.ConfigurationService" point= "configuration" > <property name= "org.nuxeo.template.rendering.jxls1" > true </property> </extension> NOTE that JXLS 2 templates use a different syntax than JXLS 1. See http://jxls.sourceforge.net/getting_started.html#Creating_Excel_template for more
    • Team:
      FG
    • Sprint:
      nxFG 11.1.13
    • Story Points:
      5

      Description

      The current nuxeo-template-rendering-jxls module is based on JXLS 1.0.6, which is old and lacks a number of feature. We would therefore like to allow it to use JXLS 2.8.0 by default, and allow the old JXLS 1.0.6 as an option.

      Note that JXLS 1 and JXLS 2 use a different templating syntax in the XLS files, so the module will only have a global configuration switch to decide which one is used.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day
                  1d