Hi Mathias and Carsten, On 10/18/06, Mathias Bauer <[EMAIL PROTECTED]> wrote:
Do you use only string resources?
Yes. I also pull OO.o's stock icon for the range selection button, but I hacked around a little to make it work via UNO.
As you told you are not using code from sc. Do you have dependencies to other C++ libraries except those in the SDK? Typical candidates would be vcl, tools (other stuff than resmgr), svtools, svx, sfx2, xmloff, ...?
No. No library dependencies other than the resmgr in tools.
> Although Niklas once mentioned that (on [EMAIL PROTECTED]), eventually, we may > need to redo the dialogs using the native VCL, instead of the current > UNO AWT to take advantage of VCL's advanced range selection > capability. So, that may be another constraint down the road if we > decide to go the UNO route. As we are currently redesigning (extending) our UNO AWT toolkit your use case would be a welcome addition to our new concept. As this is also Carsten's job I'm sure he will be eager to learn what VCL has to offer here and the toolkit doesn't so we can add it to the concept. Implementing support for this in the toolkit will enable you to stay with UNO AWT even if you wanted to use range selection.
One thing I really need right now is a quick range selection without even clicking that range selection button to initiate a range selection mode. Let me elaborate a little. I may be stating the obvious to you guys, but bear with me. :-) In Calc, there are typically two ways a user can give a cell range value inside a text field that expects a cell range. Let's use the Goal Seek dialog as an example. The first way is to have the user 1. Click the range selection button on the right hand side of the text field. The dialog then disappears and the user goes into the cell selection mode. 2. Make the cell selection. 3. Click the range selection button on the range selection bar again to move back to the original dialog. 4. The text field gets the cell range value. UNO AWT already supports this, and so does my solver. Here is another way to achieve the same effect, and is much simpler. 1. Whille the focus is on that text field expecting a cell range, immediately click on a cell outside the dialog, and drag it to make a cell range selection while the left mouse button is held. This automatically makes Calc go into a range selection mode, and the dialog disappears. 2. Release the left mouse button when it's done, and the cell range value is in that text field when the dialog reappears. I wanted to implement this using UNO AWT API, but was told that this could not be done currently via UNO API. Another useful widget to implement in AWT is tab-pages (or notebook) support. It is available in VCL, but not AWT, unless I'm mistaken. But this one is less critical because I don't use it right now. But it may be useful in the future esp. when expanding the Options dialog. Last, but not least.... As I mentioned above, I use OO.o's stock icon for range selection. It works, but it's a hack. It would be nice to have a cleaner API to expose those stock icons to UNO components. Ok, enough on my wist list. :-) Thanks, Kohei --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]