|
@@ -19,67 +19,35 @@ using System.Windows.Media;
|
|
|
|
|
|
namespace PDF_Office.ViewModels.PropertyPanel.AnnotPanel
|
|
|
{
|
|
|
- public class FreetextAnnotPropertyViewModel : FontBoard, INavigationAware
|
|
|
+ public class FreetextAnnotPropertyViewModel : BindableBase, INavigationAware
|
|
|
{
|
|
|
- private bool isSelectedEmpty;
|
|
|
- public bool IsSelectedEmpty
|
|
|
+ private FontBoardVm _fontVm = new FontBoardVm(true);
|
|
|
+ public FontBoardVm FontVm
|
|
|
{
|
|
|
- get { return isSelectedEmpty; }
|
|
|
- set { SetProperty(ref isSelectedEmpty, value); }
|
|
|
+ get { return _fontVm; }
|
|
|
+ set { SetProperty(ref _fontVm, value); }
|
|
|
}
|
|
|
|
|
|
- private double fillOpacity = 1;
|
|
|
- public double FillOpacity
|
|
|
+ private AnnotBasePropertyVM _basicVm = new AnnotBasePropertyVM();
|
|
|
+ public AnnotBasePropertyVM BasicVm
|
|
|
{
|
|
|
- get { return fillOpacity; }
|
|
|
- set
|
|
|
- {
|
|
|
- SetProperty(ref fillOpacity, value);
|
|
|
- }
|
|
|
+ get { return _basicVm; }
|
|
|
+ set => SetProperty(ref _basicVm, value);
|
|
|
}
|
|
|
|
|
|
- private Brush _currentFillColor = new SolidColorBrush(Colors.Transparent);
|
|
|
- public Brush CurrentFillColor
|
|
|
- {
|
|
|
- get { return _currentFillColor; }
|
|
|
- set
|
|
|
- {
|
|
|
- SetProperty(ref _currentFillColor, value);
|
|
|
- }
|
|
|
- }
|
|
|
+ public AnnotAttribEvent AnnotEvent { get; set; }
|
|
|
+ private FreeTextAnnotArgs Annot;
|
|
|
+ private AnnotPropertyPanel PropertyPanel;
|
|
|
|
|
|
- private Brush fillColor = new SolidColorBrush(Colors.Transparent);
|
|
|
- public Brush FillColor
|
|
|
- {
|
|
|
- get { return fillColor; }
|
|
|
- set
|
|
|
- {
|
|
|
- SetProperty(ref fillColor, value);
|
|
|
- if (IsCanSave)
|
|
|
- {
|
|
|
- AnnotEvent?.UpdateAttrib(AnnotAttrib.FillColor, (fillColor as SolidColorBrush).Color);
|
|
|
- AnnotEvent?.UpdateAnnot();
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
- CurrentFillColor = fillColor;
|
|
|
- }
|
|
|
-
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- private bool _isMultiSelected = false;
|
|
|
- public bool IsMultiSelected
|
|
|
- {
|
|
|
- get { return _isMultiSelected; }
|
|
|
- set => SetProperty(ref _isMultiSelected, value);
|
|
|
- }
|
|
|
+ public DelegateCommand SelectedPresetFontCommand { get; set; }
|
|
|
+ public DelegateCommand FontFamilyChangedCommand { get; set; }
|
|
|
+ public DelegateCommand FontStyleWeightChangedCommand { get; set; }
|
|
|
|
|
|
public DelegateCommand<object> SelectedFillOpacityCommand { get; set; }
|
|
|
- public DelegateCommand<object> SelectedFontStyleCommand { get; set; }
|
|
|
+
|
|
|
public DelegateCommand<object> SelectedColorCommand { get; set; }
|
|
|
public DelegateCommand<object> SelectedFillColorCommand { get; set; }
|
|
|
- public DelegateCommand<object> FontFamilyChangedCommand { get; set; }
|
|
|
+
|
|
|
|
|
|
public DelegateCommand<object> FontSizeChangedCommand { get; set; }
|
|
|
public DelegateCommand<object> TextAlignCheckedCommand { get; set; }
|
|
@@ -95,54 +63,44 @@ namespace PDF_Office.ViewModels.PropertyPanel.AnnotPanel
|
|
|
|
|
|
public FreetextAnnotPropertyViewModel()
|
|
|
{
|
|
|
+ //文本设置
|
|
|
+ //预设文本样式
|
|
|
+ SelectedPresetFontCommand = new DelegateCommand(SelectedPresetFont);
|
|
|
+ //文本字重、字体
|
|
|
+ FontStyleWeightChangedCommand = new DelegateCommand(FontStyleWeightChanged);
|
|
|
+ //字体
|
|
|
+ FontFamilyChangedCommand = new DelegateCommand(FontFamilyChanged_Command);
|
|
|
+ //自定义
|
|
|
+ CustomFontStyleCommand = new DelegateCommand(CustomFontStyle);
|
|
|
+ //重新定义
|
|
|
+ ReDefineFontStyleCommand = new DelegateCommand(ReDefineFontStyle);
|
|
|
+ //恢复默认
|
|
|
+ RestoreDefaultStyleCommand = new DelegateCommand(RestoreDefaultStyle);
|
|
|
+
|
|
|
SelectedFillOpacityCommand = new DelegateCommand<object>(SelectedFillOpacity);
|
|
|
- SelectedFontStyleCommand = new DelegateCommand<object>(SelectedFontStyle);
|
|
|
+
|
|
|
SelectedColorCommand = new DelegateCommand<object>(SelectedColor_Command);
|
|
|
SelectedFillColorCommand = new DelegateCommand<object>(SelectedFillColor_Command);
|
|
|
- FontFamilyChangedCommand = new DelegateCommand<object>(FontFamilyChanged_Command);
|
|
|
+
|
|
|
FontSizeChangedCommand = new DelegateCommand<object>(FontSizeChanged_Command);
|
|
|
TextAlignCheckedCommand = new DelegateCommand<object>(TextAlignChecked);
|
|
|
LineModeCheckedCommand = new DelegateCommand<object>(LineMode_Checked);
|
|
|
SelectedOpacityValueCommand = new DelegateCommand<object>(SelectedOpacityValue);
|
|
|
|
|
|
- CustomFontStyleCommand = new DelegateCommand(CustomFontStyle);
|
|
|
- ReDefineFontStyleCommand = new DelegateCommand(ReDefineFontStyle);
|
|
|
- RestoreDefaultStyleCommand = new DelegateCommand(RestoreDefaultStyle);
|
|
|
+
|
|
|
InitVariable();
|
|
|
}
|
|
|
|
|
|
private void InitVariable()
|
|
|
{
|
|
|
- InitFontStyles();
|
|
|
- InitFontFamilyComboBox();
|
|
|
- InitFontStyleComboBox();
|
|
|
+
|
|
|
}
|
|
|
|
|
|
- private void InitFontFamilyComboBox()
|
|
|
- {
|
|
|
- FontFamilyItems = TextFont.GetFamily();
|
|
|
- }
|
|
|
-
|
|
|
- private void InitFontStyleComboBox()
|
|
|
- {
|
|
|
- FontStyleItems = TextFont.GetFontStyle();
|
|
|
- }
|
|
|
-
|
|
|
- private void InitFontStyles()
|
|
|
- {
|
|
|
- PresetFontItems = new List<ComboDataItem>();
|
|
|
- PresetFontList = TextFont.GetCachePresetFontList();
|
|
|
-
|
|
|
- foreach (var item in PresetFontList)
|
|
|
- {
|
|
|
- ComboDataItem itemData = new ComboDataItem(item.mTag, item.mTagContent);
|
|
|
- PresetFontItems.Add(itemData);
|
|
|
- }
|
|
|
- }
|
|
|
+
|
|
|
|
|
|
private void TextAlignChecked(object obj)
|
|
|
{
|
|
|
- if ((string)obj != null /*&& TextEditEvent != null*/)
|
|
|
+ if ((string)obj != null)
|
|
|
{
|
|
|
switch ((string)obj)
|
|
|
{
|
|
@@ -158,7 +116,8 @@ namespace PDF_Office.ViewModels.PropertyPanel.AnnotPanel
|
|
|
AnnotEvent?.UpdateAttrib(AnnotAttrib.TextAlign, TextAlignment.Right);
|
|
|
break;
|
|
|
|
|
|
- case "Align":
|
|
|
+ case "Justify":
|
|
|
+ AnnotEvent?.UpdateAttrib(AnnotAttrib.TextAlign, TextAlignment.Justify);
|
|
|
break;
|
|
|
}
|
|
|
|
|
@@ -185,39 +144,62 @@ namespace PDF_Office.ViewModels.PropertyPanel.AnnotPanel
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- private void SelectedFontStyle(object obj)
|
|
|
+ //从预设样式设置文本
|
|
|
+ private void SelectedPresetFont()
|
|
|
{
|
|
|
- if (obj != null && (PresetFontItem)obj != null)
|
|
|
+ if (FontVm.CurrentPresetFont != null)
|
|
|
{
|
|
|
- var item = (PresetFontItem)obj;
|
|
|
+ var itemComboxItem = FontVm.CurrentPresetFont;
|
|
|
|
|
|
- AnnotEvent?.UpdateAttrib(AnnotAttrib.FontSize, item.mFontSize);
|
|
|
+ var item = FontVm.PresetFontList.FirstOrDefault(temp => temp.mTag == itemComboxItem.ValueStr);
|
|
|
+ if (item != null)
|
|
|
+ {
|
|
|
+ FontVm.GetCurrentFontSize(item.mFontSize);
|
|
|
+ FontVm.GetCurrentFontFamily(item.mFontFamily.ToString(), item.mFontFamily.ToString());
|
|
|
+ FontVm.GetFontWeights_Style(item.mFontStyle, item.mFontWeight);
|
|
|
+
|
|
|
+ AnnotEvent?.UpdateAttrib(AnnotAttrib.FontSize, item.mFontSize);
|
|
|
+ AnnotEvent?.UpdateAttrib(AnnotAttrib.FontFamily, item.mFontFamily);
|
|
|
+ AnnotEvent?.UpdateAttrib(AnnotAttrib.FontStyle, item.mFontStyle);
|
|
|
+ AnnotEvent?.UpdateAttrib(AnnotAttrib.FontWeight, item.mFontWeight);
|
|
|
+ AnnotEvent?.UpdateAnnot();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
+ //设置文本字重、样式
|
|
|
+ private void FontStyleWeightChanged()
|
|
|
+ {
|
|
|
+ if(FontVm.CurrrentFontWeightStyle != null)
|
|
|
+ {
|
|
|
+ FontVm.UpdateFontWeight_Style();
|
|
|
+ AnnotEvent?.UpdateAttrib(AnnotAttrib.FontStyle, FontVm.FontWeightItem);
|
|
|
+ AnnotEvent?.UpdateAttrib(AnnotAttrib.FontWeight, FontVm.FontStyleItem);
|
|
|
AnnotEvent?.UpdateAnnot();
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
|
|
|
private void SelectedFillOpacity(object obj)
|
|
|
{
|
|
|
if (obj != null)
|
|
|
{
|
|
|
- FillOpacity = (double)obj;
|
|
|
- SelectColor.Opacity = FillOpacity;
|
|
|
+ BasicVm.FillOpacity = (double)obj;
|
|
|
+ BasicVm.FillColor.Opacity = BasicVm.FillOpacity;
|
|
|
|
|
|
- AnnotEvent?.UpdateAttrib(AnnotAttrib.Transparency, FillOpacity);
|
|
|
+ AnnotEvent?.UpdateAttrib(AnnotAttrib.Transparency, BasicVm.FillOpacity);
|
|
|
AnnotEvent?.UpdateAnnot();
|
|
|
}
|
|
|
}
|
|
|
|
|
|
private void SelectedOpacityValue(object obj)
|
|
|
{
|
|
|
- if (obj != null)
|
|
|
+ if (obj != null && obj is double)
|
|
|
{
|
|
|
- FillOpacity = (double)obj;
|
|
|
- SelectColor.Opacity = FillOpacity;
|
|
|
+ BasicVm.FillOpacity = (double)obj;
|
|
|
+ BasicVm.FillColor.Opacity = BasicVm.FillOpacity;
|
|
|
|
|
|
- AnnotEvent?.UpdateAttrib(AnnotAttrib.Transparency, FillOpacity);
|
|
|
+ AnnotEvent?.UpdateAttrib(AnnotAttrib.Transparency, BasicVm.FillOpacity);
|
|
|
AnnotEvent?.UpdateAnnot();
|
|
|
}
|
|
|
}
|
|
@@ -238,9 +220,13 @@ namespace PDF_Office.ViewModels.PropertyPanel.AnnotPanel
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- private void FontFamilyChanged_Command(object obj)
|
|
|
+ private void FontFamilyChanged_Command()
|
|
|
{
|
|
|
-
|
|
|
+ if (string.IsNullOrEmpty(FontVm.CurrentFontFamily.ValueStr) == false)
|
|
|
+ {
|
|
|
+ AnnotEvent?.UpdateAttrib(AnnotAttrib.FontFamily, new FontFamily(FontVm.CurrentFontFamily.ValueStr));
|
|
|
+ AnnotEvent?.UpdateAnnot();
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
private void SelectedFillColor_Command(object obj)
|
|
@@ -251,12 +237,10 @@ namespace PDF_Office.ViewModels.PropertyPanel.AnnotPanel
|
|
|
if (colorValue != null)
|
|
|
{
|
|
|
|
|
|
- FillColor = new SolidColorBrush(colorValue);
|
|
|
- FillColor.Opacity = FillOpacity;
|
|
|
-
|
|
|
- Dictionary<AnnotArgsType, object> changeData = new Dictionary<AnnotArgsType, object>();
|
|
|
- changeData[AnnotArgsType.AnnotFreehand] = obj;
|
|
|
- PropertyPanel.InvokeToMyTools(this, changeData);
|
|
|
+ BasicVm.FillColor = new SolidColorBrush(colorValue);
|
|
|
+ // BasicVm.FillColor.Opacity = BasicVmFillOpacity;
|
|
|
+ AnnotEvent?.UpdateAttrib(AnnotAttrib.FillColor, colorValue);
|
|
|
+ AnnotEvent?.UpdateAnnot();
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -268,23 +252,19 @@ namespace PDF_Office.ViewModels.PropertyPanel.AnnotPanel
|
|
|
var colorValue = (Color)obj;
|
|
|
if (colorValue != null)
|
|
|
{
|
|
|
-
|
|
|
- SelectColor = new SolidColorBrush(colorValue);
|
|
|
- SelectColor.Opacity = FillOpacity;
|
|
|
-
|
|
|
- Dictionary<AnnotArgsType, object> changeData = new Dictionary<AnnotArgsType, object>();
|
|
|
- changeData[AnnotArgsType.AnnotFreehand] = obj;
|
|
|
- PropertyPanel.InvokeToMyTools(this, changeData);
|
|
|
+ FontVm.FontColor = new SolidColorBrush(colorValue);
|
|
|
+ AnnotEvent?.UpdateAttrib(AnnotAttrib.FontColor, colorValue);
|
|
|
+ AnnotEvent?.UpdateAnnot();
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
private void CustomFontStyle()
|
|
|
{
|
|
|
- if (CurrentPresetFont != null)
|
|
|
+ if (FontVm.CurrentPresetFont != null)
|
|
|
{
|
|
|
ContextMenu menu;
|
|
|
- if (CurrentPresetFont.ValueStr == "custom")
|
|
|
+ if (FontVm.CurrentPresetFont.ValueStr == "custom")
|
|
|
{
|
|
|
menu = SelectAnnotContextMenu(false);
|
|
|
}
|
|
@@ -321,14 +301,14 @@ namespace PDF_Office.ViewModels.PropertyPanel.AnnotPanel
|
|
|
public List<PresetFontItem> FontStyleList = new List<PresetFontItem>();
|
|
|
private void ReDefineFontStyle()
|
|
|
{
|
|
|
- var item = FontStyleList.FirstOrDefault(temp => temp.mTag == CurrentPresetFont.ValueStr);
|
|
|
+ var item = FontStyleList.FirstOrDefault(temp => temp.mTag == FontVm.CurrentPresetFont.ValueStr);
|
|
|
|
|
|
- if (CurrentFontFamily.ValueStr == "Bold")
|
|
|
+ if (FontVm.CurrentFontFamily.ValueStr == "Bold")
|
|
|
{
|
|
|
item.mFontStyle = FontStyles.Normal;
|
|
|
item.mFontWeight = FontWeights.Bold;
|
|
|
}
|
|
|
- else if (CurrentFontFamily.ValueStr == "Regular")
|
|
|
+ else if (FontVm.CurrentFontFamily.ValueStr == "Regular")
|
|
|
{
|
|
|
item.mFontStyle = FontStyles.Normal;
|
|
|
item.mFontWeight = FontWeights.Normal;
|
|
@@ -339,12 +319,12 @@ namespace PDF_Office.ViewModels.PropertyPanel.AnnotPanel
|
|
|
item.mFontWeight = FontWeights.Bold;
|
|
|
}
|
|
|
|
|
|
- item.mFontSize = (int)CurrentFontSize.Value;
|
|
|
+ item.mFontSize = (int)FontVm.CurrentFontSize.Value;
|
|
|
}
|
|
|
|
|
|
private void RestoreDefaultStyle()
|
|
|
{
|
|
|
- var item = FontStyleList.FirstOrDefault(temp => temp.mTag == CurrentPresetFont.ValueStr);
|
|
|
+ // var item = FontStyleList.FirstOrDefault(temp => temp.mTag == CurrentPresetFont.ValueStr);
|
|
|
}
|
|
|
|
|
|
public bool IsNavigationTarget(NavigationContext navigationContext)
|
|
@@ -354,14 +334,9 @@ namespace PDF_Office.ViewModels.PropertyPanel.AnnotPanel
|
|
|
|
|
|
public void OnNavigatedFrom(NavigationContext navigationContext)
|
|
|
{
|
|
|
- IsCanSave = false;
|
|
|
- ChangedValue -= FontMode_ChangedValue;
|
|
|
- IsMultiSelected = false;
|
|
|
+ BasicVm.IsMultiSelected = false;
|
|
|
}
|
|
|
|
|
|
- public AnnotAttribEvent AnnotEvent { get; set; }
|
|
|
- private FreeTextAnnotArgs Annot;
|
|
|
- private AnnotPropertyPanel PropertyPanel;
|
|
|
public void OnNavigatedTo(NavigationContext navigationContext)
|
|
|
{
|
|
|
navigationContext.Parameters.TryGetValue<AnnotPropertyPanel>(ParameterNames.PropertyPanelContentViewModel, out PropertyPanel);
|
|
@@ -370,91 +345,57 @@ namespace PDF_Office.ViewModels.PropertyPanel.AnnotPanel
|
|
|
AnnotEvent = PropertyPanel.AnnotEvent;
|
|
|
Annot = PropertyPanel.annot as FreeTextAnnotArgs;
|
|
|
LoadPropertyHandler?.Invoke(this, Annot);
|
|
|
- ChangedValue -= FontMode_ChangedValue;
|
|
|
- ChangedValue += FontMode_ChangedValue;
|
|
|
if (PropertyPanel.annotlists != null && PropertyPanel.annotlists.Count > 1)
|
|
|
{
|
|
|
- IsMultiSelected = true;
|
|
|
+ BasicVm.IsMultiSelected = true;
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- IsMultiSelected = false;
|
|
|
+ BasicVm.IsMultiSelected = false;
|
|
|
}
|
|
|
|
|
|
- if(IsMultiSelected)
|
|
|
+ if(BasicVm.IsMultiSelected)
|
|
|
{
|
|
|
+ FontVm.CurrentFontFamily = null;
|
|
|
+ FontVm.CurrentFontSize = null;
|
|
|
+ FontVm.CurrrentFontWeightStyle = null;
|
|
|
+ FontVm.CurrentPresetFont = null;
|
|
|
|
|
|
+ BasicVm.SetStrDashStyle("None");
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
GetAnnotProperty();
|
|
|
}
|
|
|
-
|
|
|
- IsCanSave = true;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
private void GetAnnotProperty()
|
|
|
{
|
|
|
- SelectColor = new SolidColorBrush(Annot.FontColor);
|
|
|
- FillColor = new SolidColorBrush(Annot.BgColor);
|
|
|
-
|
|
|
- GetCurrentFontSize((int)Annot.FontSize);
|
|
|
- GetCurrentFontFamily(Annot.FontFamily.ToString(), Annot.FontFamily.ToString());
|
|
|
- GetFontWeights_Style(Annot.FontStyle, Annot.FontWeight);
|
|
|
- }
|
|
|
-
|
|
|
- private void FontMode_ChangedValue(object sender, FontSetModeType e)
|
|
|
- {
|
|
|
- if (sender != null)
|
|
|
- {
|
|
|
- switch (e)
|
|
|
- {
|
|
|
- case FontSetModeType.PresetFontStyes:
|
|
|
- if (PresetFontList != null && sender is string == true)
|
|
|
- {
|
|
|
- var item = PresetFontList.FirstOrDefault(temp => temp.mTag == (string)sender);
|
|
|
- if (item != null && Annot != null)
|
|
|
- {
|
|
|
-
|
|
|
- }
|
|
|
- }
|
|
|
- break;
|
|
|
- case FontSetModeType.FontFamilys:
|
|
|
- if (sender is string == true && IsCanSave)
|
|
|
- {
|
|
|
- AnnotEvent.UpdateAttrib(AnnotAttrib.FontFamily, new FontFamily((string)sender));
|
|
|
- AnnotEvent.UpdateAnnot();
|
|
|
- }
|
|
|
+ BasicVm.FillColor = new SolidColorBrush(Annot.BgColor);
|
|
|
+ BasicVm.FillOpacity = Annot.Transparency;
|
|
|
+
|
|
|
+ FontVm.FontColor = new SolidColorBrush(Annot.FontColor);
|
|
|
+ FontVm.GetCurrentFontSize((int)Annot.FontSize);
|
|
|
+ FontVm.GetCurrentFontFamily(Annot.FontFamily.ToString(), Annot.FontFamily.ToString());
|
|
|
+ FontVm.GetFontWeights_Style(Annot.FontStyle, Annot.FontWeight);
|
|
|
+
|
|
|
+ string str = "";
|
|
|
+ if (Annot.Align == TextAlignment.Left)
|
|
|
+ str = "AlignLeft";
|
|
|
+ else if (Annot.Align == TextAlignment.Center)
|
|
|
+ str = "AlignCenter";
|
|
|
+ else if (Annot.Align == TextAlignment.Right)
|
|
|
+ str = "AlignRight";
|
|
|
+ else if(Annot.Align == TextAlignment.Justify)
|
|
|
+ str = "AlignJustify";
|
|
|
+ else
|
|
|
+ str = "None";
|
|
|
|
|
|
- break;
|
|
|
- case FontSetModeType.FontSizes:
|
|
|
- if (sender is double == true && (double)sender > 0 && Annot.FontSize > 0)
|
|
|
- {
|
|
|
- AnnotEvent.UpdateAttrib(AnnotAttrib.FontSize, (double)sender);
|
|
|
- AnnotEvent.UpdateAnnot();
|
|
|
- }
|
|
|
+ BasicVm.SetStrDashStyle(str);
|
|
|
|
|
|
- break;
|
|
|
- case FontSetModeType.FontWeight_Style:
|
|
|
- UpdateFontWeight_Style();
|
|
|
- AnnotEvent.UpdateAttrib(AnnotAttrib.FontWeight, FontWeightItem);
|
|
|
- AnnotEvent.UpdateAttrib(AnnotAttrib.FontStyle, FontStyleItem);
|
|
|
- AnnotEvent.UpdateAnnot();
|
|
|
- break;
|
|
|
- case FontSetModeType.FontColor:
|
|
|
- if (sender is Color == true)
|
|
|
- {
|
|
|
- AnnotEvent.UpdateAttrib(AnnotAttrib.FontColor, (SelectColor as SolidColorBrush).Color );
|
|
|
- AnnotEvent.UpdateAnnot();
|
|
|
- }
|
|
|
+ }
|
|
|
|
|
|
- break;
|
|
|
|
|
|
- case FontSetModeType.TextAlignment:
|
|
|
- break;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
}
|
|
|
}
|