Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
What Is poi-ooxml-5.2.3.jar?
What Is poi-ooxml-5.2.3.jar?
✍: FYIcenter.com
poi-ooxml-5.2.3.jar is one of the JAR files for Apache POI 5.2.3, which provides an API for Microsoft document files of Word, Excel, PowerPoint, and Visio.
poi-ooxml-5.2.3.jar supports Apache POI components that read and write Microsoft's Open Office XML document format, which is used in recent versions of Microsoft Office tools like Word 2007, Excel 2007, PowerPoint 2007, etc.
poi-ooxml-5.2.3.jar is distributed as part of the poi-bin-5.2.3-20220909.zip download file.
JAR File Size and Download Location:
JAR name: poi-ooxml-5.2.3.jar Target JDK version: 9 Dependency: poi.jar xmlbeans.jar ooxml-schemas.jar commons-collections.jar junit.jar File name: poi-ooxml.jar, poi-ooxml-5.2.3.jar File size: 2010497 bytes Release date: 09-09-2022 Download: Apache POI Website
Here are Java Source Code files for poi-ooxml-5.2.3.jar:
⏎ org/apache/poi/xslf/usermodel/XSLFTheme.java
/* ==================================================================== Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ==================================================================== */ package org.apache.poi.xslf.usermodel; import static org.apache.poi.ooxml.POIXMLTypeLoader.DEFAULT_XML_OPTIONS; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import javax.xml.namespace.QName; import org.apache.poi.ooxml.POIXMLDocumentPart; import org.apache.poi.openxml4j.opc.PackagePart; import org.apache.poi.util.Beta; import org.apache.poi.util.Internal; import org.apache.xmlbeans.XmlException; import org.apache.xmlbeans.XmlOptions; import org.openxmlformats.schemas.drawingml.x2006.main.CTBaseStyles; import org.openxmlformats.schemas.drawingml.x2006.main.CTColor; import org.openxmlformats.schemas.drawingml.x2006.main.CTColorScheme; import org.openxmlformats.schemas.drawingml.x2006.main.CTOfficeStyleSheet; import org.openxmlformats.schemas.drawingml.x2006.main.ThemeDocument; /** * A shared style sheet in a .pptx slide show */ @Beta public class XSLFTheme extends POIXMLDocumentPart { private CTOfficeStyleSheet _theme; XSLFTheme() { _theme = CTOfficeStyleSheet.Factory.newInstance(); } /** * @since POI 3.14-Beta1 */ public XSLFTheme(PackagePart part) throws IOException, XmlException { super(part); try (InputStream stream = getPackagePart().getInputStream()) { ThemeDocument doc = ThemeDocument.Factory.parse(stream, DEFAULT_XML_OPTIONS); _theme = doc.getTheme(); } } @SuppressWarnings("WeakerAccess") public void importTheme(XSLFTheme theme) { _theme = theme.getXmlObject(); } /** * * @return name of this theme, e.g. "Office Theme" */ public String getName(){ return _theme.getName(); } /** * Set name of this theme * * @param name name of this theme */ public void setName(String name){ _theme.setName(name); } /** * Get a color from the theme's color scheme by name * * @return a theme color or <code>null</code> if not found */ @Internal public CTColor getCTColor(String name) { CTBaseStyles elems = _theme.getThemeElements(); CTColorScheme scheme = (elems == null) ? null : elems.getClrScheme(); return getMapColor(name, scheme); } private static CTColor getMapColor(String mapName, CTColorScheme scheme) { if (mapName == null || scheme == null) { return null; } switch (mapName) { case "accent1": return scheme.getAccent1(); case "accent2": return scheme.getAccent2(); case "accent3": return scheme.getAccent3(); case "accent4": return scheme.getAccent4(); case "accent5": return scheme.getAccent5(); case "accent6": return scheme.getAccent6(); case "dk1": return scheme.getDk1(); case "dk2": return scheme.getDk2(); case "folHlink": return scheme.getFolHlink(); case "hlink": return scheme.getHlink(); case "lt1": return scheme.getLt1(); case "lt2": return scheme.getLt2(); default: return null; } } /** * While developing only! */ @Internal public CTOfficeStyleSheet getXmlObject() { return _theme; } @Override protected final void commit() throws IOException { XmlOptions xmlOptions = new XmlOptions(DEFAULT_XML_OPTIONS); xmlOptions.setSaveSyntheticDocumentElement( new QName(XSLFRelation.NS_DRAWINGML, "theme")); PackagePart part = getPackagePart(); try (OutputStream out = part.getOutputStream()) { getXmlObject().save(out, xmlOptions); } } /** * @return typeface of the major font to use in a document. * Typically the major font is used for heading areas of a document. * */ @SuppressWarnings("WeakerAccess") public String getMajorFont(){ return _theme.getThemeElements().getFontScheme().getMajorFont().getLatin().getTypeface(); } /** * @return typeface of the minor font to use in a document. * Typically the monor font is used for normal text or paragraph areas. * */ @SuppressWarnings("WeakerAccess") public String getMinorFont(){ return _theme.getThemeElements().getFontScheme().getMinorFont().getLatin().getTypeface(); } }
⏎ org/apache/poi/xslf/usermodel/XSLFTheme.java
Or download all of them as a single archive file:
File name: poi-ooxml-5.2.3-src.zip File size: 1396572 bytes Release date: 2022-09-09 Download
⇒ What Is poi-excelant-5.2.3.jar?
2017-04-01, 37262👍, 0💬
Popular Posts:
Apache Commons Lang 3 is the 3rd version of Apache Commons Lang, which provides a host of helper uti...
JAX-WS is an API for building web services and clients. It is the next generation Web Services API r...
ASM is an all purpose Java bytecode manipulation and analysis framework. It can be used to modify ex...
How to download and install xml-commons External Source Package? The source package contains Java so...
commons-fileupload-1.3.3 -sources.jaris the source JAR file for Apache Commons FileUpload 1.3., whic...