public class Emphasis extends Object
| Modifier and Type | Field and Description |
|---|---|
static String[] |
EMPHASIS_CLASSES |
static char[] |
EMPHASIS_SYMBOLS |
static char |
HYPHEN |
static char[] |
PUNCTUATION_CHARS |
static char |
RECOVERY_SIGN |
| Constructor and Description |
|---|
Emphasis() |
| Modifier and Type | Method and Description |
|---|---|
static void |
apply(Document document)
Apply emphasis based on the class attribute.
|
public static final String[] EMPHASIS_CLASSES
public static final char[] EMPHASIS_SYMBOLS
public static final char HYPHEN
public static final char RECOVERY_SIGN
public static final char[] PUNCTUATION_CHARS
public static void apply(Document document)
This is to override default Liblouis functionality. By default, Liblouis has only one symbol for emphasis, viz. (456). This is according to the Braille standard and is correct for general literature. However, for Educational stuff we need to distinguish among bold, italics and underline.
document - Copyright © 2010–2024 The DAISY Consortium. All rights reserved.