/*
 *  ====================================================================
 *    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.ss.usermodel;

Author:Yegor Kozlov
/** * @author Yegor Kozlov */
public interface PatternFormatting {
No background
/** No background */
public final static short NO_FILL = 0 ;
Solidly filled
/** Solidly filled */
public final static short SOLID_FOREGROUND = 1 ;
Small fine dots
/** Small fine dots */
public final static short FINE_DOTS = 2 ;
Wide dots
/** Wide dots */
public final static short ALT_BARS = 3 ;
Sparse dots
/** Sparse dots */
public final static short SPARSE_DOTS = 4 ;
Thick horizontal bands
/** Thick horizontal bands */
public final static short THICK_HORZ_BANDS = 5 ;
Thick vertical bands
/** Thick vertical bands */
public final static short THICK_VERT_BANDS = 6 ;
Thick backward facing diagonals
/** Thick backward facing diagonals */
public final static short THICK_BACKWARD_DIAG = 7 ;
Thick forward facing diagonals
/** Thick forward facing diagonals */
public final static short THICK_FORWARD_DIAG = 8 ;
Large spots
/** Large spots */
public final static short BIG_SPOTS = 9 ;
Brick-like layout
/** Brick-like layout */
public final static short BRICKS = 10 ;
Thin horizontal bands
/** Thin horizontal bands */
public final static short THIN_HORZ_BANDS = 11 ;
Thin vertical bands
/** Thin vertical bands */
public final static short THIN_VERT_BANDS = 12 ;
Thin backward diagonal
/** Thin backward diagonal */
public final static short THIN_BACKWARD_DIAG = 13 ;
Thin forward diagonal
/** Thin forward diagonal */
public final static short THIN_FORWARD_DIAG = 14 ;
Squares
/** Squares */
public final static short SQUARES = 15 ;
Diamonds
/** Diamonds */
public final static short DIAMONDS = 16 ;
Less Dots
/** Less Dots */
public final static short LESS_DOTS = 17 ;
Least Dots
/** Least Dots */
public final static short LEAST_DOTS = 18 ; short getFillBackgroundColor(); short getFillForegroundColor(); Color getFillBackgroundColorColor(); Color getFillForegroundColorColor(); short getFillPattern(); void setFillBackgroundColor(short bg); void setFillForegroundColor(short fg); void setFillBackgroundColor(Color bg); void setFillForegroundColor(Color fg); void setFillPattern(short fp); }