Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
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 (322)
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/xdgf/usermodel/XmlVisioDocument.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.xdgf.usermodel;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import org.apache.poi.ooxml.POIXMLDocument;
import org.apache.poi.ooxml.POIXMLDocumentPart;
import org.apache.poi.ooxml.POIXMLException;
import org.apache.poi.openxml4j.opc.OPCPackage;
import org.apache.poi.openxml4j.opc.PackagePart;
import org.apache.poi.openxml4j.opc.PackageRelationshipTypes;
import org.apache.poi.ooxml.util.PackageHelper;
import org.apache.xmlbeans.XmlException;
import com.microsoft.schemas.office.visio.x2012.main.VisioDocumentDocument1;
import com.microsoft.schemas.office.visio.x2012.main.VisioDocumentType;
/**
* This is your high-level starting point for working with Visio XML
* documents (.vsdx).
*
* Currently, only read support has been implemented, and the API is
* not mature and is subject to change.
*
* For more information about the visio XML format (with an XSD 1.0
* schema), you can find documentation at
* https://msdn.microsoft.com/en-us/library/hh645006(v=office.12).aspx
*
* That document lacks in some areas, but you can find additional
* documentation and an updated XSD 1.1 schema at
* https://msdn.microsoft.com/en-us/library/office/jj684209(v=office.15).aspx
*
* Each provides different details, but the SharePoint reference
* has better documentation and is more useful.
*/
public class XmlVisioDocument extends POIXMLDocument {
protected XDGFPages _pages;
protected XDGFMasters _masters;
protected XDGFDocument _document;
public XmlVisioDocument(OPCPackage pkg) throws IOException {
super(pkg, PackageRelationshipTypes.VISIO_CORE_DOCUMENT);
VisioDocumentType document;
try (InputStream stream = getPackagePart().getInputStream()){
document = VisioDocumentDocument1.Factory.parse(stream).getVisioDocument();
} catch (XmlException | IOException e) {
throw new POIXMLException(e);
}
_document = new XDGFDocument(document);
//build a tree of POIXMLDocumentParts, this document being the root
load(new XDGFFactory(_document));
}
public XmlVisioDocument(InputStream is) throws IOException {
this(PackageHelper.open(is));
}
@Override
protected void onDocumentRead() {
// by the time this gets called, all other document parts should
// have been loaded, so it's safe to build the document structure
// note that in other onDocumentRead(), relations/etc may not have
// loaded yet, so it's not quite safe
for (POIXMLDocumentPart part : getRelations()) {
// organize the document pieces
if (part instanceof XDGFPages) {
_pages = (XDGFPages) part;
} else if (part instanceof XDGFMasters) {
_masters = (XDGFMasters) part;
}
}
if (_masters != null) {
_masters.onDocumentRead();
}
if (_pages != null) {
_pages.onDocumentRead();
}
}
/**
* Not currently implemented
*/
@Override
public List<PackagePart> getAllEmbeddedParts() {
return new ArrayList<>();
}
//
// Useful public API goes here
//
/**
* @return pages ordered by page number
*/
public Collection<XDGFPage> getPages() {
return _pages.getPageList();
}
public XDGFStyleSheet getStyleById(long id) {
return _document.getStyleById(id);
}
}
⏎ org/apache/poi/xdgf/usermodel/XmlVisioDocument.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, ≈125🔥, 0💬
Popular Posts:
JDK 11 jdk.crypto.cryptoki.jmod is the JMOD file for JDK 11 Crypto Cryptoki module. JDK 11 Crypto KI...
How to download and install JDK (Java Development Kit) 5? If you want to write Java applications, yo...
JDK 11 java.compiler.jmod is the JMOD file for JDK 11 Compiler module. JDK 11 Compiler module compil...
JDK 11 jdk.rmic.jmod is the JMOD file for JDK 11 RMI (Remote Method Invocation) Compiler Tool tool, ...
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime e...