Issue 88153 - Cut & Paste of table within same document or into new document looses table name
Summary: Cut & Paste of table within same document or into new document looses table name
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOo 2.4.0
Hardware: All All
: P4 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: needmoreinfo, oooqa
Depends on:
Blocks:
 
Reported: 2008-04-10 21:00 UTC by peterojakobsen
Modified: 2013-08-07 14:38 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description peterojakobsen 2008-04-10 21:00:35 UTC
When I uniquely name a table and then move it within a document via cut&paste,
or copy/cut&paste into a new document the table name is lost and reverts to the
default naming convention Table#.  

This fairly staightforward but if you need more info please contact me and I'll
produce what ever is needed ASAP.

Thanks
Pete
Comment 1 Rainer Bielefeld 2008-04-11 06:21:35 UTC
I can confirm that effect, but I don't believe that it's critical for the OOo
project ;-)

@peterojakobsen:
Why do you believe that that behaviour is bad?
Comment 2 michael.ruess 2008-04-11 08:23:46 UTC
MRU->OS: when pasting a table from one document into another one, it should be
checked whether the table's name is already used in the target document or not. 
Comment 3 peterojakobsen 2008-04-11 15:50:01 UTC
We are using the names of tables to identify tables that contain information for our internal tools that 
use an API to extract table data.  We are taking the time to carefully and strategically name tables which 
frees the author up to format and present the document as they like.  Currently if I move the table 
within the document I'd expect that custom user defined name to be preserved but its lost.  Why 
support custom table names if you are not going to preserve them on a table move?  If I were to go into 
the XML and cut&paste the XML for the table, that name would be preserved.  It appears to me that 
somewhere between the XML and the OO gui those attributes are being lost or reassigned.  On a copy 
and paste this makes perfect sense but not on a cut and paste.

I stand corrected cutting and pasting is preserving the table name into a blank document.  I though I 
checked that.  My bad.  However, what happens when pasting from a sub document of a master 
document into the top level odm?  I was assuming they were treated as separate files but it appears 
that the odm has knowledge of the contents of the sub documents.  

Table names is the primary reason we've chosen to use OO vs the alternatives.  Naming tables is so 
simple and slick and so easy to take advantage of.

Thanks
Pete

Comment 4 Oliver Specht 2008-04-11 15:58:36 UTC
->peterojakobsen: The core implementation of the Writer has not much in common
with the XML file. 

->ama: Is the reason for renaming the table caused by the undo object?
Comment 5 peterojakobsen 2008-04-11 16:05:18 UTC
I understand OO and XML are detached, just using it to make my point.  Don't think your asking me about 
the undo object, but I'm strictly doing a cut & paste of a table in the same document.  No undo.