You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2007/12/19 21:54:44 UTC

DO NOT REPLY [Bug 44107] New: - keep-together behavior not as expected

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=44107

           Summary: <fo:block> keep-together behavior not as expected
           Product: Fop
           Version: 0.94
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: pdf
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: steven.mosley1@gmail.com


After upgrading from FOP .93 to .94 a keep-together="always" on a block will
force the block to stay on a single line and go over the edge of the page.

Not 100% sure of what this is supposed to do, but it seems that always is
behaving like the 'within-line' in .94 option when in .93 it was behaving like
the 'within-page' option. And since 'within-line', 'within-page' options are not
supported (error in the logs saying FOP is ignoring them) we have no way of
forcing the block to stay on a single page.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

DO NOT REPLY [Bug 44107] - keep-together behavior not as expected

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=44107





------- Additional Comments From steven.mosley1@gmail.com  2007-12-19 12:59 -------
Created an attachment (id=21298)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=21298&action=view)
Example of the Keep Together behaviour in .93


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

DO NOT REPLY [Bug 44107] - keep-together behavior not as expected

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=44107


jeremias@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From jeremias@apache.org  2007-12-19 23:58 -------
In my opinion, this is not a bug. XSL 1.1 (chapter 5.11) says that:
keep-together="always"
is equivalent to a specification of
keep-together.within-line="always"
keep-together.within-column="always"
keep-together.within-page="always"

And I/we interpret the value "always" very strictly as opposed to other FO
implementations. If that is correct is a different discussion. Anyway, with 0.94
you get support for keep-together.within-line. Before the setting never had an
effect. The net effect is that FOP cannot break anywhere in the content and so
the whole text is one line which overflows as a consequence.

If you ask me, you have to adjust your stylesheet and use
keep-together.within-column (or .within-page although that doesn't work
properly, yet) instead of keep-together. I'm closing this issue as "INVALID",
but if anyone thinks this is wrong, please reopen.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

DO NOT REPLY [Bug 44107] - keep-together behavior not as expected

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=44107





------- Additional Comments From steven.mosley1@gmail.com  2007-12-19 12:56 -------
Created an attachment (id=21296)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=21296&action=view)
FO file to show keep together behaviour


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

DO NOT REPLY [Bug 44107] - keep-together behavior not as expected

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=44107





------- Additional Comments From steven.mosley1@gmail.com  2007-12-20 00:42 -------
Thanks, Sorry my fault I thought it was 
keep-together="within-page"

but as you point out it is 

keep-together.within-page="always"

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

DO NOT REPLY [Bug 44107] - keep-together behavior not as expected

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=44107





------- Additional Comments From steven.mosley1@gmail.com  2007-12-19 12:57 -------
Created an attachment (id=21297)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=21297&action=view)
Example of the Keep Together behaviour in .94


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

DO NOT REPLY [Bug 44107] - keep-together behavior not as expected

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=44107





------- Additional Comments From steven.mosley1@gmail.com  2007-12-19 13:00 -------
Example Attatched

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.