DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25773>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25773

[PATCH] width, height, border and background support for block-container.

           Summary: [PATCH] width, height, border and background support for
                    block-container.
           Product: Fop
           Version: 1.0dev
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: page-master/layout
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


This patch assigns width, height and common traits to block-container areas.

It contains the following changes:

1) Keep the width and height properties in instance fields in
   BlockContainerLM. I'm not at all sure that is the preferred
   approach, but it makes sense to me. Feedback welcome.
2) Add the child block in the BCLM.flush() after the child area tree has 
   been built. Othwerwise the auto height will always be zero and the 
   bpd is not incremented.
3) Added a Block.addBlock(Block, boolean) method which block-container can
   use when it is adding children to a fixed height block. The default 
   addBlock(Block) method still calculates the height based on the children.
4) Pass overflow signals from the child LM through to the parent LM.
   Otherwise no new page is created when a child block overflows a page
   and an indefinite loop is entered.
5) Sets common borders and background traits to the block-container area.

Reply via email to