José Troncoso escribió:
Estoy creando un cuadro de diálogo y se me ha planteado la duda de cuáles son
las unidades de medida empleadas. He mirado en la página correspondiente del
API
http://api.openoffice.org/docs/common/ref/com/sun/star/awt/UnoControlDialogElement.html
pero ahí no se especifica.
No parecen ser píxeles. He dibujado una etiqueta de 100 de largo y la he
medido en mi pantalla: tiene 228 píxeles.
¿Alguna idea?
Un saludo,
Hola José,
la unidad de medida es Map AppFont:
"Attributes denoting the position and size of controls are also
available at the control, but the these properties should be set at the
model because they use the Map AppFont unit. Map AppFont units are
device and resolution independent. One Map AppFont unit is equal to one
eighth of the average character (Systemfont) height and one quarter of
the average character width. The dialog editor also uses Map AppFont
units, and sets their values automatically."
OOo buscó una medida que sea independiente del dispositivo [horrenda
trad. por "device"] (los pixeles no lo son).
Saludos,
Ariel.
--
Ariel Constenla-Haile
La Plata, Argentina
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.arielconstenlahaile.com.ar/ooo/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]