[xep-support] Creating inline areas with zero width
G. Ken Holman
gkholman at CraneSoftwrights.com
Wed Jun 14 11:29:09 PDT 2006
At 2006-06-14 19:25 +0200, Jirka Kosek wrote:
>Janean Angeles wrote:
>>I'm not sure if this is the 'best' way of doing this, but it worked for me.
>>Try applying a negative padding-left to the 2nd
>>value. Taking your fo and altering it like this:
>><fo:block>
>> A<fo:inline baseline-shift="super"
>> inline-progression-dimension="0pt">X</fo:inline><fo:inline
>> baseline-shift="sub" padding-left="-8pt">Y</fo:inline>
>> </fo:block>
>>This technique worked in my test. You may
>>still have to play with the padding variable to
>>get them right (due to font differences), but it's something to start with...
>
>Yes, negative spaces are solution, but only in a
>case when you know the exact size of overlapping
>content. My problem is, that instead of single
>letter "X" I must cope with arbitrary content of unknown width.
I understand that <inline-container> is not
supported in XEP, but I believe the pure XSL-FO
answer to your question is the following code
fragment, which I've tested as working in another processor.
I hope this helps understand what is available in the specification.
. . . . . . . . . Ken
<flow flow-name="frame-body" xmlns="http://www.w3.org/1999/XSL/Format">
<block text-align="justify" font-size="20pt">
ZZ<inline-container font-size="10pt"
alignment-baseline="after-edge">
<table>
<table-body>
<table-row>
<table-cell><block>X</block></table-cell>
</table-row>
<table-row>
<table-cell><block>Y</block></table-cell>
</table-row>
</table-body>
</table></inline-container>ZZ
</block>
</flow>
--
Registration open for UBL training: Montréal, Canada 2006-08-07
Also for XSL-FO/XSLT training: Minneapolis, MN 2006-07-31/08-04
Also for UBL/XML/XSLT/XSL-FO training: Varo,Denmark 06-09-25/10-06
World-wide corporate, govt. & user group UBL, XSL, & XML training.
G. Ken Holman mailto:gkholman at CraneSoftwrights.com
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
Male Cancer Awareness Aug'05 http://www.CraneSoftwrights.com/f/bc
Legal business disclaimers: http://www.CraneSoftwrights.com/legal
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
More information about the Xep-support
mailing list