Class OutputTemplateLessCompilerImpl

java.lang.Object
ch.tocco.nice2.reporting.impl.freemarker.utils.OutputTemplateLessCompilerImpl
All Implemented Interfaces:
OutputTemplateLessCompiler

@Component public class OutputTemplateLessCompilerImpl extends Object implements OutputTemplateLessCompiler
  • Constructor Details

  • Method Details

    • composeCss

      public String composeCss(String corporateDesign, Optional<Entity> outputTemplate)
      Description copied from interface: OutputTemplateLessCompiler
      Composes the Report Less using the given Corporate_design unique_id and Output_template entity and compiles it to CSS.
      Specified by:
      composeCss in interface OutputTemplateLessCompiler
      Parameters:
      corporateDesign - the Corporate_design unique_id.
      outputTemplate - If no outputTemplate is given, the corporateDesign css is returned.
      Returns:
      the compiled CSS.
    • setStandardLess

      @Autowired public void setStandardLess(ModelResource standardLess)
    • setStandardLessImportDir

      @Autowired public void setStandardLessImportDir(ModelResource standardLessImportDir)