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/xddf/usermodel/XDDFLineProperties.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.xddf.usermodel;
import java.util.Collections;
import java.util.List;
import java.util.stream.Collectors;
import org.apache.poi.util.Beta;
import org.apache.poi.util.Internal;
import org.apache.poi.util.Units;
import org.openxmlformats.schemas.drawingml.x2006.main.CTLineProperties;
@Beta
public class XDDFLineProperties {
private CTLineProperties props;
public XDDFLineProperties() {
this(CTLineProperties.Factory.newInstance());
}
/**
* @param fill
* fill properties to set on the new line properties.
* @since POI 4.0.2
*/
public XDDFLineProperties(XDDFFillProperties fill) {
this();
this.setFillProperties(fill);
}
@Internal
public XDDFLineProperties(CTLineProperties properties) {
this.props = properties;
}
@Internal
public CTLineProperties getXmlObject() {
return props;
}
public PenAlignment getPenAlignment() {
if (props.isSetAlgn()) {
return PenAlignment.valueOf(props.getAlgn());
} else {
return null;
}
}
public void setPenAlignment(PenAlignment alignment) {
if (alignment == null) {
if (props.isSetAlgn()) {
props.unsetAlgn();
}
} else {
props.setAlgn(alignment.underlying);
}
}
public LineCap getLineCap() {
if (props.isSetCap()) {
return LineCap.valueOf(props.getCap());
} else {
return null;
}
}
public void setLineCap(LineCap cap) {
if (cap == null) {
if (props.isSetCap()) {
props.unsetCap();
}
} else {
props.setCap(cap.underlying);
}
}
public CompoundLine getCompoundLine() {
if (props.isSetCmpd()) {
return CompoundLine.valueOf(props.getCmpd());
} else {
return null;
}
}
public void setCompoundLine(CompoundLine compound) {
if (compound == null) {
if (props.isSetCmpd()) {
props.unsetCmpd();
}
} else {
props.setCmpd(compound.underlying);
}
}
public XDDFDashStop addDashStop() {
if (!props.isSetCustDash()) {
props.addNewCustDash();
}
return new XDDFDashStop(props.getCustDash().addNewDs());
}
public XDDFDashStop insertDashStop(int index) {
if (!props.isSetCustDash()) {
props.addNewCustDash();
}
return new XDDFDashStop(props.getCustDash().insertNewDs(index));
}
public void removeDashStop(int index) {
if (props.isSetCustDash()) {
props.getCustDash().removeDs(index);
}
}
public XDDFDashStop getDashStop(int index) {
if (props.isSetCustDash()) {
return new XDDFDashStop(props.getCustDash().getDsArray(index));
} else {
return null;
}
}
public List<XDDFDashStop> getDashStops() {
if (props.isSetCustDash()) {
return Collections.unmodifiableList(props
.getCustDash()
.getDsList()
.stream()
.map(ds -> new XDDFDashStop(ds))
.collect(Collectors.toList()));
} else {
return Collections.emptyList();
}
}
public int countDashStops() {
if (props.isSetCustDash()) {
return props.getCustDash().sizeOfDsArray();
} else {
return 0;
}
}
public XDDFPresetLineDash getPresetDash() {
if (props.isSetPrstDash()) {
return new XDDFPresetLineDash(props.getPrstDash());
} else {
return null;
}
}
public void setPresetDash(XDDFPresetLineDash properties) {
if (properties == null) {
if (props.isSetPrstDash()) {
props.unsetPrstDash();
}
} else {
props.setPrstDash(properties.getXmlObject());
}
}
public XDDFExtensionList getExtensionList() {
if (props.isSetExtLst()) {
return new XDDFExtensionList(props.getExtLst());
} else {
return null;
}
}
public void setExtensionList(XDDFExtensionList list) {
if (list == null) {
if (props.isSetExtLst()) {
props.unsetExtLst();
}
} else {
props.setExtLst(list.getXmlObject());
}
}
public XDDFFillProperties getFillProperties() {
if (props.isSetGradFill()) {
return new XDDFGradientFillProperties(props.getGradFill());
} else if (props.isSetNoFill()) {
return new XDDFNoFillProperties(props.getNoFill());
} else if (props.isSetPattFill()) {
return new XDDFPatternFillProperties(props.getPattFill());
} else if (props.isSetSolidFill()) {
return new XDDFSolidFillProperties(props.getSolidFill());
} else {
return null;
}
}
public void setFillProperties(XDDFFillProperties properties) {
if (props.isSetGradFill()) {
props.unsetGradFill();
}
if (props.isSetNoFill()) {
props.unsetNoFill();
}
if (props.isSetPattFill()) {
props.unsetPattFill();
}
if (props.isSetSolidFill()) {
props.unsetSolidFill();
}
if (properties == null) {
return;
}
if (properties instanceof XDDFGradientFillProperties) {
props.setGradFill(((XDDFGradientFillProperties) properties).getXmlObject());
} else if (properties instanceof XDDFNoFillProperties) {
props.setNoFill(((XDDFNoFillProperties) properties).getXmlObject());
} else if (properties instanceof XDDFPatternFillProperties) {
props.setPattFill(((XDDFPatternFillProperties) properties).getXmlObject());
} else if (properties instanceof XDDFSolidFillProperties) {
props.setSolidFill(((XDDFSolidFillProperties) properties).getXmlObject());
}
}
public XDDFLineJoinProperties getLineJoinProperties() {
if (props.isSetBevel()) {
return new XDDFLineJoinBevelProperties(props.getBevel());
} else if (props.isSetMiter()) {
return new XDDFLineJoinMiterProperties(props.getMiter());
} else if (props.isSetRound()) {
return new XDDFLineJoinRoundProperties(props.getRound());
} else {
return null;
}
}
public void setLineJoinProperties(XDDFLineJoinProperties properties) {
if (props.isSetBevel()) {
props.unsetBevel();
}
if (props.isSetMiter()) {
props.unsetMiter();
}
if (props.isSetRound()) {
props.unsetRound();
}
if (properties == null) {
return;
}
if (properties instanceof XDDFLineJoinBevelProperties) {
props.setBevel(((XDDFLineJoinBevelProperties) properties).getXmlObject());
} else if (properties instanceof XDDFLineJoinMiterProperties) {
props.setMiter(((XDDFLineJoinMiterProperties) properties).getXmlObject());
} else if (properties instanceof XDDFLineJoinRoundProperties) {
props.setRound(((XDDFLineJoinRoundProperties) properties).getXmlObject());
}
}
public XDDFLineEndProperties getHeadEnd() {
if (props.isSetHeadEnd()) {
return new XDDFLineEndProperties(props.getHeadEnd());
} else {
return null;
}
}
public void setHeadEnd(XDDFLineEndProperties properties) {
if (properties == null) {
if (props.isSetHeadEnd()) {
props.unsetHeadEnd();
}
} else {
props.setHeadEnd(properties.getXmlObject());
}
}
public XDDFLineEndProperties getTailEnd() {
if (props.isSetTailEnd()) {
return new XDDFLineEndProperties(props.getTailEnd());
} else {
return null;
}
}
public void setTailEnd(XDDFLineEndProperties properties) {
if (properties == null) {
if (props.isSetTailEnd()) {
props.unsetTailEnd();
}
} else {
props.setTailEnd(properties.getXmlObject());
}
}
/**
* @return the width expressed in points.
*/
public Double getWidth() {
if (props.isSetW()) {
return Units.toPoints(props.getW());
} else {
return null;
}
}
/**
* Internally converts the width to EMU units.
*
* @param width expressed in points.
*/
public void setWidth(Double width) {
if (width == null) {
if (props.isSetW()) {
props.unsetW();
}
} else {
props.setW(Units.toEMU(width));
}
}
}
⏎ org/apache/poi/xddf/usermodel/XDDFLineProperties.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, ≈173🔥, 0💬
Popular Posts:
JDK 11 java.xml.jmod is the JMOD file for JDK 11 XML (eXtensible Markup Language) module. JDK 11 XML...
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...
The JDT project provides the tool plug-ins that implement a Java IDE supporting the development of a...
Java Servlet 3.0 Specification API. JAR File Size and Download Location: File name: servlet-api.jar,...
JDK 11 jdk.crypto.mscapi.jmod is the JMOD file for JDK 11 Crypto MSCAPI module. JDK 11 Crypto MSCAPI...