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:


/* ====================================================================
   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


   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   See the License for the specific language governing permissions and
   limitations under the License.
==================================================================== */

package org.apache.poi.hssf.record;

import static org.apache.poi.util.GenericRecordUtil.getBitsAsString;

import java.util.Map;
import java.util.function.Supplier;

import org.apache.poi.hssf.util.CellRangeAddress8Bit;
import org.apache.poi.ss.formula.ptg.TblPtg;
import org.apache.poi.ss.util.CellReference;
import org.apache.poi.util.BitField;
import org.apache.poi.util.BitFieldFactory;
import org.apache.poi.util.GenericRecordUtil;
import org.apache.poi.util.LittleEndianOutput;
 * The record specifies a data table.<p>
 * This record is preceded by a single Formula record that defines the first cell in the data table,
 * which should only contain a single {@link TblPtg Ptg}.
public final class TableRecord extends SharedValueRecordBase {
    public static final short sid = 0x0236;

    private static final BitField alwaysCalc      = BitFieldFactory.getInstance(0x0001);
    private static final BitField calcOnOpen      = BitFieldFactory.getInstance(0x0002);
    private static final BitField rowOrColInpCell = BitFieldFactory.getInstance(0x0004);
    private static final BitField oneOrTwoVar     = BitFieldFactory.getInstance(0x0008);
    private static final BitField rowDeleted      = BitFieldFactory.getInstance(0x0010);
    private static final BitField colDeleted      = BitFieldFactory.getInstance(0x0020);

    private int field_5_flags;
    private int field_6_res;
    private int field_7_rowInputRow;
    private int field_8_colInputRow;
    private int field_9_rowInputCol;
    private int field_10_colInputCol;

    public TableRecord(TableRecord other) {
        field_5_flags        = other.field_5_flags;
        field_6_res          = other.field_6_res;
        field_7_rowInputRow  = other.field_7_rowInputRow;
        field_8_colInputRow  = other.field_8_colInputRow;
        field_9_rowInputCol  = other.field_9_rowInputCol;
        field_10_colInputCol = other.field_10_colInputCol;

    public TableRecord(RecordInputStream in) {
        field_5_flags        = in.readByte();
        field_6_res          = in.readByte();
        field_7_rowInputRow  = in.readShort();
        field_8_colInputRow  = in.readShort();
        field_9_rowInputCol  = in.readShort();
        field_10_colInputCol = in.readShort();

    public TableRecord(CellRangeAddress8Bit range) {
        field_6_res = 0;

    public int getFlags() {
        return field_5_flags;
    public void setFlags(int flags) {
        field_5_flags = flags;

    public int getRowInputRow() {
        return field_7_rowInputRow;
    public void setRowInputRow(int rowInputRow) {
        field_7_rowInputRow = rowInputRow;

    public int getColInputRow() {
        return field_8_colInputRow;
    public void setColInputRow(int colInputRow) {
        field_8_colInputRow = colInputRow;

    public int getRowInputCol() {
        return field_9_rowInputCol;
    public void setRowInputCol(int rowInputCol) {
        field_9_rowInputCol = rowInputCol;

    public int getColInputCol() {
        return field_10_colInputCol;
    public void setColInputCol(int colInputCol) {
        field_10_colInputCol = colInputCol;

    public boolean isAlwaysCalc() {
        return alwaysCalc.isSet(field_5_flags);
    public void setAlwaysCalc(boolean flag) {
        field_5_flags = alwaysCalc.setBoolean(field_5_flags, flag);

    public boolean isRowOrColInpCell() {
        return rowOrColInpCell.isSet(field_5_flags);
    public void setRowOrColInpCell(boolean flag) {
        field_5_flags = rowOrColInpCell.setBoolean(field_5_flags, flag);

    public boolean isOneNotTwoVar() {
        return oneOrTwoVar.isSet(field_5_flags);
    public void setOneNotTwoVar(boolean flag) {
        field_5_flags = oneOrTwoVar.setBoolean(field_5_flags, flag);

    public boolean isColDeleted() {
        return colDeleted.isSet(field_5_flags);
    public void setColDeleted(boolean flag) {
        field_5_flags = colDeleted.setBoolean(field_5_flags, flag);

    public boolean isRowDeleted() {
        return rowDeleted.isSet(field_5_flags);
    public void setRowDeleted(boolean flag) {
        field_5_flags = rowDeleted.setBoolean(field_5_flags, flag);

    public short getSid() {
        return sid;
    protected int getExtraDataSize() {
        2 // 2 byte fields
        + 8; // 4 short fields
    protected void serializeExtraData(LittleEndianOutput out) {

    public TableRecord copy() {
        return new TableRecord(this);

    private static CellReference cr(int rowIx, int colIxAndFlags) {
        int colIx = colIxAndFlags & 0x00FF;
        boolean isRowAbs = (colIxAndFlags & 0x8000) == 0;
        boolean isColAbs = (colIxAndFlags & 0x4000) == 0;
        return new CellReference(rowIx, colIx, isRowAbs, isColAbs);

    public HSSFRecordTypes getGenericRecordType() {
        return HSSFRecordTypes.TABLE;

    public Map<String, Supplier<?>> getGenericProperties() {
        return GenericRecordUtil.getGenericProperties(
            "range", this::getRange,
            "flags", getBitsAsString(this::getFlags,
                new BitField[]{alwaysCalc, calcOnOpen, rowOrColInpCell, oneOrTwoVar, rowDeleted, colDeleted},
            "reserved", () -> field_6_res,
            "rowInput", () -> cr(field_7_rowInputRow, field_8_colInputRow),
            "colInput", () -> cr(field_9_rowInputCol, field_10_colInputCol)


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


What Is poi-ooxml-5.2.3.jar?

What Is poi-bin-5.2.3-20220909.zip?

Downloading and Installing Apache POI Java Library

⇑⇑ FAQ for Apache POI (Poor Obfuscation Implementation)

2017-04-04, 54865👍, 0💬