*/
public TextAlign traitTextAlign() {
final Block generatedBy = traitGeneratedBy();
TextAlign textAlign = generatedBy.traitTextAlign(this);
if (this.textAlignLastApplies()) {
final TextAlignLast textAlignLast = generatedBy.traitTextAlignLast(
this);
if (textAlignLast == TextAlignLast.RELATIVE) {
if (textAlign == TextAlign.JUSTIFY) {
return TextAlign.START;
}
} else {
textAlign = textAlignLast.getRelatedTextAlign();
}
}
switch (textAlign) {
case INSIDE: {
if (this.getPage().getBindingEdge() == RelativeCompass.END) {