Issue 36086 - when a table is deleted, document is corrupted
Summary: when a table is deleted, document is corrupted
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.1.3
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-25 12:23 UTC by richlv
Modified: 2017-05-20 11:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
table & graph (10.61 KB, application/vnd.sun.xml.writer)
2004-10-25 12:23 UTC, richlv
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description richlv 2004-10-25 12:23:25 UTC
see attached coument. select all rows of a table, choose row->delete. see how 
document becomes corrupted - empty pages are not removed, page order is mixed 
up, table is on portrait oriented page while landscape oriented page is empty 
and at the start of the document.
Comment 1 richlv 2004-10-25 12:23:54 UTC
Created attachment 18645 [details]
table & graph
Comment 2 michael.ruess 2004-10-26 08:24:03 UTC
MRU->OD: select the rows of the table on the whole first page and delete them
(so that ne page will be deleted). At the end of the document you will see, that
the page anchored object will not move up with its landscape page where it
originall was anchored to.
Comment 3 amouzgar 2006-01-26 23:04:24 UTC
I replicated the bug on a kernel 2.4.31 Red Hat machine using these 2 steps:

1- open “ptotal3.sxw†with ooffice 1.1.3 
2- select the entire table on the first page
3- choose 'row' (either through right click or Format menu) ---> 'Delete' 

As explained by mru the diagram on the last page does not move up along with the
other pages and in particular with the landscape one.

I found something interesting. If after step one we change the anchoring option
of the diagram from 'anchor to page' to 'anchor to paragraph' the problem would
not arise any more. 

For this I did the following after step 1:

1a- Click on the diagram on the last page so that it is selected and 
1b- Choose 'Anchor' (either through right click or Format menu) ---> 'to paragraph'

and then perform the rest of the steps 
Comment 4 amouzgar 2006-01-27 17:19:07 UTC
Correction: In the previous comment's first line, by 2 steps it was really meant
3 steps. sorry typing error.
Comment 5 Marcus 2017-05-20 11:21:47 UTC
Reset assigne to the default "issues@openoffice.apache.org".