https://bz.apache.org/bugzilla/show_bug.cgi?id=58311

Nick Burch <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Nick Burch <[email protected]> ---
Don't suppose you know any of Vaadin Spreadsheet folks? I've tried to reach out
to them about merging their support in, but didn't get anywhere


In terms of the bug...

What would be good is if someone could create a small test xlsx file, with
conditional formatting that has non-standard priorities. Then do a save-as as
xls, so we can check that too. Upload both, along with the guts of a new junit
test that checks the priority order fetching

Since the existing behaviour is out there, we may not be able to change the
current signature / behaviour as-is. However, once we work out where the
priority is in xls files, we can look to add alternate getters in priority
order too, eg

 ConditionalFormattingRule getRule(int idx);  // existing
 ConditionalFormattingRule getRuleByPriority(int priority); // new
 List<ConditionalFormattingRule> getRules();  // missing...
 List<ConditionalFormattingRule> getRulesByPriority(); // new, same idea

Would that work for your use case?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to