Перечисление LineEndingStyle
В таблице приведены типы окончания линии. Используется в поле style класса LineEndingProperties.
| Значение | Описание |
|---|---|
LineEndingStyle::Arrow | |
LineEndingStyle::Diamond | |
LineEndingStyle::Oval | |
LineEndingStyle::Stealth | |
LineEndingStyle::Triangle | |
LineEndingStyle::None |
Пример
Table firstSheet = document.getBlocks().getTable(0).get();
Cell cell = firstSheet.getCell("C3");
LineProperties lineProperties = LineProperties();
lineProperties.headLineEndingProperties = LineEndingProperties();
lineProperties.headLineEndingProperties.get().style = LineEndingStyle::Arrow;
Borders borders = Borders();
borders.setTop(lineProperties);
cell.setBorders(borders);