Support for handing indent?
Ok guys I need your help. I have been building a Word -> FXML converter and so far have had pretty good success, but I cannot seem to figure out a way to do a hanging index in FXML. See http://www.webopedia.com/TERM/H/hanging_indent.html for more info. But basically a hanging indent is a left margin or indentation that's applied to every line after the first in a paragraph. For eample
Speaker A: Lorem ipsum dolor sit amet,
consectetur adipiscing elit.
Donec dignissim tristique tellus,
Speaker B: sit amet mattis leo vehicula id.
Quisque varius pulvinar ligula quis pellentesque.
Duis ac turpis id purus euismod sagittis.
Aliquam ultrices ultricies accumsan.
Now the indendation for subsequent paragraph lines happens on any new line caused by either a line break or a word wrap, so I cannot just explicitly insert some spacing or break apart the text into seperate elements and add indents or margains as this solution will not work for word wrapping.
So can someone please help me figure how I might implement this, or if I have to.... how I might go about adding this type of functionality into the TextLayoutFramework?
For bonus points: Word also supports special indent that only gets applied after the first tab. This is very useful in combination with the hanging indent...
Speaker C: sit amet mattis leo vehicula id.
Quisque varius pulvinar ligula quis pellentesque.
Duis ac turpis id purus euismod sagittis.
Aliquam ultrices ultricies accumsan.
So please TLF crew, guide me to how I can go about this, even if that means I need to get into the guts, I'll happily contribute back.
~ JT
