Package net.tangly.commons.utilities
Class AsciiDocHelper
java.lang.Object
net.tangly.commons.utilities.AsciiDocHelper
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
static String
format
(@NotNull BigDecimal value) Formats a decimal value into an accounting representation with two digits after the separator, colored in read if negative, and discarded if the value is zero.inlineAnchor
(String anchor) internalXRef
(String xref, String text) static String
newPage()
tableEnd()
tableHeader
(String tableName, String attributes, String... headerCells) writer()
-
Field Details
-
NEWLINE
-
-
Constructor Details
-
AsciiDocHelper
-
-
Method Details
-
writer
-
bold
-
italics
-
format
Formats a decimal value into an accounting representation with two digits after the separator, colored in read if negative, and discarded if the value is zero.- Parameters:
value
- decimal value to format- Returns:
- the formatted string
-
header
-
text
-
paragraph
-
tableHeader
-
tableRow
-
tableEnd
-
newPage
-
inlineAnchor
-
internalXRef
-
image
-