GoFiler Legato Script Reference
Legato v 1.5b Application v 5.24b
|
Table of Contents | < < Previous | Next >> |
Chapter Twenty-one — EDGARView Integration (continued)
Overview
The CompressEIS function will take the contents of an EDGARLink XML file and compress it into an Internet Submission (EIS) file.
Syntax/Parameters
Syntax
int = CompressEIS ( string source, string destination );
Parameters
source
A string containing the source filename and path.
destination
A string containing the destination filename and path. The file will be overwritten without warning.
Return Value
An int containing the result as ERROR_NONE (0) or a formatted error code.
Remarks
CompressEIS is designed to take an XML file from and prepare it for the EDGAR website.
Example:
string fnSRC, fnDST, filters; int rc; filters = "All Files *.*|*.*&EDGARLink XML Submission (*.xml)|*.xml"; fnSRC = BrowseOpenFile("Compress EIS - Source XML File", filters); if (fnSRC == "") { exit; } fnDST = ClipFileExtension(fnSRC); fnDST = fnDST + ".eis"; filters = "All Files *.*|*.*&EDGARLink Internet Submission (*.eis)|*.eis"; fnDST = BrowseSaveFile("Compres EIS - Destination File", filters, fnDST); if (fnDST == "") { exit; } rc = CompressEIS(fnSRC, fnDST); if (IsError(rc)) { MessageBox('X', "Conversion Failed %08X", rc); } else { MessageBox('I', "Conversion Complete!", rc); }
Related Functions
Platform Support
Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL
Legato IDE
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.