You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "sudha." <su...@einsurance.de> on 2003/05/20 12:13:36 UTC

how can I map "border" attribute of table to fo:table ?

HI everybody.

could be this is very easy, ut I am not able to do it :(
how can I map "border" attribute of table to fo:table ? 
I tried by setting followinf with <fo:table>

<xsl:attribute name="border">
	<xsl:value-of select="@border"/> 
	<xsl:text>pt</xsl:text>
</xsl:attribute>

statement, but doesn't work.

can anybody help me out
thanks
sudha



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: AW: how can I map "border" attribute of table to fo:table ?

Posted by "J.Pietschmann" <j3...@yahoo.de>.
sudha. wrote:
> the table definition  is converted  to the following FO:table  (the first
> one used "border" as attribute name second with "border-style" for the html
> table border - I am not sure about the attribute name to be used in FO so
> tried with both )
Border style sets the style only, never the width. The is the
same for HTML - where did you get your wisdom?
There's always the spec where you can look up the correct
definitions, for "border" see for example
  http://www.w3.org/TR/xsl/slice7.html#border

If you want to set the border width, use border-width.

> <fo:table width="708.75pt" height="314.685pt" border="1px"

You should not use pixel units unless you generate bitmaps.
Use pt, mm or in instead.

> background-color="">
The value is illegal, which causes the message
 > [ERROR] Error in background-color property value '':

Most probably cause by an error in your style sheet.

><fo:table-column number-columns-repeated="2"
> text-align="start"/>
A table column must have a column-with property. The
number-columns-repeated="2" and text-align="start" propertis
don't have any effect.
The missing column widths likely cause this
 > [ERROR] At least one of minimum, optimum, or maximum IPD must be
 > specified on table.
Interestingly, only one table seems to have this problem.

I still don't see what your problem is: no border, not
the border you expected, or what?

BTW there's no point in repeating the same error message
endlessy.

J.Pietschmann


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


AW: how can I map "border" attribute of table to fo:table ?

Posted by "sudha." <su...@einsurance.de>.
new error message after the "font-family" error fix.

[ERROR] Logger not set
[WARNING] Screen logger not set - Using ConsoleLogger.
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] building formatting object tree
[INFO] setting up fonts
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.PropertyException: No conversion defined
[INFO] [1]
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[ERROR] Unknown enumerated value for property 'border-top-style': px
[ERROR] Unknown enumerated value for property 'border-bottom-style': px
[ERROR] Unknown enumerated value for property 'border-left-style': px
[ERROR] Unknown enumerated value for property 'border-right-style': px
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[ERROR] Unknown enumerated value for property 'border-top-style': px
[ERROR] Unknown enumerated value for property 'border-bottom-style': px
[ERROR] Unknown enumerated value for property 'border-left-style': px
[ERROR] Unknown enumerated value for property 'border-right-style': px
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[ERROR] Unknown enumerated value for property 'border-top-style': px
[ERROR] Unknown enumerated value for property 'border-bottom-style': px
[ERROR] Unknown enumerated value for property 'border-left-style': px
[ERROR] Unknown enumerated value for property 'border-right-style': px
[WARNING] table-layout=auto is not supported, using fixed!
[ERROR] Unknown enumerated value for property 'border-top-style': px
[ERROR] Unknown enumerated value for property 'border-bottom-style': px
[ERROR] Unknown enumerated value for property 'border-left-style': px
[ERROR] Unknown enumerated value for property 'border-right-style': px
[WARNING] table-layout=auto is not supported, using fixed!
[ERROR] At least one of minimum, optimum, or maximum IPD must be specified
on table.
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[INFO] Parsing of document complete, stopping renderer
Process terminated with exit code 0

-----Ursprungliche Nachricht-----
Von: sudha. [mailto:sudha.raver-veettil@einsurance.de]
Gesendet: Wednesday, May 21, 2003 10:19 AM
An: fop-user@xml.apache.org
Betreff: AW: how can I map "border" attribute of table to fo:table ?


Thanks Pietschmann. Sorry that I didn't provide a clear picture of the
problem. here it goes.

the table definition  is converted  to the following FO:table  (the first
one used "border" as attribute name second with "border-style" for the html
table border - I am not sure about the attribute name to be used in FO so
tried with both )

<fo:table width="708.75pt" height="314.685pt" border="1px"
background-color=""><fo:table-column number-columns-repeated="2"
text-align="start"/><fo:table-body><fo:table-row><fo:table-cell
font-size="9pt" font-weight="normal" font-famil="Arial, Helvetica,
sans-serif" number-columns-spanned="1" number-rows-spanned="1">

<fo:table width="708.75pt" height="314.685pt" border-style="1px"
background-color=""><fo:table-column number-columns-repeated="2"
text-align="start"/><fo:table-body><fo:table-row><fo:table-cell
font-size="9pt" font-weight="normal" font-famil="Arial, Helvetica,
sans-serif" number-columns-spanned="1" number-rows-spanned="1">


