Lua Methods Reference > LuaDocument Methods

LuaDocument Methods

Topics in this Section

This section describes the methods provided by the LuaDocument object. A LuaDocument allows you to access and modify the reference, metadata and content of a document.
If you have a LuaDocument object called document you can call its methods using the ':' operator. For example:
document:addField(name, value)
 
Gets the next section in a document, allowing you to perform find or add operations on every section.