GoFiler Legato Script Reference
Legato v 1.5d Application v 5.25a
|
Table of Contents | < < Previous | Next >> |
Chapter Twenty-one — EDGARView Integration (continued)
Overview
The EDACOpenFile function opens a project or XML compose file, selects an object and loads the data.
Syntax/Parameters
Syntax
handle = EDACOpenFile ( string filename );
Parameters
filename
A string containing a filename to open.
Return Value
Returns a handle to an EDAC Object or NULL_HANDLE on error. Use the GetLastError function to retrieve a formatted error code. The GetLastErrorMessage can also contain additional details.
Use the CloseHandle function to discard the object.
Remarks
The file type is determined prior to opening the file to direct which module should process the request. The open function operates independently from any open EDGAR View, but if the file is the active project, the handle will point to the currently open project file.
GFP, XML and EIS files can be opened. Note that opening an XML or EIS can result in document files being extracted to the folder that the source file is located in.
Closing the handle discards all information associated with the EDAC object. To save changes, use the EDACSaveFile function.
Opening a file that is already open within the desktop will cause the internal database to be synchronized with the form editor. When the handle is closed, the data base is set back to the desktop form editor. Programmers should avoid constantly opening and closing EDAC objects since this will result in significant delays and screen chatter.
Further, avoid opening a view as a background thread. Thread locking has not been tested.
Related Functions
Platform Support
Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL
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.