[Mapbender-commits] r7947 - in trunk/mapbender/documents/api_js/files/http: javascripts plugins

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Jul 15 07:57:51 EDT 2011


Author: astrid_emde
Date: 2011-07-15 04:57:51 -0700 (Fri, 15 Jul 2011)
New Revision: 7947

Modified:
   trunk/mapbender/documents/api_js/files/http/javascripts/mod_overviewToggle-js.html
   trunk/mapbender/documents/api_js/files/http/plugins/mb_print-php.html
Log:
new element vars docu

Modified: trunk/mapbender/documents/api_js/files/http/javascripts/mod_overviewToggle-js.html
===================================================================
--- trunk/mapbender/documents/api_js/files/http/javascripts/mod_overviewToggle-js.html	2011-07-15 11:21:17 UTC (rev 7946)
+++ trunk/mapbender/documents/api_js/files/http/javascripts/mod_overviewToggle-js.html	2011-07-15 11:57:51 UTC (rev 7947)
@@ -24,7 +24,10 @@
 INSERT INTO gui_element_vars (fkey_gui_id, fkey_e_id, var_name,
 var_value, context, var_type) VALUES ('<app_id>', 'body',
 'overviewToggle_css', '../css/dialog/jquery-ui-1.7.2.custom.css',
-'' ,'file/css');</pre></blockquote><h4 class=CHeading>Help</h4><p><a href="http://www.mapbender.org/OverviewToggle" class=LURL target=_top>http://www.mapbender.org/OverviewToggle</a></p><h4 class=CHeading>Maintainer</h4><p><a href="http://www.mapbender.org/User:Christoph_Baudson" class=LURL target=_top>http://www.mapbender.org/User:Christoph_Baudson</a></p><h4 class=CHeading>License</h4><p>Copyright &copy; 2009, Open Source Geospatial Foundation This program is dual licensed under the GNU General Public License and Simplified BSD license.&nbsp; <a href="http://svn.osgeo.org/mapbender/trunk/mapbender/license/license.txt" class=LURL target=_top>http://svn.osgeo.org<wbr>/mapbender<wbr>/trunk<wbr>/mapbender<wbr>/license<wbr>/license.txt</a></p></div></div></div>
+'' ,'file/css');</pre></blockquote><blockquote><pre>INSERT INTO gui_element_vars (fkey_gui_id, fkey_e_id, var_name,
+var_value, context, var_type) VALUES ('&lt;app_id&gt;', 'overviewToggle',
+'initialOpen', 'false',
+'' ,'var');</pre></blockquote><p>Help: <a href="http://www.mapbender.org/OverviewToggle" class=LURL target=_top>http://www.mapbender.org/OverviewToggle</a></p><h4 class=CHeading>Maintainer</h4><p><a href="http://www.mapbender.org/User:Christoph_Baudson" class=LURL target=_top>http://www.mapbender.org/User:Christoph_Baudson</a></p><h4 class=CHeading>License</h4><p>Copyright &copy; 2009, Open Source Geospatial Foundation This program is dual licensed under the GNU General Public License and Simplified BSD license.&nbsp; <a href="http://svn.osgeo.org/mapbender/trunk/mapbender/license/license.txt" class=LURL target=_top>http://svn.osgeo.org<wbr>/mapbender<wbr>/trunk<wbr>/mapbender<wbr>/license<wbr>/license.txt</a></p></div></div></div>
 
 </div><!--Content-->
 

Modified: trunk/mapbender/documents/api_js/files/http/plugins/mb_print-php.html
===================================================================
--- trunk/mapbender/documents/api_js/files/http/plugins/mb_print-php.html	2011-07-15 11:21:17 UTC (rev 7946)
+++ trunk/mapbender/documents/api_js/files/http/plugins/mb_print-php.html	2011-07-15 11:57:51 UTC (rev 7947)
@@ -18,7 +18,7 @@
 2,1,'pdf print','Print','div','','',1,1,2,2,5,'',
 '&lt;div id=&quot;printPDF_working_bg&quot;&gt;&lt;/div&gt;&lt;div id=&quot;printPDF_working&quot;&gt;&lt;img src=&quot;../img/indicator_wheel.gif&quot; style=&quot;padding:10px 0 0 10px&quot;&gt;Generating PDF&lt;/div&gt;&lt;div id=&quot;printPDF_input&quot;&gt;&lt;form id=&quot;printPDF_form&quot; action=&quot;../print/printFactory.php&quot;&gt;&lt;div id=&quot;printPDF_selector&quot;&gt;&lt;/div&gt;&lt;div class=&quot;print_option&quot;&gt;&lt;input type=&quot;hidden&quot; id=&quot;map_url&quot; name=&quot;map_url&quot; value=&quot;&quot;/&gt;&lt;input type=&quot;hidden&quot; id=&quot;legend_url&quot; name=&quot;legend_url&quot; value=&quot;&quot;/&gt;&lt;input type=&quot;hidden&quot; id=&quot;overview_url&quot; name=&quot;overview_url&quot; value=&quot;&quot;/&gt;&lt;input type=&quot;hidden&quot; id=&quot;map_scale&quot; name=&quot;map_scale&quot; value=&quot;&quot;/&gt;&lt;input type=&quot;hidden&quot; name=&quot;measured_x_values&quot; /&gt;&lt;input type=&quot;hidden&
 quot; name=&quot;measured_y_values&quot; /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;print_option&quot; id=&quot;printPDF_formsubmit&quot;&gt;&lt;input id=&quot;submit&quot; type=&quot;submit&quot; value=&quot;Print&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/form&gt;&lt;div id=&quot;printPDF_result&quot;&gt;&lt;/div&gt;&lt;/div&gt;',
 'div','../plugins/mb_print.php',
