blob: 6d1be84e1622bc52de7fbed3453be9601384ea12 [file] [log] [blame]
/*
* ====================================================================
* 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;
public interface PatternFormatting {
/** No background */
public static final short NO_FILL = 0 ;
/** Solidly filled */
public static final short SOLID_FOREGROUND = 1 ;
/** Small fine dots */
public static final short FINE_DOTS = 2 ;
/** Wide dots */
public static final short ALT_BARS = 3 ;
/** Sparse dots */
public static final short SPARSE_DOTS = 4 ;
/** Thick horizontal bands */
public static final short THICK_HORZ_BANDS = 5 ;
/** Thick vertical bands */
public static final short THICK_VERT_BANDS = 6 ;
/** Thick backward facing diagonals */
public static final short THICK_BACKWARD_DIAG = 7 ;
/** Thick forward facing diagonals */
public static final short THICK_FORWARD_DIAG = 8 ;
/** Large spots */
public static final short BIG_SPOTS = 9 ;
/** Brick-like layout */
public static final short BRICKS = 10 ;
/** Thin horizontal bands */
public static final short THIN_HORZ_BANDS = 11 ;
/** Thin vertical bands */
public static final short THIN_VERT_BANDS = 12 ;
/** Thin backward diagonal */
public static final short THIN_BACKWARD_DIAG = 13 ;
/** Thin forward diagonal */
public static final short THIN_FORWARD_DIAG = 14 ;
/** Squares */
public static final short SQUARES = 15 ;
/** Diamonds */
public static final short DIAMONDS = 16 ;
/** Less Dots */
public static final short LESS_DOTS = 17 ;
/** Least Dots */
public static final 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);
}