Hello Sheng, > to my acknowledgement, I should add **SvxFontHeightItems** in function, > **void ControlCharacterDialog::translatePropertiesToItems(const > Reference< XPropertySet >& _rxModel, SfxItemSet* _pSet)** > and **SvxFontHeightItems** should add cjk and CTL font attributes > > am I correct?
Yes, I would suppose so (note that I'm not too familiar with item sets myself). I assume you need to add *one* SvxFontHeightItems with ID SID_ATTR_CHAR_CJK_FONTHEIGHT, and *another one* with ID SID_ATTR_CHAR_CJK_FONTHEIGHT. The, the dialog should automatically show the user interface for changing those two font heights. 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]
