[xep-support] Interesting behaviours - maybe bugs, maybe not

Robert Goldsmith robert.goldsmith at spgroup.co.uk
Fri Oct 10 06:06:55 PDT 2008


Hi all,

Just to mention a couple of bugs / oddities we have experienced  
recently and how to work around them or prevent them when using XEP :)

The first one is when you have multiple-column layouts. If you have an  
empty <fo:block /> directly within a <fo:block-container /> 'stacking'  
down the column (in our case, price tickets) then XEP has major  
problems laying out the multi-column structure and generally only  
fills the first column on each page. The easiest way to fix it is, of  
course, to not leave empty <fo:block /> nodes hanging around but, if  
you must have them there for layout reasons (we didn't want to resort  
to absolute positioning for everything, for instance), setting the  
font size to 0px and using a text content of '.' worked for us :)

The second one really had us tearing our hair out for quite some time.  
We have a document with two tables on each page (think 'manifest'  
followed by a summary table at the bottom of the page) The first table  
has 5 columns with thumbnail images that are 'scale-to-fit' in the  
first column. The second table has no images but 3 columns. We  
accidentally specified 4 table-column nodes for the second table (the  
one without the images in it) but then only 3 cells per table row and  
the result of this was a perfectly laid out document of hundreds of  
pages but, oddly, with every single image thumbnail corrupted. The  
images displayed as weirdly stretched in OSX Preview and looked  
totally wrong in Acrobat. Obviously, the fix here was to remove the  
superfluous table-column node.

Hope this helps someone now or in the future :)

Robert
---
Robert Goldsmith
Systems Integrator
SP Group



"Please consider the environment before printing this e-mail"

***********************************************************************************
IMPORTANT - this email and the information that it contains may be 
confidential, legally privileged and/or protected by law.  It is intended 
solely for the use of the individual or entity to whom it is addressed.  
If you are not the intended recipient, please notify the sender immediately 
and do not disclose the contents to any other person, use it for any purpose, 
or store or copy the information in any medium (including by printing it out.  
Please also delete all copies of this email and any attachments from your 
system and shred any printed copies.
We do not accept any liability for losses or damages that you may suffer 
as a result of your receipt of this email including but not limited to 
computer service or system failure, access delays or interruption, data 
non-delivery or mis-delivery, computer viruses or other harmful components.
Any views expressed in this message are those of the individual sender 
except where the sender specifically states them to be the views of the SP Group.
Copyright in this email and any attachments belongs to the SP Group the sender or 
its licensors.
***********************************************************************************

-------------------
(*) 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