protected override void FlushObject(PdfObject pdfObject, bool canBeInObjStm) { MarkObjectAsMustBeFlushed(pdfObject); if (isClosing || checker.ObjectIsChecked(pdfObject)) { base.FlushObject(pdfObject, canBeInObjStm); } }
protected override void FlushObject(PdfObject pdfObject, bool canBeInObjStm) { MarkObjectAsMustBeFlushed(pdfObject); if (isClosing || checker.ObjectIsChecked(pdfObject)) { base.FlushObject(pdfObject, canBeInObjStm); } else { if (!alreadyLoggedThatObjectFlushingWasNotPerformed) { alreadyLoggedThatObjectFlushingWasNotPerformed = true; // This log message will be printed once for one instance of the document. LogManager.GetLogger(typeof(iText.Pdfa.PdfADocument)).Warn(PdfALogMessageConstant.PDFA_OBJECT_FLUSHING_WAS_NOT_PERFORMED ); } } }