GoFiler Legato Script Reference
Legato v 1.5b Application v 5.24b
|
Table of Contents | < < Previous | Next >> |
Chapter Twenty — PageView Integration (continued)
Overview
The CSSEditDeclaration function calls the CSS Declaration Editor using a declaration string and returns a resulting declaration screen.
Syntax/Parameters
Syntax
string = CSSEditDeclaration ( string declaration, [dword pages],
[string
caption], [string base] );
Parameters
declaration
A string containing a standard CSS declaration in the format of “property: value” pairs, separated by semicolons as required. It should not contain open and close braces.
pages
An optional dword specifying which CSS pages to enable. If omitted, all pages are enabled.
caption
An optional string specifying a dialog caption. The default caption is “CSS Properties”.
base
An optional string specifying a base path for the dialog. This is required when any URL is referenced such as a background image.
Return Value
A string containing the declaration data as a series of parameter value pairs or an empty string on error. If the object does not contain any CSS properties, the return string will be empty. Use the GetLastError to retrieve a formatted error code.
Remarks
If the results from the edit do not contain any CSS properties, the returned string will be empty. If the user cancels the operation the return string will be empty and the last error will be ERROR_CANCEL.
Items that can be placed into shorthand properties are processed prior to returning the string.
Dialog tabs can be controlled to allow the user to only see certain properties for editing by setting bits in the pages parameter. Properties that are not available for user editing are not altered. See the introduction of this section for a list of page definitions.
If a base path is not specified, the user will not be able to browse for images.
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.