[xep-support] Calculating left-indent

From: David Priest (priest@sfu.ca)
Date: Fri Jul 30 2004 - 12:29:01 PDT

  • Next message: Chris Cosentino: "Re[2]: [xep-support] Japanese Fonts?"

    Is there an easy method of dynamically determining the distance from the
    edge of the page to the start of hard-left text for a content block on any
    given page?

    I think the calculation would include page.margin-left and
    region-body.margin-left. I don't think region-start would be needed, as
    region-body needs to set a left margin that doesn't overwrite it. One
    might need to include block.margin-left, block.border, and block.padding
    for the current content block.

    Alternatively, simply knowing whether my template was currently putting
    content on a left or right page would go a long, long way to helping me
    achieve the layout I desire.

    Any hints would be greatly appreciated. The solution can be XEP-specific.

    -- 
    David Priest -- 250 542-5208
    WritersBlock Technical Communications
    -------------------
    (*) 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 : Fri Jul 30 2004 - 12:45:12 PDT