-'../../lib/printbox.js,../extensions/jquery-ui-1.7.2.custom/development-bundle/external/bgiframe/jquery.bgiframe.min.js,../extensions/jquery.form.min.js',
+'../../lib/printbox.js,../extensions/jquery-ui-1.7.2.custom/development-bundle/external/bgiframe/jquery.bgiframe.js,../extensions/jquery.form.min.js',
 'mapframe1','','http://www.mapbender.org/index.php/Print');
 
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name,
@@ -26,6 +26,22 @@
 'mbPrintConfig', '{&quot;Standard&quot;: &quot;mapbender_template.json&quot;}', '' ,'var');
 
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name,
+var_value, context, var_type) VALUES('&lt;appId&gt;', 'printPDF',
+'unlink', 'true', 'delete print pngs after pdf creation' ,'php_var');
+
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name,
+var_value, context, var_type) VALUES('&lt;appId&gt;', 'printPDF',
+'logRequests', 'false', 'log wms requests for debugging' ,'php_var');
+
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name,
+var_value, context, var_type) VALUES('&lt;appId&gt;', 'printPDF',
+'logType', 'file', 'log mode can be set to file or db' ,'php_var');
+
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name,
+var_value, context, var_type) VALUES('&lt;appId&gt;', 'printPDF',
+'timeout', '90000', 'define maximum milliseconds to wait for print request finished' ,'var');
+
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name,
 var_value, context, var_type) VALUES('&lt;appId&gt;', 'body',
 'print_css', '../css/print_div.css', '' ,'file/css');</pre></blockquote><h4 class=CHeading>Help</h4><p><a href="http://www.mapbender.org/PrintPDF_with_template" class=LURL target=_top>http://www.mapbender.org/PrintPDF_with_template</a></p><h4 class=CHeading>Maintainer</h4><p><a href="http://www.mapbender.org/User:Michael_Schulz" class=LURL target=_top>http://www.mapbender.org/User:Michael_Schulz</a> <a href="http://www.mapbender.org/User:Christoph_Baudson" class=LURL target=_top>http://www.mapbender.org/User:Christoph_Baudson</a></p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>mbPrintConfig</td><td class=CDLDescription><b>[optional]</b> object with name and filename of template, like    { &ldquo;Standard&rdquo;: &ldquo;a_template.json&rdquo;, &ldquo;Different&rdquo;: &ldquo;another_template.json&rdquo; }</td></tr></table><h4 class=CHeading>License</h4><p>Copyright &copy; 2009, Open Source Geospati
 al Foundation This program is dual licensed under the GNU General Public License and Simplified BSD license.&nbsp; <a href="http://svn.osgeo.org/mapbender/trunk/mapbender/license/license.txt" class=LURL target=_top>http://svn.osgeo.org<wbr>/mapbender<wbr>/trunk<wbr>/mapbender<wbr>/license<wbr>/license.txt</a></p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#printPDF" >printPDF</a></td><td class=SDescription>Mapbender print PDF with PDF templates module.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#printPDF.Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#printPDF.actualConfig" >actualConfig</a></td><td class=SDescription>object, holds the actual configuration after loading the json file</td></tr><tr class="SProperty SIndent2"><td 
 class=SEntry><a href="#printPDF.printBox" >printBox</a></td><td class=SDescription>the movable printframe</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#printPDF.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#printPDF.createPrintBox" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">createPrintBox</a></td><td class=SDescription>creates a printBox in the current view, calculates the scale (tbd. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#printPDF.getPDFMapSize" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">getPDFMapSize</a></td><td class=SDescription>checks the actual config for the size w/h values.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#printPDF.destroyPrintBox" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">destroyPr
 intBox</a></td><td class=SDescription>removes an existing printBox.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#printPDF.mod_printPDF_init" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">mod_printPDF_init</a></td><td class=SDescription>initializes the print modules, generates template chooser and loads first configuration.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#printPDF.loadConfig" id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">loadConfig</a></td><td class=SDescription>GETs the config, build corresponding form, remove an existing printBox</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#printPDF.hookForm" id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')">hookForm</a></td><td class=SDescription>utility method to connect the form plugin to the print form.</td></tr><tr class="SFunction SIndent2 SMarked
 "><td class=SEntry><a href="#printPDF.showResult" id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')">showResult</a></td><td class=SDescription>load the generated PDF from the returned URL as an attachment, that triggers a download popup or is displayed in PDF plugin.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
 



More information about the Mapbender_commits mailing list