1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using ComPDFKit.Import;
- namespace PDFSettings
- {
- public class HeaderFooterList : List<BatesHeaderFooterItem>
- {
- }
- public class BatesList : List<BatesHeaderFooterItem>
- {
- }
- public class BatesHeaderFooterItem
- {
-
-
-
- public string FileName { get; set; } = "";
-
-
-
- public contentItem[] TextData { get; set; }
-
-
-
- public float[] margin { get; set; }
-
-
-
- public string PageRange { get; set; } = "0";
-
-
-
- public int StarPagetNumber { get; set; } = 1;
-
-
-
- public string Prefix { get; set; } = "";
-
-
-
- public string Suffix { get; set; } = "";
-
-
-
-
-
-
-
- public int DigitNumber { get; set; } = 1;
-
-
-
- public string PageNumberFormat { get; set; } = "1";
-
-
-
- public string DateTimeFormat { get; set; } = "m/d";
-
-
-
- public string PageRangeTag { get; set; } = "All";
- }
- public struct contentItem
- {
- public string text { get; set; }
- public BateHeaderFooter_ContentType textTag { get; set; }
- public string fontName;
- public float fontSize;
- public float fontColorR;
- public float fontColorG;
- public float fontColorB;
- }
- public enum BateHeaderFooter_ContentType
- {
- L_Header,
- C_Header,
- R_Header,
- L_Footer,
- C_Footer,
- R_Footer
- }
- }
|