Frank Schönheit - Sun Microsystems Germany 写道:
Hello Zhao Sheng,
The dialog re-uses the same pages as other dialogs of this type, namely
the tab pages from svx/source/dialog/chardlg.cxx. Those pages hide their
CJK/CTL-related controls unless you enable CJK/CTL support in
Tools/Options/Language Settings/Languages. So, if you enable CJK/CTL,
the respective controls become visible in the dialog, the user can make
changes, and also the item set of the dialog should contain the items
which describe those changes.
(Of course, you need to remove the DisableItem calls beforehand.)
so the item set now dosen't contain the items which describe the changes
of CTL and CJK, that is the problem?
I would suppose so, yes.
Ciao
Frank
in class SfxItemSet, how can I know that if there are CJK or CTL font in it?
and I see those two lines:
SvxCharReliefItem aFontReliefItem((FontRelief)nFontRelief);
SvxEmphasisMarkItem aEmphasisMarkitem((FontEmphasisMark)nFontEmphasisMark);
are there used to declare a CJK font item?
zhao sheng
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]