You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add separate fields for original and modified ids to PdfDocument
to aid conversion to .xdf format.
- Generate new modified id every time PdfReader is present without PdfWriter.
- Id values in WriterProperties take precedence over id values specified
in PdfReader if both PdfReader and PdfWriter is present.
- Remove id generation inside PdfReader getters.
- Move id generation process to PdfDocument.
- Standard encryption now uses originalDocumentId as a parameter
instead of generating new id every time.
- Change PdfDocumentId and PdfEncryption tests to reflect new behavior.
Copy file name to clipboardExpand all lines: io/src/main/java/com/itextpdf/io/LogMessageConstant.java
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,7 @@ public final class LogMessageConstant {
78
78
publicstaticfinalStringDIRECTONLY_OBJECT_CANNOT_BE_INDIRECT = "DirectOnly object cannot be indirect";
79
79
publicstaticfinalStringDOCFONT_HAS_ILLEGAL_DIFFERENCES = "Document Font has illegal differences array. Entry {0} references a glyph ID over 255 and will be ignored.";
80
80
publicstaticfinalStringDOCUMENT_ALREADY_HAS_FIELD = "The document already has field {0}. Annotations of the fields with this name will be added to the existing one as children. If you want to have separate fields, please, rename them manually before copying.";
81
+
publicstaticfinalStringDOCUMENT_IDS_ARE_CORRUPTED = "The document original and/or modified id is corrupted";
81
82
publicstaticfinalStringDOCUMENT_SERIALIZATION_EXCEPTION_RAISED = "Unhandled exception while serialization";
82
83
publicstaticfinalStringELEMENT_DOES_NOT_FIT_AREA = "Element does not fit current area. {0}";
83
84
publicstaticfinalStringELEMENT_WAS_FORCE_PLACED_KEEP_WITH_NEXT_WILL_BE_IGNORED = "Element was placed in a forced way. Keep with next property will be ignored";
0 commit comments