Skip to main content

Перечисление LineEndingStyle

В таблице приведены типы окончания линии. Используется в поле style класса LineEndingProperties.

ЗначениеОписание
LineEndingStyle.Arrow
LineEndingStyle.Diamond
LineEndingStyle.Oval
LineEndingStyle.Stealth
LineEndingStyle.Triangle
LineEndingStyle.None

Пример​


Table firstSheet = document.getBlocks().getTable(0);
Cell cell = firstSheet.getCell("C3");

LineProperties lineProperties = new LineProperties();
lineProperties.headLineEndingProperties = new LineEndingProperties();
lineProperties.headLineEndingProperties.style = LineEndingStyle.Arrow;

Borders borders = new Borders();
borders.setTop(lineProperties);
cell.setBorders(borders);