@@ -54,7 +54,7 @@ public virtual void ConvertToPdfA3USimpleTest() {
54
54
String cmpPdf = SOURCE_FOLDER + "cmp_simple.pdf" ;
55
55
String destinationPdf = DESTINATION_FOLDER + "simple.pdf" ;
56
56
ConverterProperties converterProperties = new ConverterProperties ( ) ;
57
- converterProperties . SetPdfAConformanceLevel ( PdfAConformanceLevel . PDF_A_3U ) ;
57
+ converterProperties . SetPdfAConformance ( PdfAConformance . PDF_A_3U ) ;
58
58
converterProperties . SetDocumentOutputIntent ( new PdfOutputIntent ( "Custom" , "" , "http://www.color.org" , "sRGB IEC61966-2.1"
59
59
, new FileStream ( SOURCE_FOLDER + "sRGB Color Space Profile.icm" , FileMode . Open , FileAccess . Read ) ) ) ;
60
60
using ( FileStream fileInputStream = new FileStream ( sourceHtml , FileMode . Open , FileAccess . Read ) ) {
@@ -69,7 +69,7 @@ public virtual void ConvertToPdfA3USimpleFromStringTest() {
69
69
String cmpPdf = SOURCE_FOLDER + "cmp_simple.pdf" ;
70
70
String destinationPdf = DESTINATION_FOLDER + "simple.pdf" ;
71
71
ConverterProperties converterProperties = new ConverterProperties ( ) ;
72
- converterProperties . SetPdfAConformanceLevel ( PdfAConformanceLevel . PDF_A_3U ) ;
72
+ converterProperties . SetPdfAConformance ( PdfAConformance . PDF_A_3U ) ;
73
73
converterProperties . SetDocumentOutputIntent ( new PdfOutputIntent ( "Custom" , "" , "http://www.color.org" , "sRGB IEC61966-2.1"
74
74
, new FileStream ( SOURCE_FOLDER + "sRGB Color Space Profile.icm" , FileMode . Open , FileAccess . Read ) ) ) ;
75
75
HtmlConverter . ConvertToPdf ( "<html>\n " + "<head><title>Test</title></head>\n " + "<body >\n " + "<form>\n " +
@@ -84,7 +84,7 @@ public virtual void ConvertToPdfA3ASimpleTest() {
84
84
String cmpPdf = SOURCE_FOLDER + "cmp_simple_a.pdf" ;
85
85
String destinationPdf = DESTINATION_FOLDER + "simple_a.pdf" ;
86
86
ConverterProperties converterProperties = new ConverterProperties ( ) ;
87
- converterProperties . SetPdfAConformanceLevel ( PdfAConformanceLevel . PDF_A_3U ) ;
87
+ converterProperties . SetPdfAConformance ( PdfAConformance . PDF_A_3U ) ;
88
88
converterProperties . SetDocumentOutputIntent ( new PdfOutputIntent ( "Custom" , "" , "http://www.color.org" , "sRGB IEC61966-2.1"
89
89
, new FileStream ( SOURCE_FOLDER + "sRGB Color Space Profile.icm" , FileMode . Open , FileAccess . Read ) ) ) ;
90
90
using ( FileStream fileInputStream = new FileStream ( sourceHtml , FileMode . Open , FileAccess . Read ) ) {
@@ -102,7 +102,7 @@ public virtual void ConvertToPdfA3ColorsTest() {
102
102
String destinationPdf = DESTINATION_FOLDER + "pdfA3ColorTest.pdf" ;
103
103
String cmpPdf = SOURCE_FOLDER + "cmp_pdfA3ColorTest.pdf" ;
104
104
ConverterProperties converterProperties = new ConverterProperties ( ) ;
105
- converterProperties . SetPdfAConformanceLevel ( PdfAConformanceLevel . PDF_A_3U ) ;
105
+ converterProperties . SetPdfAConformance ( PdfAConformance . PDF_A_3U ) ;
106
106
converterProperties . SetDocumentOutputIntent ( new PdfOutputIntent ( "Custom" , "" , "http://www.color.org" , "sRGB IEC61966-2.1"
107
107
, new FileStream ( SOURCE_FOLDER + "sRGB Color Space Profile.icm" , FileMode . Open , FileAccess . Read ) ) ) ;
108
108
using ( FileStream fileInputStream = new FileStream ( sourceHtml , FileMode . Open , FileAccess . Read ) ) {
@@ -118,7 +118,7 @@ public virtual void ConvertToPdfA3UWithCustomFontProviderTest() {
118
118
String cmpPdf = SOURCE_FOLDER + "cmp_simple_custom_font.pdf" ;
119
119
String destinationPdf = DESTINATION_FOLDER + "simple_custom_font.pdf" ;
120
120
ConverterProperties converterProperties = new ConverterProperties ( ) ;
121
- converterProperties . SetPdfAConformanceLevel ( PdfAConformanceLevel . PDF_A_3U ) ;
121
+ converterProperties . SetPdfAConformance ( PdfAConformance . PDF_A_3U ) ;
122
122
converterProperties . SetDocumentOutputIntent ( new PdfOutputIntent ( "Custom" , "" , "http://www.color.org" , "sRGB IEC61966-2.1"
123
123
, new FileStream ( SOURCE_FOLDER + "sRGB Color Space Profile.icm" , FileMode . Open , FileAccess . Read ) ) ) ;
124
124
DefaultFontProvider fontProvider = new DefaultFontProvider ( false , false , false ) ;
@@ -137,8 +137,8 @@ public virtual void ConvertToPdfA3TaggedTest() {
137
137
String cmpPdf = SOURCE_FOLDER + "cmp_pdfA3TaggedTest.pdf" ;
138
138
String destinationPdf = DESTINATION_FOLDER + "pdfA3TaggedTest.pdf" ;
139
139
ConverterProperties converterProperties = new ConverterProperties ( ) . SetBaseUri ( SOURCE_FOLDER ) ;
140
- PdfADocument pdfADocument = new PdfADocument ( new PdfWriter ( destinationPdf ) , PdfAConformanceLevel . PDF_A_3U ,
141
- new PdfOutputIntent ( "Custom" , "" , "http://www.color.org" , "sRGB IEC61966-2.1" , new FileStream ( SOURCE_FOLDER
140
+ PdfADocument pdfADocument = new PdfADocument ( new PdfWriter ( destinationPdf ) , PdfAConformance . PDF_A_3U , new
141
+ PdfOutputIntent ( "Custom" , "" , "http://www.color.org" , "sRGB IEC61966-2.1" , new FileStream ( SOURCE_FOLDER
142
142
+ "sRGB Color Space Profile.icm" , FileMode . Open , FileAccess . Read ) ) ) ;
143
143
pdfADocument . SetTagged ( ) ;
144
144
HtmlConverter . ConvertToPdf ( new FileStream ( sourceHtml , FileMode . Open , FileAccess . Read ) , pdfADocument , converterProperties
@@ -152,7 +152,7 @@ public virtual void ConvertToPdfA3UnreferencedGlyphsTest() {
152
152
String html = "<html>\n " + "<head>" + "<title>Test</title></head>\n " + "<body >\n " + "<p>أميرة</p>" + "</body>\n "
153
153
+ "</html>" ;
154
154
ConverterProperties converterProperties = new ConverterProperties ( ) ;
155
- converterProperties . SetPdfAConformanceLevel ( PdfAConformanceLevel . PDF_A_3U ) ;
155
+ converterProperties . SetPdfAConformance ( PdfAConformance . PDF_A_3U ) ;
156
156
converterProperties . SetDocumentOutputIntent ( new PdfOutputIntent ( "Custom" , "" , "http://www.color.org" , "sRGB IEC61966-2.1"
157
157
, new FileStream ( SOURCE_FOLDER + "sRGB Color Space Profile.icm" , FileMode . Open , FileAccess . Read ) ) ) ;
158
158
DefaultFontProvider fontProvider = new DefaultFontProvider ( false , false , false ) ;
@@ -175,7 +175,7 @@ public virtual void ConvertToPdfA3ArabicFontTest() {
175
175
String html = "<html>\n " + "<head>" + "<title>Test</title></head>\n " + "<body >\n " + "<p>أميرة</p>" + "</body>\n "
176
176
+ "</html>" ;
177
177
ConverterProperties converterProperties = new ConverterProperties ( ) ;
178
- converterProperties . SetPdfAConformanceLevel ( PdfAConformanceLevel . PDF_A_3U ) ;
178
+ converterProperties . SetPdfAConformance ( PdfAConformance . PDF_A_3U ) ;
179
179
converterProperties . SetDocumentOutputIntent ( new PdfOutputIntent ( "Custom" , "" , "http://www.color.org" , "sRGB IEC61966-2.1"
180
180
, new FileStream ( SOURCE_FOLDER + "sRGB Color Space Profile.icm" , FileMode . Open , FileAccess . Read ) ) ) ;
181
181
DefaultFontProvider fontProvider = new DefaultFontProvider ( false , false , false ) ;
@@ -192,7 +192,7 @@ public virtual void ConvertToPdfA3UnreferencedEmojiTest() {
192
192
String html = "<html>\n " + "<head>" + "<title>Test</title></head>\n " + "<body >\n " + "<p>\uD83D \uDE09 </p>"
193
193
+ "</body>\n " + "</html>" ;
194
194
ConverterProperties converterProperties = new ConverterProperties ( ) ;
195
- converterProperties . SetPdfAConformanceLevel ( PdfAConformanceLevel . PDF_A_3U ) ;
195
+ converterProperties . SetPdfAConformance ( PdfAConformance . PDF_A_3U ) ;
196
196
converterProperties . SetDocumentOutputIntent ( new PdfOutputIntent ( "Custom" , "" , "http://www.color.org" , "sRGB IEC61966-2.1"
197
197
, new FileStream ( SOURCE_FOLDER + "sRGB Color Space Profile.icm" , FileMode . Open , FileAccess . Read ) ) ) ;
198
198
DefaultFontProvider fontProvider = new DefaultFontProvider ( false , false , false ) ;
@@ -215,7 +215,7 @@ public virtual void ConvertToPdfA3EmojiTest() {
215
215
String html = "<html>\n " + "<head>" + "<title>Test</title></head>\n " + "<body>\n " + "<p>\uD83D \uDE09 </p>"
216
216
+ "</body>\n " + "</html>" ;
217
217
ConverterProperties converterProperties = new ConverterProperties ( ) ;
218
- converterProperties . SetPdfAConformanceLevel ( PdfAConformanceLevel . PDF_A_3U ) ;
218
+ converterProperties . SetPdfAConformance ( PdfAConformance . PDF_A_3U ) ;
219
219
converterProperties . SetDocumentOutputIntent ( new PdfOutputIntent ( "Custom" , "" , "http://www.color.org" , "sRGB IEC61966-2.1"
220
220
, new FileStream ( SOURCE_FOLDER + "sRGB Color Space Profile.icm" , FileMode . Open , FileAccess . Read ) ) ) ;
221
221
DefaultFontProvider fontProvider = new DefaultFontProvider ( false , false , false ) ;
0 commit comments