Re: [xep-support] Use of 'rx:background-content-width' attribute?

From: Alexander Peshkov (peshkov@renderx.com)
Date: Fri Dec 05 2003 - 01:49:02 PST

  • Next message: Obenaus, Detlef: "[xep-support] ps vs. pdf"

    Hello Jacques,

    Property 'rx:background-content-height' works fine then specified on
    fo:region-body, however it makes our validator issue false warnings.
    We will fix it it the next XEP release. Thanks for your feedback.

    Best regards,
    Alexander Peshkov mailto:peshkov@renderx.com
    RenderX

    DJ> All,

    DJ> I must have missed something, as I can't get this (or 'rx:background-content-height' etc.) to work:
    DJ> validation fails if I apply it to an fo:region-body element in an attempt to size a 'watermark', as follows:

    DJ> ...
    DJ> <fo:simple-page-master master-name="bodyRight"
    DJ> page-width="190.0mm" page-height="230.0mm"
    DJ> margin-top="7.5mm" margin-bottom="7.5mm"
    DJ> margin-left="20.0mm" margin-right="20.0mm">
    DJ> <fo:region-body margin-top="12.5mm" margin-bottom="20mm"
    DJ> background-image="url(http://betowl03:7777/ifs/files/ifs/common/drawings/draft_wm.pdf)"
    DJ> rx:background-content-width="125mm"/>
    DJ> <fo:region-before ... />
    DJ> ...

    DJ> The output of XEP is:

    DJ> betowl03# ./runXep -fo build/00000050/wm2.fo
    DJ> (document
    DJ> (validate
    DJ> {!file:/home/docstore/build/00000050/result/wm2.fo: line 14: [error] Attribute 'rx:background-content-width' cannot occur at element
    DJ> 'fo:region-body'.}
    DJ> ...

    DJ> The '3.5. Background Image Scaling' section in the 'spec' documentation gives the impression that one can add these attributes to
    DJ> the element with a 'background-image' property.
    DJ> The Formatting Objects DTD (with the rx extensions) includes these attributes in the 'border-padding-background-properties'
    DJ> parameter entity, which is included in the 'region-properties' parameter entity.

    DJ> Other rx: extensions, such as meta-info and bookmark go happily through.

    DJ> Any help or pointers much appreciated.

    DJ> Best regards,

    DJ> --
    DJ> Jacques Deseyne
    DJ> User Documentation Dept. - Tools and Technology
    DJ> S.W.I.F.T. s.c.r.l.
    DJ> Society for Worldwide Interbank Financial Telecommunication
    DJ> Tel +32 2 655 3111

    DJ> This e-mail and any attachments thereto may contain information that is
    DJ> confidential and/or proprietary and is intended for the sole use of
    DJ> the recipient(s) named above. It is not intended to create or affect
    DJ> any contractual arrangements between the parties. If you have received
    DJ> this e-mail by mistake, please notify the sender and delete it immediately.
    DJ> Thank you for your cooperation.

    -------------------
    (*) 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 Dec 05 2003 - 01:57:49 PST