1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- // Licensed Materials - Property of IBM
- //
- // IBM Cognos Products: pps
- //
- // (C) Copyright IBM Corp. 2005, 2017
- //
- // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- // This forms the javascript functions used for the display options
- // action pane for PowerPlay Studio.
- // The functions are Internet Explorer specific.
- function init() {
- topparent.openActionPane();
- // adjust the size of the action pane to accomodate the display option pane.
- topparent.setActionPaneHeight("170");
- ContextMenu.initialize(true,false);
- }
- function applySuppressOptions(forceClose)
- {
- if (forceClose)
- topparent.clearActionPane();
-
- var optionsValue = 0;
- // Zero values - 1
- // Division by zero - 2
- // Missing values - 4
- // Overflow values - 8
- var suppressZeroValues = document.getElementById("zero");
- if( suppressZeroValues.checked )
- optionsValue += 1;
- var suppressDivisionByZero = document.getElementById("dividebyzero");
- if( suppressDivisionByZero.checked )
- optionsValue += 2;
- var suppressMissingValues = document.getElementById("missing");
- if( suppressMissingValues.checked )
- optionsValue += 4;
- var suppressOverflowValues = document.getElementById("overflow");
- if( suppressOverflowValues.checked )
- optionsValue += 8;
-
- command = "UO:" + optionsValue;
- //alert( command );
- topparent.getXtabFrame().doit(command);
- }
- function onOK() {
- applySuppressOptions(true)
- }
|