I am using fop with apache lenya to create pdf files.
I'm using a simple xsl-file for transforming the created
lenya xml files into pdf files:
?xml version=1.0 encoding=iso-8859-1?
xsl:stylesheet
xmlns:xsl=http://www.w3.org/1999/XSL/Transform; version=1.0
Remove the template below from your XSLT, and that
should work.
xsl:template match=meta
fo:block color=green
xsl:apply-templates/
/fo:block
/xsl:template
Glen
--- Sascha Teifke [EMAIL PROTECTED] wrote:
I am using fop with apache lenya to create pdf
files.
I'm
Sascha Teifke wrote:
I am using fop with apache lenya to create pdf files.
I'm using a simple xsl-file for transforming the created
lenya xml files into pdf files:
?xml version=1.0 encoding=iso-8859-1?
xsl:stylesheet
xmlns:xsl=http://www.w3.org/1999/XSL/Transform; version=1.0
I'm not sure--but you have an XSLT question, not a FOP
one--and I think the Mulberry XSLT mailing list
(Google for it) would be best for you.
Glen
--- Sascha Teifke [EMAIL PROTECTED] wrote:
Hi Glen,
thank you for the quick response.
I removed it. But it still doesn't work.
Her is an
Michael Wechner wrote:
Sascha Teifke wrote:
I am using fop with apache lenya to create pdf files.
I'm using a simple xsl-file for transforming the created
lenya xml files into pdf files:
fo:page-sequence master-reference=all
fo:flow flow-name=xsl-region-body
Sascha Teifke wrote:
Michael Wechner wrote:
Sascha Teifke wrote:
I am using fop with apache lenya to create pdf files.
I'm using a simple xsl-file for transforming the created
lenya xml files into pdf files:
fo:page-sequence master-reference=all
fo:flow
Michael Wechner wrote:
Sascha Teifke wrote:
Michael Wechner wrote:
Sascha Teifke wrote:
I am using fop with apache lenya to create pdf files.
I'm using a simple xsl-file for transforming the created
lenya xml files into pdf files:
fo:page-sequence master-reference=all
If I have text-indent specified on an fo:block and if I have
a nested block within this, the text following this nested block is indented as
well. For example:
fo:block text-indent="5"
This is just for testing
purpose and this line will be indented.
fo:blockthis is the nested block
Since both the text preceding the nested block and the text following the
nested block are within the indented block, the text after the nested
block gets indented. You'd need to move the text after the nested block to
its own block to not have it be indented.
fo:block text-indent=5
This
I totally agree that all the PCDATA is owned by the outer fo:block and hence
when it applies the text-indent property, it should apply only to the first
line in that block. The spec. for text-indent says:
This property specifies the indentation of the first line of text
in a block.
-Original Message-
From: Sascha Teifke [mailto:[EMAIL PROTECTED]
Hi,
(*sigh*... Glen's right, you know. Question is actually more suited for
Mulberry, but here we go anyway...)
Normally, to keep the lenya:meta element from appearing in the ouput, all
you need to do is add an empty
My apologies. I had confused text-indent with start-indent.
I guess FOP has a bug here. The work around appears to be not having text
after a nested block.
Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)
Puppala, Kumar (LNG-DAY) [EMAIL
Can anyone direct me to the code where I can prevent inheritance of the
text-indent property in the scenario mentioned below? I would like to make
those changes in my local copy of Apache source code (0.20.5) since this
would impact our application. Any help is greatly appreciated.
Thanks,
Kumar
Thank you very much!
That was it!
I will subscribe to the mulberry list at once.
So long!
Sascha
Andreas L. Delmelle wrote:
-Original Message-
From: Sascha Teifke [mailto:[EMAIL PROTECTED]
Hi,
(*sigh*... Glen's right, you know. Question is actually more suited for
Mulberry, but here
-Original Message-
From: Puppala, Kumar (LNG-DAY) [mailto:[EMAIL PROTECTED]
Can anyone direct me to the code where I can prevent inheritance of the
text-indent property in the scenario mentioned below?
I can point you to the code:
{your-fop-dir}/src/org/apache/fop/fo/flow/Block.java
Kumar Puppala wrote:
Can anyone direct me to the code where I can prevent
inheritance of the text-indent property in the scenario
mentioned below? I would like to make those changes in my
local copy of Apache source code (0.20.5) since this would
impact our application. Any help is
Sascha Teifke wrote:
Thank you very much!
That was it!
I will subscribe to the mulberry list at once.
I don't know if you are also subscribed to the Lenya list,
but your XSLT would be a nice contribution ;-)
Michi
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache
17 matches
Mail list logo