New Features in Maple 2018 - Protecting Your Content from Changes - Maplesoft

What's New in Maple 2018

Protecting Your Content from Changes



Maple 2018 includes the ability to protect your content from accidental changes. In addition to aiding your content creation process, this ability allows you to share your work without having to deal with users who accidentally break your application.  

  • You can control whether or not entire documents, or the content of individual tables, can be modified.
  • Non-editable content is viewed in “Player mode”, where interactive components, such as buttons and sliders, continue to work. As a result, students and colleagues can use your interactive application, with no risk that they will accidentally modify its content, appearance, or behavior.
  • For situations where the output can vary every time the commands are executed, you can set your document to non-editable in order to freeze your results at a particular instance. This way, you can be sure your readers will always see the specific example you discuss in the surrounding text.
  • If you have spent time laying out information carefully in a table, you can lock down that table while you work on the rest of your document to keep it safe from accidental changes.

Editable Documents 

Marking a document as noneditable can be viewed as a "player-mode" for Maple documents. When a document is marked as noneditable, any existing content in that document cannot be modified. It is not possible to add any new content such as embedded components or to run computations in execution groups or document blocks. Any interactive embedded components inside of a document will continue to work. When a worksheet is "Editable", it will continue to work as normal. 


Marking a document as editable or noneditable 

In order to make the current document editable or noneditable, simply toggle the Editable check box in the Maple window’s Status Bar. 

Image 

If this check box is cleared, the current document can no longer be modified. 


Editable Tables

Tables can also now be marked as editable or noneditable. The editable property for tables is independent of the document editability, though if a document is marked as noneditable, tables cannot be edited. After a table has been marked as noneditable, any content stored in the table cannot be modified. It is not possible to add any new content such as embedded components or to run computations in execution groups or document blocks. Existing interactive embedded components inside of a table will continue to work. 


Marking a table as editable or noneditable

A table can be marked as editable or noneditable in its Table Properties using either the DocumentTools:-SetProperty command or the Context Panel. To make a table editable or noneditable using the Context Panel, in the Table properties, select or clear the Editable check box: 

Image 

Example: 

Embedded component 

Embedded component 

> 2
2

>  DocumentTools:-SetProperty("Table1", editable, false);
>  DocumentTools:-GetProperty("Table1", editable);
false