And following is the list of error messages (normally I ignore many of them
as I am not abe to fix it :( still pdf is got generated :) )
----------------------------------------------------------------------------
-----------
[INFO] FOP 0.20.4rc
[INFO] building formatting object tree
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[INFO] [1]
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[ERROR] At least one of minimum, optimum, or maximum IPD must be specified
on ta
ble.
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[INFO] Parsing of document complete, stopping renderer

----------------------------------------------------------

-----Ursprungliche Nachricht-----
Von: J.Pietschmann [mailto:j3322ptm@yahoo.de]
Gesendet: Tuesday, May 20, 2003 11:02 PM
An: fop-user@xml.apache.org
Betreff: Re: how can I map "border" attribute of table to fo:table ?


sudha. wrote:
> I tried by setting followinf with <fo:table>
>
> <xsl:attribute name="border">
> 	<xsl:value-of select="@border"/>
> 	<xsl:text>pt</xsl:text>
> </xsl:attribute>
>
> statement, but doesn't work.

There is nothing obviously wrong with the code, which probably
means the problem is in the code you didn't show us.
Could you be a bit more detailed about what "doesn't work"
means, like
- error messages
- no border attribute on the fo:table in the FO file
- wrong border attribute on the fo:table in the FO file
- correct attribute and value, but wrong border

J.Pietschmann


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


AW: how can I map "border" attribute of table to fo:table ?

Posted by "sudha." <su...@einsurance.de>.
Thanks Pietschmann. Sorry that I didn't provide a clear picture of the
problem. here it goes.

the table definition  is converted  to the following FO:table  (the first
one used "border" as attribute name second with "border-style" for the html
table border - I am not sure about the attribute name to be used in FO so
tried with both )

<fo:table width="708.75pt" height="314.685pt" border="1px"
background-color=""><fo:table-column number-columns-repeated="2"
text-align="start"/><fo:table-body><fo:table-row><fo:table-cell
font-size="9pt" font-weight="normal" font-famil="Arial, Helvetica,
sans-serif" number-columns-spanned="1" number-rows-spanned="1">

<fo:table width="708.75pt" height="314.685pt" border-style="1px"
background-color=""><fo:table-column number-columns-repeated="2"
text-align="start"/><fo:table-body><fo:table-row><fo:table-cell
font-size="9pt" font-weight="normal" font-famil="Arial, Helvetica,
sans-serif" number-columns-spanned="1" number-rows-spanned="1">


And following is the list of error messages (normally I ignore many of them
as I am not abe to fix it :( still pdf is got generated :) )
----------------------------------------------------------------------------
-----------
[INFO] FOP 0.20.4rc
[INFO] building formatting object tree
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[ERROR] property 'font-famil' ignored
[ERROR] Error in color property value '':
org.apache.fop.fo.expr.PropertyExcepti
on: No conversion defined
[ERROR] Error in background-color property value '':
org.apache.fop.fo.expr.Prop
ertyException: No conversion defined
[INFO] [1]
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[ERROR] At least one of minimum, optimum, or maximum IPD must be specified
on ta
ble.
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[WARNING] table-layout=auto is not supported, using fixed!
[INFO] Parsing of document complete, stopping renderer

----------------------------------------------------------

-----Ursprungliche Nachricht-----
Von: J.Pietschmann [mailto:j3322ptm@yahoo.de]
Gesendet: Tuesday, May 20, 2003 11:02 PM
An: fop-user@xml.apache.org
Betreff: Re: how can I map "border" attribute of table to fo:table ?


sudha. wrote:
> I tried by setting followinf with <fo:table>
>
> <xsl:attribute name="border">
> 	<xsl:value-of select="@border"/>
> 	<xsl:text>pt</xsl:text>
> </xsl:attribute>
>
> statement, but doesn't work.

There is nothing obviously wrong with the code, which probably
means the problem is in the code you didn't show us.
Could you be a bit more detailed about what "doesn't work"
means, like
- error messages
- no border attribute on the fo:table in the FO file
- wrong border attribute on the fo:table in the FO file
- correct attribute and value, but wrong border

J.Pietschmann


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: how can I map "border" attribute of table to fo:table ?

Posted by "J.Pietschmann" <j3...@yahoo.de>.
sudha. wrote:
> I tried by setting followinf with <fo:table>
> 
> <xsl:attribute name="border">
> 	<xsl:value-of select="@border"/> 
> 	<xsl:text>pt</xsl:text>
> </xsl:attribute>
> 
> statement, but doesn't work.

There is nothing obviously wrong with the code, which probably
means the problem is in the code you didn't show us.
Could you be a bit more detailed about what "doesn't work"
means, like
- error messages
- no border attribute on the fo:table in the FO file
- wrong border attribute on the fo:table in the FO file
- correct attribute and value, but wrong border

J.Pietschmann


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org