package org.jaexcel.framework.JAEX.engine;

public class CellDecorator {

	private boolean fontBold = false;
	private boolean fontItalic = false;

	private short alignment = 0;
	private short verticalAlignment = 0;

	private short border = 0;
	private short borderLeft = 0;
	private short borderRight = 0;
	private short borderTop = 0;
	private short borderBottom = 0;

	private short backgroundColor = 0;
	private short foregroundColor = 0;

	private boolean wrapText = false;

	public CellDecorator() {
	}

	/**
	 * @return the fontBold
	 */
	public boolean isFontBold() {
		return fontBold;
	}

	/**
	 * @param fontBold
	 *            the fontBold to set
	 */
	public void setFontBold(boolean fontBold) {
		this.fontBold = fontBold;
	}

	/**
	 * @return the fontItalic
	 */
	public boolean isFontItalic() {
		return fontItalic;
	}

	/**
	 * @param fontItalic
	 *            the fontItalic to set
	 */
	public void setFontItalic(boolean fontItalic) {
		this.fontItalic = fontItalic;
	}

	/**
	 * @return the alignment
	 */
	public short getAlignment() {
		return alignment;
	}

	/**
	 * @param alignment
	 *            the alignment to set
	 */
	public void setAlignment(short alignment) {
		this.alignment = alignment;
	}

	/**
	 * @return the verticalAlignment
	 */
	public short getVerticalAlignment() {
		return verticalAlignment;
	}

	/**
	 * @param verticalAlignment
	 *            the verticalAlignment to set
	 */
	public void setVerticalAlignment(short verticalAlignment) {
		this.verticalAlignment = verticalAlignment;
	}

	/**
	 * @return the border
	 */
	public short getBorder() {
		return border;
	}

	/**
	 * @param border
	 *            the border to set
	 */
	public void setBorder(short border) {
		this.border = border;
	}

	/**
	 * @return the borderLeft
	 */
	public short getBorderLeft() {
		return borderLeft;
	}

	/**
	 * @param borderLeft
	 *            the borderLeft to set
	 */
	public void setBorderLeft(short borderLeft) {
		this.borderLeft = borderLeft;
	}

	/**
	 * @return the borderRight
	 */
	public short getBorderRight() {
		return borderRight;
	}

	/**
	 * @param borderRight
	 *            the borderRight to set
	 */
	public void setBorderRight(short borderRight) {
		this.borderRight = borderRight;
	}

	/**
	 * @return the borderTop
	 */
	public short getBorderTop() {
		return borderTop;
	}

	/**
	 * @param borderTop
	 *            the borderTop to set
	 */
	public void setBorderTop(short borderTop) {
		this.borderTop = borderTop;
	}

	/**
	 * @return the borderBottom
	 */
	public short getBorderBottom() {
		return borderBottom;
	}

	/**
	 * @param borderBottom
	 *            the borderBottom to set
	 */
	public void setBorderBottom(short borderBottom) {
		this.borderBottom = borderBottom;
	}

	/**
	 * @return the backgroundColor
	 */
	public short getBackgroundColor() {
		return backgroundColor;
	}

	/**
	 * @param backgroundColor
	 *            the backgroundColor to set
	 */
	public void setBackgroundColor(short backgroundColor) {
		this.backgroundColor = backgroundColor;
	}

	/**
	 * @return the foregroundColor
	 */
	public short getForegroundColor() {
		return foregroundColor;
	}

	/**
	 * @param foregroundColor
	 *            the foregroundColor to set
	 */
	public void setForegroundColor(short foregroundColor) {
		this.foregroundColor = foregroundColor;
	}

	/**
	 * @return the wrapText
	 */
	public boolean isWrapText() {
		return wrapText;
	}

	/**
	 * @param wrapText
	 *            the wrapText to set
	 */
	public void setWrapText(boolean wrapText) {
		this.wrapText = wrapText;
	}

}

@@ -67,24 +67,127 @@
 orator %7B%0D%0A%0D%0A
+%09private String decoratorName;%0D%0A%09%0D%0A%09private String fontName = %22Arial%22;%0D%0A%09private short fontSize = 10;%0D%0A
 %09private boo
@@ -622,24 +622,755 @@
 tor() %7B%0D%0A%09%7D%0D
+%0A%09%0D%0A%09/**%0D%0A%09 * @return the decoratorName%0D%0A%09 */%0D%0A%09public String getDecoratorName() %7B%0D%0A%09%09return decoratorName;%0D%0A%09%7D%0D%0A%0D%0A%09/**%0D%0A%09 * @param decoratorName the decoratorName to set%0D%0A%09 */%0D%0A%09public void setDecoratorName(String decoratorName) %7B%0D%0A%09%09this.decoratorName = decoratorName;%0D%0A%09%7D%0D%0A%0D%0A%09/**%0D%0A%09 * @return the fontName%0D%0A%09 */%0D%0A%09public String getFontName() %7B%0D%0A%09%09return fontName;%0D%0A%09%7D%0D%0A%0D%0A%09/**%0D%0A%09 * @param fontName the fontName to set%0D%0A%09 */%0D%0A%09public void setFontName(String fontName) %7B%0D%0A%09%09this.fontName = fontName;%0D%0A%09%7D%0D%0A%0D%0A%09/**%0D%0A%09 * @return the fontSize%0D%0A%09 */%0D%0A%09public short getFontSize() %7B%0D%0A%09%09return fontSize;%0D%0A%09%7D%0D%0A%0D%0A%09/**%0D%0A%09 * @param fontSize the fontSize to set%0D%0A%09 */%0D%0A%09public void setFontSize(short fontSize) %7B%0D%0A%09%09this.fontSize = fontSize;%0D%0A%09%7D%0D
 %0A%0D%0A%09/**%0D%0A%09 *

Add new attributes to CellDecorator: - decoratorName - fontName - fontSize