You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2015/09/22 00:13:00 UTC
[Bug 58442] New: Add method to in-place reorganize an AreaPtg's to
be defined as upper-left and lower-right
https://bz.apache.org/bugzilla/show_bug.cgi?id=58442
Bug ID: 58442
Summary: Add method to in-place reorganize an AreaPtg's to be
defined as upper-left and lower-right
Product: POI
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: SS Common
Assignee: dev@poi.apache.org
Reporter: javenoneal@gmail.com
Blocks: 58348
Created attachment 33126
--> https://bz.apache.org/bugzilla/attachment.cgi?id=33126&action=edit
Add sortTopLeftToBottomRight method to AreaPtg
An AreaPtg refers to an area defined by the first and last row and columns.
It's possible for an AreaPtg's first row to be larger than its last row, or its
first column to be larger than its last column. As a convenience, AreaPtg
should provide a method that will re-sort the first/last row/columns to restore
top left to lower right order.
This re-ordering currently happens as part of construction of the AreaPtg, but
subsequent modifications (setFirstRow, setLastCol, etc) can allow the AreaPtg's
references to become inverted.
This is needed when formulas are copied or compared.
Attached patch includes unit test.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 58442] [PATCH] Add method to in-place reorganize an AreaPtg's
to be defined as upper-left and lower-right
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58442
Dominik Stadler <do...@gmx.at> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Add method to in-place |[PATCH] Add method to
|reorganize an AreaPtg's to |in-place reorganize an
|be defined as upper-left |AreaPtg's to be defined as
|and lower-right |upper-left and lower-right
Keywords| |PatchAvailable
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 58442] Add method to in-place reorganize an AreaPtg's to be
defined as upper-left and lower-right
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58442
Javen ONeal <ja...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 58442] [PATCH] Add method to in-place reorganize an AreaPtg's
to be defined as upper-left and lower-right
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58442
Javen ONeal <ja...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Javen ONeal <ja...@gmail.com> ---
Applied code changes to trunk in r1711592.
Updated site docs in r1711595
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org