-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework table paragraph substitution/removal
While debugging replacing custom placeholders in tables, another issues related to nested paragraph substitution/removal was uncovered. This has been fixed at the price of more complicated code involving accessing the raw xml stuff.
- Loading branch information
1 parent
09bb80f
commit 65a2937
Showing
6 changed files
with
159 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ plugins { | |
} | ||
|
||
group 'com.docutools' | ||
version = '1.6.2' | ||
version = '1.6.3-beta.1' | ||
|
||
java { | ||
toolchain { | ||
|
8 changes: 8 additions & 0 deletions
8
src/main/java/com/docutools/jocument/impl/word/ElementRemovalException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package com.docutools.jocument.impl.word; | ||
|
||
//TODO move to checked expression on major version bump | ||
public class ElementRemovalException extends RuntimeException { | ||
public ElementRemovalException(Exception e) { | ||
super(e); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+7.99 KB
src/test/resources/templates/word/CustomPlaceholderInTableTemplate.docx
Binary file not shown.