[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

FO: borders and background for inline areas

Subject: FO: borders and background for inline areas
From: "Nikolai Grigoriev" <grig@xxxxxxx>
Date: Mon, 1 Nov 1999 01:36:11 +0300
fo inline border
Hi!

Question: what is the right way for drawing a border around
one word in a text with XSL Formatting Objects?

A spontaneous answer would be:

    <fo:inline-sequence border="thin solid black">
        word
    </fo:inline-sequence>

but it is stated in the WD that <fo:inline-sequence> does not produce
any area, and serves only as a carrier to specify inheritable properties.
So the solution is wrong: 'border' is not allowed on inline-sequences.

One more solution is:

    <fo:bidi-override direction="ltr" border="thin solid black">
        word
    </fo:bidi-override>

which is correct but weird: we are far beyond the scope
of <fo:bidi-override>. I have an impression this is kinda
abusive.

I have a strong feeling that XSL FO lacks an object whose
central task is to bind arbitrary inlines into a single
inline-area. Am I right? If yes, what is the suggested
temporary solution at the moment for problems like the
one above:

- stick to <fo:bidi-override>;
- extend <fo:inline-sequence> semantics, making it create an area;
- invent a fresh element as a proprietary extension?

Regards,

Nikolai Grigoriev,
RenderX








 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.