Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Origin Title: [Feature] 条件样式的格式刷
Title: [Feature] Format painter for conditional styles
Initial checklist
[X] Is this really a problem?
[X] I have searched the Github Issues for similar issues, but did not find anything.
Problem
status quo
After configuring conditional formatting on table data, you can use the format painter to copy the "conditional style" to other cells.
The current implementation logic is to add "application scope" to the original conditional style rules.
the difference
The implementation logic of wps and excel is to copy a new conditional style rule, and the application scope is different.
Application scenarios
Univer currently supports multiple types of conditional styles, as shown in the figure
Most of them have no problem with the current implementation logic, but:
The usage scenario of the style type "First/Last/Average" is wrong.
Current status: After Format Painter copies, the top 3 highlighted items in all selected data ranges are displayed. See Figure 1 below
Expectation: The actual application scenario is to hope that the data range before and after copying will be judged and highlighted respectively. See Figure 2 below
Initial checklist
Problem
现状
区别
应用场景