org.ttzero.excel.manager.E3Const Maven / Gradle / Ivy
/*
* Copyright (c) 2019-2020, [email protected] All Rights Reserved.
*
* Licensed 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.ttzero.excel.manager;
/**
* Constant for excel03
*
* @author guanquan.wang at 2019-04-16 11:29
*/
public class E3Const {
/**
* Prefix of biff project
*/
public static final String BIFF_PREFIX = "biff~";
/**
* Limit of excel03
*/
public static final class Limit {
/**
* Maximum rows per worksheet page {@code 1 << 16}
*/
public static final int MAX_ROWS_ON_SHEET = 65_536;
/**
* Maximum columns per worksheet page
*/
public static final int MAX_COLUMNS_ON_SHEET = 256;
/**
* How many characters can a single cell contain
*/
public static final int MAX_CHARACTERS_PER_CELL = 32_767;
/**
* How many rows can a single cell contain
*/
public static final int MAX_LINE_FEEDS_PER_CELL = 253;
}
}