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-5.2.3.jar?
What Is poi-5.2.3.jar?
✍: FYIcenter.com
poi-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-5.2.3.jar supports Apache POI components that read and write Microsoft's OLE 2 Compound document format, which is used in early versions of Microsoft Office tools like Word 97, Excel 97, PowerPoint 97, etc.
poi-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-5.2.3.jar Target JDK version: 9 File name: poi.jar, poi-5.2.3.jar File size: 2964641 bytes Release date: 09-09-2022 Download: Apache POI Website
Here are Java Source Code files for poi-5.2.3.jar:
⏎ org/apache/poi/hssf/record/chart/TickRecord.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.hssf.record.chart; import static org.apache.poi.util.GenericRecordUtil.getBitsAsString; import java.util.Collections; import java.util.LinkedHashMap; import java.util.Map; import java.util.function.Supplier; import org.apache.poi.hssf.record.HSSFRecordTypes; import org.apache.poi.hssf.record.RecordInputStream; import org.apache.poi.hssf.record.StandardRecord; import org.apache.poi.util.BitField; import org.apache.poi.util.BitFieldFactory; import org.apache.poi.util.LittleEndianOutput; /** * The Tick record defines how tick marks and label positioning/formatting */ public final class TickRecord extends StandardRecord { public static final short sid = 0x101E; private static final BitField autoTextColor = BitFieldFactory.getInstance(0x1); private static final BitField autoTextBackground = BitFieldFactory.getInstance(0x2); private static final BitField rotation = BitFieldFactory.getInstance(0x1c); private static final BitField autorotate = BitFieldFactory.getInstance(0x20); private byte field_1_majorTickType; private byte field_2_minorTickType; private byte field_3_labelPosition; private byte field_4_background; private int field_5_labelColorRgb; private int field_6_zero1; private int field_7_zero2; private int field_8_zero3; private int field_9_zero4; private short field_10_options; private short field_11_tickColor; private short field_12_zero5; public TickRecord() {} public TickRecord(TickRecord other) { super(other); field_1_majorTickType = other.field_1_majorTickType; field_2_minorTickType = other.field_2_minorTickType; field_3_labelPosition = other.field_3_labelPosition; field_4_background = other.field_4_background; field_5_labelColorRgb = other.field_5_labelColorRgb; field_6_zero1 = other.field_6_zero1; field_7_zero2 = other.field_7_zero2; field_8_zero3 = other.field_8_zero3; field_9_zero4 = other.field_9_zero4; field_10_options = other.field_10_options; field_11_tickColor = other.field_11_tickColor; field_12_zero5 = other.field_12_zero5; } public TickRecord(RecordInputStream in) { field_1_majorTickType = in.readByte(); field_2_minorTickType = in.readByte(); field_3_labelPosition = in.readByte(); field_4_background = in.readByte(); field_5_labelColorRgb = in.readInt(); field_6_zero1 = in.readInt(); field_7_zero2 = in.readInt(); field_8_zero3 = in.readInt(); field_9_zero4 = in.readInt(); field_10_options = in.readShort(); field_11_tickColor = in.readShort(); field_12_zero5 = in.readShort(); } @Override public void serialize(LittleEndianOutput out) { out.writeByte(field_1_majorTickType); out.writeByte(field_2_minorTickType); out.writeByte(field_3_labelPosition); out.writeByte(field_4_background); out.writeInt(field_5_labelColorRgb); out.writeInt(field_6_zero1); out.writeInt(field_7_zero2); out.writeInt(field_8_zero3); out.writeInt(field_9_zero4); out.writeShort(field_10_options); out.writeShort(field_11_tickColor); out.writeShort(field_12_zero5); } @Override protected int getDataSize() { return 1 + 1 + 1 + 1 + 4 + 8 + 8 + 2 + 2 + 2; } @Override public short getSid() { return sid; } @Override public TickRecord copy() { return new TickRecord(this); } /** * Get the major tick type field for the Tick record. */ public byte getMajorTickType() { return field_1_majorTickType; } /** * Set the major tick type field for the Tick record. */ public void setMajorTickType(byte field_1_majorTickType) { this.field_1_majorTickType = field_1_majorTickType; } /** * Get the minor tick type field for the Tick record. */ public byte getMinorTickType() { return field_2_minorTickType; } /** * Set the minor tick type field for the Tick record. */ public void setMinorTickType(byte field_2_minorTickType) { this.field_2_minorTickType = field_2_minorTickType; } /** * Get the label position field for the Tick record. */ public byte getLabelPosition() { return field_3_labelPosition; } /** * Set the label position field for the Tick record. */ public void setLabelPosition(byte field_3_labelPosition) { this.field_3_labelPosition = field_3_labelPosition; } /** * Get the background field for the Tick record. */ public byte getBackground() { return field_4_background; } /** * Set the background field for the Tick record. */ public void setBackground(byte field_4_background) { this.field_4_background = field_4_background; } /** * Get the label color rgb field for the Tick record. */ public int getLabelColorRgb() { return field_5_labelColorRgb; } /** * Set the label color rgb field for the Tick record. */ public void setLabelColorRgb(int field_5_labelColorRgb) { this.field_5_labelColorRgb = field_5_labelColorRgb; } /** * Get the zero 1 field for the Tick record. */ public int getZero1() { return field_6_zero1; } /** * Set the zero 1 field for the Tick record. */ public void setZero1(int field_6_zero1) { this.field_6_zero1 = field_6_zero1; } /** * Get the zero 2 field for the Tick record. */ public int getZero2() { return field_7_zero2; } /** * Set the zero 2 field for the Tick record. */ public void setZero2(int field_7_zero2) { this.field_7_zero2 = field_7_zero2; } /** * Get the options field for the Tick record. */ public short getOptions() { return field_10_options; } /** * Set the options field for the Tick record. */ public void setOptions(short field_10_options) { this.field_10_options = field_10_options; } /** * Get the tick color field for the Tick record. */ public short getTickColor() { return field_11_tickColor; } /** * Set the tick color field for the Tick record. */ public void setTickColor(short field_11_tickColor) { this.field_11_tickColor = field_11_tickColor; } /** * Get the zero 3 field for the Tick record. */ public short getZero3() { return field_12_zero5; } /** * Set the zero 3 field for the Tick record. */ public void setZero3(short field_12_zero3) { this.field_12_zero5 = field_12_zero3; } /** * Sets the auto text color field value. * use the quote unquote automatic color for text */ public void setAutoTextColor(boolean value) { field_10_options = autoTextColor.setShortBoolean(field_10_options, value); } /** * use the quote unquote automatic color for text * @return the auto text color field value. */ public boolean isAutoTextColor() { return autoTextColor.isSet(field_10_options); } /** * Sets the auto text background field value. * use the quote unquote automatic color for text background */ public void setAutoTextBackground(boolean value) { field_10_options = autoTextBackground.setShortBoolean(field_10_options, value); } /** * use the quote unquote automatic color for text background * @return the auto text background field value. */ public boolean isAutoTextBackground() { return autoTextBackground.isSet(field_10_options); } /** * Sets the rotation field value. * rotate text (0=none, 1=normal, 2=90 degrees counterclockwise, 3=90 degrees clockwise) */ public void setRotation(short value) { field_10_options = rotation.setShortValue(field_10_options, value); } /** * rotate text (0=none, 1=normal, 2=90 degrees counterclockwise, 3=90 degrees clockwise) * @return the rotation field value. */ public short getRotation() { return rotation.getShortValue(field_10_options); } /** * Sets the autorotate field value. * automatically rotate the text */ public void setAutorotate(boolean value) { field_10_options = autorotate.setShortBoolean(field_10_options, value); } /** * automatically rotate the text * @return the autorotate field value. */ public boolean isAutorotate() { return autorotate.isSet(field_10_options); } @Override public HSSFRecordTypes getGenericRecordType() { return HSSFRecordTypes.TICK; } @Override public Map<String, Supplier<?>> getGenericProperties() { final Map<String,Supplier<?>> m = new LinkedHashMap<>(); m.put("majorTickType", this::getMajorTickType); m.put("minorTickType", this::getMinorTickType); m.put("labelPosition", this::getLabelPosition); m.put("background", this::getBackground); m.put("labelColorRgb", this::getLabelColorRgb); m.put("zero1", this::getZero1); m.put("zero2", this::getZero2); m.put("options", getBitsAsString(this::getOptions, new BitField[]{autoTextColor,autoTextBackground,autorotate}, new String[]{"AUTO_TEXT_COLOR","AUTO_TEXT_BACKGROUND","AUTO_ROTATE"}) ); m.put("rotation", this::getRotation); m.put("tickColor", this::getTickColor); m.put("zero3", this::getZero3); return Collections.unmodifiableMap(m); } }
⏎ org/apache/poi/hssf/record/chart/TickRecord.java
Or download all of them as a single archive file:
File name: poi-5.2.3-src.zip File size: 2479830 bytes Release date: 2022-09-09 Download
⇒ What Is poi-ooxml-5.2.3.jar?
⇐ What Is poi-bin-5.2.3-20220909.zip?
2017-04-04, 7482👍, 0💬
Popular Posts:
JRE 8 plugin.jar is the JAR file for JRE 8 Java Control Panel Plugin interface and tools. JRE (Java ...
How to download and install ojdbc14.jar for Oracle 10g R2? ojdbc14.jar for Oracle 10g R2 is a Java 1...
commons-net.jar is the bytecode of Apache Commons Net library, which implements the client side of m...
io.jar is a component in iText Java library to provide input/output functionalities. iText Java libr...
JCIFS is an Open Source client library that implements the CIFS/SMB networking protocol in 100% Java...