茂木さん

バグ修正のご検討ありがとうございます。

On Sun, 01 Jun 2014 19:06:10 +0900, Isamu Mogi <d...@lunaport.net> wrote:
> 2chでバグ報告があり、修正内容について皆様にご意見を伺いたいため共有します。
> 
> http://anago.2ch.net/test/read.cgi/software/1388069898/694
>> セルの書式をHH:MM:SSにする
>> 例えば、12:12:12を入力する
>> セルには12:12:12が表示される
>> これを変更しようとしてinputlineをアクティブにすると
>> inputline,セルともに秒が消えるのが不便
>> 秒まで手入力しないと変更後の秒は00にされてしまう
>> 英語(米国)はこのときに、inputlineに秒が出るし、セルの秒も消えないし
>> 秒以外を変更しても秒はそのまま
> 
> そのあたりの仕様は下記のXMLで決まっているみたいです。
> http://cgit.freedesktop.org/libreoffice/core/tree/i18npool/source/localedata/data/ja_JP.xml#n204
(snip)
> 他言語と同じようになるよう修正パッチをgerritに出してしまおうと思うのですが、そのあたり、
> その修正はまずいんじゃないか、とか、他に方法がある、などご意見を頂けたらと思います。
その修正に賛成です。

参考までに、スキーマ定義
http://cgit.freedesktop.org/libreoffice/core/tree/i18npool/source/localedata/data/locale.dtd#n264
にあるコメントに FormatElement について詳細な説明があります。
http://cgit.freedesktop.org/libreoffice/core/tree/offapi/com/sun/star/i18n/NumberFormatIndex.idl#n210
には formatindex ごとの説明があります。
それらに従えば、上の問題は formatindex="39" と formatindex="40" のエントリーを
直せばよさそうですね。

-- Takeshi Abe

-- 
Unsubscribe instructions: E-mail to discuss+unsubscr...@ja.libreoffice.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/ja/discuss/
All messages sent to this list will be publicly archived and cannot be deleted

メールによる返信