public class TextAdjuster
extends java.lang.Object
Copyright (C) 2012-2014 JIOWA Business Solutions GmbH, Bettinastr. 30 , 60325 Frankfurt am Main, Germany
Homepage: www.jiowa.de
All rights reserved.
Download: www.jiowa.de/download.html
License: www.jiowa.de/license.html
Modifier and Type | Field and Description |
---|---|
protected TemplateContext |
context |
Constructor and Description |
---|
TextAdjuster(TemplateContext context) |
Modifier and Type | Method and Description |
---|---|
com.jiowa.util.tuple.Tuple<java.lang.String,TextOffset> |
adjustContentAccordingLeftMostNonWhitespaceCharacter(java.lang.String content,
int columnOffset)
Adjusts the text according to the leftmost non-whitespace character.
|
java.lang.String |
adjustContentAccordingToColumnPosition(java.lang.String content,
int columnOffset)
Adjusts the text content of an inline subtemplate for further processing.
|
protected int |
columnOfLeftmostNonWhitespaceChar(java.lang.String content,
int columnOffsetForFirstLine) |
protected TemplateContext context
public TextAdjuster(TemplateContext context)
public java.lang.String adjustContentAccordingToColumnPosition(java.lang.String content, int columnOffset)
protected int columnOfLeftmostNonWhitespaceChar(java.lang.String content, int columnOffsetForFirstLine)
public com.jiowa.util.tuple.Tuple<java.lang.String,TextOffset> adjustContentAccordingLeftMostNonWhitespaceCharacter(java.lang.String content, int columnOffset)