Re: [api-dev] msgbox window width

2007-03-25 Thread Bart Aimar



Bernard Marcelly ha scritto:

Hi Bernard

As an alternative, there is another way to display (quickly) an help 
text ?
You should create a routine wich calls a simple dialog containing a 
multi-line Edit Control and an OK button. Specify the name of the police 
name used in the Edit control, preferably a police provided by 
OpenOffice like BitStream Vera Serif. 


I tried... but with unexpected result on window dimensions and fonts 
dimension in different installation (and different PC) ...


There are other font embedded in OOo?

I not found info about...


You may also configure the Edit 
control to use scrollbars.


I will try...


Thanks for help

Bart

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



Re: [api-dev] extension's max supported OOo version

2007-03-25 Thread Paolo Mantovani
Hello Mathias,

Alle 08:41, venerdì 23 marzo 2007, Mathias Bauer ha scritto:
[]
  I suppose one can think of more things which contribute to an
  extension's required environment, but are not guaranteed to be stable
  over major OOo upgrades.
 
  dispatch Url's are probably one of these things.

 Not necessarily. My take on dispatch URL's is that they should stay
 stable also except if we removed the functionality in a newer version.
 But even in this case the code using it would still work; you just
 wouldn't get a dispatch for the URL and so the dispatch appears to be
 disabled, something the extension must be able to handle anyway

 So the generic nature of the dispatch API helps to keep the code
 compatible even if the funtionality behind the dispatch might have been
 changed or removed. Everything else can be dealt with in the code.
[]

Thanks for the clarification.
However I've cited dispatch URL's only because I recently had to fix an old 
macro that stopped to work with ooo2.0
The macro uses the dispatchHelper to open the spell dialog.
In ooo1.x the dispatch URL was .uno:Spelling and in ooo2.x it has been 
changed in .uno:SpellDialog
Anyway I've retrieved this info using the macro recorder, so I couldn't say if 
the URL .uno:SpellDialog was already in ooo1.x 

Thank you
Paolo M

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



Re: [api-dev] msgbox window width

2007-03-25 Thread Peter Eberlein

Hi Bernard, hi Bart,

Bart Aimar schrieb:



Bernard Marcelly ha scritto:

Hi Bernard

As an alternative, there is another way to display (quickly) an help 
text ?


did you read this one:
http://wiki.services.openoffice.org/wiki/Framework/WorkInProgress/Easy_To_Use_Message_Boxes?

There is a Basic example at the bottom.

Peter

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