scripting:api:base-document:get-undo-items