|
@@ -20,6 +20,7 @@ using System.Windows;
|
|
|
using System.Windows.Controls;
|
|
|
using System.Windows.Controls.Primitives;
|
|
|
using System.Windows.Input;
|
|
|
+using Compdfkit_Tools.PDFControlUI;
|
|
|
using static ComPDFKit.Tool.CPDFToolManager;
|
|
|
|
|
|
namespace PDFViewer
|
|
@@ -594,12 +595,13 @@ baseWidget.GetAnnotData().Annot);
|
|
|
{
|
|
|
PDFGrid.Child = contentEditControl;
|
|
|
viewControl.SetToolType(ComPDFKit.Tool.CPDFToolManager.ToolType.ContentEdit);
|
|
|
- viewControl.PDFViewTool.SetViewerModel(MouseModes.Viewer);
|
|
|
+ viewControl.PDFViewTool.SetViewerModel(MouseModes.ContentEdit);
|
|
|
|
|
|
contentEditControl.OnCanSaveChanged -= ControlOnCanSaveChanged;
|
|
|
contentEditControl.OnCanSaveChanged += ControlOnCanSaveChanged;
|
|
|
contentEditControl.SetBOTAContainer(botaBarControl);
|
|
|
contentEditControl.SetDisplaySettingsControl(displaySettingsControl);
|
|
|
+ contentEditControl.PdfViewControl.SetSplitViewMode(CPDFViewModeUI.SplitMode.None);
|
|
|
}
|
|
|
}
|
|
|
else if (item.Tag as string == "Document Editor")
|