[fusion-commits] r2429 - in trunk/widgets: . QuickPlot widgetinfo
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Mon Sep 26 12:07:59 EDT 2011
Author: jng
Date: 2011-09-26 09:07:59 -0700 (Mon, 26 Sep 2011)
New Revision: 2429
Modified:
trunk/widgets/QuickPlot.js
trunk/widgets/QuickPlot/GeneratePicture.php
trunk/widgets/QuickPlot/PreviewDialog.js
trunk/widgets/QuickPlot/QuickPlotPanel.js
trunk/widgets/QuickPlot/QuickPlotPanel.templ
trunk/widgets/QuickPlot/QuickPlotPreview.js
trunk/widgets/QuickPlot/QuickPlotPreviewInner.php
trunk/widgets/QuickPlot/QuickPlotPreviewInner.templ
trunk/widgets/widgetinfo/quickplot.xml
Log:
#460: Port over enhanced QuickPlot functionality from my github fork. A summary of the changes:
1. Expose a whole lot of new widget extension options. See updated quickplot.xml for more details
* RememberPlotOptions - Indicates whether to persist the current QuickPlot settings
* ShowCoordinateLabels - Indicates whether to show the coordinate labels in the preview dialog
* ShowSubTitle - Indicates whether to show the sub title in the preview dialog
* DefaultDpi - The default DPI to use for plotting
* PaperListEntry - Each entry specified will form the set of paper lists that will override the default list in the UI. If empty, the default list will be used
* ScaleListEntry - Each entry specified will form the set of scale lists that will override the default list in the UI. If empty, the default list will be used
* Disclaimer - The legal disclaimer text to show in the preview dialog and final printout
2. Fix some defects and shortcomings in the QuickPlot widget
* Allow the preview dialog to be displayed and closed multiple times
* If any exceptions are caught in GeneratePicture.php, render the exception text out as an image
Modified: trunk/widgets/QuickPlot/GeneratePicture.php
===================================================================
--- trunk/widgets/QuickPlot/GeneratePicture.php 2011-09-26 12:44:33 UTC (rev 2428)
+++ trunk/widgets/QuickPlot/GeneratePicture.php 2011-09-26 16:07:59 UTC (rev 2429)
@@ -20,15 +20,21 @@
GetParameters();
GenerateMap($printSize);
}
- catch (MgException $e)
- {
- header ("Content-type: text/html");
- echo "ERROR: " . $e->GetExceptionMessage() . "<br>";
- echo $e->GetStackTrace() . "<br>";
+ catch (MgException $e) {
+ $msg = "last error";
+ $msg .= "\nERROR: " . $e->GetExceptionMessage() . "\n";
+ $msg .= $e->GetDetails() . "\n";
+ $msg .= $e->GetStackTrace() . "\n";
+ RenderTextToImage($msg);
}
+ catch (Exception $ex) {
+ $msg = $ex->GetMessage();
+ RenderTextToImage($msg);
+ }
?>
<?php
+
function GetParameters()
{
global $sessionID, $mapName, $printDpi, $rotation, $paperSize, $captureBox, $printSize, $scaleDenominator, $normalizedCapture;
Modified: trunk/widgets/QuickPlot/PreviewDialog.js
===================================================================
--- trunk/widgets/QuickPlot/PreviewDialog.js 2011-09-26 12:44:33 UTC (rev 2428)
+++ trunk/widgets/QuickPlot/PreviewDialog.js 2011-09-26 16:07:59 UTC (rev 2429)
@@ -221,6 +221,39 @@
previewInnerLoaded: function()
{
+ //HACK: There is some state within these labels that gets invalidated in subsequent
+ //previews (ie. You click "Generate" on the Quick Plot panel multiple times without cancelling out the dialog).
+ //So detect this invalid state and remove these labels, forcing a rebuild
+ if (this.topLeftXYLabel)
+ {
+ var tlDoc = this.topLeftXYLabel.getDocument();
+ if (tlDoc.defaultView == null)
+ {
+ this.topLeftXYLabel.parentNode.removeChild(this.topLeftXYLabel);
+ this.topLeftXYLabel = null;
+ }
+ }
+
+ if (this.bottomRightXYLabel)
+ {
+ var brDoc = this.bottomRightXYLabel.getDocument();
+ if (brDoc.defaultView == null)
+ {
+ this.bottomRightXYLabel.parentNode.removeChild(this.bottomRightXYLabel);
+ this.bottomRightXYLabel = null;
+ }
+ }
+
+ if (this.printLabel)
+ {
+ var prDoc = this.printLabel.getDocument();
+ if (prDoc.defaultView == null)
+ {
+ this.printLabel.parentNode.removeChild(this.printLabel);
+ this.printLabel = null;
+ }
+ }
+
this.previewInnerIsLoaded = true;
if (this.resizeIsPending)
{
@@ -269,19 +302,22 @@
this.printStyle.style.width = realWidth + "px";
this.printStyle.style.height = realHeight + "px";
- // Create the coordinates labels
- if (!this.topLeftXYLabel)
+ var showLabels = (this.params.showCoordinateLabels == true);
+ if (showLabels)
{
- this.topLeftXYLabel = this.createCoordinateLabel(this.pictureContainer, this.captureInfo.topLeftCs.x, this.captureInfo.topLeftCs.y, "TopLeftXYLabel");
- this.topLeftXYLabel.setOpacity(0);
+ // Create the coordinates labels
+ if (!this.topLeftXYLabel)
+ {
+ this.topLeftXYLabel = this.createCoordinateLabel(this.pictureContainer, this.captureInfo.topLeftCs.x, this.captureInfo.topLeftCs.y, "TopLeftXYLabel");
+ this.topLeftXYLabel.setOpacity(0);
+ }
+
+ if (!this.bottomRightXYLabel)
+ {
+ this.bottomRightXYLabel = this.createCoordinateLabel(this.pictureContainer, this.captureInfo.bottomRightCs.x, this.captureInfo.bottomRightCs.y, "BottomRightXYLabel");
+ this.bottomRightXYLabel.setOpacity(0);
+ }
}
-
- if (!this.bottomRightXYLabel)
- {
- this.bottomRightXYLabel = this.createCoordinateLabel(this.pictureContainer, this.captureInfo.bottomRightCs.x, this.captureInfo.bottomRightCs.y, "BottomRightXYLabel");
- this.bottomRightXYLabel.setOpacity(0);
- }
-
if (!this.printLabel)
{
this.printLabel = this.createCoordinateLabel(this.pictureContainer, this.captureInfo.bottomRightCs.x, this.captureInfo.bottomRightCs.y, "PrintLabel");
@@ -290,19 +326,25 @@
// Set the correct positions for the labels
var pos = this.getContentPosition(this.pictureContainer);
var picDim = this.pictureContainer.getContentBoxSize();
- this.topLeftXYLabel.style.left = pos.left + this.csLabelOffset + "px";
- this.topLeftXYLabel.style.top = pos.top + this.csLabelOffset + "px";
- var labelDim = this.bottomRightXYLabel.getMarginBoxSize();
- this.bottomRightXYLabel.className = "ScreenOnly";
- this.bottomRightXYLabel.style.left = pos.left + picDim.width - this.csLabelOffset - labelDim.width + "px";
- this.bottomRightXYLabel.style.top = pos.top + picDim.height - this.csLabelOffset - labelDim.height + "px";
+
+ var labelDim = null;
+ if (showLabels) {
+ this.topLeftXYLabel.style.left = pos.left + this.csLabelOffset + "px";
+ this.topLeftXYLabel.style.top = pos.top + this.csLabelOffset + "px";
+ labelDim = this.bottomRightXYLabel.getMarginBoxSize();
+
+ this.bottomRightXYLabel.className = "ScreenOnly";
+ this.bottomRightXYLabel.style.left = pos.left + picDim.width - this.csLabelOffset - labelDim.width + "px";
+ this.bottomRightXYLabel.style.top = pos.top + picDim.height - this.csLabelOffset - labelDim.height + "px";
+
+ this.topLeftXYLabel.fade(1);
+ this.bottomRightXYLabel.fade(1);
+ }
labelDim = this.printLabel.getMarginBoxSize();
this.printLabel.className = "PrintOnly";
this.printLabel.style.left = pos.left + realWidth - this.csLabelOffset - labelDim.width + "px";
this.printLabel.style.top = pos.top + realHeight - this.csLabelOffset - labelDim.height + "px";
- this.topLeftXYLabel.fade(1);
- this.bottomRightXYLabel.fade(1);
// Enable the print button
this.printButton.disabled = false;
this.cancelButton.disabled = false;
Modified: trunk/widgets/QuickPlot/QuickPlotPanel.js
===================================================================
--- trunk/widgets/QuickPlot/QuickPlotPanel.js 2011-09-26 12:44:33 UTC (rev 2428)
+++ trunk/widgets/QuickPlot/QuickPlotPanel.js 2011-09-26 16:07:59 UTC (rev 2429)
@@ -2,29 +2,95 @@
* Copyright (C) 2010 Autodesk, Inc. All rights reserved.
*/
+function panelLoaded()
+{
+ var widget = getParent().Fusion.getWidgetsByType("QuickPlot")[0];
+ if (widget.paperList.length > 0)
+ {
+ var list = document.getElementById("PaperList");
+ list.options.length = 0;
+
+ for (var i = 0; i < widget.paperList.length; i++) {
+ var elOpt = document.createElement("option");
+ elOpt.text = widget.paperList[i].name;
+ elOpt.value = widget.paperList[i].size;
+ try {
+ list.add(elOpt, null);
+ }
+ catch (ex) {
+ list.add(elOpt); //IE
+ }
+ }
+ }
+ if (widget.scaleList.length > 0)
+ {
+ var list = document.getElementById("ScalingList");
+ list.options.length = 0;
+
+ for (var i = 0; i < widget.scaleList.length; i++) {
+ var elOpt = document.createElement("option");
+ elOpt.text = widget.scaleList[i].name;
+ elOpt.value = widget.scaleList[i].scale;
+ try {
+ list.add(elOpt, null);
+ }
+ catch (ex) {
+ list.add(elOpt); //IE
+ }
+ }
+ }
+ restoreUI();
+}
+
function restoreUI()
{
setAdvancedOptionsUI(false);
- // Read the last used options
- lastPaperSize = getParent().Cookie.read("QuickPlotLastUsedPaperSize");
- lastScale = getParent().Cookie.read("QuickPlotLastUsedScaling");
- lastDPI = getParent().Cookie.read("QuickPlotLastUsedDPI");
-
- if (lastPaperSize != null)
+ var widget = getParent().Fusion.getWidgetsByType("QuickPlot")[0];
+ if (widget.persistPlotOptions)
{
- document.getElementById("PaperList").value = lastPaperSize;
+ // Read the last used options
+ lastPaperSize = getParent().Cookie.read("QuickPlotLastUsedPaperSize");
+ lastScale = getParent().Cookie.read("QuickPlotLastUsedScaling");
+ lastDPI = getParent().Cookie.read("QuickPlotLastUsedDPI");
+
+ if (lastPaperSize != null)
+ {
+ document.getElementById("PaperList").value = lastPaperSize;
+ }
+
+ if (lastScale != null)
+ {
+ document.getElementById("ScalingList").value = lastScale;
+ }
+
+ if (lastDPI != null)
+ {
+ document.getElementById("DPIList").value = lastDPI;
+ }
}
- if (lastScale != null)
+ if (widget.defaultDpi)
{
- document.getElementById("ScalingList").value = lastScale;
+ document.getElementById("DPICtrl").style.display = "none";
+ document.getElementById("DPILabel").style.display = "none";
}
+ else
+ {
+ document.getElementById("DPICtrl").style.display = "block";
+ document.getElementById("DPILabel").style.display = "block";
+ }
- if (lastDPI != null)
+ if (widget.showSubTitle)
{
- document.getElementById("DPIList").value = lastDPI;
+ document.getElementById("SubTitleCtrl").style.display = "block";
+ document.getElementById("SubTitleLabel").style.display = "block";
}
+ else
+ {
+ document.getElementById("SubTitleCtrl").style.display = "none";
+ document.getElementById("SubTitleLabel").style.display = "none";
+ }
}
function setAdvancedOptionsUI(enabled)
@@ -65,11 +131,15 @@
{
var form = document.getElementById("Form1");
form.target = windowName;
- // Save the advanced options to a cookie
- var cookieDuration = 365;
- getParent().Cookie.write("QuickPlotLastUsedPaperSize", document.getElementById("PaperList").value, {duration:cookieDuration});
- getParent().Cookie.write("QuickPlotLastUsedScaling", document.getElementById("ScalingList").value, {duration:cookieDuration});
- getParent().Cookie.write("QuickPlotLastUsedDPI", document.getElementById("DPIList").value, {duration:cookieDuration});
+
+ var widget = getParent().Fusion.getWidgetsByType("QuickPlot")[0];
+ if (widget.persistPlotOptions) {
+ // Save the advanced options to a cookie
+ var cookieDuration = 365;
+ getParent().Cookie.write("QuickPlotLastUsedPaperSize", document.getElementById("PaperList").value, {duration:cookieDuration});
+ getParent().Cookie.write("QuickPlotLastUsedScaling", document.getElementById("ScalingList").value, {duration:cookieDuration});
+ getParent().Cookie.write("QuickPlotLastUsedDPI", document.getElementById("DPIList").value, {duration:cookieDuration});
+ }
form.submit();
}
@@ -121,6 +191,7 @@
else
{
var map = getParent().Fusion.getWidgetById("Map");
+ /*
var paperSize = getPaperSize();
var viewerSize = map.getCurrentExtents().getSize();
var factor = map.getMetersPerUnit();
@@ -132,7 +203,8 @@
else
{
scale = viewerSize.w * factor * 1000 / paperSize.w;
- }
+ }*/
+ scale = map.getScale();
}
scale = parseInt(scale);
@@ -145,7 +217,11 @@
function getPrintDpi()
{
- return document.getElementById("DPIList").value;
+ var widget = getParent().Fusion.getWidgetsByType("QuickPlot")[0];
+ if (widget.defaultDpi)
+ return widget.defaultDpi;
+ else
+ return document.getElementById("DPIList").value;
}
function drawCaptureBox()
Modified: trunk/widgets/QuickPlot/QuickPlotPanel.templ
===================================================================
--- trunk/widgets/QuickPlot/QuickPlotPanel.templ 2011-09-26 12:44:33 UTC (rev 2428)
+++ trunk/widgets/QuickPlot/QuickPlotPanel.templ 2011-09-26 16:07:59 UTC (rev 2429)
@@ -75,7 +75,7 @@
<script language="javascript" type="text/javascript" src="%sQuickPlotPanel.js"></script>
</head>
-<body onload="restoreUI()">
+<body onload="panelLoaded()">
<form id="Form1" name="Form1" method="post" action="QuickPlotPreviewInner.php">
<div class="Title FixWidth">__#QUICKPLOT_HEADER#__</div>
<div class="Label ">__#QUICKPLOT_TITLE#__</div>
@@ -84,8 +84,8 @@
</div>
<div class="HPlaceholder5px"></div>
<div class="HPlaceholder5px"></div>
- <div class="Label">__#QUICKPLOT_SUBTITLE#__</div>
- <div class="Ctrl">
+ <div class="Label" id="SubTitleLabel">__#QUICKPLOT_SUBTITLE#__</div>
+ <div class="Ctrl" id="SubTitleCtrl">
<input type="text" class="FixWidth" name="{field:sub_title}" maxLength=100"/>
</div>
<div class="HPlaceholder5px"></div>
@@ -128,8 +128,8 @@
<option value="5000">1 : 5000</option>
</select>
</div>
- <div class="Label">__#QUICKPLOT_DPI#__</div>
- <div class="Ctrl">
+ <div class="Label" id="DPILabel">__#QUICKPLOT_DPI#__</div>
+ <div class="Ctrl" id="DPICtrl">
<!--
The pre-defined print DPI.
We can change the html code to extend the pre-defined values
Modified: trunk/widgets/QuickPlot/QuickPlotPreview.js
===================================================================
--- trunk/widgets/QuickPlot/QuickPlotPreview.js 2011-09-26 12:44:33 UTC (rev 2428)
+++ trunk/widgets/QuickPlot/QuickPlotPreview.js 2011-09-26 16:07:59 UTC (rev 2429)
@@ -6,7 +6,10 @@
{
if (parent.Fusion)
{
- parent.Fusion.getWidgetsByType("QuickPlot")[0].previewInnerLoaded();
+ var widget = parent.Fusion.getWidgetsByType("QuickPlot")[0];
+ var disclaimer = widget.disclaimer;
+ document.getElementById("legalNotice").innerHTML = disclaimer;
+ widget.previewInnerLoaded();
}
}
Modified: trunk/widgets/QuickPlot/QuickPlotPreviewInner.php
===================================================================
--- trunk/widgets/QuickPlot/QuickPlotPreviewInner.php 2011-09-26 12:44:33 UTC (rev 2428)
+++ trunk/widgets/QuickPlot/QuickPlotPreviewInner.php 2011-09-26 16:07:59 UTC (rev 2429)
@@ -2,7 +2,7 @@
$fusionMGpath = '../../layers/MapGuide/php/';
include $fusionMGpath . 'Common.php';
-
+
$locale = GetDefaultLocale();
$scaleDenominator;
$annotations;
@@ -28,7 +28,7 @@
$templ = preg_replace($pattern, $date, $templ);
}
- $jsPath = "";
+ $jsPath = "";
print sprintf($templ, $jsPath);
?>
Modified: trunk/widgets/QuickPlot/QuickPlotPreviewInner.templ
===================================================================
--- trunk/widgets/QuickPlot/QuickPlotPreviewInner.templ 2011-09-26 12:44:33 UTC (rev 2428)
+++ trunk/widgets/QuickPlot/QuickPlotPreviewInner.templ 2011-09-26 16:07:59 UTC (rev 2429)
@@ -74,7 +74,7 @@
<td><table width="100%%" border="0" cellspacing="0" cellpadding="0">
<tr>
<!-- Legal notice. Just replace it with the necessary statement -->
- <td style="width:100%%" class="LegalNotice">The materials available at this web site are for informational purposes only and do not constitute a legal document.</td>
+ <td style="width:100%%" class="LegalNotice" id="legalNotice">}</td>
<td style="white-space:nowrap"><input type="button" id="PrintButton" class="Button" onClick="printIt()" value="__#QUICKPLOT_PRINT#__" /><input type="button" id="CancelButton" class="Button" onClick="cancelPreview()" value="__#QUICKPLOT_CANCEL#__" />
</td>
</tr>
Modified: trunk/widgets/QuickPlot.js
===================================================================
--- trunk/widgets/QuickPlot.js 2011-09-26 12:44:33 UTC (rev 2428)
+++ trunk/widgets/QuickPlot.js 2011-09-26 16:07:59 UTC (rev 2429)
@@ -17,17 +17,96 @@
uiClass: Jx.Button,
sFeatures : 'menubar=no,location=no,resizable=no,status=no',
options : {},
+ //The legal disclaimer text to display in the preview and final printout
+ disclaimer: "",
+ //The default DPI to use, if specified will hide the DPI field on the QuickPlot UI and override
+ //whatever DPI value is being used for plotting
+ defaultDpi: null,
+ //A custom paper size list. If specified, will override the default list in the QuickPlot UI
+ paperList: null,
+ //A custom scale list. If specified, will override the default list in the QuickPlot UI
+ scaleList: null,
+ //Indicates whether to show the coordinate labels in the QuickPlot preview dialog
+ showCoordinatesInPreview: true,
+ //Indicates whether to show the sub title in the QuickPlot UI and preview dialog
+ showSubTitle: true,
+ //Indicates whether cookies will be used to persist QuickPlot UI options
+ persistPlotOptions: false,
initializeWidget: function(widgetTag)
{
this.mapCapturer = new OpenLayers.Control.MapCapturer(this.getMap());
this.getMap().oMapOL.addControl(this.mapCapturer);
- var json = widgetTag.extension;
+ var json = widgetTag.extension;
this.sTarget = json.Target ? json.Target[0] : "PrintPanelWindow";
this.sBaseUrl = Fusion.getFusionURL() + 'widgets/QuickPlot/QuickPlotPanel.php';
+ if (json.DefaultDpi) {
+ this.defaultDpi = parseInt(json.DefaultDpi[0]);
+ }
+
+ /*
+ <PaperListEntry>
+ <Name>Letter</Name>
+ <Value>279.4,215.9</Value>
+ </PaperListEntry>
+ <PaperListEntry>
+ <Name>A4</Name>
+ <Value>297.0,210.0</Value>
+ </PaperListEntry>
+ */
+
+ this.paperList = [];
+ if (json.PaperListEntry) {
+ for (var i=0; i<json.PaperListEntry.length; i++)
+ {
+ var p = json.PaperListEntry[i];
+ var name = p.Name[0];
+ var size = p.Value[0];
+ this.paperList.push({ name: name, size: size });
+ }
+ }
+
+ /*
+ <ScaleListEntry>
+ <Name>1:2500</Name>
+ <Value>2500</Value>
+ </ScaleListEntry>
+ <ScaleListEntry>
+ <Name>1:5000</Name>
+ <Value>5000</Value>
+ </ScaleListEntry>
+ */
+
+ this.scaleList = [];
+ if (json.ScaleListEntry) {
+ for (var i=0; i<json.ScaleListEntry.length; i++)
+ {
+ var p = json.ScaleListEntry[i];
+ var name = p.Name[0];
+ var scale = p.Value[0];
+ this.scaleList.push({ name: name, scale: scale });
+ }
+ }
+
+ if (json.ShowSubTitle) {
+ this.showSubTitle = (json.ShowSubTitle[0] == 'true');
+ }
+
+ if (json.ShowCoordinateLabels) {
+ this.showCoordinatesInPreview = (json.ShowCoordinateLabels[0] == 'true');
+ }
+
+ if (json.RememberPlotOptions) {
+ this.persistPlotOptions = (json.RememberPlotOptions[0] == 'true');
+ }
+
+ if (json.Disclaimer) {
+ this.disclaimer = json.Disclaimer[0];
+ }
+
this.additionalParameters = [];
if (json.AdditionalParameter)
{
@@ -117,6 +196,8 @@
var normalizedCapture = this.mapCapturer.getNormalizedCapture();
var vertices = capture.geometry.getVertices();
this.options.printDpi = printDpi;
+ this.options.showCoordinateLabels = this.showCoordinatesInPreview;
+ this.options.showSubTitle = this.showSubTitle;
var options = {mapInfo : {sessionID : map.getSessionID(), name : map.getMapName()},
captureInfo : {topLeftCs : {x : vertices[3].x, y : vertices[3].y},
bottomRightCs : {x : vertices[1].x, y : vertices[1].y},
Modified: trunk/widgets/widgetinfo/quickplot.xml
===================================================================
--- trunk/widgets/widgetinfo/quickplot.xml 2011-09-26 12:44:33 UTC (rev 2428)
+++ trunk/widgets/widgetinfo/quickplot.xml 2011-09-26 16:07:59 UTC (rev 2429)
@@ -16,4 +16,60 @@
<DefaultValue>TaskPane</DefaultValue>
<IsMandatory>true</IsMandatory>
</Parameter>
+ <Parameter>
+ <Name>RememberPlotOptions</Name>
+ <Description>Indicates whether to persist the current QuickPlot UI settings to a cookie. If empty or false, these settings will not be saved</Description>
+ <Type>boolean</Type>
+ <Label>RememberPlotOptions</Label>
+ <DefaultValue>false</DefaultValue>
+ <IsMandatory>false</IsMandatory>
+ </Parameter>
+ <Parameter>
+ <Name>ShowCoordinateLabels</Name>
+ <Description>Indicates whether to show the coordinate labels in the QuickPlot preview dialog. If empty, will default to true</Description>
+ <Type>boolean</Type>
+ <Label>ShowCoordinateLabels</Label>
+ <DefaultValue>true</DefaultValue>
+ <IsMandatory>false</IsMandatory>
+ </Parameter>
+ <Parameter>
+ <Name>ShowSubTitle</Name>
+ <Description>Indicates whether to show the sub title in the QuickPlot UI and preview dialog. If empty, will default to true</Description>
+ <Type>boolean</Type>
+ <Label>ShowSubTitle</Label>
+ <DefaultValue>true</DefaultValue>
+ <IsMandatory>false</IsMandatory>
+ </Parameter>
+ <Parameter>
+ <Name>DefaultDpi</Name>
+ <Description>Indicates the default DPI to use for plotting. If specified, this will hide the DPI field in the QuickPlot UI and will override whatever DPI is used.</Description>
+ <Type>integer</Type>
+ <Label>DefaultDpi</Label>
+ <DefaultValue>96</DefaultValue>
+ <IsMandatory>false</IsMandatory>
+ </Parameter>
+ <Parameter>
+ <Name>PaperListEntry</Name>
+ <Description>Indicates a list of name/value pairs that will override the paper size list in the QuickPlot UI if specified.</Description>
+ <Type>xml</Type>
+ <Label>PaperListEntry</Label>
+ <DefaultValue></DefaultValue>
+ <IsMandatory>false</IsMandatory>
+ </Parameter>
+ <Parameter>
+ <Name>ScaleListEntry</Name>
+ <Description>Indicates a list of name/value pairs that will override the scale list in the QuickPlot UI if specified.</Description>
+ <Type>xml</Type>
+ <Label>ScaleListEntry</Label>
+ <DefaultValue></DefaultValue>
+ <IsMandatory>false</IsMandatory>
+ </Parameter>
+ <Parameter>
+ <Name>Disclaimer</Name>
+ <Description>The legal disclaimer text to show in the preview dialog and final printout</Description>
+ <Type>string</Type>
+ <Label>Disclaimer</Label>
+ <DefaultValue>The materials available at this web site are for informational purposes only and do not constitute a legal document.</DefaultValue>
+ <IsMandatory>false</IsMandatory>
+ </Parameter>
</WidgetInfo>
More information about the fusion-commits
mailing list