|
void | PrepareUndo () |
|
std::string | GetCurrentState () |
|
bool | ReloadState (const std::string &data) |
|
void | TrimUndoMemory () |
|
bool | CanUndo () const |
|
bool | CanRedo () const |
|
bool | Undo () |
|
bool | Redo () |
|
bool | InsertNote (Object *object) |
|
bool | DeleteNote (Note *note) |
|
void | ClearContext () |
|
bool | ContextForElement (std::string &elementId) |
|
bool | ContextForScores (bool editInfo) |
|
bool | ContextForSections (bool editInfo) |
|
Object * | GetElement (std::string &elementId) |
|
void | ContextForObject (const Object *object, jsonxx::Object &element, bool recursive=false) |
|
void | ContextForObjects (const ArrayOfConstObjects &objects, jsonxx::Array &siblings) |
|
void | ContextForReferences (const ListOfObjectAttNamePairs &objects, jsonxx::Array &links) |
|
ArrayOfConstObjects | GetScoreBasedChildrenFor (const Object *object) |
|
|
bool | Chain (jsonxx::Array actions) |
| Parse JSON instructions for experimental editor functions.
|
|
bool | ParseContextAction (jsonxx::Object param, std::string &elementId, bool &scores, bool §ions) |
|
bool | ParseDeleteAction (jsonxx::Object param, std::string &elementId) |
|
bool | ParseDragAction (jsonxx::Object param, std::string &elementId, int &x, int &y) |
|
bool | ParseKeyDownAction (jsonxx::Object param, std::string &elementid, int &key, bool &shiftKey, bool &ctrlKey) |
|
bool | ParseInsertAction (jsonxx::Object param, std::string &elementType, std::string &startid, std::string &endid) |
|
bool | ParseSetAction (jsonxx::Object param, std::string &elementId, std::string &attribute, std::string &value) |
|
|
bool | Delete (std::string &elementId) |
| Experimental editor functions.
|
|
bool | Drag (std::string &elementId, int x, int y) |
|
bool | KeyDown (std::string &elementId, int key, bool shiftKey, bool ctrlKey) |
|
bool | Insert (std::string &elementType, std::string const &startid, std::string const &endid) |
|
bool | Insert (std::string &elementType, std::string const &startid) |
|
bool | Set (std::string &elementId, std::string const &attribute, std::string const &value) |
|