// Path: e-paper-client-api/src/main/java/fr/romainmoreau/epaper/client/api/Color.java
// public enum Color {
// 	BLACK, DARK_GRAY, LIGHT_GRAY, WHITE;
// }
// 
// Path: e-paper-client-api/src/main/java/fr/romainmoreau/epaper/client/api/FontSize.java
// public enum FontSize {
// 	DOTS_32(32, 1), DOTS_48(48, 1), DOTS_64(64, 1);
// 
// 	private final int height;
// 
// 	private final int letterSpacing;
// 
// 	private FontSize(int height, int letterSpacing) {
// 		this.height = height;
// 		this.letterSpacing = letterSpacing;
// 	}
// 
// 	public int getHeight() {
// 		return height;
// 	}
// 
// 	public int getLetterSpacing() {
// 		return letterSpacing;
// 	}
// }
// 
// Path: e-paper-client-api/src/main/java/fr/romainmoreau/epaper/client/api/HorizontalAlignment.java
// public enum HorizontalAlignment {
// 	LEFT, CENTER, RIGHT;
// }
// 
// Path: e-paper-client-api/src/main/java/fr/romainmoreau/epaper/client/api/VerticalAlignment.java
// public enum VerticalAlignment {
// 	TOP, CENTER, BOTTOM;
// }
// 
// Path: e-paper-client-api/src/main/java/fr/romainmoreau/epaper/client/api/table/TextCellContent.java
// public class TextCellContent implements CellContent {
// 	private final Color textColor;
// 
// 	private final Color backgroundColor;
// 
// 	private final FontSize fontSize;
// 
// 	private final int lineSpacing;
// 
// 	private final HorizontalAlignment horizontalAlignment;
// 
// 	private final VerticalAlignment verticalAlignment;
// 
// 	private final String text;
// 
// 	public TextCellContent(Color textColor, Color backgroundColor, FontSize fontSize, int lineSpacing,
// 			HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, String text) {
// 		this.textColor = textColor;
// 		this.backgroundColor = backgroundColor;
// 		this.fontSize = fontSize;
// 		this.lineSpacing = lineSpacing;
// 		this.horizontalAlignment = horizontalAlignment;
// 		this.verticalAlignment = verticalAlignment;
// 		this.text = text;
// 	}
// 
// 	@Override
// 	public void draw(int x0, int y0, int x1, int y1, CellContentDrawer cellContentDrawer)
// 			throws IOException, EPaperException {
// 		cellContentDrawer.drawText(x0, y0, x1, y1, textColor, backgroundColor, fontSize, lineSpacing,
// 				horizontalAlignment, verticalAlignment, text);
// 	}
// }


import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlValue;
import fr.romainmoreau.epaper.client.api.Color;
import fr.romainmoreau.epaper.client.api.FontSize;
import fr.romainmoreau.epaper.client.api.HorizontalAlignment;
import fr.romainmoreau.epaper.client.api.VerticalAlignment;
import fr.romainmoreau.epaper.client.api.table.TextCellContent;
package fr.romainmoreau.epaper.jaxb.api.table;



public class Text implements CellContent {
	private Color textColor;

	private Color backgroundColor;

	private FontSize fontSize;

	private int lineSpacing;

	private HorizontalAlignment horizontalAlignment;

	private VerticalAlignment verticalAlignment;

	private String text;

	@Override
	public fr.romainmoreau.epaper.client.api.table.CellContent toCellContent() {
// Path: e-paper-client-api/src/main/java/fr/romainmoreau/epaper/client/api/Color.java
// public enum Color {
// 	BLACK, DARK_GRAY, LIGHT_GRAY, WHITE;
// }
// 
// Path: e-paper-client-api/src/main/java/fr/romainmoreau/epaper/client/api/FontSize.java
// public enum FontSize {
// 	DOTS_32(32, 1), DOTS_48(48, 1), DOTS_64(64, 1);
// 
// 	private final int height;
// 
// 	private final int letterSpacing;
// 
// 	private FontSize(int height, int letterSpacing) {
// 		this.height = height;
// 		this.letterSpacing = letterSpacing;
// 	}
// 
// 	public int getHeight() {
// 		return height;
// 	}
// 
// 	public int getLetterSpacing() {
// 		return letterSpacing;
// 	}
// }
// 
// Path: e-paper-client-api/src/main/java/fr/romainmoreau/epaper/client/api/HorizontalAlignment.java
// public enum HorizontalAlignment {
// 	LEFT, CENTER, RIGHT;
// }
// 
// Path: e-paper-client-api/src/main/java/fr/romainmoreau/epaper/client/api/VerticalAlignment.java
// public enum VerticalAlignment {
// 	TOP, CENTER, BOTTOM;
// }
// 
// Path: e-paper-client-api/src/main/java/fr/romainmoreau/epaper/client/api/table/TextCellContent.java
// public class TextCellContent implements CellContent {
// 	private final Color textColor;
// 
// 	private final Color backgroundColor;
// 
// 	private final FontSize fontSize;
// 
// 	private final int lineSpacing;
// 
// 	private final HorizontalAlignment horizontalAlignment;
// 
// 	private final VerticalAlignment verticalAlignment;
// 
// 	private final String text;
// 
// 	public TextCellContent(Color textColor, Color backgroundColor, FontSize fontSize, int lineSpacing,
// 			HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, String text) {
// 		this.textColor = textColor;
// 		this.backgroundColor = backgroundColor;
// 		this.fontSize = fontSize;
// 		this.lineSpacing = lineSpacing;
// 		this.horizontalAlignment = horizontalAlignment;
// 		this.verticalAlignment = verticalAlignment;
// 		this.text = text;
// 	}
// 
// 	@Override
// 	public void draw(int x0, int y0, int x1, int y1, CellContentDrawer cellContentDrawer)
// 			throws IOException, EPaperException {
// 		cellContentDrawer.drawText(x0, y0, x1, y1, textColor, backgroundColor, fontSize, lineSpacing,
// 				horizontalAlignment, verticalAlignment, text);
// 	}
// }


// Path: e-paper-jaxb-api/src/main/java/fr/romainmoreau/epaper/jaxb/api/table/Text.java
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlValue;
import fr.romainmoreau.epaper.client.api.Color;
import fr.romainmoreau.epaper.client.api.FontSize;
import fr.romainmoreau.epaper.client.api.HorizontalAlignment;
import fr.romainmoreau.epaper.client.api.VerticalAlignment;
import fr.romainmoreau.epaper.client.api.table.TextCellContent;

package fr.romainmoreau.epaper.jaxb.api.table;



public class Text implements CellContent {
	private Color textColor;

	private Color backgroundColor;

	private FontSize fontSize;

	private int lineSpacing;

	private HorizontalAlignment horizontalAlignment;

	private VerticalAlignment verticalAlignment;

	private String text;

	@Override
	public fr.romainmoreau.epaper.client.api.table.CellContent toCellContent() {
		return new TextCellContent(textColor, backgroundColor, fontSize, lineSpacing, horizontalAlignment,