All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.subtlelib.poi.api.row.FormattedDataOutput Maven / Gradle / Ivy

package org.subtlelib.poi.api.row;

import org.subtlelib.poi.api.style.StyleConfiguration;

import com.google.common.base.Optional;

/**
 * Custom data output functionality
 * 
 * @author i.voshkulat
 *
 */
public interface FormattedDataOutput {

    public RowContext header(String text);
    public RowContext total(String text);

	/**
	 * Write mandatory percentage to the current cell.
	 * Shift current cell pointer to the next position.
	 * 
	 * Value is an integer or decimal percentage, not the fraction of 1.
	 * 
	 * Style as per {@link StyleConfiguration#getPercentageStyle()} on the current level is applied.
	 * For details of style configuration please see {@link StyleConfiguration} implementation used.
	 * 
	 * @param number non-null percentage
     * @return this
	 */
    public RowContext percentage(Number number);

    public RowContext percentage(Optional number);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy