GoFiler Legato Script Reference
Legato v 1.5b Application v 5.24b
|
Table of Contents | < < Previous | Next >> |
Chapter Eighteen — DataView Integration (continued)
Overview
The on_launch event is called when the launch to browser function wants the workbook rendered. The sheet must be render as HTML.
Syntax/Parameters
Syntax
string = on_launch ( string filename ) { ... }
Parameters
filename
The filename to write the contents of the view. This is an intermediate filename.
Return Value
The function is expected to complete the process. An error code can be returned but is presently ignored.
Remarks
The script should create an HTML image from the data to be printed and then save that data to the supplied filename. In order to enable printing, the menu state must be set to allow for print.
If this hook is present in the file, the File | Send | To Browser function will be enabled on the ribbon including the popup and various browser destinations. Note that the Send To Browser functions require a native will and are not supported.
Related Events and Functions
DataViewGetObject — Returns a Data View handle (for an associated sheet) for the specified view by window handle. Also locks for paint.
on_menu_init— Called anytime the ribbon or a menu must be prepared for display or updated.
on_print — Called when launching a proof to print.
Table of Contents | < < Previous | Next >> |
© 2012-2024 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. GoFiler™ and Legato™ are trademarks of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.