| Modifier and Type | Class and Description |
|---|---|
| protected static class | RtfStyledOutput.
RTF is unable to specify colors inline it seems, needs a color lookup table |
| Modifier and Type | Field and Description |
|---|---|
| private Color | |
| private boolean | |
| private Color | |
| private final RtfStyledOutput. | |
| private String | |
| private Double | |
| private final RtfStyledOutput. | |
| private boolean | |
| private StyleAttributeMap | |
| private final StyleResolver | |
| private boolean | |
| private boolean | |
| private boolean | |
| private final Writer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| public void | close()
Implements java. Closes this stream and releases any system resources associated with it. |
| public void | consume(StyledSegment
the segment to output seg)Implements jfx. Consumes the next styled segment. |
| private static String | |
| public StyledOutput | |
| public void | flush()
Implements jfx. Flushes this output stream. |
| private static Color | |
| private static void | |
| private static int | |
| private String | |
| private static String | |
| private void | |
| private void | |
| public void | |
| private void | |
| private void | |
| public void | |
| private void |
| background | back to summary |
|---|---|
| private Color background | |
| bold | back to summary |
|---|---|
| private boolean bold | |
| color | back to summary |
|---|---|
| private Color color | |
| colorTable | back to summary |
|---|---|
| private final RtfStyledOutput. | |
| fontFamily | back to summary |
|---|---|
| private String fontFamily | |
| fontSize | back to summary |
|---|---|
| private Double fontSize | |
| fontTable | back to summary |
|---|---|
| private final RtfStyledOutput. | |
| italic | back to summary |
|---|---|
| private boolean italic | |
| prevStyle | back to summary |
|---|---|
| private StyleAttributeMap prevStyle | |
| resolver | back to summary |
|---|---|
| private final StyleResolver resolver | |
| startOfLine | back to summary |
|---|---|
| private boolean startOfLine | |
| strike | back to summary |
|---|---|
| private boolean strike | |
| under | back to summary |
|---|---|
| private boolean under | |
| writer | back to summary |
|---|---|
| private final Writer writer | |
| RtfStyledOutput | back to summary |
|---|---|
| public RtfStyledOutput(StyleResolver r, Writer wr) | |
| checkCancelled | back to summary |
|---|---|
| private static void checkCancelled() throws IOException | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| consume | back to summary |
|---|---|
| public void consume(StyledSegment seg) throws IOException Implements jfx. Doc from jfx. Consumes the next styled segment.
| |
| encode | back to summary |
|---|---|
| private static String encode(String text) | |
| firstPassBuilder | back to summary |
|---|---|
| public StyledOutput firstPassBuilder() | |
| flush | back to summary |
|---|---|
| public void flush() throws IOException Implements jfx. Doc from jfx. Flushes this output stream.
| |
| getTextColor | back to summary |
|---|---|
| private static Color getTextColor(StyleAttributeMap a) | |
| hex2 | back to summary |
|---|---|
| private static void hex2(StringBuilder sb, byte b) | |
| indexOfSpecialChar | back to summary |
|---|---|
| private static int indexOfSpecialChar(String text) | |
| lookupFontFamily | back to summary |
|---|---|
| private String lookupFontFamily(String name) | |
| toInt255 | back to summary |
|---|---|
| private static String toInt255(double x) | |
| write | back to summary |
|---|---|
| private void write(String s) throws IOException | |
| writeEndOfLine | back to summary |
|---|---|
| private void writeEndOfLine() throws IOException | |
| writeEpilogue | back to summary |
|---|---|
| public void writeEpilogue() throws IOException | |
| writeNewLine | back to summary |
|---|---|
| private void writeNewLine() throws IOException | |
| writeParagraph | back to summary |
|---|---|
| private void writeParagraph(Node n) throws IOException | |
| writePrologue | back to summary |
|---|---|
| public void writePrologue() throws IOException | |
| writeTextSegment | back to summary |
|---|---|
private void writeTextSegment(StyledSegment seg) throws IOException
| |
| Modifier and Type | Field and Description |
|---|---|
| private final HashMap | |
| private final ArrayList |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public int | |
| public List |
| indexes | back to summary |
|---|---|
| private final HashMap<T, Integer> indexes | |
| items | back to summary |
|---|---|
| private final ArrayList<T> items | |
| LookupTable | back to summary |
|---|---|
| public LookupTable(T initValue) | |
| add | back to summary |
|---|---|
| public void add(T item) | |
| getIndexFor | back to summary |
|---|---|
| public int getIndexFor(T c) returns index or 0 if not found | |
| getItems | back to summary |
|---|---|
| public List | |