DocumentTools - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Packages : DocumentTools

Overview of the DocumentTools Package

 

Calling Sequence

Description

List of DocumentTools Package Commands

List of DocumentTools Subpackages

Calling Sequence

DocumentTools:-command(arguments)

command(arguments)

Description

• 

The DocumentTools package is a collection of commands that allow programmatic access to Maple documents.

• 

The package provides commands for access to properties of embedded components such as buttons or slider bars, in a Standard Maple document or worksheet. For details on interactive components, see the Overview of Embedded Components help page.

• 

The package also provides commands for accessing mathematical expressions contained in document or worksheet files, as well as the ability to query or change the properties of the document or worksheet file.

• 

Each command in the DocumentTools package can be accessed by using either the long form or the short form of the command name in the command calling sequence.

• 

The long form, DocumentTools:-command, is always available. The short form can be used after loading the package.

List of DocumentTools Package Commands

The following is a list of commands available in the DocumentTools package:

AddIcon

AddPalette

AddPaletteEntry

ContentToString

CreateTask

Do

GetDocumentProperty

GetProperty

InsertContent

InsertTask

RemovePalette

RemovePaletteEntry

RemoveTask

Retrieve

RunWorksheet

SetDocumentProperty

SetProperty

Tabulate

 

 

• 

To display the help page for a particular DocumentTools command, see Getting Help with a Command in a Package.

List of DocumentTools Subpackages

• 

The Components subpackage provides commands for generating XML as function-calls which represent Embedded Components.

• 

The Layout subpackage provides commands for generating XML as function-calls which represent GUI elements.

• 

The Actions subpackage provides command for interacting with embedded components programmaticaly.

• 

The Canvas subpackage provides commands for generating templates where math can be inserted and acted upon by button clicks within Maple. These templates, called canvases, can then be deployed to Maple Learn.

Applications

Programmatic Content Generation

See Also

EmbeddedComponents

module

UsingPackages

with