[GitHub-473] Add getCTSettings() to XWPFSettings. This closes #473

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910402 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2023-06-14 11:29:27 +00:00
parent 51bd992387
commit 6943cc9a9c

View 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>