cn.afterturn.easypoi.util.PoiStyleUtil Maven / Gradle / Ivy
/**
* Copyright 2013-2022 JueYue ([email protected])
*
* 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 cn.afterturn.easypoi.util;
import org.apache.poi.ss.usermodel.Sheet;
import java.awt.*;
/**
* 提供一个样式调整的方便的工具类,方便大家简易调整样式
* 主要由几个
* 1、调整背景色
* 2、调整字体样式
*
* @author by jueyue on 2022-9-4
* @version 1.0
* @since 4.5.0
*/
public class PoiStyleUtil {
/**
* 改变某一行的背景色
* @param sheet
* @param row
* @param color
*/
public static void changeBgColor(Sheet sheet, int row, Color color) {
}
}