Browse Source

[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
tags/REL_5_2_4
PJ Fanning 1 year ago
parent
commit
6943cc9a9c

+ 10
- 0
poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFSettings.java 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>

Loading…
Cancel
Save