Eike,

I have modified the Khmer locale (http://www.openoffice.org/issues/show_bug.cgi?id=48323) including new dates, numbers, numbering styles and outlines, using [NatNum1] on the new formats and using number 12 on some of the numbering styles and outlines. If it is correct, I will include all this in the documentation.

I have another doubt:

In Index key:

<IndexKey unoid="alphanumeric" default="true" phonetic="false">A-Z</IndexKey>

Some languages (indic) have "dependent letters" such as vowels that should not be represented independently unless they are above or below a consonant. These letters should not be used as index letters in a document (in Khmer usually only consontants would be used). In the case in which only consonants would be used in indexing documents, should only consonants be included in here?

And a question...

In writer, format->Bullets and numbering->options, in the Numbering dialog box I can select Thai or Hebrew letters. I see that this also corresponds with styles that exist in

http://api.openoffice.org/source/browse/api/offapi/com/sun/star/style/NumberingType.idl

How can a new style be added here (for letter numbering instead of [NatNum1] number numbering)?

Javier




Eike Rathke wrote:
Hi Javier,

On Wed, Apr 27, 2005 at 09:05:30 +0700, Javier SOLA wrote:


[... FormatElement usage ...]

If I understand well what you have told me, I could add some more formats here, of the type:


Yes, you can add format codes. But the formatindex=... values from
0..49 are reserved and must not be reused for other purposes than lined
out in the locale.dtd, the following would use duplicated formatindex
values (6 and 7) that would not be correct.


<FormatElement msgid="FixedFormatskey7" default="false" type="medium" usage="FIXED_NUMBER" formatindex="6">
<FormatCode>[NatNum1]General</FormatCode>
<DefaultName></DefaultName>
<FormatElement msgid="FixedFormatskey8" default="false" type="medium" usage="FIXED_NUMBER" formatindex="7">
<FormatCode>[NatNum1]#.###,00</FormatCode>
<DefaultName></DefaultName>
.
.
.


And maybe I could even do something so that not all the mandatory formats show in the cell-->format-->number--> menu of available format options (again, would this create any problems?)


You can't suppress defined formats from showing up in the dialog. But
you could even redefine the reserved format codes to use [NatNum1],
however, it might not be a good idea to do that in the formatindex="0"
format, as the >General< keyword which is defined there may get reused
in other subformats under certain conditions, I'm not sure whether
prefixing it with some [NatNum1] could have any negative impact
somewhere, I would have to read the code again.


The same could apply to date and curency formats, right?


Yes. Be sure that the constraints lined out in the locale.dtd regarding
the editable date format and such still apply.

  Eike



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



Reply via email to