Foppeuses, Foppeurs, I've added some new stuff to the development branch to show how the BreakPoss strategy would handle nested inlines. It doesn't do anything with blocks in inlines yet. For the moment, FOs are creating "BP" style layout managers for Inline, Text and Line.
There's a new inline area class "InlineParent" which contains child inline areas. I've only modified the XML renderer for the moment to handle this. Also, the vertical alginment stuff is currently disabled, since I was only concentrating on handling breaks in nested areas and correctly propogating position information up to the Line LM. It should be able to get through the attached test case without crashing. Final warning: I sort of screwed up my commit. CVS looks ok, but some of the commit messages didn't get mailed. Please yell if you notice any problems. Sorry :-(( Regards, Karen
<root xmlns="http://www.w3.org/1999/XSL/Format"> <layout-master-set> <simple-page-master master-name="simple" page-height="29.7cm" page-width="21.0cm" margin-bottom="3cm" margin-left="2cm" margin-right="2cm" margin-top="1cm" > <region-before region-name="before" extent="2cm"/> <region-body region-name="xsl-region-body" margin-top="2cm"/> </simple-page-master> </layout-master-set> <page-sequence master-reference="simple"> <flow flow-name="xsl-region-body"> <block>Hello world.<inline color="red"> Here is a bunch of red text in an <inline>inline</inline> so that we can see if this will cause</inline> several lines to be made.</block> </flow> </page-sequence> </root>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
