/*
i-net software provides programming examples for illustration only, without warranty
either expressed or implied, including, but not limited to, the implied warranties
of merchantability and/or fitness for a particular purpose. This programming example
assumes that you are familiar with the programming language being demonstrated and
the tools used to create and debug procedures. i-net software support professionals
can help explain the functionality of a particular procedure, but they will not modify
these examples to provide added functionality or construct procedures to meet your
specific needs.
© i-net software 1998-2013
*/
using System.Collections;
using System.Collections.Generic;
namespace Inet.Viewer.Data
{
///
/// Stores all important status information of a report. This information is only transmitted with the first page.
///
public class ReportInfo
{
///
///
///
public const string FormatJava = "java";
///
///
///
public const string FormatPDF = "pdf";
///
///
///
public const string FormatCSV = "csv";
///
///
///
public const string FormatData = "data";
///
///
///
public const string FormatHTM = "htm";
///
///
///
public const string FormatXLS = "xls";
///
///
///
public const string FormatODS = "ods";
///
///
///
public const string FormatPS = "ps";
///
///
///
public const string FormatRTF = "rtf";
///
///
///
public const string FormatSVG = "svg";
///
///
///
public const string FormatTXT = "txt";
///
///
///
public const string FormatXML = "xml";
///
///
///
public const string FormatHTML = "html";
///
///
///
public const string FormatPS1 = "ps1";
///
///
///
public const string FormatPS2 = "ps2";
///
///
///
public const string FormatPS3 = "ps3";
///
///
///
public const string FormatJRA = "jra";
///
///
///
public const string FormatJAR = "jar";
///
///
///
public const string FormatJPG = "jpg";
///
///
///
public const string FormatPNG = "png";
///
///
///
public const string FormatBMP = "bmp";
///
///
///
public const string FormatGIF = "gif";
///
/// Default Constructor
///
public ReportInfo()
{
// by default empty arrayList
this.Formats = new HashSet();
}
///
///
///
public bool IsStrongPDFEncryption { get; set; }
///
///
///
public bool IsUserPageFormat { get; set; }
///
///
///
public bool IsFormPrint { get; set; }
///
///
///
public bool IsPrintingEnabled { get; set; }
///
///
///
public bool IsClipboardEnabled { get; set; }
///
///
///
public bool IsExportEnabled { get; set; }
///
///
///
public bool IsGroupTreeVisible { get; set; }
///
///
///
public bool IsFontScaling { get; set; }
///
/// If no export format is available an empty set should be returned
///
public HashSet Formats { get; set; }
///
/// The title of the report
///
public string Title { get; set; }
///
/// Without the file path and without the file extension.
/// This is used for the export.
///
public string FileName { get; set; }
///
///
///
public bool IsReportSuppressed { get; set; }
}
}