PdfRewriteReport class
Report of what the rewrite did, for logging, auditing and testing.
Constructors
Properties
- bytesAfter → int
-
Size of the rewritten file, in bytes.
final
- bytesBefore → int
-
Size of the source file, in bytes.
final
- bytesSaved → int
-
Bytes saved. Negative when the file grew — which happens when the source
used object streams and the output does not.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- invalidatedSignatures → bool
-
Whether any signature was invalidated by the rewrite.
no setter
- objectsAfter → int
-
Indirect objects written to the new file.
final
- objectsBefore → int
-
Indirect objects in use that the cross-reference table of the source knew
about.
final
- pagesAfter → int
-
Pages in the result. A difference here is page loss, and it comes with a
warning.
final
- pagesBefore → int
-
Pages in the source.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signatureFieldsBefore → int
-
Signature fields found in the source — all of them invalidated by the
rewrite.
final
- sizeRatio → double
-
Fraction of the original size that is left (
0.4= the file kept 40%).no setter -
warnings
→ List<
String> -
Non-fatal warnings from the importer: unreadable objects, dropped
destinations, invalidated signatures, renamed fields.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited