<?xml version="1.0" encoding="utf-8" ?>
<!--
 * @(#)Reporting.xml
 *
 * Copyright: Yokogawa, All rights reserved.
 * YOKOGAWA PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 * Author:    C. Horevoorts
 *
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  Changes ....
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  Who When    Change  What
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  HVS Dec-09  e10100  Web-HMI Phase 2
 *  LER Oct-17  e11844  Add export report
 *  BNL Jul-18  e11986  Edit Module HTML Mode
 *  BNL Feb-19  e11986  Disallow connection to positional properties in HTML mode
 *  HVS Jun-20  e12272  Port to JViews 2017.2
 *  VNU Oct-20  i12326  Fix HTML5 Report component properties support and cleanup of component
 *
-->
<componentType name="reporting"
               containedBy="JComponent"
               icon="stock_edit-16.png"
               description="Reporting"
               class="fasttools.jwui.components.reports.Reporting"
               paletteOrder="209">

  <category name="General">
    <property name="name" type="java.lang.String" defaultAllowed="no" connectAllowed="no" advanced="yes"/>
    <property name="toolTipText" type="java.lang.String" defaultAllowed="no" localized="yes" description="This is the tooltip text" html="no"/>
  </category>

  <category name="Transformation">
    <property name="x" type="double" defaultAllowed="no" setter="setXAsFloat" getter="getXAsFloat" advanced="yes" html="noConnect"/>
    <property name="y" type="double" defaultAllowed="no" setter="setYAsFloat" getter="getYAsFloat" advanced="yes" html="noConnect"/>
    <property name="top" type="double" defaultAllowed="no" advanced="yes" html="noConnect"/>
    <property name="bottom" type="double" defaultAllowed="no" advanced="yes" html="noConnect"/>
    <property name="left" type="double" defaultAllowed="no" advanced="yes" html="noConnect"/>
    <property name="right" type="double" defaultAllowed="no" advanced="yes" html="noConnect"/>
    <property name="rotation" type="double" defaultAllowed="no" html="no"/>
    <property name="shear" type="double" defaultAllowed="no" advanced="yes" html="no"/>
  </category>

  <category name="Visibility">
    <property name="transparency" type="float" html="no"/>
    <property name="visible" type="boolean" setter="setVisibleAsBoolean" getter="isVisibleAsBoolean"/>
    <property name="opaque" type="boolean" advanced="yes" html="no"/>
    <property name="backgroundColor" type="fasttools.jtools.common.property.color.ColorSet" html="no"/>
  </category>

  <category name="Zooming">
    <property name="zoomEnabled" type="boolean" html="no"/>
    <property name="zoomFactor" type="float" advanced="yes" html="no"/>
  </category>

  <category name="Viewing">
    <property name="viewFont" type="fasttools.jtools.common.property.font.FontSet" setter="setViewFontSet" getter="getViewFontSet" html="no"/>
    <property name="printFont" type="fasttools.jtools.common.property.font.FontSet" setter="setPrintFontSet" getter="getPrintFontSet" html="no"/>
    <property name="viewReportSelectionVisible" type="boolean"/>
    <property name="viewReportSelectionEnabled" type="boolean" advanced="yes"/>
    <property name="viewGeneratedReportSelectionVisible" type="boolean"/>
    <property name="viewGeneratedReportSelectionEnabled" type="boolean" advanced="yes"/>
    <property name="printerSelectionFieldVisible" type="boolean" html="no"/>
    <property name="printerSelectionFieldEnabled" type="boolean" advanced="yes" html="no"/>
    <property name="printerSelected" type="java.lang.String" bound="yes" advanced="yes" html="no"/>
    <property name="viewBoxVisible" type="boolean"/>
    <property name="printButtonVisible" type="boolean" html="no"/>
    <property name="includeLocalPrinters" type="boolean" advanced="yes" html="no"/>
    <property name="printing" type="boolean" bound="yes" save="no" defaultAllowed="no" advanced="yes" html="no"/>
    <property name="proxyPort" type="java.lang.String" advanced="yes" html="no"/>
    <property name="proxyName" type="java.lang.String" advanced="yes" html="no"/>
    <property name="viewBrowsingEnabled" type="boolean" advanced="yes" html="no"/>
    <property name="ExportButtonVisible" type="boolean" html="no"/>
  </category>

  <category name="ReportSelecting">
    <property name="reportSelectionBoxVisible" type="boolean"/>
    <property name="reportSelectionFilter" type="java.lang.String" advanced="yes"/>
    <property name="reportSelectionFilterOnProcessAreas" type="boolean" advanced="yes" html="no"/>
    <property name="reportSelected" type="java.lang.String" bound="yes" advanced="yes"/>
  </category>

  <category name="Generating">
    <property name="generateBoxVisible" type="boolean"/>
    <property name="generateReportSelectionVisible" type="boolean"/>
    <property name="generateReportSelectionEnabled" type="boolean" advanced="yes"/>
    <property name="destinationSelectionFieldVisible" type="boolean" advanced="yes"/>
    <property name="destinationSelectionFieldEnabled" type="boolean" advanced="yes"/>
    <property name="destinationSelected" type="java.lang.String" bound="yes" advanced="yes"/>
    <property name="logbookFieldVisible" type="boolean"/>
    <property name="logbookFieldEnabled" type="boolean" advanced="yes"/>
    <property name="logbook" type="java.lang.String" bound="yes" advanced="yes"/>
    <property name="generating" type="boolean" bound="yes" save="no" defaultAllowed="no" advanced="yes"/>
    <property name="canceling" type="boolean" bound="yes" save="no" defaultAllowed="no" advanced="yes" html="no"/>
    <property name="generateOnEntry" type="boolean"/>
    <property name="parameterFieldCount" type="int"/>
    <property name="parameter" type="java.lang.String" array="0..7" bound="yes" advanced="yes"/>
    <property name="parameterPrompt" type="java.lang.String" array="0..7" bound="yes" save="no" writeAllowed="no" defaultAllowed="no"/>
    <property name="containingHTML" type="boolean" bound="yes" save="no" writeAllowed="no" defaultAllowed="no" advanced="yes"/>
    <property name="autoJumpToViewEnabled" type="boolean" advanced="yes"/>
  </category>

  <category name="GeneratedReportSelecting">
    <property name="generatedReportSelectionBoxVisible" type="boolean"/>
    <property name="generatedReportTimeFormat" type="java.lang.String"/>
    <property name="generatedReportDeleteButtonVisible" type="boolean"/>
    <property name="generatedReportDeleting" type="boolean" bound="yes" save="no" defaultAllowed="no"/>
    <property name="generatedReportFileName" type="java.lang.String" bound="yes" save="no" writeAllowed="no" defaultAllowed="no"/>
  </category>

  <category name="Enterprise">
     <property name="primaryDataLocation" type="fasttools.jwui.enterprise.EnterpriseNode" enterprise="yes" connectAllowed="no" advanced="yes" html="no"/>
     <property name="secondaryDataLocation" type="fasttools.jwui.enterprise.EnterpriseNode" enterprise="yes" connectAllowed="no" advanced="yes" null="none" html="no"/>
  </category>

  <category name="Style">
    <property name="borderType" type="fasttools.jwui.common.property.JBorderType" advanced="yes"/>
    <property name="verticalSplitterPosition" type="float" advanced="yes"/>
    <property name="horizontalSplitterPosition" type="float" advanced="yes"/>
  </category>

</componentType>
