Hi Noel, >> since of course we want it to handle the placeholder text >> as one big chunk only (i.e. when the user starts to type, the place >> holder is completely removed). Not sure how difficult this would be. >> > not sure what you mean about that, probably what you mean will become > obvious when I try to do it :-)
When you have a placeholder in the control, say "<placeholder>", and the user enters /, you do not want to have "<place/holder>" (or whereever the cursor was located), but "/" - as if the complete "token" saying "<placeholder>" was overwritten by the newly entered character. >> Care needs to be taken here: if the method "hasField()" returns true, >> then the control is bound to a database column, in which case the >> "Link" checkbox should be disabled. If it is "false", it should >> be enabled (and checked by default?). > I think checked by default to reflect the legacy behaviour would be > consistent with what I did for the other place where the filepicker is > raised, yes? Agreed. >> - do you know "makeAny( <value > )"? Saves the >> Any aValue( <value > ); >> useValue( aValue ); >> construct you often use. > how can you say its a 'construct I ofter use'? afaiks I only did it > once!!! :-P Ehm ... well ... you used it once in this patch, and once in the previous version, IIRC :) >> Adding the same image to multiple >> controls indeed adds it only once to the file > yes, using the GraphicObject object, the associated url scheme and the > "com.sun.star.comp.Svx.Graphic[Import|Export]Helper" service(s) used by > xmloff, gets you *so much* for free. You would not believe how much code > I discarded from the patch after discovering these. As said - brilliant idea using this infrastructure ... Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
