*
* @return The text that should appear in the refined FO tree, except that
* text-transform is not applied.
*/
private CharVector getPreTextTransformText(final FoContext context) {
final FObj effectiveParent = this.effectiveParent(context);
if (this.filterStatus >= CharacterSequence4a.FILTER_PRE_TRANSFORM) {
/* The stored text has already been filtered. Just return it. */
return this.ca;
}
/* Must handle white-space-treatment first. */
CharVector workArray = applyWhiteSpaceTreatment(this.ca,
effectiveParent.traitWhiteSpaceTreatment(context));
// Now handle linefeed-treatment.
workArray = applyLinefeedTreatment(workArray,
effectiveParent.traitLinefeedTreatment(context));
/* Update this instance's text with the filtered value and update the
* status. */
this.ca = workArray;
this.filterStatus = CharacterSequence4a.FILTER_PRE_TRANSFORM;