Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On 08/03/2011 05:00 AM, Andrew Douglas Pitonyak wrote:
On 08/02/2011 09:52 PM, alex bodnaru wrote:
On 08/03/2011 02:38 AM, alex bodnaru wrote:
hello friends,

i wish to use the fontdescriptor of a control, but i'm receiving an
empty structure:
(com.sun.star.awt.FontDescriptor){ Name = (string)"", Height =
(short)0x0, Width = (short)0x0, StyleName = (string)"", Family =
(short)0x0, CharSet = (short)0x0, Pitch = (short)0x0, CharacterWidth =
(float)0, Weight = (float)0, Slant =
(com.sun.star.awt.FontSlant)DONTKNOW, Underline = (short)0x4,
Strikeout = (short)0x3, Orientation = (float)0, Kerning =
(boolean)false, WordLineMode = (boolean)false, Type = (short)0x0 }

should i set this manualy, and in that case, how should i get the system font?

could anybody help please?

alex

Do you want to read it or set it?

Can you provide a code snippet?

the question on the forum was mine too. thanks for answering.
i'd like to use getStringWidth() on a dialog made with a macro.
i'm trying, however i might need some further indication.

alex

-- 
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.