BuiltinCommand
The BuiltinCommand enumeration contains all the ids of the builtin commands that can be hidden, shown, disabled or enabled from the menus. This enumeration is used in conjunction with the SetCommandState method.
Name | Value | Description |
---|---|---|
MFiles.BuiltinCommand.MakeCopy | 9 | Make a copy of the selected object. |
MFiles.BuiltinCommand.CheckOut | 10 | Checkout the active selection. |
MFiles.BuiltinCommand.CheckIn | 11 | Checkin the active selection. |
MFiles.BuiltinCommand.UndoCheckOut | 13 | Undo the checkout for the selected object. |
MFiles.BuiltinCommand.ConvertToSFD | 31 | Converts the selection into single-file document. |
MFiles.BuiltinCommand.ConvertToMFD | 32 | Converts the selection into multi-file document. This commands works for only one selected object. |
MFiles.BuiltinCommand.ReplaceWithFile | 33 | Triggers the file selection dialog for the currenly selected object and replaces that file with the selected file. |
MFiles.BuiltinCommand.SaveAsPDF | 50 | Save the selected object as PDF. |
MFiles.BuiltinCommand.Delete | 76 | Delete the current selected object. Shows a modal dialog for confirmation. |
MFiles.BuiltinCommand.ConvertToSingleFilePDF | 81 | Converts the selection into single-file PDF. |
MFiles.BuiltinCommand.ConvertToMultiFilePDF | 82 | Converts the selection into multi-file PDF. |
MFiles.BuiltinCommand.NewObject | 87 | Creates a new Object. |
MFiles.BuiltinCommand.RollBack | 89 | Rollback command. The rollbacked object is either command argument provided as ObjVer or the current selection in the Listing View. |
MFiles.BuiltinCommand.CheckOutForCoauthoring | 129 | Checks out the object for co-authoring. |
MFiles.BuiltinCommand.ViewInMFDesktop | 174 | Open the selected file in the desktop application. |
MFiles.BuiltinCommand.DownloadFile | 175 | Downloads the selected file. |
MFiles.BuiltinCommand.OpenFile | 176 | Open the selected file. |
MFiles.BuiltinCommand.AddPersonalTab | 180 | Add personal tab and send request to server to store related information. |
MFiles.BuiltinCommand.RemovePersonalTab | 181 | Remove personal tab and send request to server to store related information. |
MFiles.BuiltinCommand.RemoveFromThisView | 182 | Remove object from recent tab and send request to server to update related information. |
MFiles.BuiltinCommand.OpenInDesktopApp | 183 | Open file in Native Desktop application using web Companion. |
MFiles.BuiltinCommand.OpenInBrowser | 184 | Opens the currently selected object via online office editor. |
MFiles.BuiltinCommand.Follow | 185 | Starts following the specified object. While the object is being followed, the current user will be notified if the object changes. |
MFiles.BuiltinCommand.Unfollow | 186 | Stop following the specified object. |
MFiles.BuiltinCommand.LaunchDefaultApp | 187 | Open the file in associated application in desktop environment (DesktopNext). |
MFiles.BuiltinCommand.SubMenu_Convert | 188 | Convert command which has the different convert child commands. |
MFiles.BuiltinCommand.SubMenu_Show_More | 189 | Show more commands. |
MFiles.BuiltinCommand.AddFile | 190 | Add File command. |
MFiles.BuiltinCommand.CopyInternalLink | 201 | Copies the link of the object to the pointed out version. |
MFiles.BuiltinCommand.SendCheckInRequest | 202 | Sends check in request to the user who has checked out a object. |