You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Arved Sandstrom <Ar...@chebucto.ns.ca> on 2001/05/01 00:29:49 UTC

Re: Region Borders

Hi, Kristian

If you look at the XSL specification, you'll see that border-width and 
padding may be specified but _must_ be "0". Don't ask - this has come up 
before.

RenderX deliberately decided to nonconform on this one (see 
http://www.renderx.com/Tests/doc/html/spec.html, Non-Conformance Issues, 
"Border and Padding on Regions").

It's not our limitation - it's their extension.

HTH,
Arved Sandstrom

At 12:45 PM 4/30/01 -0500, Kristian R. Van Tassell wrote:
I am unable to get a region border to appear. My code:
  
<fo:region-start extent="5in" border-start-style="dotted"
border-start-width="1px" border-start-color="gray"/>
When I try this code in XEP, it works fine. I do not see this listed as a
limitation in the fop apache web pages. Is there another way to code this?
Am I doing something wrong?
  
Thanks in advance for any help.
  
-Kris
  
  
======================================
Kristian R. Van Tassell                
Support Specialist - Content Management Solutions
empolis NA, Inc.
651-224-1629
<ma...@empolis.com>kristian.vantassell@empolis.com
======================================

Fairly Senior Software Type
e-plicity (http://www.e-plicity.com)
Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia


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


RE: Region Borders

Posted by Arved Sandstrom <Ar...@chebucto.ns.ca>.
In all fairness to RenderX, they (and AntennaHouse) are out there with 
commercial implementations that they have to sell, and they have customers 
that demand these things. They don't have the luxury of either waiting for 
XSL 2.0 (and the way the spec is phrased with respect to region borders 
suggests that it _will_ change) in all areas, nor of adopting as much of a 
rigorous view as we (FOP) can do.

RenderX hasn't tried to sneak any non-conformant stuff by - it's all 
well-documented.

I think that between stuff like this (liberal interpretations) and 
extensions, that you'll see the various processors try to push and prod the 
W3C XSL WG a bit as they decide what shape XSL 2.0 should take.

Regards,
Arved

At 06:22 PM 4/30/01 -0500, Kristian R. Van Tassell wrote:
>Thank you for the clarification!
>
>>> RenderX deliberately decided to nonconform on this one (see
>http://www.renderx.com/Tests/doc/html/spec.html, Non-Conformance Issues,
>"Border and Padding on Regions")
>
>Why does this remind me of the battle between MSIE and Netscape? :)
>
>Believe me, I prefer Fop, just got confused, I'll pay more attention to the
>XSL Spec. Thanks again.
>
>-Kris
>
>-----Original Message-----
>From: Arved Sandstrom [mailto:Arved_37@chebucto.ns.ca]
>Sent: Monday, April 30, 2001 5:30 PM
>To: fop-dev@xml.apache.org
>Subject: Re: Region Borders
>
>
>Hi, Kristian
>
>If you look at the XSL specification, you'll see that border-width and
>padding may be specified but _must_ be "0". Don't ask - this has come up
>before.
>
>RenderX deliberately decided to nonconform on this one (see
>http://www.renderx.com/Tests/doc/html/spec.html, Non-Conformance Issues,
>"Border and Padding on Regions").
>
>It's not our limitation - it's their extension.
>
>HTH,
>Arved Sandstrom
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
>For additional commands, email: fop-dev-help@xml.apache.org
>
>
Fairly Senior Software Type
e-plicity (http://www.e-plicity.com)
Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia


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


Re: Region Borders

Posted by Karen Lease <kl...@club-internet.fr>.
Maybe you could try putting everything in the flow in a containing
fo:block with borders. You'll probably want to adjust your indents on
either the outer or inner blocks.

-Karen

"Kristian R. Van Tassell" wrote:
> 
> I should have added my query then, that this now poses (and forgive me if
> this is more of a xsl-beginner mailing list question):
> 
> What then are my options for drawing a border around a region? Obviously,
> fo:block border-start-width will only draw a border to the end of a
> paragraph. How do I say "draw a border in my text area on the start or end
> side?" in FO terms?
> 
> -Kris
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org

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


RE: Region Borders

Posted by "Kristian R. Van Tassell" <va...@goamerica.net>.
I should have added my query then, that this now poses (and forgive me if
this is more of a xsl-beginner mailing list question):

What then are my options for drawing a border around a region? Obviously,
fo:block border-start-width will only draw a border to the end of a
paragraph. How do I say "draw a border in my text area on the start or end
side?" in FO terms?

-Kris


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


RE: Region Borders

Posted by "Kristian R. Van Tassell" <va...@goamerica.net>.
Thank you for the clarification!

>> RenderX deliberately decided to nonconform on this one (see
http://www.renderx.com/Tests/doc/html/spec.html, Non-Conformance Issues,
"Border and Padding on Regions")

Why does this remind me of the battle between MSIE and Netscape? :)

Believe me, I prefer Fop, just got confused, I'll pay more attention to the
XSL Spec. Thanks again.

-Kris

-----Original Message-----
From: Arved Sandstrom [mailto:Arved_37@chebucto.ns.ca]
Sent: Monday, April 30, 2001 5:30 PM
To: fop-dev@xml.apache.org
Subject: Re: Region Borders


Hi, Kristian

If you look at the XSL specification, you'll see that border-width and
padding may be specified but _must_ be "0". Don't ask - this has come up
before.

RenderX deliberately decided to nonconform on this one (see
http://www.renderx.com/Tests/doc/html/spec.html, Non-Conformance Issues,
"Border and Padding on Regions").

It's not our limitation - it's their extension.

HTH,
Arved Sandstrom



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