DO NOT REPLY [Bug 47409] New: Putting a table in an inline block produces an extra rule line in a table row

View: New views
7 Messages — Rating Filter:   Alert me  

DO NOT REPLY [Bug 47409] New: Putting a table in an inline block produces an extra rule line in a table row

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=47409

           Summary: Putting a table in an inline block produces an extra
                    rule line in a table row
           Product: Fop
           Version: 0.95
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: page-master/layout
        AssignedTo: fop-dev@...
        ReportedBy: kkapelon@...


I am using FOP 0.95 (latest stable at the time of writing) and attached FO
file.

I convert it to PDF with

fop -fo minimal-inline.xml minimal-inline.PDF

Expected output:

The exact same output as minimal.pdf which the same file but the table is not
in
an inline block

Actual Output:

An extra rule line is rendered the middle table row.

Thank you.

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

DO NOT REPLY [Bug 47409] Putting a table in an inline block produces an extra rule line in a table row

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=47409





--- Comment #1 from Kostis Kapelonis <kkapelon@...>  2009-06-23 05:32:12 PST ---
Created an attachment (id=23849)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23849)
Result PDF that shows the bug

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

DO NOT REPLY [Bug 47409] Putting a table in an inline block produces an extra rule line in a table row

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=47409





--- Comment #2 from Kostis Kapelonis <kkapelon@...>  2009-06-23 05:32:28 PST ---
Created an attachment (id=23850)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23850)
Expected PDF result

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

DO NOT REPLY [Bug 47409] Putting a table in an inline block produces an extra rule line in a table row

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=47409





--- Comment #3 from Kostis Kapelonis <kkapelon@...>  2009-06-23 05:32:58 PST ---
Created an attachment (id=23851)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23851)
Fo file that triggers the bug

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

DO NOT REPLY [Bug 47409] Putting a table in an inline block produces an extra rule line in a table row

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=47409





--- Comment #4 from Kostis Kapelonis <kkapelon@...>  2009-06-23 05:33:29 PST ---
Created an attachment (id=23852)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23852)
Fo file that produces expected output

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

DO NOT REPLY [Bug 47409] Putting a table in an inline block produces an extra rule line in a table row

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=47409





--- Comment #5 from Andreas L. Delmelle <adelmelle@...>  2009-06-23 06:11:16 PST ---

Accepted and confirmed with FOP Trunk.

For fop-devs: seems like a slight error in determining the border-traits of
inline-blocks. If I specify a conditionality of "discard" (= the initial
value), then I get the expected output. Probably, because strictly speaking, I
think the InlineLM cannot make a distinction between a genuine line-break and a
break that results from adding a new table-part (body/row).

As a side-note: I also tried making the first table-body a genuine table-header
(since it seems to be used for that purpose in the sample file). In that case,
FOP currently renders the header last... :-/

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

DO NOT REPLY [Bug 47409] Putting a table in an inline block produces an extra rule line in a table row

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=47409


Andreas L. Delmelle <adelmelle@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Platform|PC                          |All
            Version|0.95                        |1.0dev
         OS/Version|Windows XP                  |All




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