123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- /*
- *+------------------------------------------------------------------------+
- *| Licensed Materials - Property of IBM
- *| IBM Cognos Products: Viewer
- *| (C) Copyright IBM Corp. 2001, 2011
- *|
- *| US Government Users Restricted Rights - Use, duplication or
- *| disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- *|
- *+------------------------------------------------------------------------+
- */
- /*
- * Report Viewer Drill Through Support
- * Any change to this file needs to also be made to drill-from-pdf.xts
- */
- function CDrillThroughTarget(label, outputFormat, outputLocale, showInNewWindow, method, path, bookmark, parameters, objectPaths, sPrompt, dynamicDrillThrough, parameterProperties)
- {
- this.m_label = label;
- this.m_outputFormat = outputFormat;
- this.m_outputLocale = outputLocale;
- this.m_showInNewWindow = showInNewWindow;
- this.m_method = method;
- this.m_path = path;
- this.m_bookmark = bookmark;
- this.m_parameters = parameters;
- this.m_objectPaths = objectPaths;
- this.m_prompt = "false";
- this.m_dynamicDrillThrough = false;
- this.m_parameterProperties = parameterProperties;
- if (typeof sPrompt != "undefined" && sPrompt != null)
- {
- if (sPrompt == 'yes')
- {
- this.m_prompt = "true";
- }
- else if (sPrompt == "target")
- {
- this.m_prompt = "";
- }
- }
- if(typeof dynamicDrillThrough != "undefined" && dynamicDrillThrough != null)
- {
- if(typeof dynamicDrillThrough == "string")
- {
- dynamicDrillThrough = dynamicDrillThrough == "true" ? true : false;
- }
- this.m_dynamicDrillThrough = dynamicDrillThrough;
- }
- }
- function CDrillThroughTarget_getParameterProperties()
- {
- return this.m_parameterProperties;
- }
- function CDrillThroughTarget_getLabel()
- {
- return this.m_label;
- }
- function CDrillThroughTarget_getOutputFormat()
- {
- return this.m_outputFormat;
- }
- function CDrillThroughTarget_getOutputLocale()
- {
- return this.m_outputLocale;
- }
- function CDrillThroughTarget_getShowInNewWindow()
- {
- return this.m_showInNewWindow;
- }
- function CDrillThroughTarget_getMethod()
- {
- return this.m_method;
- }
- function CDrillThroughTarget_getPath()
- {
- return this.m_path;
- }
- function CDrillThroughTarget_getBookmark()
- {
- return this.m_bookmark;
- }
- function CDrillThroughTarget_getParameters()
- {
- return this.m_parameters;
- }
- function CDrillThroughTarget_getObjectPaths()
- {
- return this.m_objectPaths;
- }
- function CDrillThroughTarget_getPrompt()
- {
- return this.m_prompt;
- }
- function CDrillThroughTarget_isDynamicDrillThrough()
- {
- return this.m_dynamicDrillThrough;
- }
- CDrillThroughTarget.prototype.getLabel = CDrillThroughTarget_getLabel;
- CDrillThroughTarget.prototype.getOutputFormat = CDrillThroughTarget_getOutputFormat;
- CDrillThroughTarget.prototype.getOutputLocale = CDrillThroughTarget_getOutputLocale;
- CDrillThroughTarget.prototype.getShowInNewWindow = CDrillThroughTarget_getShowInNewWindow;
- CDrillThroughTarget.prototype.getMethod = CDrillThroughTarget_getMethod;
- CDrillThroughTarget.prototype.getPath = CDrillThroughTarget_getPath;
- CDrillThroughTarget.prototype.getBookmark = CDrillThroughTarget_getBookmark;
- CDrillThroughTarget.prototype.getParameters = CDrillThroughTarget_getParameters;
- CDrillThroughTarget.prototype.getObjectPaths = CDrillThroughTarget_getObjectPaths;
- CDrillThroughTarget.prototype.getPrompt = CDrillThroughTarget_getPrompt;
- CDrillThroughTarget.prototype.isDynamicDrillThrough = CDrillThroughTarget_isDynamicDrillThrough;
- CDrillThroughTarget.prototype.getParameterProperties = CDrillThroughTarget_getParameterProperties;
|