|
@@ -11,7 +11,7 @@ namespace PDF_Office.Model.PropertyPanel.AnnotPanel
|
|
{
|
|
{
|
|
#region 自定义文字样式选项
|
|
#region 自定义文字样式选项
|
|
|
|
|
|
- public class FontStyleItem
|
|
|
|
|
|
+ public class PresetFontItem
|
|
{
|
|
{
|
|
public string mTag { get; set; }
|
|
public string mTag { get; set; }
|
|
|
|
|
|
@@ -28,10 +28,10 @@ namespace PDF_Office.Model.PropertyPanel.AnnotPanel
|
|
|
|
|
|
public class TextFont
|
|
public class TextFont
|
|
{
|
|
{
|
|
- public static List<FontStyleItem> GetPresetFontStyle()
|
|
|
|
|
|
+ public static List<PresetFontItem> GetPresetFontStyle()
|
|
{
|
|
{
|
|
- List<FontStyleItem> fontStyleList = new List<FontStyleItem>();
|
|
|
|
- FontStyleItem custom = new FontStyleItem();
|
|
|
|
|
|
+ List<PresetFontItem> fontStyleList = new List<PresetFontItem>();
|
|
|
|
+ PresetFontItem custom = new PresetFontItem();
|
|
custom.mTag = "custom";
|
|
custom.mTag = "custom";
|
|
custom.mTagContent = "自定义";
|
|
custom.mTagContent = "自定义";
|
|
|
|
|
|
@@ -40,7 +40,7 @@ namespace PDF_Office.Model.PropertyPanel.AnnotPanel
|
|
custom.mFontStyle = FontStyles.Normal;
|
|
custom.mFontStyle = FontStyles.Normal;
|
|
custom.mFontWeight = FontWeights.Normal;
|
|
custom.mFontWeight = FontWeights.Normal;
|
|
|
|
|
|
- FontStyleItem h1 = new FontStyleItem();
|
|
|
|
|
|
+ PresetFontItem h1 = new PresetFontItem();
|
|
h1.mTag = "H1";
|
|
h1.mTag = "H1";
|
|
h1.mTagContent = "H1大标题";
|
|
h1.mTagContent = "H1大标题";
|
|
|
|
|
|
@@ -49,7 +49,7 @@ namespace PDF_Office.Model.PropertyPanel.AnnotPanel
|
|
h1.mFontStyle = FontStyles.Normal;
|
|
h1.mFontStyle = FontStyles.Normal;
|
|
h1.mFontWeight = FontWeights.Normal;
|
|
h1.mFontWeight = FontWeights.Normal;
|
|
|
|
|
|
- FontStyleItem h2 = new FontStyleItem();
|
|
|
|
|
|
+ PresetFontItem h2 = new PresetFontItem();
|
|
h2.mTag = "H2";
|
|
h2.mTag = "H2";
|
|
h2.mTagContent = "h2(标准)";
|
|
h2.mTagContent = "h2(标准)";
|
|
|
|
|
|
@@ -59,7 +59,7 @@ namespace PDF_Office.Model.PropertyPanel.AnnotPanel
|
|
h2.mFontWeight = FontWeights.Bold;
|
|
h2.mFontWeight = FontWeights.Bold;
|
|
|
|
|
|
|
|
|
|
- FontStyleItem h3 = new FontStyleItem();
|
|
|
|
|
|
+ PresetFontItem h3 = new PresetFontItem();
|
|
h3.mTag = "H3";
|
|
h3.mTag = "H3";
|
|
h3.mTagContent = "H3小标题";
|
|
h3.mTagContent = "H3小标题";
|
|
|
|
|
|
@@ -68,7 +68,7 @@ namespace PDF_Office.Model.PropertyPanel.AnnotPanel
|
|
h3.mFontStyle = FontStyles.Normal;
|
|
h3.mFontStyle = FontStyles.Normal;
|
|
h3.mFontWeight = FontWeights.Bold;
|
|
h3.mFontWeight = FontWeights.Bold;
|
|
|
|
|
|
- FontStyleItem b1 = new FontStyleItem();
|
|
|
|
|
|
+ PresetFontItem b1 = new PresetFontItem();
|
|
b1.mTag = "B1";
|
|
b1.mTag = "B1";
|
|
b1.mTagContent = "B1标题";
|
|
b1.mTagContent = "B1标题";
|
|
|
|
|
|
@@ -78,7 +78,7 @@ namespace PDF_Office.Model.PropertyPanel.AnnotPanel
|
|
b1.mFontWeight = FontWeights.Normal;
|
|
b1.mFontWeight = FontWeights.Normal;
|
|
|
|
|
|
|
|
|
|
- FontStyleItem b2 = new FontStyleItem();
|
|
|
|
|
|
+ PresetFontItem b2 = new PresetFontItem();
|
|
b2.mTag = "B2";
|
|
b2.mTag = "B2";
|
|
b2.mTagContent = "B2标题";
|
|
b2.mTagContent = "B2标题";
|
|
|
|
|
|
@@ -87,7 +87,7 @@ namespace PDF_Office.Model.PropertyPanel.AnnotPanel
|
|
b2.mFontStyle = FontStyles.Normal;
|
|
b2.mFontStyle = FontStyles.Normal;
|
|
b2.mFontWeight = FontWeights.Normal;
|
|
b2.mFontWeight = FontWeights.Normal;
|
|
|
|
|
|
- FontStyleItem b3 = new FontStyleItem();
|
|
|
|
|
|
+ PresetFontItem b3 = new PresetFontItem();
|
|
b3.mTag = "B3";
|
|
b3.mTag = "B3";
|
|
b3.mTagContent = "B3标题";
|
|
b3.mTagContent = "B3标题";
|
|
|
|
|