|
2 | 2 | using System; |
3 | 3 | using System.Collections.Generic; |
4 | 4 |
|
5 | | -namespace Synercoding.FileFormats.Pdf |
| 5 | +namespace Synercoding.FileFormats.Pdf; |
| 6 | + |
| 7 | +/// <summary> |
| 8 | +/// This class contains information about the document |
| 9 | +/// </summary> |
| 10 | +public class DocumentInformation |
6 | 11 | { |
7 | | - /// <summary> |
8 | | - /// This class contains information about the document |
9 | | - /// </summary> |
10 | | - public class DocumentInformation |
| 12 | + internal DocumentInformation(PdfReference id) |
11 | 13 | { |
12 | | - internal DocumentInformation(PdfReference id) |
13 | | - { |
14 | | - Reference = id; |
15 | | - } |
| 14 | + Reference = id; |
| 15 | + } |
16 | 16 |
|
17 | | - /// <summary> |
18 | | - /// The document's title |
19 | | - /// </summary> |
20 | | - public string? Title { get; set; } |
| 17 | + /// <summary> |
| 18 | + /// The document's title |
| 19 | + /// </summary> |
| 20 | + public string? Title { get; set; } |
21 | 21 |
|
22 | | - /// <summary> |
23 | | - /// The name of the person who created the document |
24 | | - /// </summary> |
25 | | - public string? Author { get; set; } |
| 22 | + /// <summary> |
| 23 | + /// The name of the person who created the document |
| 24 | + /// </summary> |
| 25 | + public string? Author { get; set; } |
26 | 26 |
|
27 | | - /// <summary> |
28 | | - /// The subject of the document |
29 | | - /// </summary> |
30 | | - public string? Subject { get; set; } |
| 27 | + /// <summary> |
| 28 | + /// The subject of the document |
| 29 | + /// </summary> |
| 30 | + public string? Subject { get; set; } |
31 | 31 |
|
32 | | - /// <summary> |
33 | | - /// Keywords associated with the document |
34 | | - /// </summary> |
35 | | - public string? Keywords { get; set; } |
| 32 | + /// <summary> |
| 33 | + /// Keywords associated with the document |
| 34 | + /// </summary> |
| 35 | + public string? Keywords { get; set; } |
36 | 36 |
|
37 | | - /// <summary> |
38 | | - /// If the document was converted to PDF from another format, the name of the conforming product that created the original document from which it was converted. Otherwise the name of the application that created the document. |
39 | | - /// </summary> |
40 | | - public string? Creator { get; set; } |
| 37 | + /// <summary> |
| 38 | + /// If the document was converted to PDF from another format, the name of the conforming product that created the original document from which it was converted. Otherwise the name of the application that created the document. |
| 39 | + /// </summary> |
| 40 | + public string? Creator { get; set; } |
41 | 41 |
|
42 | | - /// <summary> |
43 | | - /// If the document was converted to PDF from another format, the name of the conforming product that converted it to PDF. |
44 | | - /// </summary> |
45 | | - public string? Producer { get; set; } |
| 42 | + /// <summary> |
| 43 | + /// If the document was converted to PDF from another format, the name of the conforming product that converted it to PDF. |
| 44 | + /// </summary> |
| 45 | + public string? Producer { get; set; } |
46 | 46 |
|
47 | | - /// <summary> |
48 | | - /// The date and time the document was created, in human-readable form. |
49 | | - /// </summary> |
50 | | - public DateTime? CreationDate { get; set; } = DateTime.Now; |
| 47 | + /// <summary> |
| 48 | + /// The date and time the document was created, in human-readable form. |
| 49 | + /// </summary> |
| 50 | + public DateTime? CreationDate { get; set; } = DateTime.Now; |
51 | 51 |
|
52 | | - /// <summary> |
53 | | - /// The date and time the document was most recently modified, in human-readable form. |
54 | | - /// </summary> |
55 | | - public DateTime? ModDate { get; set; } |
| 52 | + /// <summary> |
| 53 | + /// The date and time the document was most recently modified, in human-readable form. |
| 54 | + /// </summary> |
| 55 | + public DateTime? ModDate { get; set; } |
56 | 56 |
|
57 | | - /// <summary> |
58 | | - /// A pdf reference object that can be used to reference to this object |
59 | | - /// </summary> |
60 | | - public PdfReference Reference { get; } |
| 57 | + /// <summary> |
| 58 | + /// A pdf reference object that can be used to reference to this object |
| 59 | + /// </summary> |
| 60 | + public PdfReference Reference { get; } |
61 | 61 |
|
62 | | - /// <summary> |
63 | | - /// Extra information that will be added to the PDF meta data |
64 | | - /// </summary> |
65 | | - public IDictionary<string, string> ExtraInfo { get; } = new Dictionary<string, string>(); |
66 | | - } |
| 62 | + /// <summary> |
| 63 | + /// Extra information that will be added to the PDF meta data |
| 64 | + /// </summary> |
| 65 | + public IDictionary<string, string> ExtraInfo { get; } = new Dictionary<string, string>(); |
67 | 66 | } |
0 commit comments