[jira] [Commented] (FOP-2820) [PATCH] Top/Bottom borders and padding of block containers are repeated after the page break

2018-10-15 Thread Chris Bowditch (JIRA)


[ 
https://issues.apache.org/jira/browse/FOP-2820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16649881#comment-16649881
 ] 

Chris Bowditch commented on FOP-2820:
-

I'm not sure this is a bug. A block-container has a different purpose to an 
fo:block. Did you check the specification?

> [PATCH] Top/Bottom borders and padding of block containers are repeated after 
> the page break
> 
>
> Key: FOP-2820
> URL: https://issues.apache.org/jira/browse/FOP-2820
> Project: FOP
>  Issue Type: Bug
>  Components: layout/block
>Affects Versions: 2.3
>Reporter: Dan Caprioara
>Priority: Major
> Attachments: block-container_borders-padding-and-page-breaks.xml, 
> fo-block-container.png, fo-block.png, fop.patch
>
>
> There is a big difference between a block and a block-container regarding the 
> borders and padding when the page breaks.
> The borders should be like this (this is a plain {{fo:block}}):
>  !fo-block.png!
> But instead is like this ( this is a {{fo:block-container -}} ignore the 
> text, chck the borders):
>  !fo-block-container.png!
> If you have a longer text in the block container and it spans on several 
> pages then it starts to bleed out of the page.
> I found a fix for that, I will post it below.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (FOP-2820) [PATCH] Top/Bottom borders and padding of block containers are repeated after the page break

2018-10-15 Thread Chris Bowditch (JIRA)


 [ 
https://issues.apache.org/jira/browse/FOP-2820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Bowditch updated FOP-2820:

Summary: [PATCH] Top/Bottom borders and padding of block containers are 
repeated after the page break  (was: Top/Bottom borders and padding of block 
containers are repeated after the page break)

> [PATCH] Top/Bottom borders and padding of block containers are repeated after 
> the page break
> 
>
> Key: FOP-2820
> URL: https://issues.apache.org/jira/browse/FOP-2820
> Project: FOP
>  Issue Type: Bug
>  Components: layout/block
>Affects Versions: 2.3
>Reporter: Dan Caprioara
>Priority: Major
> Attachments: block-container_borders-padding-and-page-breaks.xml, 
> fo-block-container.png, fo-block.png, fop.patch
>
>
> There is a big difference between a block and a block-container regarding the 
> borders and padding when the page breaks.
> The borders should be like this (this is a plain {{fo:block}}):
>  !fo-block.png!
> But instead is like this ( this is a {{fo:block-container -}} ignore the 
> text, chck the borders):
>  !fo-block-container.png!
> If you have a longer text in the block container and it spans on several 
> pages then it starts to bleed out of the page.
> I found a fix for that, I will post it below.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)