Issue 58666 - Call XNumberingTypeInfo::getSupportedNumberingTypes() independent from CJK/CTL configuration
Summary: Call XNumberingTypeInfo::getSupportedNumberingTypes() independent from CJK/CT...
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks: 42198
  Show dependency tree
 
Reported: 2005-11-30 12:02 UTC by ooo
Modified: 2013-08-07 14:42 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Patch fixing the problem. (2.06 KB, text/plain)
2005-12-19 00:23 UTC, h.hristov
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description ooo 2005-11-30 12:02:55 UTC
There are several places in

svx/source/dialog/numpages.cxx
sw/source/ui/fldui/fldmgr.cxx
sw/source/ui/misc/numberingtypelistbox.cxx

where XNumberingTypeInfo::getSupportedNumberingTypes() is only called if
(aLangOpt.IsCJKFontEnabled()||aLangOpt.IsCTLFontEnabled())

This was introduced to not show CJK/CTL entries if support for those
languages is not enabled in the configuration to not display squares
instead of glyphs if the fonts aren't installed (StarOffice internal ID
104079).

Shortly after, the getSupportedNumberingTypes() method itself
implemented to check the configuration settings, along with the support
of Arabic and Thai numbering (StarOffice internal ID 106282).

The check to only call getSupportedNumberingTypes() if CJK/CTL is
enabled must be removed from the files mentioned above, since it
prevents other numbering types that are not CJK/CTL from being listed.

See also discussion about Cyrillic numbering types not appearing in thread of
http://l10n.openoffice.org/servlets/ReadMsg?list=dev&msgId=2348253
Comment 1 Oliver Specht 2005-11-30 12:17:05 UTC
.
Comment 2 h.hristov 2005-12-19 00:23:49 UTC
Created attachment 32539 [details]
Patch fixing the problem.
Comment 3 h.hristov 2006-01-05 13:49:48 UTC
Hi, what happend with this bug? will be fixed soon?
Comment 4 ooo 2006-01-05 16:33:49 UTC
Hristo,

Please be patient ;-)  Oliver added this issue to CWS os73, targeted to OOo2.0.2

  Eike
Comment 5 Oliver Specht 2006-01-06 10:33:24 UTC
Fixed in cws os73 in 
svx/source/dialog/numpages.cxx
sw/source/ui/fldui/fldmgr.cxx
sw/source/ui/misc/numberingtypelistbox.cxx

Comment 6 Oliver Specht 2006-01-25 12:42:15 UTC
Reassigned for verification

re-open issue and reassign to mru@openoffice.org
Comment 7 Oliver Specht 2006-01-25 12:42:21 UTC
reassign to mru@openoffice.org
Comment 8 Oliver Specht 2006-01-25 12:42:25 UTC
reset resolution to FIXED
Comment 9 michael.ruess 2006-01-26 14:15:21 UTC
Verified in CWS os73.
Comment 10 michael.ruess 2006-02-13 10:26:03 UTC
Checked fix in 680m156.