Class ReportAttachment

  • All Implemented Interfaces:
    java.io.Serializable

    public class ReportAttachment
    extends Attachment
    Attachment to ScheduledMail represents report-related information for the schedule.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ReportAttachment​(java.lang.String uri, java.util.Map<java.lang.String,​java.lang.String> exportOptions, ExportFormat... formats)  
      protected ReportAttachment​(java.lang.String uri, java.util.Map<java.lang.String,​java.lang.String> exportOptions, java.lang.String... formats)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.util.Map<java.lang.String,​java.lang.String> getExportOptions()
      Options which modify default export behavior.
      java.util.Collection<java.lang.String> getFormats()  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ReportAttachment

        protected ReportAttachment​(java.lang.String uri,
                                   java.util.Map<java.lang.String,​java.lang.String> exportOptions,
                                   java.lang.String... formats)
      • ReportAttachment

        protected ReportAttachment​(java.lang.String uri,
                                   java.util.Map<java.lang.String,​java.lang.String> exportOptions,
                                   ExportFormat... formats)
    • Method Detail

      • getExportOptions

        public java.util.Map<java.lang.String,​java.lang.String> getExportOptions()
        Options which modify default export behavior. Due to variety of export formats options only work for explicitly listed format types.
        • pageOrientation
          • set page orientation
          • default value: 'portrait'
          • supported in: tabular PDF
        • optimalColumnWidth
          • set 'yes' to automatically resize all columns to fit cell's content
          • default is: 'no' (do not auto resize)
          • supported in: tabular PDF
        • pageScalePercentage
          • down-scaling factor (in percent), 100 means no scale-down
          • may not be combined with scaleToPages, scaleToPagesX and scaleToPagesY
          • default is: 100
          • supported in: tabular PDF
        • scaleToPages
          • total number of pages of target PDF file
          • may not be combined with pageScalePercentage, scaleToPagesX and scaleToPagesY
          • default is: unlimited
          • supported in: tabular PDF
        • scaleToPagesX
          • number of horizontal pages of target PDF file
          • may not be combined with pageScalePercentage and scaleToPages, but may be combined with scaleToPagesY
          • default is: unlimited
          • supported in: tabular PDF
        • scaleToPagesY
          • number of vertical pages of target PDF file
          • may not be combined with pageScalePercentage and scaleToPages, but may be combined with scaleToPagesX
          • default is: unlimited
          • supported in: tabular PDF
        Returns:
        map of export options
      • getFormats

        public java.util.Collection<java.lang.String> getFormats()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class Attachment