Topic
  • No replies
Shabeer.K
Shabeer.K
1 Post

Pinned topic Special marker on wrapping a content using XSL-FO

‏2017-01-25T07:45:35Z | xsl-fo

Hi team,

I have a query related to XSL-FO.

I am using XSL-FO to transform my XML to FO output. For a particular element, am using the attribute "wrap-option" set as "wrap", for it to wrap in the output if it exceeds the line limit. It gets wrapped properly in the output.

But, I would like to have an additional feature that, if the text is wrapped in the output, it should have some indication to the user on the wrapping. ie, if a particular line is wrapped to next line, it should have a "+" symbol in the end of the line wherever it is wrapped.

Sample input:-

Testing the wrapped input specification for understanding the wrapping has happened.
Normal line without wrapping.
Again a lengthy line which exceeds the line limit.

Current output:-

Testing the wrapped input specification
for understanding the wrapping has happened.
Normal line without wrapping.
Again a lengthy line which exceeds
the line limit.

Required output:-

Testing the wrapped input specification+
for understanding the wrapping has happened.
Normal line without wrapping.
Again a lengthy line which exceeds+
the line limit.

 

Please let me know if this is possible in XSL-FO.

Thanks and Regards,
Shabeer

Updated on 2017-01-25T10:54:16Z at 2017-01-25T10:54:16Z by Shabeer.K