Class PhantomJSRenderReceiptService

    • Field Detail

      • DEFAULT_SERVICE_NAME

        public static final String DEFAULT_SERVICE_NAME
        The default service definition name.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PhantomJSRenderReceiptService

        public PhantomJSRenderReceiptService()
    • Method Detail

      • getPageSizeFormat

        public String getPageSizeFormat()
        Returns:
        the pageSizeFormat
      • setPageSizeFormat

        public void setPageSizeFormat​(String pageSize)
        Set the PhantomJS output page size [ A4 | Letter | Legal ]
        Parameters:
        pageSize - the page size format to set
      • getPageSizeMargin

        public String getPageSizeMargin()
        Returns:
        the pageSizeMargin
      • setPageSizeMargin

        public void setPageSizeMargin​(String pageSizeMargin)
        Set the PhantomJS page size margin.
        Parameters:
        pageSizeMargin - the pageSizeMargin to set
      • getLinuxPageZoomFactor

        public String getLinuxPageZoomFactor()
        Return the Linux page zoom factor.
        Returns:
        the Linux page zoom factor
        Since:
        4.2.0
      • setLinuxPageZoomFactor

        public void setLinuxPageZoomFactor​(String zoomFactor)
        Set the Linux page zoom factor.
        Parameters:
        zoomFactor - the Linux page zoom factor
        Since:
        4.2.0
      • getProcessTimeout

        public Integer getProcessTimeout()
        Set the PhantomJS rendering process timeout in milliseconds.
        Returns:
        the PhantomJS rendering process timeout in milliseconds.
        Since:
        4.1.0
      • setProcessTimeout

        public void setProcessTimeout​(Integer value)
        Set the PhantomJS rendering process timeout in milliseconds.
        Parameters:
        value - the PhantomJS rendering process timeout in milliseconds.
        Since:
        4.1.0
      • setPhantomJsExe

        public void setPhantomJsExe​(String value)
        Set the PhantomJS executable filename, without the Windows .exe file extension.
        Parameters:
        value - the PhantomJS executable file
        Since:
        5.1.1