[xep-support] fo-list-item and floated image

From: Simon Dingle <sdingle@limehousesoftware.co.uk>
Date: Thu Jan 31 2008 - 08:23:12 PST

Hello XEP-Support,

I am attempting to position an fo:external-graphic with float="start" alongside a list such that the image will appear to the left of the page and the list-item label and body will appear to the right of this. No matter where I position the fo:external graphic it doesn't appear in the desired place.

My fo looks like this:-
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
            <fo:layout-master-set>
                        <fo:simple-page-master master-name="Main">
                                    <fo:region-body margin="0.5in" border="thin black solid" column-count="1" margin-bottom="5mm" margin-left="5mm" margin-right="5mm" margin-top="5mm"/>
                        </fo:simple-page-master>
            </fo:layout-master-set>
            <fo:page-sequence master-reference="Main" initial-page-number="auto-even">
                        <fo:flow flow-name="xsl-region-body">
                                    <fo:block-container>
                                                <fo:block>
                                                            <fo:list-block>
                                                                        <fo:list-item>
                                                                                    <fo:list-item-label end-indent="label-end()" start-indent="0mm">
                                                                                                <fo:block>20 </fo:block>
                                                                                    </fo:list-item-label>
                                                                                    <fo:list-item-body start-indent="10mm">
                                                                                                <fo:float float="start">
                                                                                                            <fo:block-container margin-right="3mm" width="67.73mm">
                                                                                                                        <fo:block>
                                                                                                                                    <fo:external-graphic content-height="50.8mm" content-width="67.73mm" id="d10345e668" src="url(file:///S://images/highresRGB/36688_1_0.jpg)"/>
                                                                                                                        </fo:block>
                                                                                                            </fo:block-container>
                                                                                                </fo:float>
                                                                                                <fo:block>this is my list body text</fo:block>
                                                                                    </fo:list-item-body>
                                                                        </fo:list-item>
                                                            </fo:list-block>
                                                </fo:block>
                                                <fo:block>lorem ipsum</fo:block>
                                                <fo:block>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Mauris et tellus. Mauris ac massa. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Suspendisse nec metus a diam tempus euismod. Fusce accumsan urna sit amet pede. Maecenas id ante et tortor semper dapibus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Proin ante erat, tempus at, varius condimentum, posuere ut, nunc. Curabitur vehicula sem ut ligula. Suspendisse auctor congue libero. Fusce nulla justo, suscipit ac, semper porttitor, faucibus placerat, augue. Suspendisse potenti. Etiam at ligula. Vestibulum sit amet mi eu purus hendrerit scelerisque. Sed vitae orci nec lacus consequat bibendum. In sapien mauris, ornare ac, porttitor a, congue eu, nibh. Duis velit lectus, venenatis et, egestas vitae, imperdiet et, lorem. Integer a orci. Fusce quis orci. Cras vitae nisi non turpis aliqu!
 am dapibus.</fo:block>
                                                <fo:block>
                                                            <fo:float float="start">
                                                                        <fo:block-container margin-right="3mm" width="67.73mm">
                                                                                    <fo:block>
                                                                                                <fo:external-graphic content-height="50.8mm" content-width="67.73mm" id="d10345e668" src="url(file:///S:/images/highresRGB/36688_1_0.jpg)"/>
                                                                                    </fo:block>
                                                                        </fo:block-container>
                                                            </fo:float>
                                                            <fo:list-block>
                                                                        <fo:list-item>
                                                                                    <fo:list-item-label end-indent="label-end()" start-indent="0mm">
                                                                                                <fo:block>20</fo:block>
                                                                                    </fo:list-item-label>
                                                                                    <fo:list-item-body start-indent="10mm">
                                                                                                <fo:block>this is my list body text</fo:block>
                                                                                    </fo:list-item-body>
                                                                        </fo:list-item>
                                                            </fo:list-block>
                                                </fo:block>
                                    </fo:block-container>
                        </fo:flow>
            </fo:page-sequence>
</fo:root>

Is there any way I can achieve this?

Kind regards,

Simon

Simon Dingle
Development

-------------------------------
sdingle@limehousesoftware.co.uk
Limehouse Software Ltd
DDI: (020) 7566 3335
Main: (020) 7566 3320
Fax: (020) 7566 3321
Limehouse Software Ltd
4th Floor
1 London Bridge
London
SE1 9BG
Manchester Office:
3rd Floor, The Triangle, Exchange Square, Manchester M4 3TR
Tel: (0161) 240 2440, Fax: (0161) 240 2441, ISDN: 08700 119 400
Check out Limehouse Software's innovative solutions
www.limehousesoftware.co.uk - Transforming the way you publish and consult on information
The information contained in this e-mail or in any attachments is confidential and is intended solely for the named addressee only. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, please notify Limehouse Software Ltd immediately by returning this e-mail to sender or calling 020 7566 3320 and do not read, use or disseminate the information. Opinions expressed in this e-mail are those of the sender and not necessarily the company. Although an active anti-virus policy is operated, the company accepts no liability for any damage caused by any virus transmitted by this e-mail, including any attachments.

-------------------
(*) 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/terms-of-service.html
Received on Thu Jan 31 10:00:23 2008

This archive was generated by hypermail 2.1.8 : Thu Jan 31 2008 - 10:00:33 PST