Issue 83828 - Anomaly when setting by macro a style to merged cells
Summary: Anomaly when setting by macro a style to merged cells
Status: CONFIRMED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC All
: P3 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-21 20:29 UTC by philippel
Modified: 2017-05-20 11:27 UTC (History)
3 users (show)

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


Attachments
Example (12.52 KB, application/vnd.oasis.opendocument.spreadsheet)
2007-11-21 20:35 UTC, philippel
no flags Details
work-around (8.38 KB, application/vnd.sun.xml.calc)
2007-11-25 12:43 UTC, philippel
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description philippel 2007-11-21 20:29:19 UTC
When I apply a style by macros to cells merged vertically, the first cell is ok
but not others (for example, see attached). If I use the scrollbar display
becomes normal. Noted on 2.3.0 and 2.3.1RC system linux, + 2.3.0 windows Xp
Accuracy: I apply the style by macros in a portion of code from a listener

> Com.sun.star.view.XSelectionChangeListener & _selectionChanged (evt as object)
Comment 1 philippel 2007-11-21 20:35:08 UTC
Created attachment 49800 [details]
Example
Comment 2 py_samyn 2007-11-22 08:03:16 UTC
I confirm with 2.3.0 and windows XP Pro SP2
Comment 3 bmarcelly 2007-11-22 09:45:18 UTC
FYI :
- no problem with version 2.2.1 on Windows XP
- problem reproduced with version 1.1.5 on Windows XP
Comment 4 jsc 2007-11-22 10:30:56 UTC
jsc -> nn: seems to be one for you
Comment 5 philippel 2007-11-25 12:43:56 UTC
Created attachment 49878 [details]
work-around
Comment 6 philippel 2007-11-25 12:45:42 UTC
	
With the work-around following (see example in the new attachment), the display
is correct. I do not know if this will help the developer, but I have done the
result. This is ok too with the listener.

Sorry, for my english

Philippe
Comment 7 kpalagin 2008-01-12 16:24:08 UTC
philippel,
can you comment your first sample file? What it s expected to?
Thanks.
Comment 8 philippel 2008-01-12 17:24:39 UTC
Hello Kpalagin,

Great year 2008,

In the first file, I expect that all the cells merged (eg, C17 to C20) are full
with the style applied by macros, and not just the first cell of the group.
Comment 9 kpalagin 2008-01-12 19:40:38 UTC
Confirming with 2.4m242 on WinXP. Repro:
1. Click "Start listening".
2. Click cell C17 - note how just C17 becomes green, C18:C20 remain white. 
Minimize and maximize window - full merged group is painted in green.
Comment 10 Marcus 2017-05-20 11:27:27 UTC
Reset assigne to the default "issues@openoffice.apache.org".