Issue 117930 - range of named range changes after insertion at top
Summary: range of named range changes after insertion at top
Status: CONFIRMED
Alias: None
Product: Calc
Classification: Application
Component: editing (show other issues)
Version: OOo 3.1
Hardware: PC All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-25 19:08 UTC by djmoo28
Modified: 2013-12-29 13:59 UTC (History)
3 users (show)

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


Attachments
use of named ranges (9.28 KB, application/vnd.oasis.opendocument.spreadsheet)
2011-04-25 19:08 UTC, djmoo28
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description djmoo28 2011-04-25 19:08:21 UTC
Created attachment 76444 [details]
use of named ranges

On a spreadsheet (att. test_names.ods)

When inserting a row at the top (row 6) of a range defined with
  insert -> names -> define
  (eg. col_d as sheet1.$d$6:$d$65536)

the range  col_d becomes  sheet1.$d$7:$d$65536
which looks logical and desirable in most circumstances



When inserting a row at the top (row 6) of a range defined with
  insert -> names -> labels (columns)
  (eg. range $C$5 col_c; data range sheet1.$c$6:$c$65536)

the range  col_c  becomes  sheet1.$c$7:$c$65536
which is confusing and error prone, as the "named range / label" starts in fact in row 5, even if the first data cell is in row 6. Therefore, inserting "before" row 6 (and thus below row 5) should be understood as "within" the range ("we need to insert a data line at the top of the range")

This behaviour is the one obtained with "implicit" range names, i.e. the ones automatically generated when a name is inserted above data.


The same problem arises with ranges named with  data -> define range
Comment 1 Oliver Brinzing 2011-04-26 11:00:50 UTC
.
Comment 2 Oliver-Rainer Wittmann 2012-06-13 12:26:44 UTC
getting rid of value "enhancement" for field "severity".
For enhancement the field "issue type" shall be used.
Comment 3 Edwin Sharp 2013-12-29 13:59:21 UTC
col_c: C8-C65536 -> C9-C65537.

AOO410m1(Build:9750)  -  Rev. 1551264
2013-12-17_04:10:52 - Rev. 1551455
Debian