123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using ComPDFKit.Import;
- namespace PDFSettings
- {
- public class HeaderFooterTemplateList: List<BatesHeaderFooterItem>
- {
- }
- public class BatesTemplateList : List<BatesHeaderFooterItem>
- {
- }
- public class BatesHeaderFooterItem
- {
-
-
-
- public string ItemName = "";
-
-
-
- public contentItem[] TextData = null;
-
-
-
-
- public float[] margin = null;
-
-
-
- public string PageRange = "0";
-
-
-
- public int StarPagetNumber = 1;
-
-
-
- public string Prefix = "";
-
-
-
- public string Suffix = "";
-
-
-
-
-
-
-
- public int DigitNumber = 1;
-
-
-
- public string PageNumberFormat = "1";
-
-
-
- public string DateTimeFormat = "m/d";
-
-
-
-
-
-
-
- public int PageRangeIndex = 0;
- public int listIndex = 0;
- }
- public struct contentItem
- {
- public BateHeaderFooter_ContentType textTag;
- public string text;
- public string fontName;
- public float fontSize;
- public byte[] Color;
- 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
- }
- }
|