Two fo:blocks in same line!
Posted: Wed Jul 20, 2016 10:22 am
Hi team,
I have a query related to xsl:fo generated PDF.
I need to give a static text for a paricular element. For example, consider a <note>, I want to give a generated text "Note:" for the same always in my PDF output. But also I would like to have the content in <note> should always come with the generated text "Note:" and flow.
Currently, If I am having only direct content inside <note>, then the content is coming proper.
But if I am having <note> with <p> inside it, then my output will come like below,
But I would like it to come in the same line like below,
This is possible by using <table> and <list-block>. But if I use table it will be like two column alignment. I would not need it to be two columned. If i use list-block,there will be a problem if multiple <p> s are there.
Could you please let me know if you have any suggestion.
Regards,
Shabeer
I have a query related to xsl:fo generated PDF.
I need to give a static text for a paricular element. For example, consider a <note>, I want to give a generated text "Note:" for the same always in my PDF output. But also I would like to have the content in <note> should always come with the generated text "Note:" and flow.
Currently, If I am having only direct content inside <note>, then the content is coming proper.
But if I am having <note> with <p> inside it, then my output will come like below,
Code: Select all
Note:
content in p
Code: Select all
Note: content in p.
Could you please let me know if you have any suggestion.
Regards,
Shabeer