DO NOT REPLY [Bug 47530] Problem with fo:wrapper inside block-container or table-cell

2011-02-06 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47530

Andreas L. Delmelle adelme...@apache.org changed:

   What|Removed |Added

  Attachment #23983|0   |1
is obsolete||
  Attachment #23984|0   |1
is obsolete||
  Attachment #23985|0   |1
is obsolete||

--- Comment #9 from Andreas L. Delmelle adelme...@apache.org 2011-02-06 
05:39:44 EST ---
Created an attachment (id=26611)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=26611)
potential fix

Attached patch fixes the issue (+ updates test case wrapper_block.xml), for all
potential parents to the fo:wrapper except fo:list-item-label.

One additional issue with wrappers as children of a regular block pops up (see
comment in test case), but that is not related to this one.

-- 
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 47530] Problem with fo:wrapper inside block-container or table-cell

2009-12-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47530

--- Comment #8 from ms...@freezone.co.uk 2009-12-01 23:19:16 UTC ---
Currently experiencing this problem with trunk revision 834135 and,

  [...]
  fo:list-item-body
fo:wrapper
  [...]
/fo:wrapper
  /fo:list-item-body
  [...]

java.lang.ClassCastException: org.apache.fop.layoutmgr.InlineKnuthSequence
canno
t be cast to org.apache.fop.layoutmgr.ListElement
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:302)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:130)
at org.apache.fop.cli.Main.startFOP(Main.java:174)
at org.apache.fop.cli.Main.main(Main.java:205)

-- 
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 47530] Problem with fo:wrapper inside block-container

2009-07-15 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47530


Andreas L. Delmelle adelme...@apache.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX




--- Comment #5 from Andreas L. Delmelle adelme...@apache.org  2009-07-15 
13:07:07 PST ---

Not sure what to do with this. The patch just seems copied over from FOP Trunk
(?)

The 0.94 release is considered final, and no changes are made anymore to the
corresponding development branch. If you really need the fix, then it is
recommended to use the more recent version.

Anyway, may be good to have in the archives for people that are stuck on 0.94,
but still a WONTFIX...

-- 
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 47530] Problem with fo:wrapper inside block-container or table-cell

2009-07-15 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47530


Andreas L. Delmelle adelme...@apache.org changed:

   What|Removed |Added

  Component|fo tree |page-master/layout
   Platform|PC  |All
Version|0.94|1.0dev
Summary|Problem with fo:wrapper |Problem with fo:wrapper
   |inside block-container  |inside block-container or
   ||table-cell
 OS/Version|Windows XP  |All




--- Comment #7 from Andreas L. Delmelle adelme...@apache.org  2009-07-15 
13:58:34 PST ---

I see... Checked and confirmed. The sample testcase fails validation in
fop-trunk, but that was easily fixed by removing the rowspan from the
table-cell.

After doing that, I get the ClassCastException too. Also occurs if you remove
the block-container from the picture. 
At any rate, I think the fix is even simpler. In that particular code-blocks,
there seems to be no reason whatsoever to use the BlockLevelLM interface and we
can simply declare the variables as plain LayoutManager. We can use a similar
check as is now made in FlowLM (in trunk), since the wrapper should definitely
not be ignored. If it only contains an empty block, it makes no difference, but
if the block has content, then that should be rendered normally.
The check should probably be factored into a separate method to avoid
unnecessary code-duplication. The fact that I had this fixed for FlowLM at some
point, and now the same issue still exists for two other BlockStackingLMs just
screams for improvement...

Thanks for reporting!

-- 
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 47530] Problem with fo:wrapper inside block-container

2009-07-14 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47530





--- Comment #1 from Pablo Ruiz pablo.r...@gmail.com  2009-07-14 17:19:11 PST 
---
Created an attachment (id=23983)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=23983)
Sample (but a bit complex) fo file to reproduce the problem..

-- 
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 47530] Problem with fo:wrapper inside block-container

2009-07-14 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47530





--- Comment #2 from Pablo Ruiz pablo.r...@gmail.com  2009-07-14 19:19:42 PST 
---
After a bit of work, I've managed to make a patch overcoming this bug.

See attached patch, and simplified fo file to reproduce the problem.

Greets.

-- 
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 47530] Problem with fo:wrapper inside block-container

2009-07-14 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47530





--- Comment #3 from Pablo Ruiz pablo.r...@gmail.com  2009-07-14 19:20:32 PST 
---
Created an attachment (id=23984)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=23984)
Simplified failing fo file.

-- 
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 47530] Problem with fo:wrapper inside block-container

2009-07-14 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47530





--- Comment #4 from Pablo Ruiz pablo.r...@gmail.com  2009-07-14 19:21:41 PST 
---
Created an attachment (id=23985)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=23985)
Patch fixing the problem..

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