From 60bc28c4a6940150b416c0d3fe2aad64ac0d3e8a Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Sun, 28 Aug 2022 16:22:32 +0000 Subject: [PATCH] reuse code git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903741 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/xssf/usermodel/XSSFBuiltinTableStyle.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFBuiltinTableStyle.java b/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFBuiltinTableStyle.java index a9d183fe93..347f1895eb 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFBuiltinTableStyle.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFBuiltinTableStyle.java @@ -41,6 +41,8 @@ import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; +import static org.apache.poi.xssf.usermodel.XSSFRelation.NS_SPREADSHEETML; + /** * Table style names defined in the OOXML spec. * The actual styling is defined in presetTableStyles.xml @@ -424,7 +426,7 @@ public enum XSSFBuiltinTableStyle { dxfsNode.insertBefore(dxfsNode.getOwnerDocument().createElement("dxf"), dxfsNode.getFirstChild()); return "\n" + - "