Information Classification: External Restricted.
See https://www.chili-publish.com/security

Finding object properties and functions

Document Object Model

An overview of the object model of a CHILI document can be found in Document Object Model

Objects may inherit from base classes (all objects eventually inherit from Document Object Model - DocumentBase, for example), which can expose additional properties and/or functions.

The root of the object model is the document itself: Document Object Model - Document

Accessing underlying objects can be done using an object descriptor (eg: "document.viewPreferences", or "document.pages[0]") in the various functions (see Getting started with your JavaScript integration)

CHILI_API_Sample

To test simple JavaScript code, the CHILI_API_Sample application allows you to open a document including an "eval" textbox, which has access to the loaded editor object.

Furthermore, it contains the possibility to list the properties of a requested object (and to set property values) through a simple test interface.

All information on this page must be treated as External Restricted, or more strict. https://www.chili-publish.com/security