BatesCreateModel.cs 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. using System;
  2. using System.Collections.Generic;
  3. using PDFSettings;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace PDF_Office.Model.EditTools.Bates
  8. {
  9. public class BatesCreateModel
  10. {
  11. }
  12. public class BatesInfo
  13. {
  14. /// <summary>
  15. /// 模板名称
  16. /// </summary>
  17. public string ItemName = "";
  18. /// <summary>
  19. /// 内容
  20. /// </summary>
  21. public contentItem[] TextData = new contentItem[6];
  22. /// <summary>
  23. /// 间距
  24. /// </summary>
  25. ///
  26. public float[] margin = new float[4];
  27. /// <summary>
  28. /// 起始页
  29. /// </summary>
  30. public int StarPagetNumber = 1;
  31. /// <summary>
  32. /// 贝茨码:前缀
  33. /// </summary>
  34. public string Prefix = "";
  35. /// <summary>
  36. /// 贝茨码:后缀
  37. /// </summary>
  38. public string Suffix = "";
  39. /// <summary>
  40. /// 贝茨码:位数
  41. /// </summary>
  42. public int DigitNumber = 1;
  43. /// <summary>
  44. /// 页面范围
  45. /// </summary>
  46. public string PageRange = "0";
  47. /// <summary>
  48. /// 页面范围索引;
  49. /// 0:全部页面
  50. /// 1:奇数页
  51. /// 2;偶数页
  52. /// 3:自定义页
  53. /// </summary>
  54. public int PageRangeIndex = 0;
  55. }
  56. //public struct contentItem
  57. //{
  58. // public BateHeaderFooter_ContentType textTag;
  59. // public string text;
  60. // public string fontName;
  61. // public float fontSize;
  62. // /// <summary>
  63. // /// 纯色背景颜色
  64. // /// </summary>
  65. // public byte[] Color;
  66. //}
  67. //public enum BateHeaderFooter_ContentType
  68. //{
  69. // L_Header,
  70. // C_Header,
  71. // R_Header,
  72. // L_Footer,
  73. // C_Footer,
  74. // R_Footer
  75. //}
  76. }