|
@@ -239,6 +239,14 @@ namespace Compdfkit_Tools.PDFControl
|
|
{
|
|
{
|
|
case C_ANNOTATION_TYPE.C_ANNOTATION_WIDGET:
|
|
case C_ANNOTATION_TYPE.C_ANNOTATION_WIDGET:
|
|
break;
|
|
break;
|
|
|
|
+ case C_ANNOTATION_TYPE.C_ANNOTATION_SOUND:
|
|
|
|
+ case C_ANNOTATION_TYPE.C_ANNOTATION_MOVIE:
|
|
|
|
+ case C_ANNOTATION_TYPE.C_ANNOTATION_RICHMEDIA:
|
|
|
|
+ menu.Items.Add(new MenuItem() { Header = "Delete", Command = ApplicationCommands.Delete, CommandTarget = (UIElement)sender });
|
|
|
|
+ menu.Items.Add(new MenuItem() { Header = "Play", Command = MediaCommands.Play, CommandTarget = (UIElement)sender, CommandParameter = (sender as CPDFViewerTool).GetCacheHitTestAnnot() });
|
|
|
|
+ menu.Items.Add(new MenuItem() { Header = "Cut", Command = ApplicationCommands.Cut, CommandTarget = (UIElement)sender });
|
|
|
|
+ menu.Items.Add(new MenuItem() { Header = "Paste", Command = ApplicationCommands.Paste, CommandTarget = (UIElement)sender });
|
|
|
|
+ break;
|
|
default:
|
|
default:
|
|
menu.Items.Add(new MenuItem() { Header = "Delete", Command = ApplicationCommands.Delete, CommandTarget = (UIElement)sender });
|
|
menu.Items.Add(new MenuItem() { Header = "Delete", Command = ApplicationCommands.Delete, CommandTarget = (UIElement)sender });
|
|
menu.Items.Add(new MenuItem() { Header = "Copy", Command = ApplicationCommands.Copy, CommandTarget = (UIElement)sender });
|
|
menu.Items.Add(new MenuItem() { Header = "Copy", Command = ApplicationCommands.Copy, CommandTarget = (UIElement)sender });
|