-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPdfEnvelopeSettings.cs
59 lines (53 loc) · 2.15 KB
/
PdfEnvelopeSettings.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
public class PdfEnvelopeSettings
{
public PdfEnvelopeSettings()
{
CoverPage = new CoverPage();
PageHeader = new PageHeader();
PageFooter = new PageFooter();
}
public CoverPage CoverPage { get; set; }
public PageHeader PageHeader { get; set; }
public PageFooter PageFooter { get; set; }
public int PageNumberOffset { get; set; } = -1;
public bool RemoveAnnotationsOtherThanLinks { get; set; }
}
public class CoverPage
{
public string Topic { get; set; } = string.Empty;
public string Subtopic { get; set; } = string.Empty;
public string Title { get; set; } = string.Empty;
public string Subtitle { get; set; } = string.Empty;
public string Organization { get; set; } = string.Empty;
public string Version { get; set; } = string.Empty;
public string Author { get; set; } = string.Empty;
public string Date { get; set; } = string.Empty;
public string Disclaimer { get; set; } = string.Empty;
public bool ShowSignatureArea { get; set; } = false;
public bool AddAdobeSignTags { get; set; } = false;
public string AdobeSignTagPattern { get; set; } = "";
public string RoleAuthor { get; set; } = "AR";
public string RoleApprover { get; set; } = "AR";
}
public class PageHeader
{
public string TextLeft1 { get; set; } = string.Empty;
public string TextLeft2 { get; set; } = string.Empty;
public string TextCenter1 { get; set; } = string.Empty;
public string TextCenter2 { get; set; } = string.Empty;
public string TextRight1 { get; set; } = string.Empty;
public string TextRight2 { get; set; } = string.Empty;
public bool DrawLine { get; set; }
public bool ExcludeCoverPage { get; set; }
}
public class PageFooter
{
public string TextLeft1 { get; set; } = string.Empty;
public string TextLeft2 { get; set; } = string.Empty;
public string TextCenter1 { get; set; } = string.Empty;
public string TextCenter2 { get; set; } = string.Empty;
public string TextRight1 { get; set; } = string.Empty;
public string TextRight2 { get; set; } = string.Empty;
public bool DrawLine { get; set; }
public bool ExcludeCoverPage { get; set; }
}