[Mapbender-commits] r4474 - branches/print_dev/http/print

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Aug 4 08:30:29 EDT 2009


Author: mschulz
Date: 2009-08-04 08:30:29 -0400 (Tue, 04 Aug 2009)
New Revision: 4474

Modified:
   branches/print_dev/http/print/mod_printPDF_div.js
Log:
added package header

Modified: branches/print_dev/http/print/mod_printPDF_div.js
===================================================================
--- branches/print_dev/http/print/mod_printPDF_div.js	2009-08-04 11:52:51 UTC (rev 4473)
+++ branches/print_dev/http/print/mod_printPDF_div.js	2009-08-04 12:30:29 UTC (rev 4474)
@@ -1,3 +1,59 @@
+/**
+ * Package: printPDF
+ *
+ * Description:
+ * Mapbender print PDF with PDF templates module.
+ * 
+ * Files:
+ *  - http/print/mod_printPDF_div.js
+ *  - http/print/classes/*
+ *  - http/print/printFactory.php
+ *  - http/print/printPDF_download.php
+ *  - http/print/printbox.js
+ *
+ * SQL:
+ * > INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES('gui2','printPDF',2,1,'pdf print','Print','div','','',1,1,2,2,5,'','<div id="printPDF_working_bg"></div>
+ * > <div id="printPDF_working">
+ * > <img src="../img/indicator_wheel.gif" style="padding:10px 0 0 10px">
+ * > Generating PDF
+ * > </div>
+ * > <div id="printPDF_input">
+ * > <form id="printPDF_form" action="../print/printFactory.php">
+ * > <div id="printPDF_selector"></div>
+ * > <div class="print_option">
+ * > <input type="hidden" id="map_url" name="map_url" value=""/>
+ * > <input type="hidden" id="overview_url" name="overview_url" value=""/>
+ * > <input type="hidden" name="measured_x_values" />
+ * > <input type="hidden" name="measured_y_values" /><br />
+ * > </div>
+ * > <div class="print_option" id="printPDF_formsubmit">
+ * > <input id="submit" type="submit" value="Print"><br />
+ * > </div>
+ * > </form>
+ * > <div id="printPDF_result">
+ * > </div>
+ * > </div>','div','../print/mod_printPDF_div.js','','mapframe1','','http://www.mapbender.org/index.php/Print');
+ * >  
+ * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('gui2', 'printPDF', 'mbPrintConfigFilenames', '["testConfigTemplate.json"]', '' ,'var');
+ * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('gui2', 'printPDF', 'mbPrintConfigTitles', '["Standard"]', '' ,'var');
+ *
+ * Help:
+ * http://www.mapbender.org/PrintPDF_with_template
+ *
+ * Maintainer:
+ * http://www.mapbender.org/User:Michael_Schulz
+ * 
+ * Parameters:
+ * mbPrintConfigFilenames      - *[optional]* JSON string array / filenames of the json configuration files
+ * mbPrintConfigTitles         - *[optional]* JSON string array / title of the template to be shown in a select box in a mapbender application
+ *
+ * License:
+ * Copyright (c) 2009, Open Source Geospatial Foundation
+ * This program is dual licensed under the GNU General Public License 
+ * and Simplified BSD license.  
+ * http://svn.osgeo.org/mapbender/trunk/mapbender/license/license.txt
+ */
+
 var myTarget = options.target;
 var myId = options.id;
 



More information about the Mapbender_commits mailing list