You could also use this template to split a line at a certain position.
xsl:template name=text_wrapper
xsl:param name=Text/
xsl:choose
xsl:when test=string-length($Text)
xsl:value-of select=substring($Text,1,30)/
!-- xsl:text#xa;/xsl:text br/ --
Hello,
I have 5*10sup5/sup in my xml file and trying to do a superscript
using the following xsl lines. Unfortunately, this does nothing. Any
clue???
xsl:template match=//sup
fo:inline baseline-shift=sup font-size=3px
xsl:apply-templates/
/fo:inline
/xsl:template
Thanks
Mathy
Mathy
J.Pietschmann wrote:
Mathy V Arumugam wrote:
Hello,
I have 5*10sup5/sup in my xml file and trying to do a superscript
using the following xsl lines. Unfortunately, this does nothing. Any
clue???
xsl:template match=//sup
fo:inline baseline-shift=sup font-size=3px
Try
**
dr.setLogger(log);
dr.setRenderer(Driver.RENDER_PDF);
InputHandler ih=new XSLTInputHandler(xmlFile,xslFile);
XMLReader p=ih.getParser();
dr.setOutputStream(new FileOutputStream(pdfFile));
dr.render(p,ih.getInputSource());
Mathy V Arumugam wrote:
What can I do to get rid
Bertrand,
I had the same problem as you do and the text_wrapper function fixed
it.
Mathy
Bertrand Badot wrote:
I
have got the same problem than Mathy with the overflow of the column and
long word.As I do not want
to truncate the data, I try the hyphenate solution but it did not change
Hi all,
How can I prevent the table cells from splitting on page break?
I thought the following should prevent the table cells from splitting on
page boundaries...but, does not work for me
fo:table-cell keep-together.within-page=always
fo:block/fo:block
/fo:table-cell
I
stext some text some text some text some text stext
some
text some text some text some text stext some text some text some text some
text
stext some text some text some text some text srated output/fo:block
/fo:table-cell
/fo:table-row
thanks
Mathy
J.Pietschmann wrote:
Mathy V Arumugam wrote
fo:table-cell fo:block.../fo:block/fo:table-cell
/fo:table-row
for it to work properly.
hth
-Original Message-
From: Mathy V Arumugam [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 28, 2002 4:09 PM
To: [EMAIL PROTECTED]
Subject: fop-0.20.3: table cell data on same page
Yes, iText does look promising. I am looking into that.. will let you know
when I succeed :)
Mathy
Buonincontri, Steve (CAP, MMF, ITSS) wrote:
I think you can do this with iText 3.0
-Original Message-
From: Mathy V Arumugam [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 14, 2002
Apologies for the previous request! A better looking table is attached!
The number of columns is not a fixed number. I am able to create the
table but, having trouble with the column-width. The table should
expand to fit the page. The total-column-number is defined in TABLE
attribute.
How can I do a page break when the TABLE_TITLE is NOT empty.
xsl:value-of select=TABLE_TITLE/
Thanks
Mathy
I have a 19 by 20 cells table. What is the efficient way to do it?
I have this in. xsl but having trouble converting to .fo
xsl:for-each select=LIST1
table WIDTH=100%
border=6
bordercolorlight=#33
bordercolordark=#66
bgcolor=#CC
I am having problem with bringing up the main window Formatting Object
Authoring Tool window. All the other windows come up ok.
Thanks
Mathy
13 matches
Mail list logo