Hi Oliver, > And how does oo convert from MapAppFonts to pixels ?
css.awt.XUnitConversion should allow this. The existing documentation at http://api.openoffice.org/docs/common/ref/com/sun/star/awt/XUnitConversion.html is somewhat sprase, this improved in the 3.2 version, which is not yet online (but if you have an OOo build somewhere, you'd find it in the odk module). The main point missing in the online doc is that you need to pass css.util.MeasureUnits to the various methods. MeasureUnit.APPFONT probably is what you'd need. The interface is implemented by all view objects, i.e. the dialog itself (not the dialog model) and the controls therein (not the control models). 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]
