Java Code Examples for org.apache.poi.ss.usermodel.CellStyle#getAlignment()
The following examples show how to use
org.apache.poi.ss.usermodel.CellStyle#getAlignment() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: StylerHelper.java From autopoi with Apache License 2.0 | 5 votes |
private void styleContents(CellStyle style) { if (style.getAlignment() != 2) { styleOut("text-align", style.getAlignment(), ALIGN); styleOut("vertical-align", style.getAlignment(), VERTICAL_ALIGN); } helper.colorStyles(style, out); }
Example 2
Source File: StylerHelper.java From jeasypoi with Apache License 2.0 | 5 votes |
private void styleContents(CellStyle style) { if (style.getAlignment() != 2) { styleOut("text-align", style.getAlignment(), ALIGN); styleOut("vertical-align", style.getAlignment(), VERTICAL_ALIGN); } helper.colorStyles(style, out); }
Example 3
Source File: StylerHelper.java From easypoi with Apache License 2.0 | 5 votes |
private void styleContents(CellStyle style) { if (style.getAlignment() != 2) { styleOut("text-align", style.getAlignment(), ALIGN); styleOut("vertical-align", style.getAlignment(), VERTICAL_ALIGN); } helper.colorStyles(style, out); }