Apache OpenOffice (AOO) Bugzilla – Issue 74264
Part of tableinitially disappears when "row break across pages" disabled
Last modified: 2013-08-07 14:44:35 UTC
- Open attached document - With the cursor on the table, use right mouse button (RMB) and select table - Unselect : allow row to break across pages and columns click OK It looks like nothing is happening, but the 2nd page of document is gone. - Save the document (^s) and quite the document - Open the document, all is fine now. Second part of the table is now located on the second page as expected. The bug is that the document needs to be saved, quit and re-opened to obtain the right view of document. It should not be necessarry to quite the wordprocessor.
Created attachment 42825 [details] Test document to be used to debug table problem
I can confirm (OO 2.1 on WinXP) that after I unselect "allow row to break across pages and columns" table fits onto one page, which seems wrong.
MRU->FME: open attached document, place cursor e.g. in cell A10. Disable "Allow row to break across pages" for this row -> part which resides on page 2 is not visible anymore; ok after save/reload.
move to target 3.x according http://wiki.services.openoffice.org/wiki/Target_3x
Frank, any chance you could fix this issue for 3.0? Thanks. WBR, KP.
Kyrill, I see the problem, the bug is located in SwTabFrm::RemoveFollowFlowLine(). But for three reasons I don't want to promise to fix this for 3.0 but prefer to leave this on 3.x: 1. That code is somewhat fragile, so without a very good reason I don't like to touch it 2. The workaround is quite easy, just trigger a reformatting of the table (by e.g., entering an empty paragraph somewhere in front of the table and deleting it again) 3. Since 2.3, we have a new table model and the bug does only occur with the old table model, so only documents which have been created with a version < 2.3 are potentially affected. So from this point of view I don't consider this a 'must have' for 3.0. What do you think?
Frank, this problem also happens for .doc files and those are not going anywhere any time soon (I am sending you confidential sample via e-mail). So if you could provide private build with this fix I can test it on my users. Also, we have unofficial OpenOffice Pro build by Russian-based Infra Resource. If chief developer Rail Aliev will be kind enough to include the patch or CWS in his build we will get major real-life testing (especially if we can make it for 2.4). I have included Rail in CC. OTOH, if you foresee that fixing this issue after 3.0 will be substantially more convenient for you then I can not insist. WBR, KP.