Frank Schönheit - Sun Microsystems Germany wrote:
In my understanding - and note that this understanding might be
incomplete: I again suggest you carry this discussion to
[email protected] (*not* [EMAIL PROTECTED]), since more core
developers might read there -, there are *extra* items which relate to
CJK and CTL. That is, there is, for instance, an SvxFontHeightItem in
the set, accessible with ID SID_ATTR_CHAR_FONTHEIGHT. *Also*, there are
SvxFontHeightItems with IDs SID_ATTR_CHAR_CJK_FONTHEIGHT and
SID_ATTR_CHAR_CJK_FONTHEIGHT.

There are more items which exist in three "versions", one for western,
one for CJK, one for CTL. I suggest you grep for "_CJK_" and "_CTL_" in
the aforementioned chardlg.cxx.

Note that those are the items you have to put into the set in
fontdialog.cxx. The dialog then (chardlg.cxx) will read them from the
set, and put changed versions of those items into the set when it is
finished.

Ciao
Frank
sorry for the misunderstanding by me, I thouhg dev was [EMAIL PROTECTED] now it is in [EMAIL PROTECTED],
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?

zhao sheng

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

Reply via email to