Class FileStorageContentInliner

java.lang.Object
com.haulmont.yarg.formatters.impl.inline.AbstractInliner
io.jmix.reports.libintegration.FileStorageContentInliner
All Implemented Interfaces:
com.haulmont.yarg.formatters.impl.inline.ContentInliner

@Component("report_FileStorageContentInliner") public class FileStorageContentInliner extends com.haulmont.yarg.formatters.impl.inline.AbstractInliner
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.haulmont.yarg.formatters.impl.inline.AbstractInliner

    com.haulmont.yarg.formatters.impl.inline.AbstractInliner.Image, com.haulmont.yarg.formatters.impl.inline.AbstractInliner.TextMatchCallback
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected DataManager
     
     
    protected Metadata
     

    Fields inherited from class com.haulmont.yarg.formatters.impl.inline.AbstractInliner

    docxUniqueId1, docxUniqueId2, tagPattern
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected byte[]
    getContent(Object paramValue)
     
    protected FileRef
     
     

    Methods inherited from class com.haulmont.yarg.formatters.impl.inline.AbstractInliner

    buildImageProperties, inlineToDoc, inlineToDocx, inlineToXls, inlineToXlsx, insertImage, resolveTextPartForDOCX, setImageSize

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • metadata

      @Autowired protected Metadata metadata
    • dataManager

      @Autowired protected DataManager dataManager
    • fileStorageLocator

      @Autowired protected FileStorageLocator fileStorageLocator
  • Constructor Details

    • FileStorageContentInliner

      public FileStorageContentInliner()
  • Method Details

    • getTagPattern

      public Pattern getTagPattern()
    • getContent

      protected byte[] getContent(Object paramValue)
      Specified by:
      getContent in class com.haulmont.yarg.formatters.impl.inline.AbstractInliner
    • getFileRef

      @Nullable protected FileRef getFileRef(String uri)