|
@@ -29,6 +29,7 @@ namespace PDF_Office.ViewModels.Tools
|
|
|
public List<AnnotHandlerEventArgs> annotlists;
|
|
|
|
|
|
public bool IsTextFill { get; private set; }
|
|
|
+
|
|
|
public void SetIsTextFill(bool isTextFill)
|
|
|
{
|
|
|
IsTextFill = isTextFill;
|
|
@@ -66,7 +67,7 @@ namespace PDF_Office.ViewModels.Tools
|
|
|
public static DashStyle GetLineDashStyle(bool isSolid)
|
|
|
{
|
|
|
DashStyle newDash = new DashStyle();
|
|
|
- if(isSolid == false)
|
|
|
+ if (isSolid == false)
|
|
|
{
|
|
|
newDash.Dashes.Add(2);
|
|
|
newDash.Dashes.Add(2);
|
|
@@ -248,7 +249,7 @@ namespace PDF_Office.ViewModels.Tools
|
|
|
public IDialogService dialogs;
|
|
|
public IRegionManager region;
|
|
|
|
|
|
- private CPDFViewer PDFViewer;
|
|
|
+ public CPDFViewer PDFViewer;
|
|
|
private ViewContentViewModel viewContentViewModel;
|
|
|
private AnnotPropertyPanel propertyPanel = new AnnotPropertyPanel();
|
|
|
private Dictionary<string, AnnotArgsType> ToolExpandDict = new Dictionary<string, AnnotArgsType>();
|
|
@@ -274,19 +275,24 @@ namespace PDF_Office.ViewModels.Tools
|
|
|
public DelegateCommand<object> SetAddAnnotationCommand { get; set; }
|
|
|
public DelegateCommand AddBookMarkCommand { get; set; }
|
|
|
|
|
|
+ public DelegateCommand<object> HandCommand { get; set; }
|
|
|
#region 注释 - 右键菜单
|
|
|
+
|
|
|
//公共
|
|
|
public DelegateCommand<object> AnnotDefaultValue_MenuCommand { get; set; }
|
|
|
+
|
|
|
public DelegateCommand<object> AnnotColorPalette_MenuCommand { get; set; }
|
|
|
public DelegateCommand<object> AnnotAddNoteText_MenuCommand { get; set; }
|
|
|
+
|
|
|
//高亮、下划线、删除
|
|
|
public DelegateCommand<object> HightAnnotCopyText_MenuCommand { get; set; }
|
|
|
-
|
|
|
+
|
|
|
//手绘
|
|
|
public DelegateCommand<object> FreeHandLineStyle_MenuCommand { get; set; }
|
|
|
|
|
|
//文本
|
|
|
public DelegateCommand<object> FreeTextFontFamily_MenuCommand { get; set; }
|
|
|
+
|
|
|
public DelegateCommand<object> FreeTextAglin_MenuCommand { get; set; }
|
|
|
|
|
|
//便签
|
|
@@ -294,10 +300,12 @@ namespace PDF_Office.ViewModels.Tools
|
|
|
|
|
|
//形状
|
|
|
public DelegateCommand<object> ShapeLineStyle_MenuCommand { get; set; }
|
|
|
+
|
|
|
public DelegateCommand<object> ShapeLineDirect_MenuCommand { get; set; }
|
|
|
|
|
|
//图章
|
|
|
public DelegateCommand<object> StampExportPicture_MenuCommand { get; set; }
|
|
|
+
|
|
|
#endregion 注释 - 右键菜单
|
|
|
|
|
|
#endregion 事件
|