]> source.dussan.org Git - poi.git/commitdiff
[GitHub-473] Add getCTSettings() to XWPFSettings. This closes #473
authorPJ Fanning <fanningpj@apache.org>
Wed, 14 Jun 2023 11:29:27 +0000 (11:29 +0000)
committerPJ Fanning <fanningpj@apache.org>
Wed, 14 Jun 2023 11:29:27 +0000 (11:29 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910402 13f79535-47bb-0310-9956-ffa450edef68

poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFSettings.java

index 5c9098fb53da80392d9decace5f605b90eb1fbfd..90753d3b92e2bfc13632704ffface7df96f386e5 100644 (file)
@@ -32,6 +32,7 @@ import org.apache.poi.ooxml.util.POIXMLUnits;
 import org.apache.poi.openxml4j.opc.PackagePart;
 import org.apache.poi.poifs.crypt.CryptoFunctions;
 import org.apache.poi.poifs.crypt.HashAlgorithm;
+import org.apache.poi.util.Internal;
 import org.apache.poi.util.RandomSingleton;
 import org.apache.xmlbeans.XmlOptions;
 import org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STAlgClass;
@@ -68,6 +69,15 @@ public class XWPFSettings extends POIXMLDocumentPart {
         }
     }
 
+    /**
+     * @return ctSettings instance
+     * @since POI 5.2.4
+     */
+    @Internal
+    public CTSettings getCTSettings() {
+        return ctSettings;
+    }
+
     /**
      * Set zoom.<br>
      * In the zoom tag inside settings.xml file <br>