Page 1 of 1

Two fo:blocks in same line!

Posted: Wed Jul 20, 2016 10:22 am
by mu258770
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,

Code: Select all

Note:

content in p
But I would like it to come in the same line like below,

Code: Select all

Note: content in p.
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

Re: Two fo:blocks in same line!

Posted: Thu Jul 21, 2016 3:21 pm
by Radu
Hi Shabeer,

We are not experts in XSL-FO so you should try to find a dedicated mailing list for this.

Regards,
Radu