I'd really like to see custom palettes exposed in the usermodel; I'm willing
to code, but I'm not sure what the best API design would be.

>From an Excel user's standpoint, the palette is completely exposed; you
modify or apply colors by index (see Tools...Options...Colors).  The current
usermodel uses this same refer-by-index semantic.
This leads me toward a naive object model: new HSSFPalette class aggregating
HSSFColor instances.
To maintain binary compatibility, have HSSFColor.BLACK ==
HSSFPalette.getDefault().getColor(0x8), et.al.

Any alternative proposals?  Would adding this functionality be (a) desirable
and (b) appropriately timed?  That is, would anyone else use this, and would
it be better left for a later date?
-------------------------------------------------------------
Brian Sanders          Java Developer          Risk Labs, LLC
678-784-4614 voice                           678-784-4714 fax
 


----- 
Confidential Information 

The information in this e-mail message (including any attachments) is
privileged and confidential information intended only for the use of the
individual or entity named above.  If the reader of this message is not the
intended recipient, you are hereby notified that any dissemination,
distribution, or copying of this communication is strictly prohibited.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to