Skip to content

Commit 9e9a236

Browse files
committed
Improve large tables processing. Add tests.
Process large tables on different areas the same way as usual tables. Process large tables with custom width. Prohibit adding new content to completed large table. Remove last flushed row group from completed table. Fix a test. DEVSIX-1646 Autoported commit. Original commit hash: [1527d6352]
1 parent 9a2202d commit 9e9a236

File tree

15 files changed

+267
-47
lines changed

15 files changed

+267
-47
lines changed

itext.tests/itext.layout.tests/itext/layout/LargeElementTest.cs

Lines changed: 229 additions & 37 deletions
Large diffs are not rendered by default.

itext/itext.kernel/itext/kernel/PdfException.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ public class PdfException : Exception {
6666

6767
public const String BadUserPassword = "Bad user password. Password is not provided or wrong password provided. Correct password should be passed to PdfReader constructor with properties. See ReaderProperties#setPassword() method.";
6868

69+
public const String CannotAddCellToCompletedLargeTable = "The large table was completed. It's prohibited to use it anymore. Created different Table instance instead.";
70+
6971
public const String CannotAddKidToTheFlushedElement = "Cannot add kid to the flushed element.";
7072

7173
public const String CannotAddNonDictionaryExtGStateToResources1 = "Cannot add graphic state to resources. The PdfObject type is {0}, but should be PdfDictionary.";

0 commit comments

Comments
 (0)