RE: [xep-support] space-before attribute

From: Jez Brewster (jezbrewster@datamonitor.com)
Date: Tue Apr 13 2004 - 09:33:20 PDT

  • Next message: Chen, Cindy (C)(STP): "RE: [xep-support] space-before attribute"

    You can use the padding attribute of the <fo:table-cell> element rather than use "space-before" on a block.

    e.g.

    <fo:table-cell padding="10pt">
            <fo:block font-size="10pt">
                    This is a test
            </fo:block>

    Jez Brewster

    -----Original Message-----
    From: owner-xep-support@renderx.com
    [mailto:owner-xep-support@renderx.com]On Behalf Of Chen, Cindy (C)(STP)
    Sent: 13 April 2004 17:03
    To: xep-support@renderx.com
    Cc: Vogen, Kirk (STP)
    Subject: [xep-support] space-before attribute

    Hi,

    I just experienced a weird behaviour when I tried to define a space-before attribute for a block which is placed inside a table cell. My code is attached. Basiclly I defined a block inside the table cell with "space-before" set as 10pt. From generated PDF, I wasn't able to see the spaces between the table border and the text( it looks like space-after worked fine). But if I changed the table cell on line 21 to:
                                <fo:table-cell border-style="solid">
    I was able to see the spaces. Am I missing anything?

     <<Sample.fo>>
    Thanks,
    Cindy(Jinqiu) Chen
    Software Engineer
    Tel 651.582.7576

    _____________________________________________________________________
    This message has been checked for all known viruses through the MessageLabs Virus Control Center.

    This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient or the person responsible for delivering to the intended recipient, please be advised that it has been sent in error and therefore any use is strictly prohibited.
    If you are not the intended recipient, or if you are concerned about the content of this email, please notify our IT helpdesk on +44 20 7675 7000.
    ___________________________________________________________________
    This message has been checked for all known viruses through the MessageLabs Virus Control Center.

    -------------------
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@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/tos.html



    This archive was generated by hypermail 2.1.5 : Tue Apr 13 2004 - 09:41:21 PDT