File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
forms/src/main/java/com/itextpdf/forms/fields Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -86,8 +86,6 @@ This file is part of the iText (R) project.
86
86
import com .itextpdf .layout .property .Property ;
87
87
import com .itextpdf .layout .property .TextAlignment ;
88
88
import com .itextpdf .layout .property .VerticalAlignment ;
89
- import org .slf4j .Logger ;
90
- import org .slf4j .LoggerFactory ;
91
89
92
90
import java .io .IOException ;
93
91
import java .nio .charset .StandardCharsets ;
@@ -96,6 +94,9 @@ This file is part of the iText (R) project.
96
94
import java .util .List ;
97
95
import java .util .Set ;
98
96
97
+ import org .slf4j .Logger ;
98
+ import org .slf4j .LoggerFactory ;
99
+
99
100
/**
100
101
* This class represents a single field or field group in an {@link com.itextpdf.forms.PdfAcroForm
101
102
* AcroForm}.
@@ -1911,6 +1912,7 @@ public boolean regenerateField() {
1911
1912
appearance .getResources ().addFont (getDocument (), localFont );
1912
1913
PdfDictionary ap = new PdfDictionary ();
1913
1914
ap .put (PdfName .N , appearance .getPdfObject ());
1915
+ ap .setModified ();
1914
1916
put (PdfName .AP , ap );
1915
1917
1916
1918
return true ;
You can’t perform that action at this time.
0 commit comments