Subject:fo:block-container Author:Tina Fleishman Date:05 Jan 2007 01:36 PM Originally Posted: 05 Jan 2007 12:17 PM
I'm very new to xsl and I'm learning pretty quick however I'm really stuck at the moment.
I'm trying to create a table-cell which will display text that has been rotated 90 degrees. So the text is vertical bottom to top and the text faces left to right so you have to tilt your head to read.
I've seen you can do this with <fo:block-container> when I try doing this I have two problems, this is not supported in Stylus Studio 2007 (the text is orange), but it doesn't give me an error, it just doesn't display any text within the tag.
So I have 2 questions, is there another way to do this? And if this is the only way, how do I get it to work?
Subject:fo:block-container Author:Tina Fleishman Date:05 Jan 2007 02:50 PM
Thank you for your fast response. I switched the post-process to RenderX and it still does not display any text. I have a regular block in the same cell and that displays but the text in the block-container does not. Any ideas?
Subject:fo:block-container Author:(Deleted User) Date:05 Jan 2007 03:04 PM
It is hard to tell without actual FO you are processing.
You can post your FO here and we will take a look.
I am attaching simple XSLT I was using to validate text rotation.
Subject:fo:block-container Author:(Deleted User) Date:05 Jan 2007 05:06 PM
Try to use latest FOP. Stylus uses version 0.20.5, it is possible that latest one has block-container support.
Answering to your previous post, remember that PDF generation is 2-step
process. First, your XSLT processes your XML input and generates FO. Second, this FO is processed by renderer ( FOP or RenderX ) which converts it into PDF file. By selecting renderer using "Post-process" properties page you do not change FO, you just choose processor which
will convert it into PDF. So, the PDF displayed in the preview window is generated using renderer specified on this property page from the FO generated by your XSLT.
Subject:fo:block-container Author:(Deleted User) Date:05 Jan 2007 05:07 PM
Try to use latest FOP. Stylus uses version 0.20.5, it is possible that latest one has block-container support.
Answering to your previous post, remember that PDF generation is 2-step
process. First, your XSLT processes your XML input and generates FO. Second, this FO is processed by renderer ( FOP or RenderX ) which converts it into PDF file. By selecting renderer using "Post-process" properties page you do not change FO, you just choose processor which
will convert it into PDF. So, the PDF displayed in the preview window is generated using renderer specified on this property page from the FO generated by your XSLT.
Subject:fo:block-container Author:(Deleted User) Date:05 Jan 2007 03:24 PM
I am getting "Vertical Text" at the bottom-left corner of the page.
As I don't have your input xml I modified XSLT to be independent from
input, but I think it must not impact generated FO. Try to run attached file.
Subject:fo:block-container Author:Tina Fleishman Date:05 Jan 2007 03:46 PM
I just realized something. I'm using xsl to create a PDF. But the way I create the PDF is through customized system we use as our database. When I look at the settings there it is using FOP. I think that might be why I can't display it. I have to find out if we can use RenderX with them.